WO2015131536A1 - Signal transmission method, electronic device and control system - Google Patents

Signal transmission method, electronic device and control system Download PDF

Info

Publication number
WO2015131536A1
WO2015131536A1 PCT/CN2014/090793 CN2014090793W WO2015131536A1 WO 2015131536 A1 WO2015131536 A1 WO 2015131536A1 CN 2014090793 W CN2014090793 W CN 2014090793W WO 2015131536 A1 WO2015131536 A1 WO 2015131536A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
controlled
control signal
controlled electronic
infrared
Prior art date
Application number
PCT/CN2014/090793
Other languages
French (fr)
Chinese (zh)
Inventor
黎海敏
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2015131536A1 publication Critical patent/WO2015131536A1/en

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C23/00Non-electrical signal transmission systems, e.g. optical systems
    • G08C23/04Non-electrical signal transmission systems, e.g. optical systems using light waves, e.g. infrared
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C2201/00Transmission systems of control signals via wireless link
    • G08C2201/40Remote control systems using repeaters, converters, gateways

Abstract

A signal transmission method is used for solving the technical problem that an infrared remote controller in prior art can not control a camera remotely. The method comprises: a first controlled electronic device obtaining a first infrared control signal carrying a controlled device identifier; the first controlled electronic device analyzing the first infrared control signal, determining whether the controlled device identifier is the same as a first device identifier of the first controlled electronic device; when the controlled device identifier is not the same as the first device identifier, the first controlled electronic device transmitting the first infrared control signal to a second controlled electronic device. A corresponding electronic device and a corresponding control system are also disclosed.

Description

一种信号传输方法、电子设备及控制系统Signal transmission method, electronic device and control system 技术领域Technical field
本发明涉及通信领域,特别涉及一种信号传输方法、电子设备及控制系统。The present invention relates to the field of communications, and in particular, to a signal transmission method, an electronic device, and a control system.
背景技术Background technique
红外摇控技术已经成为一个普遍应用的技术,很多设备,如电视、DVD、摄像机等都有红外控制功能,通过相应的红外摇控器就可以方便的控制这些设备。一般红外摇控系统由发射(红外摇控器)和接收(红外解码设备,如电视)两大部分组成,相当于红外遥控器和相应的红外接收设备构成了一个红外遥控系统。Infrared remote control technology has become a universally applied technology. Many devices, such as TVs, DVDs, and video cameras, have infrared control functions, which can be conveniently controlled by corresponding infrared remote controls. The general infrared remote control system consists of two parts: the transmitting (infrared remote control) and the receiving (infrared decoding device, such as TV). The infrared remote control and the corresponding infrared receiving device constitute an infrared remote control system.
当用户按下红外摇控器的键盘上的按键后,红外摇控器就会向外发送红外波形,相应的红外接收设备接收到红外波形后就能够进行响应。When the user presses the button on the keyboard of the infrared remote controller, the infrared remote controller sends an infrared waveform to the outside, and the corresponding infrared receiving device can respond after receiving the infrared waveform.
例如,一种红外波形如图1所示。其中前16位为系统码(用户识别码),用于区分不同的红外接收设备,后16位为8位数据码(操作码)和反码。红外接收设备对接收的32位二进制码进行解码后,就可以根据系统码及数据码响应红外摇控器的控制。For example, an infrared waveform is shown in Figure 1. The first 16 bits are the system code (user identification code), which is used to distinguish different infrared receiving devices, and the last 16 bits are 8-bit data code (operating code) and inverted code. After the infrared receiving device decodes the received 32-bit binary code, it can respond to the control of the infrared remote controller according to the system code and the data code.
红外摇控系统使用起来很方便,但是也有一定的局限性:红外接收设备具有的红外接收端具有一定的接收角度限制,相应的红外遥控器具有特定的可控范围,当红外接收设备放置在红外摇控器的可控范围外时,红外接收设备就无法响应。Infrared remote control system is very convenient to use, but it also has certain limitations: the infrared receiving device has an infrared receiving end with a certain receiving angle limit, and the corresponding infrared remote control has a specific controllable range. When the infrared receiving device is placed in the infrared When the remote controller is outside the controllable range, the infrared receiving device cannot respond.
例如,考虑一种场景:某些会场需要布置多个摄像机进行摄像,例如会场主席台正中间放置一台摄像机,会场的4个顶上角各放置一台摄像机,如图2所示。其中,摄像机1处于红外摇控器的可控范围内,可以正常受控(图2中的两条虚线内侧为红外遥控器的可控范围),而摄像机2、3、4和5受放置位 置及接收角度的限制,无法接收到红外摇控器发送的红外信号,从而红外遥控器无法对这些摄像机进行控制。For example, consider a scenario where some cameras need to be arranged with multiple cameras for imaging. For example, a camera is placed in the middle of the conference hall, and a camera is placed in each of the four top corners of the venue, as shown in Figure 2. Among them, the camera 1 is in the controllable range of the infrared remote controller, and can be normally controlled (the inner side of the two dotted lines in Fig. 2 is the controllable range of the infrared remote controller), and the cameras 2, 3, 4 and 5 are placed. Due to the limitation of the receiving angle, the infrared signal sent by the infrared remote controller cannot be received, so that the infrared remote controller cannot control these cameras.
可见,现有技术中,在红外接收设备与红外遥控器之间的距离较远时,红外遥控器无法实现对这些红外接收设备的控制,红外遥控器的控制局限性较大。It can be seen that in the prior art, when the distance between the infrared receiving device and the infrared remote controller is relatively long, the infrared remote controller cannot control the infrared receiving devices, and the control of the infrared remote controller has a large limitation.
发明内容Summary of the invention
本发明实施例提供一种信号传输方法、电子设备及控制系统,用于解决现有技术中红外遥控器无法远距离控制红外接收设备的技术问题。The embodiments of the present invention provide a signal transmission method, an electronic device, and a control system, which are used to solve the technical problem that the infrared remote controller cannot remotely control the infrared receiving device in the prior art.
本发明的第一方面,提供一种信号传输方法,包括以下步骤:In a first aspect of the invention, a signal transmission method is provided, comprising the steps of:
第一被控电子设备获得第一红外控制信号,所述第一红外控制信号中携带有被控设备标识;The first controlled electronic device obtains a first infrared control signal, where the first infrared control signal carries a controlled device identifier;
所述第一被控电子设备对所述第一红外控制信号进行解析,判断所述被控设备标识与所述第一被控电子设备的第一设备标识是否为同一设备标识;The first controlled electronic device parses the first infrared control signal, and determines whether the controlled device identifier and the first device identifier of the first controlled electronic device are the same device identifier;
当所述被控设备标识与所述第一设备标识不是同一设备标识时,所述第一被控电子设备将所述第一红外控制信号传输给第二被控电子设备。When the controlled device identifier is not the same device identifier as the first device identifier, the first controlled electronic device transmits the first infrared control signal to the second controlled electronic device.
结合第一方面,在第一种可能的实现方式中,在判断所述被控设备标识与所述第一被控电子设备的第一设备标识是否为同一设备标识之后,还包括:当所述被控设备标识与所述第一设备标识是同一设备标识时,所述第一被控电子设备响应所述第一红外控制信号。With reference to the first aspect, in a first possible implementation, after determining whether the controlled device identifier and the first device identifier of the first controlled electronic device are the same device identifier, the method further includes: when When the controlled device identifier and the first device identifier are the same device identifier, the first controlled electronic device responds to the first infrared control signal.
结合第一方面,在第二种可能的实现方式中,第一被控电子设备获得第一红外控制信号,包括:所述第一被控电子设备通过所述第一被控电子设备的红外接收端获得所述第一红外控制信号,或所述第一被控电子设备通过所述第一被控电子设备的串行输入接口获得所述第一红外控制信号。With reference to the first aspect, in a second possible implementation, the first controlled electronic device obtains the first infrared control signal, including: the infrared receiving of the first controlled electronic device by the first controlled electronic device The first infrared control signal is obtained by the terminal, or the first controlled electronic device obtains the first infrared control signal through a serial input interface of the first controlled electronic device.
结合第一方面或第一种可能的实现方式或第二种可能的实现方式,在第三种可能的实现方式中,所述第一被控电子设备将所述第一红外控制信号传输给第二被控电子设备,包括: In conjunction with the first aspect, the first possible implementation, or the second possible implementation, in a third possible implementation, the first controlled electronic device transmits the first infrared control signal to the first Two controlled electronic devices, including:
所述第一被控电子设备将所述第一红外控制信号进行放大处理;The first controlled electronic device performs amplification processing on the first infrared control signal;
所述第一被控电子设备将放大后的第一红外控制信号通过所述第一被控电子设备的串行输出接口传输给所述第二被控电子设备。The first controlled electronic device transmits the amplified first infrared control signal to the second controlled electronic device through a serial output interface of the first controlled electronic device.
结合第一方面或第二种可能的实现方式或第三种可能的实现方式,在第四种可能的实现方式中,在所述第一被控电子设备将所述第一红外控制信号传输给第二被控电子设备的同时或之后,还包括:所述第一被控电子设备关闭所述第一被控电子设备的红外响应功能。In conjunction with the first aspect, the second possible implementation, or the third possible implementation, in a fourth possible implementation, the first controlled electronic device transmits the first infrared control signal to Simultaneously or after the second controlled electronic device, the method further includes: the first controlled electronic device turning off an infrared response function of the first controlled electronic device.
结合第四种可能的实现方式,在第五种可能的实现方式中,在所述第一被控电子设备将所述第一红外控制信号传输给第二被控电子设备之后,还包括:With the fourth possible implementation, in a fifth possible implementation, after the first controlled electronic device transmits the first infrared control signal to the second controlled electronic device, the method further includes:
所述第一被控电子设备接收第二红外控制信号;The first controlled electronic device receives a second infrared control signal;
所述第一被控电子设备将所述第二红外控制信号通过所述第一被控电子设备的串行输出接口传输给所述第二被控电子设备。The first controlled electronic device transmits the second infrared control signal to the second controlled electronic device through a serial output interface of the first controlled electronic device.
本发明的第二方面,提供一种电子设备,包括:According to a second aspect of the present invention, an electronic device is provided, including:
获取模块,用于获得第一红外控制信号,所述第一红外控制信号中携带有被控设备标识;An acquiring module, configured to obtain a first infrared control signal, where the first infrared control signal carries a controlled device identifier;
处理模块,用于对所述第一红外控制信号进行解析,判断所述被控设备标识与所述第一被控电子设备的第一设备标识是否为同一设备标识;a processing module, configured to parse the first infrared control signal, and determine whether the controlled device identifier and the first device identifier of the first controlled electronic device are the same device identifier;
输出模块,用于当所述被控设备标识与所述第一设备标识不是同一设备标识时,将所述第一红外控制信号传输给第二被控电子设备。And an output module, configured to: when the controlled device identifier and the first device identifier are not the same device identifier, transmit the first infrared control signal to the second controlled electronic device.
结合第二方面,在第一种可能的实现方式中,所述处理模块还用于:当所述被控设备标识与所述第一设备标识是同一设备标识时,响应所述第一红外控制信号。With reference to the second aspect, in a first possible implementation, the processing module is further configured to: respond to the first infrared control when the controlled device identifier and the first device identifier are the same device identifier signal.
结合第二方面,在第二种可能的实现方式中,所述获取模块具体用于:通过所述电子设备的红外接收端获得所述第一红外控制信号,或通过所述电子设备的串行输入接口获得所述第一红外控制信号。With reference to the second aspect, in a second possible implementation, the acquiring module is specifically configured to: obtain the first infrared control signal by using an infrared receiving end of the electronic device, or pass the serial of the electronic device The input interface obtains the first infrared control signal.
结合第二方面或第一种可能的实现方式或第二种可能的实现方式,在第三 种可能的实现方式中,所述输出模块具体用于:将所述第一红外控制信号进行放大处理;将放大后的第一红外控制信号通过所述电子设备的串行输出接口传输给第二被控电子设备。In combination with the second aspect or the first possible implementation or the second possible implementation, in the third In a possible implementation manner, the output module is specifically configured to: perform amplification processing on the first infrared control signal; and transmit the amplified first infrared control signal to the second through a serial output interface of the electronic device Controlled electronic equipment.
结合第二方面或第二种可能的实现方式或第三种可能的实现方式,在第四种可能的实现方式中,所述处理模块还用于:关闭所述第一被控电子设备的红外响应功能。In combination with the second aspect, the second possible implementation, or the third possible implementation, in a fourth possible implementation, the processing module is further configured to: turn off the infrared of the first controlled electronic device Response function.
结合第四种可能的实现方式,在第五种可能的实现方式中,所述获取模块还用于接收第二红外控制信号;With reference to the fourth possible implementation, in a fifth possible implementation, the acquiring module is further configured to receive a second infrared control signal;
所述输出模块还用于通过所述电子设备的串行输出接口传输给所述第二被控电子设备。The output module is further configured to transmit to the second controlled electronic device through a serial output interface of the electronic device.
本发明的第三方面,提供一种控制系统,包括:In a third aspect of the invention, a control system is provided, comprising:
至少两个被控电子设备,其中每个被控电子设备均具有一串行输入接口及一串行输出接口,各被控电子设备之间通过串行输入接口及串行输出接口顺次连接;At least two controlled electronic devices, wherein each controlled electronic device has a serial input interface and a serial output interface, and each controlled electronic device is sequentially connected through a serial input interface and a serial output interface;
红外遥控器,用于控制其中的一被控电子设备,或通过该被控电子设备控制其余的任一被控电子设备。An infrared remote controller for controlling one of the controlled electronic devices or controlling any of the remaining controlled electronic devices by the controlled electronic device.
结合第三方面,在第一种可能的实现方式中,所述串行输入接口具有M个引脚,M为正整数,其中的至少一个引脚用于传输红外控制信号;及,所述串行输出接口具有N个引脚,N为正整数,其中的至少一个引脚用于传输红外控制信号。With reference to the third aspect, in a first possible implementation manner, the serial input interface has M pins, where M is a positive integer, and at least one of the pins is used to transmit an infrared control signal; and the string The row output interface has N pins, N is a positive integer, and at least one of the pins is used to transmit an infrared control signal.
本发明实施例中,被控电子设备获得的是红外控制信号,在各被控电子设备之间传输的也是红外控制信号,从而可以通过红外遥控器直接对被控电子设备进行控制,无需其他专门的控制器,节约硬件成本。In the embodiment of the present invention, the controlled electronic device obtains an infrared control signal, and the infrared control signal is transmitted between the controlled electronic devices, so that the controlled electronic device can be directly controlled by the infrared remote controller without other specialization. The controller saves hardware costs.
且,所述第一被控电子设备在接收到所述第一红外控制信号后会比较该信号中携带的被控设备标识与所述第一设备标识是否是同一设备标识,如果不是,则所述第一被控电子设备会将所述第一红外控制信号传输给下一个被控电 子设备,从而能够保证相应的红外控制信号能够被对应的被控电子设备所响应,提高控制准确度,通过一个红外遥控器可以实现对多个被控电子设备的控制。After receiving the first infrared control signal, the first controlled electronic device compares whether the controlled device identifier carried in the signal and the first device identifier are the same device identifier, and if not, the The first controlled electronic device transmits the first infrared control signal to the next controlled power The sub-device can ensure that the corresponding infrared control signal can be responded by the corresponding controlled electronic device, thereby improving the control accuracy, and controlling the plurality of controlled electronic devices through an infrared remote controller.
多个被控电子设备之间彼此相连,其中可以只有一个被控电子设备能够接收到红外遥控器发送的红外控制信号,红外控制信号中携带有相应的被控设备标识,通过该能够接收红外遥控器发送的红外控制信号的被控电子设备,能够将接收的红外控制信号传输给对应的被控电子设备,从而相当于通过一个红外遥控器控制了多个被控电子设备,且这些被控电子设备的位置可以较为任意设置,无需均设置在红外遥控器的可控范围内,提高了红外遥控系统的实用性,使红外遥控系统能够应用在更多的场景中。A plurality of controlled electronic devices are connected to each other, wherein only one controlled electronic device can receive an infrared control signal sent by the infrared remote control, and the infrared control signal carries a corresponding controlled device identifier, and the infrared remote control can be received by the infrared control signal The controlled electronic device that sends the infrared control signal can transmit the received infrared control signal to the corresponding controlled electronic device, thereby controlling a plurality of controlled electronic devices through an infrared remote controller, and the controlled electronic devices The position of the device can be set arbitrarily, and it is not necessary to be set within the controllable range of the infrared remote controller, which improves the practicality of the infrared remote control system, and enables the infrared remote control system to be applied in more scenarios.
附图说明DRAWINGS
图1为现有技术中红外遥控器发出的红外波形示意图;1 is a schematic diagram of an infrared waveform emitted by an infrared remote controller in the prior art;
图2为现有技术中通过红外遥控器控制摄像机的示意图;2 is a schematic diagram of controlling a camera by an infrared remote controller in the prior art;
图3为本发明实施例中信号传输方法的主要流程图;3 is a main flowchart of a signal transmission method according to an embodiment of the present invention;
图4为本发明实施例中电子设备的结构框图;4 is a structural block diagram of an electronic device according to an embodiment of the present invention;
图5为本发明实施例中控制系统的示意图;FIG. 5 is a schematic diagram of a control system according to an embodiment of the present invention; FIG.
图6为本发明实施例中另一电子设备的结构框图。FIG. 6 is a structural block diagram of another electronic device according to an embodiment of the present invention.
具体实施方式detailed description
本发明实施例中的信号传输方法可以包括:第一被控电子设备获得第一红外控制信号,所述第一红外控制信号中携带有被控设备标识;所述第一被控电子设备对所述第一红外控制信号进行解析,判断所述被控设备标识与所述第一被控电子设备的第一设备标识是否为同一设备标识;当所述被控设备标识与所述第一设备标识不是同一设备标识时,所述第一被控电子设备将所述第一红外控制信号传输给第二被控电子设备。The signal transmission method in the embodiment of the present invention may include: the first controlled electronic device obtains a first infrared control signal, where the first infrared control signal carries a controlled device identifier; and the first controlled electronic device has a Determining, by the first infrared control signal, whether the identifier of the controlled device and the first device identifier of the first controlled electronic device are the same device identifier; and when the controlled device identifier and the first device identifier are When the same device identifier is not, the first controlled electronic device transmits the first infrared control signal to the second controlled electronic device.
本发明实施例中,被控电子设备获得的是红外控制信号,在各被控电子设 备之间传输的也是红外控制信号,从而可以通过红外遥控器直接对被控电子设备进行控制,无需其他专门的控制器,节约硬件成本。In the embodiment of the present invention, the controlled electronic device obtains an infrared control signal, and is set in each controlled electronic device. The infrared control signal is also transmitted between the devices, so that the controlled electronic device can be directly controlled by the infrared remote controller, and no special controller is needed, thereby saving hardware costs.
且,所述第一被控电子设备在接收到所述第一红外控制信号后会比较该信号中携带的被控设备标识与所述第一设备标识是否是同一设备标识,如果不是,则所述第一被控电子设备会将所述第一红外控制信号传输给下一个被控电子设备,从而能够保证相应的红外控制信号能够被对应的被控电子设备所响应,提高控制准确度,通过一个红外遥控器可以实现对多个被控电子设备的控制。After receiving the first infrared control signal, the first controlled electronic device compares whether the controlled device identifier carried in the signal and the first device identifier are the same device identifier, and if not, the The first controlled electronic device transmits the first infrared control signal to the next controlled electronic device, thereby ensuring that the corresponding infrared control signal can be responded by the corresponding controlled electronic device, thereby improving control accuracy and passing An infrared remote control can control multiple controlled electronic devices.
多个被控电子设备之间彼此相连,其中可以只有一个被控电子设备能够接收到红外遥控器发送的红外控制信号,红外控制信号中携带有相应的被控设备标识,通过该能够接收红外遥控器发送的红外控制信号的被控电子设备,能够将接收的红外控制信号传输给对应的被控电子设备,从而相当于通过一个红外遥控器控制了多个被控电子设备,且这些被控电子设备的位置可以较为任意设置,无需均设置在红外遥控器的可控范围内,提高了红外遥控系统的实用性,使红外遥控系统能够应用在更多的场景中。A plurality of controlled electronic devices are connected to each other, wherein only one controlled electronic device can receive an infrared control signal sent by the infrared remote control, and the infrared control signal carries a corresponding controlled device identifier, and the infrared remote control can be received by the infrared control signal The controlled electronic device that sends the infrared control signal can transmit the received infrared control signal to the corresponding controlled electronic device, thereby controlling a plurality of controlled electronic devices through an infrared remote controller, and the controlled electronic devices The position of the device can be set arbitrarily, and it is not necessary to be set within the controllable range of the infrared remote controller, which improves the practicality of the infrared remote control system, and enables the infrared remote control system to be applied in more scenarios.
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the drawings in the embodiments of the present invention. It is a partial embodiment of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明实施例中,被控电子设备可以是摄像机、智能电视、PC(个人计算机)、PAD(平板电脑)、手机等等不同的电子设备。In the embodiment of the present invention, the controlled electronic device may be a different electronic device such as a video camera, a smart TV, a PC (personal computer), a PAD (tablet computer), a mobile phone, or the like.
另外,本文中术语“系统”和“网络”在本文中常被可互换使用。本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。 Additionally, the terms "system" and "network" are used interchangeably herein. The term "and/or" in this context is merely an association describing the associated object, indicating that there may be three relationships, for example, A and / or B, which may indicate that A exists separately, and both A and B exist, respectively. B these three situations. In addition, the character "/" in this article generally indicates that the contextual object is an "or" relationship.
下面结合说明书附图对本发明实施例作进一步详细描述。The embodiments of the present invention are further described in detail below with reference to the accompanying drawings.
请参见图3,本发明实施例提供一种信号传输方法,所述方法的主要步骤描述如下。Referring to FIG. 3, an embodiment of the present invention provides a signal transmission method, and main steps of the method are described as follows.
步骤301:第一被控电子设备获得第一红外控制信号,所述第一红外控制信号中携带有被控设备标识。Step 301: The first controlled electronic device obtains a first infrared control signal, where the first infrared control signal carries a controlled device identifier.
较佳的,本发明实施例中可以有多个被控电子设备,其中有一个被控电子设备位于一红外遥控器的可控范围内,其余的被控电子设备可以均位于所述红外遥控器的可控范围外。例如,所有的被控电子设备与所述红外遥控器可以构成一个红外遥控系统。其中,所述第一被控电子设备可以是所述红外遥控系统中的任一被控电子设备。Preferably, in the embodiment of the present invention, there may be multiple controlled electronic devices, wherein one controlled electronic device is located within a controllable range of an infrared remote controller, and the remaining controlled electronic devices may be located in the infrared remote controller. Outside the controllable range. For example, all of the controlled electronic devices and the infrared remote control can constitute an infrared remote control system. The first controlled electronic device may be any controlled electronic device in the infrared remote control system.
较佳的,本发明实施例中,所述红外遥控系统中的每个被控电子设备均具有一个串行输入接口及一个串行输出接口,各被控电子设备之间通过各自的串行输入接口及串行输出接口逐次连接,例如,第1个被控电子设备通过第1个被控电子设备的串行输出接口和第2个被控电子设备的串行输入接口连接,第2个被控电子设备通过第2个被控电子设备的串行输出接口与第3个被控电子设备的串行输出接口连接,等等。Preferably, in the embodiment of the present invention, each controlled electronic device in the infrared remote control system has a serial input interface and a serial output interface, and each controlled electronic device passes its respective serial input. The interface and the serial output interface are connected one after another. For example, the first controlled electronic device is connected through the serial output interface of the first controlled electronic device and the serial input interface of the second controlled electronic device, and the second is controlled. The control electronic device is connected to the serial output interface of the third controlled electronic device through the serial output interface of the second controlled electronic device, and the like.
较佳的,所述红外遥控系统中的每个被控电子设备都可以具有一个红外接收端,用于接收相应的红外控制信号。因为需要接收的红外控制信号可能不仅仅是所述红外遥控器发出的,因此所述红外遥控系统中的每个被控电子设备都可以具有一红外接收端。Preferably, each controlled electronic device in the infrared remote control system may have an infrared receiving end for receiving a corresponding infrared control signal. Since the infrared control signal that needs to be received may not only be emitted by the infrared remote controller, each of the controlled electronic devices in the infrared remote control system may have an infrared receiving end.
在这种连接关系下,可以只有一个被控电子设备位于所述红外遥控器的可控范围内,例如只有其中的第1个被控电子设备位于所述红外遥控器的可控范围内,其他的被控电子设备可以均位于所述红外遥控器的可控范围外,这样能够更好地在所需的位置设置相应的被控设备,而尽量不会受到所述红外遥控器的可控范围的制约。In this connection relationship, only one controlled electronic device can be located within the controllable range of the infrared remote controller, for example, only the first controlled electronic device is located within the controllable range of the infrared remote controller, and the other The controlled electronic devices can all be located outside the controllable range of the infrared remote controller, so that the corresponding controlled device can be better set at the desired position without being controlled by the infrared remote controller. Restriction.
如果是这种情况,较佳的,也可以只有位于所述红外遥控器的可控范围内 的被控电子设备具有一红外接收端,其余的被控电子设备可以具有红外接收端,也可以不具有红外接收端。因为位于所述红外遥控器的可控范围内的被控电子设备是由所述红外遥控器直接控制,该被控电子设备的串行输入接口没有与其他被控电子设备连接,也就是说,该被控电子设备的串行输入接口无法接收其他被控电子设备传输的红外控制信号,该被控电子设备接收的红外控制信号是所述红外遥控器直接发送的,因此该被控电子设备需要有一个红外接收端来接收所述红外遥控器发送的红外控制信号。而除了该被控电子设备之外,其他的被控电子设备的串行输入接口都与相应的被控电子设备的串行输出接口相连,都能够接收到其他电子设备传输的红外控制信号,因此如果不考虑接收其他的红外信号,则可以无需设置红外接收端,这样可以节约硬件成本。If this is the case, preferably, it is only within the controllable range of the infrared remote controller. The controlled electronic device has an infrared receiving end, and the remaining controlled electronic devices may have an infrared receiving end or no infrared receiving end. Because the controlled electronic device located within the controllable range of the infrared remote controller is directly controlled by the infrared remote controller, the serial input interface of the controlled electronic device is not connected to other controlled electronic devices, that is, The serial input interface of the controlled electronic device cannot receive the infrared control signal transmitted by the other controlled electronic device, and the infrared control signal received by the controlled electronic device is directly sent by the infrared remote controller, so the controlled electronic device needs There is an infrared receiving end to receive the infrared control signal sent by the infrared remote controller. In addition to the controlled electronic device, the serial input interfaces of the other controlled electronic devices are connected to the serial output interfaces of the corresponding controlled electronic devices, and are capable of receiving infrared control signals transmitted by other electronic devices. If you do not consider receiving other infrared signals, you do not need to set the infrared receiver, which can save hardware costs.
本发明实施例中,所述第一被控电子设备可以是指所述红外遥控系统中位于所述红外遥控器的可控范围内的被控电子设备,或者也可以是指所述红外遥控系统中位于所述红外遥控器的可控范围外的任一被控电子设备。In the embodiment of the present invention, the first controlled electronic device may refer to the controlled electronic device in the infrared remote control system that is located within the controllable range of the infrared remote controller, or may also refer to the infrared remote control system. Any controlled electronic device located outside the controllable range of the infrared remote controller.
本发明实施例中,所述红外遥控器可以包括有0-9的数字按键。In the embodiment of the present invention, the infrared remote controller may include a digital button having 0-9.
本发明一实施例中,所述第一红外控制信号中携带有所述被控设备标识,本发明实施例中,一个被控设备标识唯一对应一个被控设备。例如,用户想要选择第2个被控设备,则可以通过至少按下其中代表第2个被控设备的数字按键来进行选择。In an embodiment of the invention, the first infrared control signal carries the identifier of the controlled device. In the embodiment of the present invention, a controlled device identifier uniquely corresponds to one controlled device. For example, if the user wants to select the second controlled device, the user can select by at least pressing the numeric button representing the second controlled device.
本发明实施例中,所述红外遥控器中的功能按键,可以是指所述红外遥控器中除数字按键外的其余按键。In the embodiment of the present invention, the function button in the infrared remote controller may refer to the remaining buttons of the infrared remote controller except the digital button.
较佳的,在本发明一实施例中,所述红外遥控器中的数字按键具有设备标识的选择功能,即,通过所述红外遥控器按下一个数字按键后,例如按下了数字按键“3”,则所述红外遥控器发送的所述第一红外控制信号中携带有相应的被控设备标识,例如此时所述被控设备标识为“3”。在这种情况下,通过按下相应的数字按键就能够实现对被控设备的选择。且,在这种情况下,所述第一红外控制信号可以是按下其中任一数字按键后发送的红外控制信号,或者所述 第一红外控制信号也可以是按下所述红外遥控器中的任意功能按键后发送的红外控制信号,所述第一红外控制信号中携带有所述被控设备标识。Preferably, in an embodiment of the present invention, the digital button in the infrared remote controller has a function of selecting a device identifier, that is, after pressing a digital button by the infrared remote controller, for example, a digital button is pressed. 3′, the first infrared control signal sent by the infrared remote controller carries a corresponding controlled device identifier, for example, the controlled device identifier is “3”. In this case, the selection of the controlled device can be achieved by pressing the corresponding numeric button. And, in this case, the first infrared control signal may be an infrared control signal sent after pressing any one of the digital keys, or The first infrared control signal may also be an infrared control signal sent after pressing any function button in the infrared remote controller, and the first infrared control signal carries the controlled device identifier.
较佳的,在本发明一实施例中,所述红外遥控器的数字按键不具有设备标识的选择功能,即,只通过所述红外遥控器按下一个数字按键,所述红外遥控器发送的红外控制信号中无法携带有相应的被控设备标识。在这种情况下,可以采用组合按键的方式来进行被控设备的选择。例如,用户可以通过按下所述红外遥控器上的一个功能按键+一个数字按键的方式来实现对被控设备的选择。该功能按键例如可以是所述红外遥控器上的Ctrl按键,或者也可以是所述红外遥控器上的其他按键,具体是哪个功能按键,可以是在所述红外遥控器出厂时即行设定好,或者也可以由用户自行设定。且,在这种情况下,所述第一红外控制信号可以是至少按下任一数字按键后发送的红外控制信号,例如,所述第一红外控制信号可以是按下一个功能按键+任一数字按键后发送的红外控制信号。Preferably, in an embodiment of the present invention, the digital button of the infrared remote controller does not have a selection function of the device identifier, that is, only a digital button is pressed by the infrared remote controller, and the infrared remote controller sends the The corresponding control device identifier cannot be carried in the infrared control signal. In this case, the selection of the controlled device can be performed by means of a combination of buttons. For example, the user can select a controlled device by pressing a function button + a digital button on the infrared remote controller. The function button may be, for example, a Ctrl button on the infrared remote controller, or may be other buttons on the infrared remote controller, and specifically, which function button may be set when the infrared remote controller is shipped from the factory. Or it can be set by the user. Moreover, in this case, the first infrared control signal may be an infrared control signal sent after at least pressing any digital button, for example, the first infrared control signal may be a function button pressed + any Infrared control signal sent after the digital button.
较佳的,所述第一被控电子设备获得所述第一红外控制信号,具体可以是:所述第一被控电子设备通过红外接收端获得所述第一红外控制信号,或所述第一被控电子设备通过串行输入接口获得所述第一红外控制信号。Preferably, the first controlled electronic device obtains the first infrared control signal, and specifically, the first controlled electronic device obtains the first infrared control signal by using an infrared receiving end, or the first A controlled electronic device obtains the first infrared control signal through a serial input interface.
如果所述第一被控电子设备是位于所述红外遥控器的可控范围内的被控电子设备,则所述第一被控电子设备是通过所述第一被控电子设备上的红外接收端获得所述红外遥控器发送的所述第一红外控制信号;如果所述第一被控电子设备是位于所述红外遥控器的可控范围外的任一被控电子设备,则所述第一被控电子设备是通过所述第一被控电子设备的串行输入接口获得其他被控电子设备传输的所述第一红外控制信号。If the first controlled electronic device is a controlled electronic device located within a controllable range of the infrared remote controller, the first controlled electronic device is received by infrared on the first controlled electronic device Receiving, by the end, the first infrared control signal sent by the infrared remote controller; if the first controlled electronic device is any controlled electronic device located outside the controllable range of the infrared remote controller, the first A controlled electronic device obtains the first infrared control signal transmitted by another controlled electronic device through a serial input interface of the first controlled electronic device.
较佳的,本发明实施例中,是通过串行接口来传输红外信号。现有的串行接口中包括有多个引脚,一般来说为9个引脚,其中已定义了3个引脚为进行串行信号传输的引脚,还有剩余的6个引脚为空闲引脚。本发明实施例中,可以定义剩余的6个空闲引脚中的至少一个引脚为用于进行红外信号传输的引 脚,则通过本发明实施例自定义的引脚,就可以实现通过串行接口来传输红外信号的目的。Preferably, in the embodiment of the present invention, the infrared signal is transmitted through a serial interface. The existing serial interface includes multiple pins, generally 9 pins, of which 3 pins are defined for serial signal transmission, and the remaining 6 pins are Idle pin. In the embodiment of the present invention, at least one of the remaining six idle pins may be defined as an index for performing infrared signal transmission. For the foot, the purpose of transmitting the infrared signal through the serial interface can be realized by the pin customized by the embodiment of the present invention.
步骤302:所述第一被控电子设备对所述第一红外控制信号进行解析,判断所述被控设备标识与所述第一被控电子设备的第一设备标识是否为同一设备标识。Step 302: The first controlled electronic device parses the first infrared control signal, and determines whether the controlled device identifier and the first device identifier of the first controlled electronic device are the same device identifier.
所述第一被控电子设备在接收到所述第一红外控制信号后,可以对所述第一红外控制信号进行解析,解析出所述第一红外控制信号中所携带的所述被控设备标识。因所述红外遥控系统中,每个被控电子设备均有与自身唯一对应的设备标识,较佳的,每个被控电子设备可以将自身的设备标识存储在本地。则,所述第一被控电子设备在解析出所述第一红外控制信号中携带的所述被控设备标识后,可以将所述被控设备标识与本地存储的所述第一被控电子设备的所述第一设备标识进行比较,判断二者是否为同一设备标识,即判断用户想要控制的被控电子设备是否是自身。After receiving the first infrared control signal, the first controlled electronic device may parse the first infrared control signal to parse the controlled device carried in the first infrared control signal Logo. In the infrared remote control system, each controlled electronic device has a unique device identifier corresponding to itself. Preferably, each controlled electronic device can store its own device identifier locally. After the first controlled electronic device parses the identifier of the controlled device carried in the first infrared control signal, the controlled device may identify the first controlled electronic device and the locally controlled electronic device. The first device identifiers of the device are compared to determine whether the two devices are the same device identifier, that is, whether the controlled electronic device that the user wants to control is the user.
进一步的,本发明一实施例中,在判断所述被控设备标识与所述第一被控电子设备的第一设备标识是否为同一设备标识之后,还可以包括:当所述被控设备标识与所述第一设备标识是同一设备标识时,所述第一电子设备响应所述第一红外控制信号。Further, in an embodiment of the present invention, after determining whether the identifier of the controlled device and the first device identifier of the first controlled electronic device are the same device identifier, the method further includes: when the controlled device identifier is When the first device identifier is the same device identifier, the first electronic device is responsive to the first infrared control signal.
如果确定所述被控设备标识与所述第一设备标识为同一设备标识,则确定用户想要控制的被控电子设备即为所述第一被控电子设备,则所述第一被控电子设备可以响应所述第一红外控制信号。If it is determined that the controlled device identifier and the first device identifier are the same device identifier, determining that the controlled electronic device that the user wants to control is the first controlled electronic device, the first controlled electronic device The device can be responsive to the first infrared control signal.
较佳的,本发明一实施例中,如果所述第一红外控制信号是按下所述红外遥控器中的任一数字按键后发送的红外控制信号,则如果确定所述被控设备标识与所述第一设备标识为同一设备标识,则所述第一被控电子设备可以对所述第一红外控制信号进行响应,所述第一被控电子设备可以确定所述第一被控电子设备为被选择的被控电子设备;如果所述第一红外控制信号是按下所述红外遥控器中的至少一个功能按键后发送的红外控制信号,则如果确定所述被控设 备标识与所述第一设备标识为同一设备标识,则所述第一被控电子设备可以对所述第一红外控制信号进行响应,实现相应功能按键对应的功能。Preferably, in an embodiment of the present invention, if the first infrared control signal is an infrared control signal sent after pressing any one of the digital remote controllers, if the controlled device identifier is determined The first controlled electronic device may respond to the first infrared control signal, and the first controlled electronic device may determine the first controlled electronic device. a selected controlled electronic device; if the first infrared control signal is an infrared control signal sent after pressing at least one function button of the infrared remote controller, if the controlled device is determined The first controlled electronic device may respond to the first infrared control signal to implement a function corresponding to the corresponding function button.
且,在该实施例中,所述第一被控电子设备在响应所述第一红外控制信号的同时或之后,还可以继续将所述第一红外控制信号传输给所述第二被控电子设备,当然所述第二电子设备不会响应所述第一红外控制信号,在采用步骤301和步骤302的操作过程后,所述第二被控电子设备会将所述第一红外控制信号继续向下一个被控电子设备进行传输。当所述第一被控电子设备传输至最后一个被控电子设备时,该被控电子设备在采用步骤301和步骤302的操作过程后,因无法再继续向下传输所述第一红外控制信号,则可能只是不响应所述第一红外控制信号,或者也可能丢弃所述第一红外控制信号。In this embodiment, the first controlled electronic device may continue to transmit the first infrared control signal to the second controlled electronic device simultaneously with or after responding to the first infrared control signal. The device, of course, the second electronic device does not respond to the first infrared control signal, after the operation process of steps 301 and 302 is performed, the second controlled electronic device continues the first infrared control signal Transfer to the next controlled electronic device. When the first controlled electronic device transmits to the last controlled electronic device, the controlled electronic device may continue to transmit the first infrared control signal downward after adopting the operation process of step 301 and step 302. Then, it may simply not respond to the first infrared control signal, or may also discard the first infrared control signal.
较佳的,本发明一实施例中,所述第一被控电子设备响应所述第一红外控制信号,可以是控制所述第一被控电子设备开启或者保持开启所述第一被控电子设备的红外响应功能。Preferably, in an embodiment of the present invention, the first controlled electronic device may control the first controlled electronic device to turn on or keep the first controlled electronic device in response to the first infrared control signal. The infrared response function of the device.
步骤303:当所述被控设备标识与所述第一设备标识不是同一设备标识时,所述第一被控电子设备将所述第一红外控制信号传输给第二被控电子设备。Step 303: When the controlled device identifier and the first device identifier are not the same device identifier, the first controlled electronic device transmits the first infrared control signal to the second controlled electronic device.
如果所述第一被控电子设备判断确定所述被控设备标识与所述第一设备标识不是同一设备标识,则确定用户想要控制的被控电子设备不是自身,则所述第一被控电子设备可以将所述第一红外控制信号传输给与所述第一被控电子设备相连的所述第二被控电子设备。其中,所述第一被控电子设备的串行输出接口与所述第二被控电子设备的串行输入接口连接,所述第一被控电子设备具体可以是通过所述第一电子设备的串行输出接口将所述第一红外控制信号传输给所述第二被控电子设备的串行输入接口,所述第二被控电子设备可以通过所述第二电子设备的串行输入接口获得所述第一红外控制信号。If the first controlled electronic device determines that the controlled device identifier is not the same device identifier as the first device identifier, and determines that the controlled electronic device that the user wants to control is not itself, the first controlled The electronic device can transmit the first infrared control signal to the second controlled electronic device connected to the first controlled electronic device. The serial output interface of the first controlled electronic device is connected to the serial input interface of the second controlled electronic device, and the first controlled electronic device may be specifically through the first electronic device. The serial output interface transmits the first infrared control signal to a serial input interface of the second controlled electronic device, and the second controlled electronic device is obtainable through a serial input interface of the second electronic device The first infrared control signal.
其中,当所述被控设备标识与所述第一设备标识不是同一设备标识时,如果所述第一被控电子设备确定所述第一被控电子设备的所述第一设备标识是所述红外遥控系统中位于所述红外遥控器的可控范围内的被控电子设备的设 备标识,则所述第一被控电子设备将通过所述第一被控电子设备的红外接收端接收的所述第一红外控制信号传输给所述第二被控电子设备;当所述被控设备标识与所述第一设备标识不是同一设备标识时,如果所述第一被控电子设备确定所述第一被控电子设备的所述第一设备标识不是所述红外遥控系统中位于所述红外遥控器的可控范围内的被控电子设备的设备标识,则所述第一被控电子设备将通过所述第一被控电子设备的串行输入接口接收的所述第一红外控制信号传输给所述第二被控电子设备。If the first controlled device determines that the first device identifier of the first controlled electronic device is the same, when the controlled device identifier is not the same device identifier as the first device identifier, The design of the controlled electronic device located in the controllable range of the infrared remote controller in the infrared remote control system Providing the identifier, the first controlled electronic device transmits the first infrared control signal received by the infrared receiving end of the first controlled electronic device to the second controlled electronic device; When the control device identifier is not the same device identifier as the first device identifier, if the first controlled electronic device determines that the first device identifier of the first controlled electronic device is not located in the infrared remote control system The device identifier of the controlled electronic device within the controllable range of the infrared remote controller, wherein the first controlled electronic device receives the first infrared control through the serial input interface of the first controlled electronic device The signal is transmitted to the second controlled electronic device.
在一种可选实施方式中,所述第一被控电子设备在步骤301中获得所述第一红外控制信号后,也可以直接将所述第一红外控制信号传输给所述第二被控电子设备,即,传输操作不受步骤302的判断操作的结果的影响。In an optional implementation manner, after the first controlled electronic device obtains the first infrared control signal in step 301, the first infrared control signal may be directly transmitted to the second controlled The electronic device, i.e., the transmission operation, is not affected by the result of the determination operation of step 302.
具体地,所述第一被控电子设备的串行输出接口与所述第二被控电子设备的串行输入接口连接,所述第一被控电子设备在获得所述第一红外控制信号后,即通过所述第一电子设备的串行输出接口将所述第一红外控制信号传输给所述第二被控电子设备的串行输入接口,所述第二被控电子设备通过所述第二电子设备的串行输入接口获得所述第一红外控制信号。Specifically, the serial output interface of the first controlled electronic device is connected to the serial input interface of the second controlled electronic device, and the first controlled electronic device after obtaining the first infrared control signal Transmitting, by the serial output interface of the first electronic device, the first infrared control signal to a serial input interface of the second controlled electronic device, and the second controlled electronic device passes the The serial input interface of the two electronic devices obtains the first infrared control signal.
在该可选实施方式中,该传输操作和步骤302的判断操作是各自独立执行的,相互之间并没有影响,因此,这两个操作之间可以没有特定的先后执行顺序,可以并行执行,也可以在执行传输操作后执行判断操作。In this optional implementation, the transmission operation and the determining operation of step 302 are performed independently of each other, and have no effect on each other. Therefore, there may be no specific sequential execution order between the two operations, and the execution may be performed in parallel. It is also possible to perform a judgment operation after performing a transfer operation.
在该可选实施方式中,所述第一被控电子设备判断所述被控设备标识与所述第一被控电子设备的第一设备标识是否为同一设备标识,当所述被控设备标识与所述第一设备标识是同一设备标识时,所述第一电子设备响应所述第一红外控制信号。In the optional implementation, the first controlled electronic device determines whether the controlled device identifier and the first device identifier of the first controlled electronic device are the same device identifier, and when the controlled device identifier is When the first device identifier is the same device identifier, the first electronic device is responsive to the first infrared control signal.
根据该可选实施方式,由于某一被控电子设备(如所述第一被控电子设备)在收到红外控制信号(如所述第一红外控制信号)后即将该红外控制信号传给相连接的另一被控电子设备(如所述第二被控电子设备),且该红外控制信号是通过串行接口传输的,即,是通过硬件方式传输的,传输速度非常快,因此, 各个被控电子设备几乎可以同时收到该红外控制信号并对该红外控制信号进行解析处理,因此,不管哪个被控电子设备为该红外控制信号所要控制的设备,均可以快速响应该红外控制信号。According to the optional implementation, a certain controlled electronic device (such as the first controlled electronic device) transmits the infrared control signal to the phase after receiving the infrared control signal (such as the first infrared control signal) Another controlled electronic device (such as the second controlled electronic device) connected, and the infrared control signal is transmitted through a serial interface, that is, transmitted by hardware, and the transmission speed is very fast, therefore, Each controlled electronic device can receive the infrared control signal and analyze the infrared control signal at the same time. Therefore, no matter which controlled electronic device is to be controlled by the infrared control signal, the infrared control signal can be quickly responded to. .
较佳的,本发明实施例中,所述第一被控电子设备将所述第一红外控制信号传输给第二被控电子设备,包括:所述第一被控电子设备将所述第一红外控制信号进行放大处理;所述第一被控电子设备将放大后的第一红外控制信号通过所述第一被控电子设备的串行输出接口传输给所述第二被控电子设备。Preferably, in the embodiment of the present invention, the first controlled electronic device transmits the first infrared control signal to the second controlled electronic device, including: the first controlled electronic device will be the first The infrared control signal is amplified; the first controlled electronic device transmits the amplified first infrared control signal to the second controlled electronic device through the serial output interface of the first controlled electronic device.
因为信号在传输过程中可能会出现衰减,因为本发明实施例中信号需要传输的路径可能较长,会经过较多的被控电子设备,因此,一个被控电子设备在将红外控制信号进行传输之前,可以首先将红外控制信号进行放大,再将放大后的红外控制信号进行传输,这样可以尽量避免因信号衰减而导致后面的被控电子设备收到的信号质量较差甚至无法收到信号。Because the signal may be attenuated during transmission, because the path that the signal needs to be transmitted may be longer in the embodiment of the present invention, more controlled electronic devices may pass through. Therefore, a controlled electronic device transmits the infrared control signal. In the past, the infrared control signal may be first amplified, and then the amplified infrared control signal is transmitted, so as to avoid the signal degradation caused by the subsequent controlled electronic device is poor or even unable to receive the signal.
较佳的,本发明一实施例中,如果所述第一红外控制信号为用于指示所述被控设备标识所标识的被控设备开启或保持开启红外响应功能的控制信号,则,在当所述被控设备标识与所述第一设备标识不是同一设备标识时,所述第一被控电子设备将所述第一红外控制信号传输给所述第二被控电子设备的同时或之后,所述第一被控电子设备可以关闭所述第一被控电子设备的红外响应功能。相应地,当所述被控设备标识与所述第一设备标识是同一设备标识时,所述第一被控电子设备响应所述第一红外控制信号具体包括,开启或者保持开启所述第一被控电子设备的红外响应功能。在该实施例中,只有一个被控电子设备会开启自身的红外响应功能,其他的被控电子设备均关闭了红外响应功能。在所述第一红外控制信号之后,如果再接收到其他的红外控制信号,只有开启红外响应功能的被控电子设备会进行响应,而其他电子设备不会进行响应,即其他电子设备只具有信号传输的功能,而不会再进行信号响应。Preferably, in an embodiment of the present invention, if the first infrared control signal is a control signal for indicating that the controlled device identified by the controlled device identifier is turned on or remains on the infrared response function, When the controlled device identifier and the first device identifier are not the same device identifier, the first controlled electronic device transmits the first infrared control signal to the second controlled electronic device simultaneously or after, The first controlled electronic device may turn off an infrared response function of the first controlled electronic device. Correspondingly, when the controlled device identifier and the first device identifier are the same device identifier, the first controlled electronic device specifically includes, according to the first infrared control signal, enabling or maintaining the first The infrared response function of the controlled electronic device. In this embodiment, only one controlled electronic device turns on its own infrared response function, and the other controlled electronic devices turn off the infrared response function. After the first infrared control signal, if another infrared control signal is received, only the controlled electronic device that turns on the infrared response function will respond, and other electronic devices will not respond, that is, other electronic devices only have signals. The function of the transmission without the signal response.
总体来说,本发明可以通过两个较大的实施例来进行介绍。 In general, the invention can be introduced by two larger embodiments.
实施例一 Embodiment 1
所述红外遥控器中的数字按键具有设备标识的选择功能,即,通过所述红外遥控器按下一个数字按键后,例如按下了数字按键“3”,则所述红外遥控器发送的所述第一红外控制信号中携带有相应的被控设备标识,例如此时所述被控设备标识为“3”。在这种情况下,通过按下相应的数字按键就能够实现对被控设备的选择。且,在这种情况下,所述第一红外控制信号可以是按下其中任一数字按键后发送的红外控制信号,或者所述第一红外控制信号也可以是按下所述红外遥控器中的任意功能按键后发送的红外控制信号,所述第一红外控制信号中携带有所述被控设备标识。即,在实施例一中,所述第一红外控制信号可以是用于进行被控设备选择的红外控制信号,或者也可以是用于发送控制信息的红外控制信号。The digital button in the infrared remote controller has a function of selecting a device identifier, that is, after the digital remote controller presses a digital button, for example, the digital button "3" is pressed, the infrared remote controller sends the button. The first infrared control signal carries a corresponding controlled device identifier. For example, the controlled device identifier is “3” at this time. In this case, the selection of the controlled device can be achieved by pressing the corresponding numeric button. Moreover, in this case, the first infrared control signal may be an infrared control signal sent after pressing any one of the digital buttons, or the first infrared control signal may also be pressed into the infrared remote controller. The infrared control signal sent after any function button is pressed, and the first infrared control signal carries the identifier of the controlled device. That is, in the first embodiment, the first infrared control signal may be an infrared control signal for performing control of the controlled device, or may also be an infrared control signal for transmitting control information.
所述第一被控电子设备是所述红外遥控系统中的任一被控电子设备。所述第一被控电子设备接收到所述第一红外控制信号,判断所述第一红外控制信号中携带的所述被控设备标识与所述第一设备标识是否为同一设备标识。The first controlled electronic device is any controlled electronic device in the infrared remote control system. The first controlled electronic device receives the first infrared control signal, and determines whether the controlled device identifier carried in the first infrared control signal and the first device identifier are the same device identifier.
如果所述被控设备标识与所述第一设备标识是同一设备标识,所述第一被控电子设备响应所述第一红外控制信号,例如,如果所述第一红外控制信号是按下所述红外遥控器中的数字按键后发送的红外控制信号,则所述第一被控电子设备可以响应所述第一红外控制信号,确定所述第一被控电子设备为被选择的被控电子设备,如果所述第一红外控制信号是按下所述红外遥控器中的至少一个功能按键后发送的红外控制信号,则所述第一被控电子设备可以响应所述第一红外控制信号,实现相应功能按键对应的功能。If the controlled device identifier and the first device identifier are the same device identifier, the first controlled electronic device responds to the first infrared control signal, for example, if the first infrared control signal is pressed The infrared control signal sent after the digital button in the infrared remote controller is sent, the first controlled electronic device may determine that the first controlled electronic device is the selected controlled electronic device in response to the first infrared control signal The device, if the first infrared control signal is an infrared control signal sent after pressing at least one function button of the infrared remote controller, the first controlled electronic device may respond to the first infrared control signal, Realize the function corresponding to the corresponding function button.
同时,所述第一被控电子设备依旧将所述第一红外控制信号传输给所述第二被控电子设备,当然所述第二电子设备不会响应所述第一红外控制信号,在采用步骤301和步骤302的操作过程后,所述第二被控电子设备会将所述第一红外控制信号继续向下一个被控电子设备进行传输。当所述第一被控电子设备传输至最后一个被控电子设备时,该被控电子设备在采用步骤301和步骤302 的操作过程后,因无法再继续向下传输所述第一红外控制信号,则可能只是不响应所述第一红外控制信号,或者也可能丢弃所述第一红外控制信号。At the same time, the first controlled electronic device still transmits the first infrared control signal to the second controlled electronic device, and of course the second electronic device does not respond to the first infrared control signal, After the operation of step 301 and step 302, the second controlled electronic device continues to transmit the first infrared control signal to the next controlled electronic device. When the first controlled electronic device transmits to the last controlled electronic device, the controlled electronic device adopts steps 301 and 302. After the operation process, since the first infrared control signal cannot be further transmitted downward, the first infrared control signal may not be responded to, or the first infrared control signal may be discarded.
如果所述被控设备标识与所述第一设备标识不是同一设备标识,则所述第一被控电子设备会将所述第一红外控制信号传输给所述第二被控电子设备,所述第二被控电子设备再经过相同的操作过程来判断是否响应所述第一红外控制信号。If the controlled device identifier is not the same device identifier as the first device identifier, the first controlled electronic device transmits the first infrared control signal to the second controlled electronic device, The second controlled electronic device then goes through the same operation process to determine whether to respond to the first infrared control signal.
且,所述第一被控电子设备如果要将所述第一红外控制信号传输给所述第二被控电子设备,所述第一被控电子设备可以首先将所述第一红外控制信号进行放大,再将放大后的所述第一红外控制信号传输给所述第二被控电子设备。And, if the first controlled electronic device is to transmit the first infrared control signal to the second controlled electronic device, the first controlled electronic device may first perform the first infrared control signal Amplifying, and transmitting the amplified first infrared control signal to the second controlled electronic device.
在实施例一中,所述红外控制系统中的每个被控电子设备,在接收到红外控制信号后都要先判断所述被控设备标识与自身的设备标识是否为同一设备标识,之后再确定是要进行响应还是无需进行响应。这样可以使控制更为准确。In the first embodiment, after receiving the infrared control signal, each controlled electronic device in the infrared control system must first determine whether the controlled device identifier and its own device identifier are the same device identifier, and then Determine if you want to respond or not. This will make the control more accurate.
实施例二 Embodiment 2
所述红外遥控器的数字按键不具有设备标识的选择功能,即,只通过所述红外遥控器按下一个数字按键,所述红外遥控器发送的红外控制信号中无法携带有相应的被控设备标识。在这种情况下,可以采用组合按键的方式来进行被控设备的选择。例如,用户可以通过按下所述红外遥控器上的一个功能按键+一个数字按键的方式来实现对被控设备的选择。该功能按键例如可以是所述红外遥控器上的Ctrl按键,或者也可以是所述红外遥控器上的其他按键,具体是哪个功能按键,可以是在所述红外遥控器出厂时即行设定好,或者也可以由用户自行设定。且,在这种情况下,所述第一红外控制信号可以是至少按下任一数字按键后发送的红外控制信号,例如,所述第一红外控制信号可以是按下一个功能按键+任一数字按键后发送的红外控制信号。即,在实施例二中,所述第一红外控制信号可以是用于进行被控设备选择的控制信号。The digital button of the infrared remote controller does not have the function of selecting the device identifier, that is, only one digital button is pressed by the infrared remote controller, and the infrared control signal sent by the infrared remote controller cannot carry the corresponding controlled device. Logo. In this case, the selection of the controlled device can be performed by means of a combination of buttons. For example, the user can select a controlled device by pressing a function button + a digital button on the infrared remote controller. The function button may be, for example, a Ctrl button on the infrared remote controller, or may be other buttons on the infrared remote controller, and specifically, which function button may be set when the infrared remote controller is shipped from the factory. Or it can be set by the user. Moreover, in this case, the first infrared control signal may be an infrared control signal sent after at least pressing any digital button, for example, the first infrared control signal may be a function button pressed + any Infrared control signal sent after the digital button. That is, in the second embodiment, the first infrared control signal may be a control signal for performing control of the controlled device.
所述第一被控电子设备是所述红外遥控系统中的任一被控电子设备。所述第一被控电子设备接收到所述第一红外控制信号,判断所述第一红外控制信号 中携带的所述被控设备标识与所述第一设备标识是否为同一设备标识。The first controlled electronic device is any controlled electronic device in the infrared remote control system. Receiving, by the first controlled electronic device, the first infrared control signal, determining the first infrared control signal Whether the controlled device identifier carried in the device and the first device identifier are the same device identifier.
如果所述被控设备标识与所述第一设备标识是同一设备标识,所述第一被控电子设备响应所述第一红外控制信号,控制所述第一被控电子设备开启或者保持开启所述第一被控电子设备的红外响应功能。If the controlled device identifier and the first device identifier are the same device identifier, the first controlled electronic device controls the first controlled electronic device to be turned on or kept in response to the first infrared control signal. The infrared response function of the first controlled electronic device.
且,在该实施例中,所述第一被控电子设备在响应所述第一红外控制信号的同时或之后,还可以继续将所述第一红外控制信号传输给所述第二被控电子设备,当然所述第二电子设备不会响应所述第一红外控制信号,所述第二被控电子设备会将所述第一红外控制信号继续向下一个被控电子设备进行传输,且所述第二被控电子设备可以关闭所述第二被控电子设备的红外响应功能。当所述第一红外控制信号传输至最后一个被控电子设备时,该被控电子设备无法再继续向下传输所述第一红外控制信号,则可能只是不响应所述第一红外控制信号,且关闭该被控电子设备的红外响应功能。In this embodiment, the first controlled electronic device may continue to transmit the first infrared control signal to the second controlled electronic device simultaneously with or after responding to the first infrared control signal. The device, of course, the second electronic device does not respond to the first infrared control signal, and the second controlled electronic device continues to transmit the first infrared control signal to the next controlled electronic device, and The second controlled electronic device can turn off the infrared response function of the second controlled electronic device. When the first infrared control signal is transmitted to the last controlled electronic device, the controlled electronic device can no longer continue to transmit the first infrared control signal downward, and may only not respond to the first infrared control signal. And the infrared response function of the controlled electronic device is turned off.
如果所述被控设备标识与所述第一设备标识不是同一设备标识时,所述第一被控电子设备将所述第一红外控制信号传输给第二被控电子设备。且,所述第一被控电子设备可以关闭所述第一被控电子设备的红外响应功能。And if the controlled device identifier is not the same device identifier as the first device identifier, the first controlled electronic device transmits the first infrared control signal to the second controlled electronic device. Moreover, the first controlled electronic device can turn off the infrared response function of the first controlled electronic device.
且,所述第一被控电子设备如果要将所述第一红外控制信号传输给所述第二被控电子设备,所述第一被控电子设备可以首先将所述第一红外控制信号进行放大,再将放大后的所述第一红外控制信号传输给所述第二被控电子设备。And, if the first controlled electronic device is to transmit the first infrared control signal to the second controlled electronic device, the first controlled electronic device may first perform the first infrared control signal Amplifying, and transmitting the amplified first infrared control signal to the second controlled electronic device.
在实施例二中,在所述第一被控电子设备将所述第一红外控制信号传输给所述第二被控电子设备之后,还可以包括:所述第一被控电子设备接收第二红外控制信号;所述第一被控电子设备将所述第二红外控制信号通过所述第一被控电子设备的串行输出接口传输给所述第二被控电子设备。In the second embodiment, after the first controlled electronic device transmits the first infrared control signal to the second controlled electronic device, the method further includes: the first controlled electronic device receiving the second An infrared control signal; the first controlled electronic device transmits the second infrared control signal to the second controlled electronic device through a serial output interface of the first controlled electronic device.
在该实施例中,因为所述第一红外控制信号用于进行被控设备的选择,则所述第二红外控制信号可以用于承载控制信息。即,所述第二红外控制信号可以是按下所述红外遥控器中的至少一个功能按键后发送的红外控制信号。In this embodiment, the second infrared control signal can be used to carry control information because the first infrared control signal is used to make a selection of a controlled device. That is, the second infrared control signal may be an infrared control signal sent after pressing at least one function button of the infrared remote controller.
在该实施例中,因为通过所述第一红外控制信号已经选择出了相应的被控 电子设备,只有被选择的被控电子设备开启或保持开启了红外响应功能,其他被控电子设备都关闭了红外响应功能,因此,所述第二红外控制信号中可以继续携带所述被控设备标识,或者所述第二红外控制信号中也可以不再携带所述被控设备标识。因为关闭了红外响应功能的被控电子设备接收到所述第二红外控制信号后不会再进行解析,而是直接将所述第二红外控制信号传输给下一个被控电子设备,开启或保持开启了红外响应功能的被控电子设备接收到所述第二红外控制信号后不会再进行设备标识是否一致的判断,而是直接响应所述第二红外控制信号,实现相应功能按键对应的功能。In this embodiment, since the corresponding control has been selected by the first infrared control signal In the electronic device, only the selected controlled electronic device turns on or maintains the infrared response function, and the other controlled electronic devices turn off the infrared response function, so the second infrared control signal can continue to carry the controlled device. The identifier of the controlled device may not be carried in the identifier or the second infrared control signal. Because the controlled electronic device that has turned off the infrared response function does not analyze after receiving the second infrared control signal, the second infrared control signal is directly transmitted to the next controlled electronic device, and is turned on or maintained. After receiving the second infrared control signal, the controlled electronic device that has turned on the infrared response function does not perform the judgment of whether the device identification is consistent, but directly responds to the second infrared control signal to implement the function corresponding to the corresponding function button. .
如果所述第一被控电子设备之前判断所述被控设备标识与所述第一设备标识为同一设备标识,则所述第一被控电子设备已开启或保持开启所述第一被控电子设备的红外响应功能。则所述第一被控电子设备接收到所述第二红外控制信号后可以直接进行响应,而无需再判断所述被控设备标识与所述第一设备标识是否为同一设备标识。If the first controlled electronic device previously determines that the controlled device identifier and the first device identifier are the same device identifier, the first controlled electronic device has turned on or remains on the first controlled electronic device. The infrared response function of the device. After receiving the second infrared control signal, the first controlled electronic device may directly respond, without determining whether the controlled device identifier and the first device identifier are the same device identifier.
如果所述第一被控电子设备之前判断所述被控设备标识与所述第一设备标识不是同一设备标识,则所述第一被控电子设备已关闭所述第一被控电子设备的红外响应功能。则所述第一被控电子设备接收到所述第二红外控制信号后可以直接将所述第二红外控制信号传输给所述第二被控电子设备,而无需再判断所述被控设备标识与所述第一设备标识是否为同一设备标识。If the first controlled electronic device previously determines that the controlled device identifier and the first device identifier are not the same device identifier, the first controlled electronic device has turned off the infrared of the first controlled electronic device Response function. After the first controlled electronic device receives the second infrared control signal, the second infrared control signal may be directly transmitted to the second controlled electronic device without determining the identifier of the controlled device. Whether the first device identifier is the same device identifier.
在实施例二中,只需判断一次设备标识,之后各被控电子设备都无需再进行判断,简化了操作步骤,提高了信息处理的效率。In the second embodiment, only one device identifier is determined, and then each controlled electronic device does not need to perform judgment, which simplifies the operation steps and improves the efficiency of information processing.
请参见图4,本发明实施例提供一种电子设备,所述电子设备可以包括获取模块401、处理模块402和输出模块403。较佳的,图4实施例所述的电子设备可以与如前所述的被控电子设备为同一电子设备,例如,可以与所述第一被控电子设备为同一电子设备。Referring to FIG. 4, an embodiment of the present invention provides an electronic device, where the electronic device may include an obtaining module 401, a processing module 402, and an output module 403. Preferably, the electronic device described in the embodiment of FIG. 4 may be the same electronic device as the controlled electronic device as described above, for example, may be the same electronic device as the first controlled electronic device.
获取模块401可以用于获得第一红外控制信号,所述第一红外控制信号中携带有被控设备标识。 The obtaining module 401 can be configured to obtain a first infrared control signal, where the first infrared control signal carries a controlled device identifier.
处理模块402可以用于对所述第一红外控制信号进行解析,判断所述被控设备标识与所述第一被控电子设备的第一设备标识是否为同一设备标识。The processing module 402 is configured to parse the first infrared control signal, and determine whether the controlled device identifier and the first device identifier of the first controlled electronic device are the same device identifier.
输出模块403可以用于当所述被控设备标识与所述第一设备标识不是同一设备标识时,将所述第一红外控制信号传输给第二被控电子设备。The output module 403 can be configured to: when the controlled device identifier and the first device identifier are not the same device identifier, transmit the first infrared control signal to the second controlled electronic device.
较佳的,处理模块402还可以用于:当所述被控设备标识与所述第一设备标识是同一设备标识时,响应所述第一红外控制信号。Preferably, the processing module 402 is further configured to respond to the first infrared control signal when the controlled device identifier and the first device identifier are the same device identifier.
较佳的,获取模块401具体可以用于:通过所述电子设备的红外接收端获得所述第一红外控制信号,或通过所述电子设备的串行输入接口获得所述第一红外控制信号。Preferably, the obtaining module 401 is specifically configured to: obtain the first infrared control signal by using an infrared receiving end of the electronic device, or obtain the first infrared control signal by using a serial input interface of the electronic device.
较佳的,输出模块403具体可以用于:将所述第一红外控制信号进行放大处理;将放大后的第一红外控制信号通过所述电子设备的串行输出接口传输给第二被控电子设备。Preferably, the output module 403 is specifically configured to: perform amplification processing on the first infrared control signal; and transmit the amplified first infrared control signal to the second controlled electronic device through a serial output interface of the electronic device device.
较佳的,处理模块402还可以用于:关闭所述第一被控电子设备的红外响应功能。Preferably, the processing module 402 is further configured to: turn off an infrared response function of the first controlled electronic device.
较佳的,获取模块401还可以用于:接收第二红外控制信号;输出模块403还可以用于:通过所述电子设备的串行输出接口传输给所述第二被控电子设备。Preferably, the obtaining module 401 is further configured to: receive the second infrared control signal; the output module 403 is further configured to: transmit to the second controlled electronic device by using a serial output interface of the electronic device.
请参见图5,本发明实施例提供一种控制系统,所述控制系统例如可以是如前所述的红外控制系统,如前实施例中所述的各被控电子设备及所述红外遥控器均为所述控制系统的组成部分。所述控制系统可以包括至少两个被控电子设备501和红外遥控器502。图5中仅以包括4个被控电子设备为例。Referring to FIG. 5, an embodiment of the present invention provides a control system, which may be, for example, an infrared control system as described above, such as the controlled electronic devices and the infrared remote controller described in the previous embodiments. Both are part of the control system. The control system can include at least two controlled electronic devices 501 and an infrared remote control 502. In FIG. 5, only four controlled electronic devices are included as an example.
所述至少两个被控电子设备501中,每个被控电子设备501均可以具有一串行输入接口及一串行输出接口,各被控电子设备之间通过串行输入接口及串行输出接口顺次连接。图5中的数字1代表串行输入接口,数字2代表串行输出接口。图5中还以数字3示出了红外接收端,图5只以位于红外遥控器502的可控范围内的被控电子设备501具有红外接收端为例。 Each of the at least two controlled electronic devices 501 can have a serial input interface and a serial output interface, and each controlled electronic device passes through a serial input interface and serial output. The interfaces are connected in sequence. The number 1 in Figure 5 represents the serial input interface and the number 2 represents the serial output interface. The infrared receiving end is also shown by the numeral 3 in FIG. 5, and FIG. 5 only takes the infrared receiving end of the controlled electronic device 501 located within the controllable range of the infrared remote controller 502 as an example.
红外遥控器502可以用于控制所述至少两个被控电子设备501中的一被控电子设备,或通过该被控电子设备控制其余的任一被控电子设备。The infrared remote controller 502 can be used to control a controlled electronic device of the at least two controlled electronic devices 501, or control any remaining controlled electronic devices by the controlled electronic device.
如图5所示,位于最左侧的被控电子设备501位于红外遥控器502的可控范围内,而其余的被控电子设备501均位于红外遥控器502的可控范围外。则红外遥控器502可以用于控制该位于红外遥控器502的可控范围内的被控电子设备501,或者红外遥控器502还可以用于通过该位于红外遥控器502的可控范围内的被控电子设备501控制其余的任一电子设备,具体的控制方式如本申请的信号传输方法部分所介绍,此处不再赘述。As shown in FIG. 5, the controlled electronic device 501 located at the leftmost side is located within the controllable range of the infrared remote controller 502, and the remaining controlled electronic devices 501 are located outside the controllable range of the infrared remote controller 502. The infrared remote controller 502 can be used to control the controlled electronic device 501 located within the controllable range of the infrared remote controller 502, or the infrared remote controller 502 can also be used to pass the controlled range within the infrared remote controller 502. The control electronic device 501 controls any of the remaining electronic devices, and the specific control manner is as described in the signal transmission method section of the present application, and details are not described herein again.
较佳的,本发明实施例中,所述串行输入接口具有M个引脚,M为正整数,其中的至少一个引脚用于传输红外控制信号;及,所述串行输出接口具有N个引脚,N为正整数,其中的至少一个引脚用于传输红外控制信号。其中,N和M可能相同,也可能不同。Preferably, in the embodiment of the present invention, the serial input interface has M pins, M is a positive integer, at least one of the pins is used for transmitting an infrared control signal; and the serial output interface has N One pin, N is a positive integer, at least one of which is used to transmit an infrared control signal. Among them, N and M may be the same or different.
较佳的,本发明实施例中,是通过串行接口来传输红外信号,串行接口包括串行输入接口和串行输出接口。现有的串行接口中包括有多个引脚,一般来说为9个引脚,即M=9。其中已定义了3个引脚为进行串行信号传输的引脚,还有剩余的5个引脚为空闲引脚。本发明实施例中,可以定义剩余的5个空闲引脚中的至少一个引脚为用于进行红外信号传输的引脚,则通过本发明实施例自定义的引脚,就可以实现通过串行接口来传输红外信号的目的。Preferably, in the embodiment of the present invention, the infrared signal is transmitted through a serial interface, and the serial interface includes a serial input interface and a serial output interface. The existing serial interface includes a plurality of pins, generally 9 pins, that is, M=9. Three pins have been defined for serial signal transmission, and the remaining five pins are idle. In the embodiment of the present invention, at least one of the remaining five idle pins may be defined as a pin for performing infrared signal transmission, and the pin through the embodiment of the present invention may be implemented through serial Interface for the purpose of transmitting infrared signals.
本发明实施例中的信号传输方法可以包括:第一被控电子设备获得第一红外控制信号,所述第一红外控制信号中携带有被控设备标识;所述第一被控电子设备对所述第一红外控制信号进行解析,判断所述被控设备标识与所述第一被控电子设备的第一设备标识是否为同一设备标识;当所述被控设备标识与所述第一设备标识不是同一设备标识时,所述第一被控电子设备将所述第一红外控制信号传输给第二被控电子设备。The signal transmission method in the embodiment of the present invention may include: the first controlled electronic device obtains a first infrared control signal, where the first infrared control signal carries a controlled device identifier; and the first controlled electronic device has a Determining, by the first infrared control signal, whether the identifier of the controlled device and the first device identifier of the first controlled electronic device are the same device identifier; and when the controlled device identifier and the first device identifier are When the same device identifier is not, the first controlled electronic device transmits the first infrared control signal to the second controlled electronic device.
本发明实施例中,被控电子设备获得的是红外控制信号,在各被控电子设备之间传输的也是红外控制信号,从而可以通过红外遥控器直接对被控电子设 备进行控制,无需其他专门的控制器,节约硬件成本。In the embodiment of the present invention, the controlled electronic device obtains an infrared control signal, and the infrared control signal is transmitted between the controlled electronic devices, so that the controlled electronic device can be directly set by the infrared remote controller. Controls are available, eliminating the need for additional specialized controllers and saving on hardware costs.
且,所述第一被控电子设备在接收到所述第一红外控制信号后会比较该信号中携带的被控设备标识与所述第一设备标识是否是同一设备标识,如果不是,则所述第一被控电子设备会将所述第一红外控制信号传输给下一个被控电子设备,从而能够保证相应的红外控制信号能够被对应的被控电子设备所响应,提高控制准确度,通过一个红外遥控器可以实现对多个被控电子设备的控制。After receiving the first infrared control signal, the first controlled electronic device compares whether the controlled device identifier carried in the signal and the first device identifier are the same device identifier, and if not, the The first controlled electronic device transmits the first infrared control signal to the next controlled electronic device, thereby ensuring that the corresponding infrared control signal can be responded by the corresponding controlled electronic device, thereby improving control accuracy and passing An infrared remote control can control multiple controlled electronic devices.
多个被控电子设备之间彼此相连,其中可以只有一个被控电子设备能够接收到红外遥控器发送的红外控制信号,红外控制信号中携带有相应的被控设备标识,通过该能够接收红外遥控器发送的红外控制信号的被控电子设备,能够将接收的红外控制信号传输给对应的被控电子设备,从而相当于通过一个红外遥控器控制了多个被控电子设备,且这些被控电子设备的位置可以较为任意设置,无需均设置在红外遥控器的可控范围内,提高了红外遥控系统的实用性,使红外遥控系统能够应用在更多的场景中。A plurality of controlled electronic devices are connected to each other, wherein only one controlled electronic device can receive an infrared control signal sent by the infrared remote control, and the infrared control signal carries a corresponding controlled device identifier, and the infrared remote control can be received by the infrared control signal The controlled electronic device that sends the infrared control signal can transmit the received infrared control signal to the corresponding controlled electronic device, thereby controlling a plurality of controlled electronic devices through an infrared remote controller, and the controlled electronic devices The position of the device can be set arbitrarily, and it is not necessary to be set within the controllable range of the infrared remote controller, which improves the practicality of the infrared remote control system, and enables the infrared remote control system to be applied in more scenarios.
请参见图6,本发明实施例提供另一种电子设备600,所述电子设备600可以包括获取模块601、处理模块602和输出模块603。较佳的,图6实施例所述的电子设备600可以与如前所述的被控电子设备为同一电子设备,例如,可以与所述第一被控电子设备为同一电子设备。Referring to FIG. 6 , an embodiment of the present invention provides another electronic device 600 , which may include an obtaining module 601 , a processing module 602 , and an output module 603 . Preferably, the electronic device 600 of the embodiment of FIG. 6 may be the same electronic device as the controlled electronic device as described above, for example, may be the same electronic device as the first controlled electronic device.
所述电子设备600的串行输出接口与相邻电子设备的串行输入接口相连,所述电子设备600包括获取模块、处理模块和输出模块;The serial output interface of the electronic device 600 is connected to a serial input interface of an adjacent electronic device, and the electronic device 600 includes an acquisition module, a processing module, and an output module;
获取模块601可以用于获得第一红外控制信号,所述第一红外控制信号中携带有被控设备标识。The obtaining module 601 can be configured to obtain a first infrared control signal, where the first infrared control signal carries a controlled device identifier.
处理模块602可以用于对所述第一红外控制信号进行解析获取所述被控设备标识,并在确定所述被控设备标识与所述电子设备的第一设备标识为同一设备标识时,响应所述第一红外控制信号;The processing module 602 may be configured to parse the first infrared control signal to obtain the controlled device identifier, and respond when determining that the controlled device identifier and the first device identifier of the electronic device are the same device identifier The first infrared control signal;
输出模块603可以用于通过所述电子设备的串行输出接口将所述第一红外 控制信号传输给所述相邻电子设备。An output module 603 can be configured to pass the first infrared through a serial output interface of the electronic device A control signal is transmitted to the adjacent electronic device.
较佳的,获取模块601具体可以用于:通过所述电子设备的红外接收端获得所述第一红外控制信号,或通过所述电子设备的串行输入接口获得所述第一红外控制信号。Preferably, the obtaining module 601 is specifically configured to: obtain the first infrared control signal by using an infrared receiving end of the electronic device, or obtain the first infrared control signal by using a serial input interface of the electronic device.
较佳的,输出模块603具体可以用于:将所述第一红外控制信号进行放大处理;将放大后的第一红外控制信号通过所述电子设备的串行输出接口传输给第二被控电子设备。Preferably, the output module 603 is specifically configured to: perform amplification processing on the first infrared control signal; and transmit the amplified first infrared control signal to the second controlled electronic device through a serial output interface of the electronic device device.
较佳的,处理模块602用于在确定所述被控设备标识与所述电子设备的第一设备标识为同一设备标识时,响应所述第一红外控制信号具体包括:处理模块602用于在根据所述第一红外控制信号确定所述第一红外控制信号为用于指示所述被控设备标识所标识的被控设备开启或保持开启红外响应功能的控制信号,且确定所述被控设备标识与所述第一设备标识是同一设备标识时,开启或保持开启所述电子设备的红外响应功能;相应地,处理模块602还用于在根据所述第一红外控制信号确定所述第一红外控制信号为用于指示所述被控设备标识所标识的被控设备开启或保持开启红外响应功能的控制信号,且确定所述被控设备标识与所述第一设备标识不是同一设备标识时,关闭所述电子设备的红外响应功能。Preferably, the processing module 602 is configured to: when determining that the controlled device identifier and the first device identifier of the electronic device are the same device identifier, the responding to the first infrared control signal specifically includes: the processing module 602 is configured to Determining, according to the first infrared control signal, the first infrared control signal as a control signal for indicating that the controlled device identified by the controlled device identifier turns on or keeps an infrared response function on, and determines the controlled device When the identifier and the first device identifier are the same device identifier, the infrared response function of the electronic device is turned on or kept on; correspondingly, the processing module 602 is further configured to determine the first according to the first infrared control signal. The infrared control signal is a control signal for indicating that the controlled device identified by the controlled device identifier turns on or keeps the infrared response function on, and determines that the controlled device identifier and the first device identifier are not the same device identifier. Turning off the infrared response function of the electronic device.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能单元的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元完成,即将装置的内部结构划分成不同的功能单元,以完成以上描述的全部或者部分功能。上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。It will be clearly understood by those skilled in the art that for the convenience and brevity of the description, only the division of each functional unit described above is exemplified. In practical applications, the above function assignment can be completed by different functional units as needed. The internal structure of the device is divided into different functional units to perform all or part of the functions described above. For the specific working process of the system, the device and the unit described above, reference may be made to the corresponding process in the foregoing method embodiments, and details are not described herein again.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元或单元的划分,仅仅为一种逻辑功能划分,实际实现时可 以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present application, it should be understood that the disclosed system, apparatus, and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the unit or unit is only a logical function division, and may be implemented in actual implementation. In a different manner, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application, in essence or the contribution to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) or a processor to perform all or part of the steps of the methods described in various embodiments of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
以上所述,以上实施例仅用以对本申请的技术方案进行了详细介绍,但以上实施例的说明只是用于帮助理解本发明的方法及其核心思想,不应理解为对本发明的限制。本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。 The above embodiments are only used to describe the technical solutions of the present application in detail, but the description of the above embodiments is only for helping to understand the method and the core idea of the present invention, and should not be construed as limiting the present invention. Those skilled in the art will be able to devise variations or alternatives within the scope of the present invention within the scope of the present invention.

Claims (24)

  1. 一种信号传输方法,其特征在于,包括以下步骤:A signal transmission method, comprising the steps of:
    第一被控电子设备获得第一红外控制信号,所述第一红外控制信号中携带有被控设备标识;The first controlled electronic device obtains a first infrared control signal, where the first infrared control signal carries a controlled device identifier;
    所述第一被控电子设备对所述第一红外控制信号进行解析,判断所述被控设备标识与所述第一被控电子设备的第一设备标识是否为同一设备标识;The first controlled electronic device parses the first infrared control signal, and determines whether the controlled device identifier and the first device identifier of the first controlled electronic device are the same device identifier;
    当所述被控设备标识与所述第一设备标识不是同一设备标识时,所述第一被控电子设备将所述第一红外控制信号传输给第二被控电子设备。When the controlled device identifier is not the same device identifier as the first device identifier, the first controlled electronic device transmits the first infrared control signal to the second controlled electronic device.
  2. 如权利要求1所述的方法,其特征在于,在判断所述被控设备标识与所述第一被控电子设备的第一设备标识是否为同一设备标识之后,还包括:当所述被控设备标识与所述第一设备标识是同一设备标识时,所述第一被控电子设备响应所述第一红外控制信号。The method of claim 1, after determining whether the controlled device identifier and the first device identifier of the first controlled electronic device are the same device identifier, further comprising: when the controlled When the device identifier and the first device identifier are the same device identifier, the first controlled electronic device responds to the first infrared control signal.
  3. 如权利要求1所述的方法,其特征在于,第一被控电子设备获得第一红外控制信号,包括:所述第一被控电子设备通过所述第一被控电子设备的红外接收端获得所述第一红外控制信号,或所述第一被控电子设备通过所述第一被控电子设备的串行输入接口获得所述第一红外控制信号。The method of claim 1, wherein the first controlled electronic device obtains the first infrared control signal, comprising: the first controlled electronic device is obtained by an infrared receiving end of the first controlled electronic device The first infrared control signal, or the first controlled electronic device obtains the first infrared control signal through a serial input interface of the first controlled electronic device.
  4. 如权利要求1-3任一所述的方法,其特征在于,所述第一被控电子设备将所述第一红外控制信号传输给第二被控电子设备,包括:The method of any one of claims 1-3, wherein the transmitting, by the first controlled electronic device, the first infrared control signal to the second controlled electronic device comprises:
    所述第一被控电子设备将所述第一红外控制信号进行放大处理;The first controlled electronic device performs amplification processing on the first infrared control signal;
    所述第一被控电子设备将放大后的第一红外控制信号通过所述第一被控电子设备的串行输出接口传输给所述第二被控电子设备。The first controlled electronic device transmits the amplified first infrared control signal to the second controlled electronic device through a serial output interface of the first controlled electronic device.
  5. 如权利要求1、3或4所述的方法,其特征在于,所述方法还包括:所述第一被控电子设备在根据所述第一红外控制信号确定所述第一红外控制信号为用于指示所述被控设备标识所标识的被控设备开启或保持开启红外响应功能的控制信号,且确定所述被控设备标识与所述第一被控电子设备的第一设备标识不是同一设备标识时,关闭所述第一被控电子设备的红外响应功能。 The method according to claim 1, 3 or 4, wherein the method further comprises: the first controlled electronic device determining that the first infrared control signal is used according to the first infrared control signal And a control signal indicating that the controlled device identified by the controlled device identifier turns on or maintains the infrared response function, and determines that the controlled device identifier is not the same device as the first device identifier of the first controlled electronic device When marking, the infrared response function of the first controlled electronic device is turned off.
  6. 如权利要求5所述的方法,其特征在于,在所述第一被控电子设备关闭所述第一被控电子设备的红外响应功能之后,还包括:The method of claim 5, further comprising: after the first controlled electronic device turns off the infrared response function of the first controlled electronic device,
    所述第一被控电子设备接收第二红外控制信号;The first controlled electronic device receives a second infrared control signal;
    所述第一被控电子设备将所述第二红外控制信号通过所述第一被控电子设备的串行输出接口传输给所述第二被控电子设备。The first controlled electronic device transmits the second infrared control signal to the second controlled electronic device through a serial output interface of the first controlled electronic device.
  7. 一种电子设备,其特征在于,包括:An electronic device, comprising:
    获取模块,用于获得第一红外控制信号,所述第一红外控制信号中携带有被控设备标识;An acquiring module, configured to obtain a first infrared control signal, where the first infrared control signal carries a controlled device identifier;
    处理模块,用于对所述第一红外控制信号进行解析,判断所述被控设备标识与所述第一被控电子设备的第一设备标识是否为同一设备标识;a processing module, configured to parse the first infrared control signal, and determine whether the controlled device identifier and the first device identifier of the first controlled electronic device are the same device identifier;
    输出模块,用于当所述被控设备标识与所述第一设备标识不是同一设备标识时,将所述第一红外控制信号传输给第二被控电子设备。And an output module, configured to: when the controlled device identifier and the first device identifier are not the same device identifier, transmit the first infrared control signal to the second controlled electronic device.
  8. 如权利要求7所述的电子设备,其特征在于,所述处理模块还用于:当所述被控设备标识与所述第一设备标识是同一设备标识时,响应所述第一红外控制信号。The electronic device according to claim 7, wherein the processing module is further configured to: respond to the first infrared control signal when the controlled device identifier and the first device identifier are the same device identifier .
  9. 如权利要求7所述的电子设备,其特征在于,所述获取模块具体用于:通过所述电子设备的红外接收端获得所述第一红外控制信号,或通过所述电子设备的串行输入接口获得所述第一红外控制信号。The electronic device according to claim 7, wherein the obtaining module is specifically configured to: obtain the first infrared control signal by an infrared receiving end of the electronic device, or serial input through the electronic device The interface obtains the first infrared control signal.
  10. 如权利要求7-9任一所述的电子设备,其特征在于,所述输出模块具体用于:将所述第一红外控制信号进行放大处理;将放大后的第一红外控制信号通过所述电子设备的串行输出接口传输给第二被控电子设备。The electronic device according to any one of claims 7-9, wherein the output module is specifically configured to: perform amplification processing on the first infrared control signal; and pass the amplified first infrared control signal through the The serial output interface of the electronic device is transmitted to the second controlled electronic device.
  11. 如权利要求7、9或10任一所述的电子设备,其特征在于,所述处理模块还用于:关闭所述第一被控电子设备的红外响应功能。The electronic device according to any one of claims 7, 9 or 10, wherein the processing module is further configured to: turn off an infrared response function of the first controlled electronic device.
  12. 如权利要求7所述的电子设备,其特征在于,所述获取模块还用于接收第二红外控制信号;The electronic device according to claim 7, wherein the obtaining module is further configured to receive a second infrared control signal;
    所述输出模块还用于通过所述电子设备的串行输出接口传输给所述第二 被控电子设备。The output module is further configured to transmit to the second through a serial output interface of the electronic device Controlled electronic equipment.
  13. 一种控制系统,其特征在于,包括:A control system, comprising:
    至少两个被控电子设备,其中每个被控电子设备均具有一串行输入接口及一串行输出接口,各被控电子设备之间通过串行输入接口及串行输出接口顺次连接;At least two controlled electronic devices, wherein each controlled electronic device has a serial input interface and a serial output interface, and each controlled electronic device is sequentially connected through a serial input interface and a serial output interface;
    红外遥控器,用于控制其中的一被控电子设备,或通过该被控电子设备控制其余的任一被控电子设备。An infrared remote controller for controlling one of the controlled electronic devices or controlling any of the remaining controlled electronic devices by the controlled electronic device.
  14. 如权利要求13所述的控制系统,其特征在于,所述串行输入接口具有M个引脚,M为正整数,其中的至少一个引脚用于传输红外控制信号;及,所述串行输出接口具有N个引脚,N为正整数,其中的至少一个引脚用于传输红外控制信号。The control system of claim 13 wherein said serial input interface has M pins, M being a positive integer, at least one of which is for transmitting an infrared control signal; and said serial The output interface has N pins, N is a positive integer, and at least one of the pins is used to transmit an infrared control signal.
  15. 如权利要求13或14所述的控制系统,其特征在于,所述至少两个被控电子设备中的第一被控电子设备的串行输出接口与所述至少两个被控电子设备中的第二被控电子设备的串行输入接口相连接;The control system according to claim 13 or 14, wherein a serial output interface of the first controlled electronic device of the at least two controlled electronic devices and the at least two controlled electronic devices The serial input interface of the second controlled electronic device is connected;
    所述红外遥控器,具体用于向所述第一被控电子设备发送第一红外控制信号,所述第一红外控制信号中携带有被控设备标识;The infrared remote controller is configured to send a first infrared control signal to the first controlled electronic device, where the first infrared control signal carries a controlled device identifier;
    所述第一被控电子设备,用于通过所述第一被控电子设备的红外接收端获得所述第一红外控制信号,对所述第一红外控制信号进行解析,判断所述被控设备标识与所述第一被控电子设备的第一设备标识是否为同一设备标识,当所述被控设备标识与所述第一设备标识不是同一设备标识时,通过所述第一被控电子设备的串行输出接口将所述第一红外控制信号传输给所述第二被控电子设备,当所述被控设备标识与所述第一设备标识是同一设备标识时,响应所述第一红外控制信号;The first controlled electronic device is configured to obtain the first infrared control signal by using an infrared receiving end of the first controlled electronic device, parse the first infrared control signal, and determine the controlled device Determining whether the first device identifier of the first controlled electronic device is the same device identifier, and when the controlled device identifier and the first device identifier are not the same device identifier, passing the first controlled electronic device The serial output interface transmits the first infrared control signal to the second controlled electronic device, and when the controlled device identifier and the first device identifier are the same device identifier, responding to the first infrared control signal;
    所述第二被控电子设备,用于通过所述第二被控电子设备的串行输入接口获得所述第一被控电子设备在确定所述被控设备标识与所述第一设备标识不是同一设备标识时发送的所述第一红外控制信号,对所述第一红外控制信号进 行解析,判断所述被控设备标识与所述第二被控电子设备的第二设备标识是否为同一设备标识,当所述被控设备标识与所述第二设备标识不是同一设备标识,且存在与所述第二被控电子设备的串行输出接口相连接的第三被控电子设备时,通过所述第二被控电子设备的串行输出接口将所述第一红外控制信号传输给所述第三被控电子设备,当所述被控设备标识与所述第二设备标识是同一设备标识时,响应所述第一红外控制信号。The second controlled electronic device is configured to obtain, by using a serial input interface of the second controlled electronic device, that the first controlled electronic device determines that the controlled device identifier and the first device identifier are not The first infrared control signal sent when the same device is identified, and the first infrared control signal is input Determining, determining whether the controlled device identifier and the second device identifier of the second controlled electronic device are the same device identifier, and when the controlled device identifier and the second device identifier are not the same device identifier, and When there is a third controlled electronic device connected to the serial output interface of the second controlled electronic device, transmitting the first infrared control signal to the serial output interface of the second controlled electronic device The third controlled electronic device responds to the first infrared control signal when the controlled device identifier and the second device identifier are the same device identifier.
  16. 一种信号传输方法,其特征在于,所述信号传输方法应用于第一被控电子设备,所述第一被控电子设备的串行输出接口与第二被控电子设备的串行输入接口相连,包括:A signal transmission method is characterized in that the signal transmission method is applied to a first controlled electronic device, and a serial output interface of the first controlled electronic device is connected to a serial input interface of a second controlled electronic device ,include:
    所述第一被控电子设备获得第一红外控制信号,所述第一红外控制信号中携带有被控设备标识;The first controlled electronic device obtains a first infrared control signal, where the first infrared control signal carries a controlled device identifier;
    所述第一被控电子设备通过所述第一被控电子设备的串行输出接口将所述第一红外控制信号传输给所述第二被控电子设备;Transmitting, by the first controlled electronic device, the first infrared control signal to the second controlled electronic device by using a serial output interface of the first controlled electronic device;
    所述第一被控电子设备对所述第一红外控制信号进行解析获取所述被控设备标识,并在确定所述被控设备标识与所述第一被控电子设备的第一设备标识为同一设备标识时,响应所述第一红外控制信号。The first controlled electronic device parses the first infrared control signal to obtain the controlled device identifier, and determines that the controlled device identifier and the first device identifier of the first controlled electronic device are The first infrared control signal is responsive to the same device identification.
  17. 如权利要求16所述的方法,其特征在于,所述第一被控电子设备获得所述第一红外控制信号,包括:所述第一被控电子设备通过所述第一被控电子设备的红外接收端获得所述第一红外控制信号,或所述第一被控电子设备通过所述第一被控电子设备的串行输入接口获得所述第一红外控制信号。The method according to claim 16, wherein the first controlled electronic device obtains the first infrared control signal, comprising: the first controlled electronic device passes through the first controlled electronic device The infrared receiving end obtains the first infrared control signal, or the first controlled electronic device obtains the first infrared control signal by using a serial input interface of the first controlled electronic device.
  18. 如权利要求16或17所述的方法,其特征在于,所述第一被控电子设备将所述第一红外控制信号传输给所述第二被控电子设备,包括:The method of claim 16 or 17, wherein the transmitting, by the first controlled electronic device, the first infrared control signal to the second controlled electronic device comprises:
    所述第一被控电子设备将所述第一红外控制信号进行放大处理;The first controlled electronic device performs amplification processing on the first infrared control signal;
    所述第一被控电子设备将放大后的第一红外控制信号通过所述第一被控电子设备的串行输出接口传输给所述第二被控电子设备。The first controlled electronic device transmits the amplified first infrared control signal to the second controlled electronic device through a serial output interface of the first controlled electronic device.
  19. 如权利要求16-18任一所述的方法,其特征在于,所述在确定所述被 控设备标识与所述第一被控电子设备的第一设备标识为同一设备标识时,响应所述第一红外控制信号具体包括:在根据所述第一红外控制信号确定所述第一红外控制信号为用于指示所述被控设备标识所标识的被控设备开启或保持开启红外响应功能的控制信号,且确定所述被控设备标识与所述第一设备标识是同一设备标识时,开启或保持开启所述第一被控电子设备的红外响应功能;A method according to any one of claims 16-18, wherein said determining said said When the control device identifier and the first device identifier of the first controlled electronic device are the same device identifier, the responding to the first infrared control signal specifically includes: determining the first infrared control according to the first infrared control signal The signal is a control signal for indicating that the controlled device identified by the controlled device identifier turns on or maintains the infrared response function, and determines that the controlled device identifier and the first device identifier are the same device identifier, and is Or maintaining the infrared response function of the first controlled electronic device;
    所述方法还包括:所述第一被控电子设备在根据所述第一红外控制信号确定所述第一红外控制信号为用于指示所述被控设备标识所标识的被控设备开启或保持开启红外响应功能的控制信号,且确定所述被控设备标识与所述第一设备标识不是同一设备标识时,关闭所述第一被控电子设备的红外响应功能。The method further includes: the first controlled electronic device determines, according to the first infrared control signal, that the first infrared control signal is turned on or off for indicating a controlled device identified by the controlled device identifier Turning on the control signal of the infrared response function, and determining that the controlled device identifier and the first device identifier are not the same device identifier, turning off the infrared response function of the first controlled electronic device.
  20. 一种电子设备,其特征在于,所述电子设备的串行输出接口与相邻电子设备的串行输入接口相连,所述电子设备包括获取模块、处理模块和输出模块;An electronic device, wherein a serial output interface of the electronic device is connected to a serial input interface of an adjacent electronic device, the electronic device comprising an acquisition module, a processing module, and an output module;
    所述获取模块,用于获得第一红外控制信号,所述第一红外控制信号中携带有被控设备标识;The acquiring module is configured to obtain a first infrared control signal, where the first infrared control signal carries a controlled device identifier;
    所述处理模块,用于对所述第一红外控制信号进行解析获取所述被控设备标识,并在确定所述被控设备标识与所述电子设备的第一设备标识为同一设备标识时,响应所述第一红外控制信号;The processing module is configured to parse the first infrared control signal to obtain the identifier of the controlled device, and determine that the identifier of the controlled device and the first device identifier of the electronic device are the same device identifier, Responding to the first infrared control signal;
    所述输出模块,用于通过所述电子设备的串行输出接口将所述第一红外控制信号传输给所述相邻电子设备。The output module is configured to transmit the first infrared control signal to the adjacent electronic device through a serial output interface of the electronic device.
  21. 如权利要求20所述的电子设备,其特征在于,所述获取模块具体用于:通过所述电子设备的红外接收端获得所述第一红外控制信号,或通过所述电子设备的串行输入接口获得所述第一红外控制信号。The electronic device according to claim 20, wherein the obtaining module is specifically configured to: obtain the first infrared control signal through an infrared receiving end of the electronic device, or pass serial input of the electronic device The interface obtains the first infrared control signal.
  22. 如权利要求20或21所述的电子设备,其特征在于,所述输出模块具体用于:将所述第一红外控制信号进行放大处理;将放大后的第一红外控制信号通过所述电子设备的串行输出接口传输给所述相邻电子设备。The electronic device according to claim 20 or 21, wherein the output module is specifically configured to: perform amplification processing on the first infrared control signal; and pass the amplified first infrared control signal through the electronic device The serial output interface is transmitted to the adjacent electronic device.
  23. 如权利要求20-22任一所述的电子设备,其特征在于,所述处理模块 用于在确定所述被控设备标识与所述电子设备的第一设备标识为同一设备标识时,响应所述第一红外控制信号具体包括:所述处理模块用于在根据所述第一红外控制信号确定所述第一红外控制信号为用于指示所述被控设备标识所标识的被控设备开启或保持开启红外响应功能的控制信号,且确定所述被控设备标识与所述第一设备标识是同一设备标识时,开启或保持开启所述电子设备的红外响应功能;The electronic device according to any one of claims 20-22, wherein said processing module In response to determining that the controlled device identifier and the first device identifier of the electronic device are the same device identifier, the responding to the first infrared control signal specifically includes: the processing module is configured to be used according to the first infrared The control signal determines that the first infrared control signal is a control signal for indicating that the controlled device identified by the controlled device identifier turns on or keeps an infrared response function on, and determines the controlled device identifier and the first When the device identifier is the same device identifier, the infrared response function of the electronic device is turned on or kept on;
    所述处理模块还用于:在根据所述第一红外控制信号确定所述第一红外控制信号为用于指示所述被控设备标识所标识的被控设备开启或保持开启红外响应功能的控制信号,且确定所述被控设备标识与所述第一设备标识不是同一设备标识时,关闭所述电子设备的红外响应功能。The processing module is further configured to: determine, according to the first infrared control signal, that the first infrared control signal is a control for instructing the controlled device identified by the controlled device identifier to turn on or maintain an infrared response function And when the signal is determined, and the determined device identifier is not the same device identifier as the first device identifier, the infrared response function of the electronic device is turned off.
  24. 一种控制系统,其特征在于,包括:A control system, comprising:
    至少两个被控电子设备,其中每个被控电子设备均具有一串行输入接口及一串行输出接口,各被控电子设备之间通过串行输入接口及串行输出接口顺次连接;At least two controlled electronic devices, wherein each controlled electronic device has a serial input interface and a serial output interface, and each controlled electronic device is sequentially connected through a serial input interface and a serial output interface;
    红外遥控器,用于向所述至少两个被控电子设备中的第一被控电子设备发送第一红外控制信号,所述第一红外控制信号中携带有被控设备标识;An infrared remote controller, configured to send a first infrared control signal to the first controlled electronic device of the at least two controlled electronic devices, where the first infrared control signal carries a controlled device identifier;
    所述第一被控电子设备,用于通过所述第一被控电子设备的红外接收端获得所述第一红外控制信号,通过所述第一被控电子设备的串行输出接口将所述第一红外控制信号传输给所述至少两个被控电子设备中的与所述第一被控电子设备相连接的第二被控电子设备,并在确定所述被控设备标识与所述第一被控电子设备的第一设备标识为同一设备标识时,响应所述第一红外控制信号;The first controlled electronic device is configured to obtain the first infrared control signal by using an infrared receiving end of the first controlled electronic device, by using a serial output interface of the first controlled electronic device Transmitting, by the first infrared control signal, a second controlled electronic device connected to the first controlled electronic device of the at least two controlled electronic devices, and determining the controlled device identifier and the first And responding to the first infrared control signal when the first device identifier of the controlled electronic device is the same device identifier;
    所述第二被控电子设备,用于通过所述第二被控电子设备的串行输入接口获得所述第一红外控制信号;并用于当所述至少两个被控电子设备包括与所述第二被控电子设备的串行输出接口相连接的第三被控电子设备时,通过所述第二被控电子设备的串行输出接口将所述第一红外控制信号传输给所述第三被控电子设备;还用于当所述被控设备标识与所述第二设备标识是同一设备标识 时,响应所述第一红外控制信号。 The second controlled electronic device is configured to obtain the first infrared control signal by using a serial input interface of the second controlled electronic device; and for when the at least two controlled electronic devices include the Transmitting the first infrared control signal to the third through a serial output interface of the second controlled electronic device when the serial output interface of the second controlled electronic device is connected to the third controlled electronic device The controlled electronic device is further configured to: when the controlled device identifier and the second device identifier are the same device identifier Responding to the first infrared control signal.
PCT/CN2014/090793 2014-03-06 2014-11-11 Signal transmission method, electronic device and control system WO2015131536A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410081682.3 2014-03-06
CN201410081682.3A CN104900045B (en) 2014-03-06 2014-03-06 A kind of method for transmitting signals, electronic equipment and control system

Publications (1)

Publication Number Publication Date
WO2015131536A1 true WO2015131536A1 (en) 2015-09-11

Family

ID=54032686

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/090793 WO2015131536A1 (en) 2014-03-06 2014-11-11 Signal transmission method, electronic device and control system

Country Status (2)

Country Link
CN (1) CN104900045B (en)
WO (1) WO2015131536A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107920237A (en) * 2016-10-10 2018-04-17 深圳市光峰光电技术有限公司 Projecting apparatus
CN106598353A (en) * 2016-11-23 2017-04-26 广州视源电子科技股份有限公司 Touch display screen, response method and device and interactive equipment, method and system
CN113126572B (en) * 2019-12-31 2023-05-23 深圳Tcl新技术有限公司 Intelligent household appliance control method and device based on Internet of things and storage medium
CN111741511B (en) * 2020-05-29 2022-05-10 华为技术有限公司 Quick matching method and head-mounted electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6972661B2 (en) * 2003-03-28 2005-12-06 Trans Electric Co., Ltd. Anti-interference relay device for signal transmission
US6998955B2 (en) * 2002-08-09 2006-02-14 Ballew Michael A Virtual electronic remote control device
CN102077220A (en) * 2008-07-02 2011-05-25 株式会社曙飞电子 Infrared ray data transmitting device having id
CN203325200U (en) * 2013-05-30 2013-12-04 中山市鑫皇电子有限公司 Remote-control extension system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005340968A (en) * 2004-05-24 2005-12-08 Funai Electric Co Ltd Av apparatus
US8325022B2 (en) * 2005-09-22 2012-12-04 Intel Corporation System and method to control a device using a remote control device and a soft remote control
JP4222366B2 (en) * 2005-12-19 2009-02-12 船井電機株式会社 Remote control device
CN202178827U (en) * 2011-07-18 2012-03-28 Tcl数码科技(深圳)有限责任公司 Remote controlled camera system
CN103489303B (en) * 2013-09-02 2016-08-17 小米科技有限责任公司 A kind of remote control thereof and device
CN103489304B (en) * 2013-09-13 2017-01-25 鸿富锦精密工业(武汉)有限公司 Transfer equipment, transfer processing system and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6998955B2 (en) * 2002-08-09 2006-02-14 Ballew Michael A Virtual electronic remote control device
US6972661B2 (en) * 2003-03-28 2005-12-06 Trans Electric Co., Ltd. Anti-interference relay device for signal transmission
CN102077220A (en) * 2008-07-02 2011-05-25 株式会社曙飞电子 Infrared ray data transmitting device having id
CN203325200U (en) * 2013-05-30 2013-12-04 中山市鑫皇电子有限公司 Remote-control extension system

Also Published As

Publication number Publication date
CN104900045A (en) 2015-09-09
CN104900045B (en) 2018-07-03

Similar Documents

Publication Publication Date Title
CN104954830B (en) Automatic matching control device
JP6378357B2 (en) Method for selectively capturing visual media using a single interface element
US20190306277A1 (en) Interaction between devices displaying application status information
US20150256957A1 (en) User terminal device, audio system, and method for controlling speaker thereof
US20150124968A1 (en) Securely joining a secure wireless communications network
US20150179061A1 (en) Display apparatus for setting universal remote controller, method thereof, universal remote controller and setting method thereof
US20130031261A1 (en) Pairing a device based on a visual code
WO2015131536A1 (en) Signal transmission method, electronic device and control system
CN105573609A (en) Content sharing method and device
US10591999B2 (en) Hand gesture recognition method, device, system, and computer storage medium
CN103312534A (en) Method and apparatus for managing a group profile in a wi-fi direct communication system
US20140150010A1 (en) Method and system for reproducing contents, and computer-readable recording medium thereof
TW201348975A (en) Automatic configuration of electronic devices
US10327121B2 (en) Instrument and system
US9378639B2 (en) Target identification for sending content from a mobile device
US20160050700A1 (en) First electronic apparatus capable of actively pairing with second electronic apparatus for wireless communication and corresponding method
US20210055904A1 (en) Communication terminal, communication system, method of sharing data, and recording medium
US11935398B1 (en) Electronic apparatus, remote control apparatus, control method thereof, and electronic system
US20130326077A1 (en) Method for connecting a remote network and system for connecting a remote network
KR102428934B1 (en) Display apparatus, user terminal apparatus, system and the controlling method
JP2017184229A (en) Method for configuring audio rendering and/or acquiring device, and corresponding audio rendering and/or acquiring device, system, computer readable program product and computer readable storage medium
KR102467519B1 (en) Display apparatus for setting universal remote controller, method thereof and system
US10564985B2 (en) Boot system and boot method for intelligent robot
US20160155420A1 (en) Electronic apparatus and controlling method thereof
US20170221351A1 (en) Devices and methods for remote control of target devices

Legal Events

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

Ref document number: 14884344

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14884344

Country of ref document: EP

Kind code of ref document: A1