WO2022193509A1 - Remote controller, controlled device and method for implementing scene setting function - Google Patents

Remote controller, controlled device and method for implementing scene setting function Download PDF

Info

Publication number
WO2022193509A1
WO2022193509A1 PCT/CN2021/107411 CN2021107411W WO2022193509A1 WO 2022193509 A1 WO2022193509 A1 WO 2022193509A1 CN 2021107411 W CN2021107411 W CN 2021107411W WO 2022193509 A1 WO2022193509 A1 WO 2022193509A1
Authority
WO
WIPO (PCT)
Prior art keywords
scene
command
setting
long
key
Prior art date
Application number
PCT/CN2021/107411
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 WO2022193509A1 publication Critical patent/WO2022193509A1/en

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link

Definitions

  • the present invention relates to the technical field of scene setting, in particular to a remote controller, a controlled device and a method capable of realizing a scene setting function.
  • remote controllers such as smart TVs, wireless mice, various players, smart lamps, etc.
  • remote controllers such as infrared remote control, RF remote control, Bluetooth remote control and so on.
  • the remote control is a wireless transmitting device. It encodes the key information through modern digital coding technology and sends it to the receiving end through infrared or other wireless signals.
  • the receiving end converts the received infrared signal or wireless signal into an electrical signal,
  • the processor decodes and demodulates the corresponding instructions to achieve the purpose of controlling the relevant equipment to complete the required operation requirements. Its biggest advantage is that it can also be controlled without close contact with the controlled equipment.
  • the working principle of the remote control is: multiple buttons are set on it, and each button corresponds to the corresponding key value. Press the corresponding button during use, and the processor fills the corresponding key value into the data packet and sends it out wirelessly in a certain format. . After receiving the corresponding remote control command, the controlled device interprets the corresponding key value from the data packet, and then performs the corresponding operation according to the key value. Therefore, the remote control is generally the function corresponding to the key value, and cannot realize the custom function. Therefore, for the scene functions that change frequently, the remote control can realize very few cases, and even if it can be realized, the operation is more complicated.
  • the scene button and scene setting button are added to the remote control.
  • you need to change the scene first press the scene button to be set, and then adjust the scene state through the scene setting button. After the adjustment, press the button other than the scene setting button, the scene After the setting is completed, the controlled device saves the setting state to the corresponding scene.
  • buttons for setting the scene state such as the remote control of RGB LED lights. Since each color needs to be brightened and dimmed, at least 6 buttons are required. button, so many button positions are needed, wasting space; in addition, the operation of scene setting is also very complicated. Generally, you need to press the scene button first, then adjust the scene status, and then press other buttons to confirm and save; especially according to general usage habits, users It is often adjusted to a preferred state during use, and then the scene is saved. In this case, the existing operation method cannot be realized, and the use is not intuitive enough.
  • the purpose of the present invention is to provide a remote controller, a controlled device and a method capable of realizing a scene setting function, so as to realize the purpose of setting a scene for the controlled device based on the remote controller.
  • the present invention provides a remote controller capable of realizing a scene setting function, on which scene keys are set, including:
  • a scene key key monitoring unit used to monitor whether the scene key is pressed or released
  • a long-short press operation judgment unit used for judging whether the current long-press operation or a short-press operation is performed according to the monitoring result of the scene key button monitoring unit;
  • a scene setting command sending unit configured to send a scene setting command including long-pressing identification information when the long-short pressing operation judging unit judges that the current operation is a long-pressing operation
  • the scene display command sending unit is configured to send a scene display command including short press identification information when the long and short press operation judgment unit judges that the current operation is a short press operation.
  • the long and short press operation judging unit judges, according to the monitoring result of the scene key key monitoring unit, whether the time the scene key is continuously pressed exceeds a preset long press setting time threshold, and if so, judges that the current operation is a long press If not, then when the scene key is detected to be released, it is judged whether the continuous pressing time before the scene key is released is within the preset short-press setting time threshold, if so, it is judged that the current operation is a short-press operation .
  • the scene setting command sending unit immediately sends the scene setting command including the long press identification information when the long and short press operation judging unit determines that the current operation is a long press operation.
  • the scene setting command sending unit continues to wait for the scene key key monitoring unit to monitor that the scene key is released before sending the long press identifier when the long and short press operation judging unit judges that the current operation is a long press operation Information about scene setup commands.
  • the present invention also provides a controlled device that can realize the scene setting function, including:
  • a scene command receiving monitoring unit configured to monitor whether a scene command is received, and when monitoring the received scene command, determine whether the scene command is a scene setting command or a scene display command;
  • a scene setting processing unit configured to save the current state of the controlled device to the corresponding scene and complete the scene setting when the scene command receiving monitoring unit monitors and receives the scene setting command;
  • the scene display processing unit is configured to display the corresponding scene when the scene command receiving monitoring unit monitors and receives the scene display command.
  • the scene command receiving monitoring unit determines whether the current scene command is a scene setting command or a scene display command according to the long-press identification information or short-press identification information contained in the scene command.
  • the scene setting processing unit saves the corresponding scene state in the storage area of the controlled device, so that when the remote controller triggers the scene, the corresponding data in the storage area is directly called to restore the scene state.
  • the present invention also provides a method for realizing the scene setting function, comprising the following steps:
  • Step S1 monitoring whether the scene key of the remote control is pressed, and after detecting that the scene key is pressed, determine whether the current operation is a long-press operation or a short-press operation;
  • Step S2 send the corresponding scene command according to the judgment result of step S1;
  • step S3 the controlled device monitors whether the scene command is received, and when monitoring receives the scene command, performs corresponding scene processing according to the scene command.
  • step S1 after monitoring that the scene key is pressed, it is further judged whether the time that the scene key is continuously pressed exceeds a preset long-press setting time threshold, and if so, it is judged that the current operation is a long-press operation, If not, when the scene key is detected to be released, it is determined whether the continuous pressing time before the scene key is released is within the preset short-press setting time threshold, and if so, it is determined that the current short-press operation is performed.
  • step S3 when the monitoring device monitors and receives the scene setting command, the current state of the controlled device is saved to the corresponding scene to complete the scene setting; when the controlled device monitors and receives the scene display command, The corresponding scene is displayed.
  • a remote controller, a controlled device and a method capable of realizing the scene setting function of the present invention can long press the scene key of the remote controller in the process of using a certain state of the controlled device to generate a long press logo.
  • Information scene setting command after the controlled device receives the scene setting command, it saves the current state of the controlled device as a scene, and after the scene setting is completed, the scene state is quickly displayed by short pressing the scene key.
  • the scene setting and scene calling share one button, the layout is simple, and any state can be saved as a scene at any time, which is easy to use and has high reliability.
  • FIG. 1 is a system architecture diagram of a remote controller capable of realizing a scene setting function according to the present invention
  • FIG. 2 is a system architecture diagram of a controlled device capable of realizing a scene setting function according to the present invention
  • FIG. 3 is a flow chart of the steps of a method for realizing a scene setting function according to the present invention.
  • Fig. 4 is the working flow chart of the remote controller setting scene and displaying scene in the embodiment of the present invention.
  • FIG. 5 is a work flow chart of a controlled device detecting a remote control signal in an embodiment of the present invention.
  • Short press setting time When the remote control is performing scene display, it is necessary to press the scene button for a certain period of time and release the button before sending the scene display command with the short press logo. This time is the short press setting time.
  • Scene display command short press the remote control scene key, after releasing the key, the remote control sends out a command to control the controlled device to display the corresponding scene.
  • Scene setting command long press the remote control scene key, the remote control sends out a command to control the controlled device to set the corresponding scene.
  • FIG. 1 is a system architecture diagram of a remote controller capable of realizing a scene setting function according to the present invention.
  • the present invention is a remote controller capable of realizing scene setting function, on which scene keys are arranged, including:
  • the scene key key monitoring unit 101 is used to monitor whether the scene key is pressed or released.
  • the remote controller refers to a device that can send remote control commands wirelessly according to the relevant format, which is not limited to communication methods, such as infrared, RF, Bluetooth and other wireless communication methods.
  • the scene key may be a single key, or may include a combination of multiple keys to form a scene key.
  • the user When the user wants to use the scene key on the remote control to set the scene on the controlled device, the user will press the scene key, and the scene key key monitoring unit 101 will detect that the scene key is pressed or released. .
  • the long-short press operation judging unit 102 is configured to judge whether the current long press operation or short press operation is performed according to the monitoring result of the scene key button monitoring unit 101 .
  • the long-short press operation judging unit 102 judges, according to the monitoring result of the scene key key monitoring unit 101, whether the time the scene key is continuously pressed exceeds a preset long-press setting time threshold, and if so, judges that the current operation is a long press Press the operation, if not, when the scene key is detected to be released, it is judged whether the continuous pressing time before the scene key is released is within the preset short-press setting time threshold, and if so, it is judged that the current is a short-press operation.
  • the operation where the continuous pressing time of the scene key exceeds the preset long-press setting time threshold is a long-pressing operation
  • the long-pressing setting time threshold can be set to several seconds
  • the continuous pressing time of the scene key is within the preset
  • the operation within the short press setting time threshold is a short press operation
  • the short press setting time threshold can be set to several seconds less than the long press setting time threshold.
  • the scene setting command sending unit 103 is configured to send a scene setting command including long press identification information when the long and short press operation determination unit 102 determines that the current operation is a long press operation.
  • the scene setting command sending unit 103 can immediately send a scene setting command including the long-press identification information when the long-short press operation judging unit 102 determines that the current operation is a long-press operation, or can When the operation judging unit 102 judges that the current operation is a long press operation, it continues to wait for the scene key key monitoring unit 101 to monitor that the scene key is released before sending the scene setting command of the long press identification information, which is not limited in the present invention.
  • the scene display command sending unit 104 is configured to send a scene display command including short-press identification information when the long-short-press operation determination unit 102 determines that the current operation is a short-press operation.
  • the commands issued by the short press operation and the long press operation contain different identifiers, so as to distinguish the short press operation and the long press operation.
  • FIG. 2 is a system architecture diagram of a controlled device capable of realizing a scene setting function according to the present invention.
  • a controlled device capable of realizing the scene setting function of the present invention includes:
  • the scene command reception monitoring unit 201 is configured to monitor whether a scene command is received, and when monitoring the received scene command, determine whether the scene command is a scene setting command or a scene display command.
  • the controlled device refers to a device that can be controlled by a wireless communication method according to a remote controller.
  • the controlled device When the controlled device is powered on and started, it enters the monitoring scene command receiving state, monitors whether the scene command sent by the remote control is received, and when the scene command is received, according to the long press identification information or short press identification contained in it. The information determines whether the current scene command is a scene setting command or a scene display command.
  • the scene setting processing unit 202 is configured to save the current state of the controlled device to the corresponding scene to complete the scene setting when the scene command receiving monitoring unit 201 monitors and receives the scene setting command.
  • the scene setting processing unit 202 saves the corresponding scene state to the storage area of the controlled device, so that it will not be lost due to power failure. Every time the remote controller triggers the scene, the corresponding data in the storage area can be directly called to restore scene state
  • the scene display processing unit 203 is configured to call the scene saved in the storage area to display the corresponding scene when the scene command receiving monitoring unit 201 monitors and receives the scene display command.
  • FIG. 3 is a flow chart of steps of a method for implementing a scene setting function according to the present invention. As shown in Figure 3, a method for realizing the scene setting function of the present invention includes the following steps:
  • Step S1 monitor whether the scene key of the remote control is pressed, and after detecting that the scene key is pressed, determine whether the current operation is a long-press operation or a short-press operation.
  • the user when the user wants to use the scene key on the remote control to set the scene on the controlled device, the user will press the scene key, and at this time, it will be detected that the scene key is pressed.
  • the operation where the continuous pressing time of the scene key exceeds the preset long-press setting time threshold is a long-pressing operation
  • the long-pressing setting time threshold can be set to several seconds
  • the continuous pressing time of the scene key is within the preset
  • the operation within the short press setting time threshold is a short press operation
  • the short press setting time threshold can be set to several seconds less than the long press setting time threshold.
  • Step S2 send a corresponding scene command according to the judgment result of step S1, where the scene command includes a scene setting command and a scene display command.
  • a scene setting command containing the long-press identification information is sent.
  • the scene containing the long-press identification information can be immediately sent.
  • Setting command you can also continue to wait when judging that the current operation is a long-press operation, and then send a scene setting command for long-pressing the identification information after monitoring that the scene key is released.
  • the present invention is not limited to this; when it is judged that the current operation is During a short press operation, a scene display command containing the short press identification information is sent.
  • step S3 the controlled device monitors whether the scene command is received, and when monitoring receives the scene command, performs corresponding scene processing according to the scene command.
  • the controlled device refers to a device that can be controlled by a wireless communication method according to a remote controller.
  • the controlled device When the controlled device is powered on and started, it enters the monitoring scene command receiving state, monitors whether the scene command sent by the remote control is received, and when the scene command is received, according to the long press identification information or short press identification contained in it. The information determines whether the current scene command is a scene setting command or a scene display command.
  • step S3 when the monitoring receives the scene setting command, the current state of the controlled device is saved to the corresponding scene, and the scene setting is completed.
  • the controlled device When the controlled device monitors and receives the scene display command, it displays the corresponding scene.
  • FIG. 4 is a work flow diagram of a remote controller setting a scene and displaying a scene in an embodiment of the present invention. As shown in Figure 4, the workflow of the remote controller to set the scene and display the scene is as follows:
  • Step S101 the remote controller is powered on and starts to work
  • Step S102 determine whether the scene key is pressed, if otherwise, continue to detect, if so, go to S103;
  • Step S103 it is judged whether the scene key is released, if not, go to S104, and if so, go to S105.
  • step S104 it is judged whether the time for which the scene key is continuously pressed exceeds the long-press setting time, and if otherwise, the process returns to S102 to re-detect whether the scene key is pressed. If so, it can be divided into two cases, one is to go to S106 immediately after the long press setting time is exceeded, and the other is to continue to wait for the scene key to be released and then go to S106.
  • step S105 it is judged whether the time the scene key is continuously pressed is within the short-press setting time, if not, go back to S102, and re-detect whether the scene key is pressed; if so, go to S107.
  • Step S106 sending a scene setting command, the command includes the long-pressing identification information, and returning to S102 after the sending is completed;
  • Step S107 sending a scene display command, the command includes short-press identification information, and returning to S102 after the sending is completed;
  • FIG. 5 is a work flow chart of a controlled device detecting a remote control signal in an embodiment of the present invention.
  • the working process of the controlled device detecting the remote control signal is as follows:
  • Step S201 the controlled device is powered on and started
  • Step S202 it is judged whether a scene command is received, if it is, go to S203, if not, continue to detect.
  • Step S203 judge whether it is a scene display command, if no, go to S205, if so, go to S204.
  • step S204 the controlled device displays the corresponding scene, and returns to S202 after completion, and continues to detect the scene command.
  • Step S205 determine whether it is a scene setting command, if not, go to S207, and if so, go to S206.
  • Step S206 save the current state of the controlled device to the corresponding scene, and return to S202 after completion to continue to detect the scene command.
  • Step S207 other command processing programs, return to S202 after the processing is completed, and continue to detect scene commands.
  • the controlled device when the controlled device is in a certain state during use, if you want to set this state as a scene, long press the scene key of the remote control to generate a scene setting command including the long press identification information, After the controlled device receives the scene setting command, it will save the current state of the controlled device as a scene; when the scene setting is completed, the scene state can be quickly displayed by short pressing the scene key.
  • the scene setting and scene calling can share one button, the layout is simple, any state can be saved as the scene at any time, the use is convenient, and the reliability is high.
  • the present invention has the following advantages:
  • the present invention saves the existing state as the scene state through the scene key of the remote control, which is more intuitive and convenient to use than the existing setting method.
  • the present invention adopts the method of short pressing to display the scene and long pressing to set the scene, which can effectively save the space of the remote control panel and realize the display and setting functions of a single button.

Abstract

A remote controller, controlled device and method for implementing a scene setting function. The method for implementing a scene setting function comprises the following steps: step S1, monitoring whether a scene key of a remote controller is pressed, and after it is monitored that the scene key is pressed, determining whether the current press is a long press operation or a short press operation; step S2, sending a corresponding scene command according to the determination result in step S1; and step S3, the controlled device monitoring whether the scene command is received, and when it is monitored that the scene command is received, performing scene processing according to the scene command.

Description

一种可实现场景设置功能的遥控器、受控设备及方法A remote controller, controlled device and method capable of realizing scene setting function 技术领域technical field
本发明涉及场景设置技术领域,特别是涉及一种可实现场景设置功能的遥控器、受控设备及方法。The present invention relates to the technical field of scene setting, in particular to a remote controller, a controlled device and a method capable of realizing a scene setting function.
背景技术Background technique
随着技术的发展,对很多设备的控制都可以通过遥控器来控制,例如,智能电视、无线鼠标、各种各样的播放器、智能灯具等,市面上的遥控器也出现了很多种,如红外遥控器控制,RF遥控器控制,蓝牙遥控控制等等。With the development of technology, the control of many devices can be controlled by remote controllers, such as smart TVs, wireless mice, various players, smart lamps, etc. There are also many kinds of remote controllers on the market. Such as infrared remote control, RF remote control, Bluetooth remote control and so on.
遥控器是一种无线发射装置,通过现代的数字编码技术,将按键信息进行编码,通过红外线或其它无线信号发送给接收端,接收端将收到的红外信号或无线信号转变成电信号,进处理器进行解码,解调出相应的指令来达到控制相关设备完成所需操作要求的目的,其最大的优点就是不需要近距离接触受控设备也能实现对其进行控制。The remote control is a wireless transmitting device. It encodes the key information through modern digital coding technology and sends it to the receiving end through infrared or other wireless signals. The receiving end converts the received infrared signal or wireless signal into an electrical signal, The processor decodes and demodulates the corresponding instructions to achieve the purpose of controlling the relevant equipment to complete the required operation requirements. Its biggest advantage is that it can also be controlled without close contact with the controlled equipment.
遥控器的工作原理是:其上设置多个按键,每个按键对应相应键值,使用时按下对应按键,处理器将对应键值填充到数据包中,以一定的格式通过无线方式发送出去。受控设备接收到对应遥控命令后,从数据包中解释出对应键值,再根据键值执行对应操作。因此遥控器一般为键值对应功能,无法实现自定义功能,因此对于经常变化的场景功能,遥控器能够实现的情况很少,即使能实现,操作也是比较复杂。The working principle of the remote control is: multiple buttons are set on it, and each button corresponds to the corresponding key value. Press the corresponding button during use, and the processor fills the corresponding key value into the data packet and sends it out wirelessly in a certain format. . After receiving the corresponding remote control command, the controlled device interprets the corresponding key value from the data packet, and then performs the corresponding operation according to the key value. Therefore, the remote control is generally the function corresponding to the key value, and cannot realize the custom function. Therefore, for the scene functions that change frequently, the remote control can realize very few cases, and even if it can be realized, the operation is more complicated.
在现有技术中,基于遥控器实现场景功能的方法如下:In the prior art, the method for realizing the scene function based on the remote control is as follows:
遥控器上加入场景按键及场景设置按键,当需要改变场景的时候,先按要设置的场景按键,然后通过场景设置按键进行调整场景状态,当调整完后,按场景设置按键以外的按键,场景设置完成,受控设备把设置的状态保存到对应 的场景中。The scene button and scene setting button are added to the remote control. When you need to change the scene, first press the scene button to be set, and then adjust the scene state through the scene setting button. After the adjustment, press the button other than the scene setting button, the scene After the setting is completed, the controlled device saves the setting state to the corresponding scene.
可见,现有基于遥控器对场景功能设置的实现,都需要额外增加用于设置场景状态的按键,如RGB LED灯的遥控器,由于每种颜色都要调亮调暗,至少也要6个按键,因此需要很多按键位置,浪费空间;另外场景设置的操作也很复杂,一般要先按场景按键,然后进行场景状态调节,再按其它键进行确认保存;特别是按照一般的使用习惯,用户往往是在使用过程中调到喜欢的状态,再进行场景保存,这种情况现有的操作方式无法实现,使用不够直观。It can be seen that the existing implementation of the scene function setting based on the remote control requires additional buttons for setting the scene state, such as the remote control of RGB LED lights. Since each color needs to be brightened and dimmed, at least 6 buttons are required. button, so many button positions are needed, wasting space; in addition, the operation of scene setting is also very complicated. Generally, you need to press the scene button first, then adjust the scene status, and then press other buttons to confirm and save; especially according to general usage habits, users It is often adjusted to a preferred state during use, and then the scene is saved. In this case, the existing operation method cannot be realized, and the use is not intuitive enough.
发明内容SUMMARY OF THE INVENTION
为克服上述现有技术存在的不足,本发明之目的在于提供一种可实现场景设置功能的遥控器、受控设备及方法,以基于遥控器实现对受控设备进行场景设置的目的。In order to overcome the above-mentioned deficiencies in the prior art, the purpose of the present invention is to provide a remote controller, a controlled device and a method capable of realizing a scene setting function, so as to realize the purpose of setting a scene for the controlled device based on the remote controller.
为达上述及其它目的,本发明提出一种可实现场景设置功能的遥控器,其上设置场景键,包括:In order to achieve the above and other purposes, the present invention provides a remote controller capable of realizing a scene setting function, on which scene keys are set, including:
场景键按键监测单元,用于监测所述场景键是否按下或松开;a scene key key monitoring unit, used to monitor whether the scene key is pressed or released;
长短按操作判断单元,用于根据所述场景键按键监测单元的监测结果判断当前是长按操作或是短按操作;a long-short press operation judgment unit, used for judging whether the current long-press operation or a short-press operation is performed according to the monitoring result of the scene key button monitoring unit;
场景设置命令发送单元,用于在所述长短按操作判断单元判断当前操作为长按操作时,发送包含长按标识信息的场景设置命令;a scene setting command sending unit, configured to send a scene setting command including long-pressing identification information when the long-short pressing operation judging unit judges that the current operation is a long-pressing operation;
场景显示命令发送单元,用于在所述长短按操作判断单元判断当前操作为短按操作时,发送包含短按标识信息的场景显示命令。The scene display command sending unit is configured to send a scene display command including short press identification information when the long and short press operation judgment unit judges that the current operation is a short press operation.
优选地,所述长短按操作判断单元根据所述场景键按键监测单元的监测结果判断所述场景键持续按下的时间是否超过预设的长按设置时间阈值,若是则判断当前操作为长按操作,若否,则于监测到所述场景键松开时,判断场景键松开前的持续按下时间是否在预设的短按设置时间阈值内,若是,则判断当前操作为短按操作。Preferably, the long and short press operation judging unit judges, according to the monitoring result of the scene key key monitoring unit, whether the time the scene key is continuously pressed exceeds a preset long press setting time threshold, and if so, judges that the current operation is a long press If not, then when the scene key is detected to be released, it is judged whether the continuous pressing time before the scene key is released is within the preset short-press setting time threshold, if so, it is judged that the current operation is a short-press operation .
优选地,所述场景设置命令发送单元在所述长短按操作判断单元判断出当前操作为长按操作时,立即发送所述包含长按标识信息的场景设置命令。Preferably, the scene setting command sending unit immediately sends the scene setting command including the long press identification information when the long and short press operation judging unit determines that the current operation is a long press operation.
优选地,所述场景设置命令发送单元在所述长短按操作判断单元判断当前操作为长按操作时,继续等待所述场景键按键监测单元监测到场景键松开后再发送所述长按标识信息的场景设置命令。Preferably, the scene setting command sending unit continues to wait for the scene key key monitoring unit to monitor that the scene key is released before sending the long press identifier when the long and short press operation judging unit judges that the current operation is a long press operation Information about scene setup commands.
为达到上述目的,本发明还提供一种可实现场景设置功能的受控设备,包括:In order to achieve the above object, the present invention also provides a controlled device that can realize the scene setting function, including:
场景命令接收监测单元,用于监测是否接收到场景命令,于监测接收到场景命令时,判断所述场景命令是场景设置命令还是场景显示命令;a scene command receiving monitoring unit, configured to monitor whether a scene command is received, and when monitoring the received scene command, determine whether the scene command is a scene setting command or a scene display command;
场景设置处理单元,用于当所述场景命令接收监测单元监测接收到场景设置命令时,将受控设备当前状态保存到对应场景,完成场景设置;a scene setting processing unit, configured to save the current state of the controlled device to the corresponding scene and complete the scene setting when the scene command receiving monitoring unit monitors and receives the scene setting command;
场景显示处理单元,用于当所述场景命令接收监测单元监测接收到场景显示命令时,则显示对应场景。The scene display processing unit is configured to display the corresponding scene when the scene command receiving monitoring unit monitors and receives the scene display command.
优选地,所述场景命令接收监测单元于接收到场景命令时,根据其包含的长按标识信息或短按标识信息判断当前场景命令是场景设置命令还是场景显示命令。Preferably, when receiving the scene command, the scene command receiving monitoring unit determines whether the current scene command is a scene setting command or a scene display command according to the long-press identification information or short-press identification information contained in the scene command.
优选地,当场景设置完成后,所述场景设置处理单元将对应场景状态保存到受控设备的存储区,以便遥控器触发场景时,直接调用存储区对应数据恢复场景状态。Preferably, after the scene setting is completed, the scene setting processing unit saves the corresponding scene state in the storage area of the controlled device, so that when the remote controller triggers the scene, the corresponding data in the storage area is directly called to restore the scene state.
为达到上述目的,本发明还提供一种实现场景设置功能的方法,包括如下步骤:In order to achieve the above object, the present invention also provides a method for realizing the scene setting function, comprising the following steps:
步骤S1,监测遥控器场景键是否被按下,于监测到场景键被按下后,判断当前是长按操作或是短按操作;Step S1, monitoring whether the scene key of the remote control is pressed, and after detecting that the scene key is pressed, determine whether the current operation is a long-press operation or a short-press operation;
步骤S2,根据步骤S1的判断结果发送相应的场景命令;Step S2, send the corresponding scene command according to the judgment result of step S1;
步骤S3,受控设备监测是否接收到场景命令,于监测接收到场景命令时,根据场景命令进行相应的场景处理。In step S3, the controlled device monitors whether the scene command is received, and when monitoring receives the scene command, performs corresponding scene processing according to the scene command.
优选地,于步骤S1中,当监测到所述场景键被按下后,进一步判断场景键持续按下的时间是否超过预设的长按设置时间阈值,若是则判断当前操作为长按操作,若否,则于监测到场景键松开时,判断场景键松开前的持续按下时间是否在预设的短按设置时间阈值内,若是,则判断当前为短按操作。Preferably, in step S1, after monitoring that the scene key is pressed, it is further judged whether the time that the scene key is continuously pressed exceeds a preset long-press setting time threshold, and if so, it is judged that the current operation is a long-press operation, If not, when the scene key is detected to be released, it is determined whether the continuous pressing time before the scene key is released is within the preset short-press setting time threshold, and if so, it is determined that the current short-press operation is performed.
优选地,于步骤S3中,当所述监控设备监测接收到场景设置命令时,将受控设备当前状态保存到对应场景,完成场景设置;当所述受控设备监测接收到场景显示命令时,则显示对应场景。Preferably, in step S3, when the monitoring device monitors and receives the scene setting command, the current state of the controlled device is saved to the corresponding scene to complete the scene setting; when the controlled device monitors and receives the scene display command, The corresponding scene is displayed.
与现有技术相比,本发明一种可实现场景设置功能的遥控器、受控设备及方法可以在受控设备使用某一状态的过程中,长按遥控器场景键,产生包含长按标识信息的场景设置命令,受控设备收到场景设置命令后,将受控设备当前状态保存为场景,并在场景设置完成后,通过短按该场景键,快速显示此场景状态,通过本发明,使得场景设置和场景调用共用一个按键,布局简单,能随时把任何状态保存为场景,使用方便,可靠性高。Compared with the prior art, a remote controller, a controlled device and a method capable of realizing the scene setting function of the present invention can long press the scene key of the remote controller in the process of using a certain state of the controlled device to generate a long press logo. Information scene setting command, after the controlled device receives the scene setting command, it saves the current state of the controlled device as a scene, and after the scene setting is completed, the scene state is quickly displayed by short pressing the scene key. The scene setting and scene calling share one button, the layout is simple, and any state can be saved as a scene at any time, which is easy to use and has high reliability.
附图说明Description of drawings
图1为本发明一种可实现场景设置功能的遥控器的系统架构图;1 is a system architecture diagram of a remote controller capable of realizing a scene setting function according to the present invention;
图2为本发明一种可实现场景设置功能的受控设备的系统架构图;2 is a system architecture diagram of a controlled device capable of realizing a scene setting function according to the present invention;
图3为本发明一种可实现场景设置功能的方法的步骤流程图;3 is a flow chart of the steps of a method for realizing a scene setting function according to the present invention;
图4为本发明实施例中遥控器设置场景和显示场景的工作流程图;Fig. 4 is the working flow chart of the remote controller setting scene and displaying scene in the embodiment of the present invention;
图5为本发明实施例中受控设备检测遥控器信号工作流程图。FIG. 5 is a work flow chart of a controlled device detecting a remote control signal in an embodiment of the present invention.
具体实施方式Detailed ways
以下通过特定的具体实例并结合附图说明本发明的实施方式,本领域技术人员可由本说明书所揭示的内容轻易地了解本发明的其它优点与功效。本发明亦可通过其它不同的具体实例加以施行或应用,本说明书中的各项细节亦可基于不同观点与应用,在不背离本发明的精神下进行各种修饰与变更。The embodiments of the present invention will be described below through specific examples and in conjunction with the accompanying drawings, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific examples, and various details in this specification can also be modified and changed based on different viewpoints and applications without departing from the spirit of the present invention.
在说明本发明之前,先定义本发明所涉及的几个概念:Before explaining the present invention, define several concepts involved in the present invention:
长按设置时间:遥控器进行场景设置时,要按下场景键若干时间才发送含有长按标识的场景设置命令,此时间为长按设置时间。Long press setting time: When the remote control sets the scene, it takes a certain period of time to press the scene key before sending the scene setting command with the long press logo. This time is the long press setting time.
短按设置时间:遥控器进行场景显示时,要按下场景键若干时间后松开按键才发送含有短按标识的场景显示命令,此时间为短按设置时间。Short press setting time: When the remote control is performing scene display, it is necessary to press the scene button for a certain period of time and release the button before sending the scene display command with the short press logo. This time is the short press setting time.
场景显示命令:短按遥控器场景键,松开按键后,遥控器发出用于控制受控设备显示对应场景的命令。Scene display command: short press the remote control scene key, after releasing the key, the remote control sends out a command to control the controlled device to display the corresponding scene.
场景设置命令:长按遥控器场景键,遥控器发出用于控制受控设备设置对应场景的命令。Scene setting command: long press the remote control scene key, the remote control sends out a command to control the controlled device to set the corresponding scene.
图1为本发明一种可实现场景设置功能的遥控器的系统架构图。如图1所示,本发明一种可实现场景设置功能的遥控器,其上设置有场景键,包括:FIG. 1 is a system architecture diagram of a remote controller capable of realizing a scene setting function according to the present invention. As shown in Figure 1, the present invention is a remote controller capable of realizing scene setting function, on which scene keys are arranged, including:
场景键按键监测单元101,用于监测场景键是否按下或松开。The scene key key monitoring unit 101 is used to monitor whether the scene key is pressed or released.
在本发明中,所述遥控器指的是能够依照相关格式通过无线方式发送遥控命令的装置,其不限通讯方式,红外,RF,蓝牙等无线通讯方式皆可。所述场景键可以为单个按键,也可以包括多个按键组合为场景键。In the present invention, the remote controller refers to a device that can send remote control commands wirelessly according to the relevant format, which is not limited to communication methods, such as infrared, RF, Bluetooth and other wireless communication methods. The scene key may be a single key, or may include a combination of multiple keys to form a scene key.
当使用者想利用遥控器上的场景键对受控设备进行场景设置时,会按下场景键,此时场景键按键监测单元101则会监测到该场景键被按下或按下被松开。When the user wants to use the scene key on the remote control to set the scene on the controlled device, the user will press the scene key, and the scene key key monitoring unit 101 will detect that the scene key is pressed or released. .
长短按操作判断单元102,用于根据场景键按键监测单元101的监测结果判断当前是长按操作或是短按操作。The long-short press operation judging unit 102 is configured to judge whether the current long press operation or short press operation is performed according to the monitoring result of the scene key button monitoring unit 101 .
在本发明具体实施例中,长短按操作判断单元102根据场景键按键监测单元101的监测结果判断场景键持续按下的时间是否超过预设的长按设置时间阈值,若是则判断当前操作为长按操作,若否,则于监测到场景键松开时,判断场景键松开前的持续按下时间是否在预设的短按设置时间阈值内,若是,则判断当前为短按操作。也就是说,场景键的持续按下时间超过预设的长按设置时间阈值的操作为长按操作,长按设置时间阈值可以设定为若干秒,场景键的持续按下时间在预设的短按设置时间阈值内的操作为短按操作,短按设置时间阈 值可以设定为小于长按设置时间阈值的若干秒。In a specific embodiment of the present invention, the long-short press operation judging unit 102 judges, according to the monitoring result of the scene key key monitoring unit 101, whether the time the scene key is continuously pressed exceeds a preset long-press setting time threshold, and if so, judges that the current operation is a long press Press the operation, if not, when the scene key is detected to be released, it is judged whether the continuous pressing time before the scene key is released is within the preset short-press setting time threshold, and if so, it is judged that the current is a short-press operation. That is to say, the operation where the continuous pressing time of the scene key exceeds the preset long-press setting time threshold is a long-pressing operation, the long-pressing setting time threshold can be set to several seconds, and the continuous pressing time of the scene key is within the preset The operation within the short press setting time threshold is a short press operation, and the short press setting time threshold can be set to several seconds less than the long press setting time threshold.
场景设置命令发送单元103,用于在长短按操作判断单元102判断当前操作为长按操作时,发送包含长按标识信息的场景设置命令。The scene setting command sending unit 103 is configured to send a scene setting command including long press identification information when the long and short press operation determination unit 102 determines that the current operation is a long press operation.
在本发明具体实施例中,所述场景设置命令发送单元103可以在长短按操作判断单元102判断当前操作为长按操作时,即刻发送包含长按标识信息的场景设置命令,也可以在长短按操作判断单元102判断当前操作为长按操作时,继续等待场景键按键监测单元101监测到场景键松开再发送长按标识信息的场景设置命令,本发明不以此为限。In a specific embodiment of the present invention, the scene setting command sending unit 103 can immediately send a scene setting command including the long-press identification information when the long-short press operation judging unit 102 determines that the current operation is a long-press operation, or can When the operation judging unit 102 judges that the current operation is a long press operation, it continues to wait for the scene key key monitoring unit 101 to monitor that the scene key is released before sending the scene setting command of the long press identification information, which is not limited in the present invention.
场景显示命令发送单元104,用于在长短按操作判断单元102判断当前操作为短按操作时,发送包含短按标识信息的场景显示命令。The scene display command sending unit 104 is configured to send a scene display command including short-press identification information when the long-short-press operation determination unit 102 determines that the current operation is a short-press operation.
也就是说,在本发明中,对于同一场景键,短按操作和长按操作发出的命令包含的标识不一样,以区分短按和长按操作。That is to say, in the present invention, for the same scene key, the commands issued by the short press operation and the long press operation contain different identifiers, so as to distinguish the short press operation and the long press operation.
图2为本发明一种可实现场景设置功能的受控设备的系统架构图。如图2所示,本发明一种可实现场景设置功能的受控设备,包括:FIG. 2 is a system architecture diagram of a controlled device capable of realizing a scene setting function according to the present invention. As shown in Figure 2, a controlled device capable of realizing the scene setting function of the present invention includes:
场景命令接收监测单元201,用于监测是否接收到场景命令,于监测接收到场景命令时,判断所述场景命令是场景设置命令还是场景显示命令。The scene command reception monitoring unit 201 is configured to monitor whether a scene command is received, and when monitoring the received scene command, determine whether the scene command is a scene setting command or a scene display command.
在本发明中,所述受控设备是指可以根据遥控器利用无线通讯方式进行控制的设备。当所述受控设备上电启动后,即进入监测场景命令接收状态,监测是否接收到遥控器发送的场景命令,并于接收到场景命令时,根据其包含的长按标识信息或短按标识信息判断当前场景命令是场景设置命令还是场景显示命令。In the present invention, the controlled device refers to a device that can be controlled by a wireless communication method according to a remote controller. When the controlled device is powered on and started, it enters the monitoring scene command receiving state, monitors whether the scene command sent by the remote control is received, and when the scene command is received, according to the long press identification information or short press identification contained in it. The information determines whether the current scene command is a scene setting command or a scene display command.
场景设置处理单元202,用于当场景命令接收监测单元201监测接收到场景设置命令时,将受控设备当前状态保存到对应场景,完成场景设置。The scene setting processing unit 202 is configured to save the current state of the controlled device to the corresponding scene to complete the scene setting when the scene command receiving monitoring unit 201 monitors and receives the scene setting command.
当场景设置完成后,场景设置处理单元202把对应场景状态保存到受控设备的存储区,这样不会因掉电而丢失,每次当遥控器触发场景,则可直接调用存储区对应数据恢复场景状态After the scene setting is completed, the scene setting processing unit 202 saves the corresponding scene state to the storage area of the controlled device, so that it will not be lost due to power failure. Every time the remote controller triggers the scene, the corresponding data in the storage area can be directly called to restore scene state
场景显示处理单元203,用于当场景命令接收监测单元201监测接收到场景显示命令时,则调用保存于存储区的场景予以显示对应场景。The scene display processing unit 203 is configured to call the scene saved in the storage area to display the corresponding scene when the scene command receiving monitoring unit 201 monitors and receives the scene display command.
图3为本发明一种实现场景设置功能的方法的步骤流程图。如图3所示,本发明一种实现场景设置功能的方法,包括如下步骤:FIG. 3 is a flow chart of steps of a method for implementing a scene setting function according to the present invention. As shown in Figure 3, a method for realizing the scene setting function of the present invention includes the following steps:
步骤S1,监测遥控器场景键是否被按下,于监测到场景键被按下后,判断当前是长按操作或是短按操作。Step S1 , monitor whether the scene key of the remote control is pressed, and after detecting that the scene key is pressed, determine whether the current operation is a long-press operation or a short-press operation.
具体地说,当使用者想利用遥控器上的场景键对受控设备进行场景设置时,会按下场景键,此时则会监测到该场景键被按下。Specifically, when the user wants to use the scene key on the remote control to set the scene on the controlled device, the user will press the scene key, and at this time, it will be detected that the scene key is pressed.
当监测到场景键被按下后,则进一步判断场景键持续按下的时间是否超过预设的长按设置时间阈值,若是则判断当前操作为长按操作,若否,则于监测到场景键松开时,判断场景键松开前的持续按下时间是否在预设的短按设置时间阈值内,若是,则判断当前为短按操作。也就是说,场景键的持续按下时间超过预设的长按设置时间阈值的操作为长按操作,长按设置时间阈值可以设定为若干秒,场景键的持续按下时间在预设的短按设置时间阈值内的操作为短按操作,短按设置时间阈值可以设定为小于长按设置时间阈值的若干秒。When it is detected that the scene key is pressed, it is further judged whether the continuous pressing time of the scene key exceeds the preset long-press setting time threshold. If so, it is judged that the current operation is a long-press operation. When releasing, it is judged whether the continuous pressing time before the scene key is released is within the preset short pressing setting time threshold, and if so, it is judged that the current short pressing operation is performed. That is to say, the operation where the continuous pressing time of the scene key exceeds the preset long-press setting time threshold is a long-pressing operation, the long-pressing setting time threshold can be set to several seconds, and the continuous pressing time of the scene key is within the preset The operation within the short press setting time threshold is a short press operation, and the short press setting time threshold can be set to several seconds less than the long press setting time threshold.
步骤S2,根据步骤S1的判断结果发送相应的场景命令,所述场景命令包括场景设置命令和场景显示命令。Step S2, send a corresponding scene command according to the judgment result of step S1, where the scene command includes a scene setting command and a scene display command.
具体地说,当判断当前操作为长按操作时,发送包含长按标识信息的场景设置命令,在本发明中,可以在判断当前操作为长按操作时,即刻发送包含长按标识信息的场景设置命令,也可以在判断当前操作为长按操作时,继续等待,在监测到场景键松开后再发送长按标识信息的场景设置命令,本发明不以此为限;当判断当前操作为短按操作时,发送包含短按标识信息的场景显示命令。Specifically, when it is judged that the current operation is a long-press operation, a scene setting command containing the long-press identification information is sent. In the present invention, when it is judged that the current operation is a long-press operation, the scene containing the long-press identification information can be immediately sent. Setting command, you can also continue to wait when judging that the current operation is a long-press operation, and then send a scene setting command for long-pressing the identification information after monitoring that the scene key is released. The present invention is not limited to this; when it is judged that the current operation is During a short press operation, a scene display command containing the short press identification information is sent.
步骤S3,受控设备监测是否接收到场景命令,于监测接收到场景命令时,根据场景命令进行相应的场景处理。In step S3, the controlled device monitors whether the scene command is received, and when monitoring receives the scene command, performs corresponding scene processing according to the scene command.
在本发明中,所述受控设备是指可以根据遥控器利用无线通讯方式进行控制的设备。当所述受控设备上电启动后,即进入监测场景命令接收状态,监测 是否接收到遥控器发送的场景命令,并于接收到场景命令时,根据其包含的长按标识信息或短按标识信息判断当前场景命令是场景设置命令还是场景显示命令。In the present invention, the controlled device refers to a device that can be controlled by a wireless communication method according to a remote controller. When the controlled device is powered on and started, it enters the monitoring scene command receiving state, monitors whether the scene command sent by the remote control is received, and when the scene command is received, according to the long press identification information or short press identification contained in it. The information determines whether the current scene command is a scene setting command or a scene display command.
在步骤S3中,当监测接收到场景设置命令时,将受控设备当前状态保存到对应场景,完成场景设置。In step S3, when the monitoring receives the scene setting command, the current state of the controlled device is saved to the corresponding scene, and the scene setting is completed.
当场景设置完成后,将对应场景状态保存到受控设备的存储区,这样不会因掉电而丢失,每次当遥控器触发场景,则可直接调用存储区对应数据恢复场景状态When the scene setting is completed, save the corresponding scene state to the storage area of the controlled device, so that it will not be lost due to power failure. Every time the remote control triggers the scene, you can directly call the corresponding data in the storage area to restore the scene state.
当受控设备监测接收到场景显示命令时,则显示对应场景。When the controlled device monitors and receives the scene display command, it displays the corresponding scene.
实施例Example
图4为本发明实施例中遥控器设置场景和显示场景的工作流程图。如图4所示,所述遥控器设置场景和显示场景的工作流程如下:FIG. 4 is a work flow diagram of a remote controller setting a scene and displaying a scene in an embodiment of the present invention. As shown in Figure 4, the workflow of the remote controller to set the scene and display the scene is as follows:
步骤S101,遥控器上电,开始工作;Step S101, the remote controller is powered on and starts to work;
步骤S102,判断场景键是否按下,若否则继续检测,若是则到S103;Step S102, determine whether the scene key is pressed, if otherwise, continue to detect, if so, go to S103;
步骤S103,判断场景键是否松开,若否到S104,若是则到S105。Step S103, it is judged whether the scene key is released, if not, go to S104, and if so, go to S105.
步骤S104,判断场景键持续按下的时间是否超过长按设置时间,若否则回到S102,重新检测场景键是否按下。若是则可以分两种情况,一种是超过长按设置时间后立刻到S106,另外一种是继续等待场景键松开再到S106。In step S104, it is judged whether the time for which the scene key is continuously pressed exceeds the long-press setting time, and if otherwise, the process returns to S102 to re-detect whether the scene key is pressed. If so, it can be divided into two cases, one is to go to S106 immediately after the long press setting time is exceeded, and the other is to continue to wait for the scene key to be released and then go to S106.
步骤S105,判断场景键持续按下的时间是否在短按设置时间内,若否回到S102,重新检测场景键是否按下;若是则到S107。In step S105, it is judged whether the time the scene key is continuously pressed is within the short-press setting time, if not, go back to S102, and re-detect whether the scene key is pressed; if so, go to S107.
步骤S106,发送场景设置命令,命令包含长按标识信息,发送完成后回到S102;Step S106, sending a scene setting command, the command includes the long-pressing identification information, and returning to S102 after the sending is completed;
步骤S107,发送场景显示命令,命令包含短按标识信息,发送完成后回到S102;Step S107, sending a scene display command, the command includes short-press identification information, and returning to S102 after the sending is completed;
图5为本发明实施例中受控设备检测遥控器信号工作流程图。在本实施例中,所述受控设备检测遥控器信号工作流程如下:FIG. 5 is a work flow chart of a controlled device detecting a remote control signal in an embodiment of the present invention. In this embodiment, the working process of the controlled device detecting the remote control signal is as follows:
步骤S201,受控设备上电启动;Step S201, the controlled device is powered on and started;
步骤S202,判断是否收到场景命令,若是到S203,若否则继续检测。Step S202, it is judged whether a scene command is received, if it is, go to S203, if not, continue to detect.
步骤S203,判断是否为场景显示命令,如否到S205,如是则进入S204。Step S203, judge whether it is a scene display command, if no, go to S205, if so, go to S204.
步骤S204,受控设备显示对应场景,完成后回到S202,继续检测场景命令。In step S204, the controlled device displays the corresponding scene, and returns to S202 after completion, and continues to detect the scene command.
步骤S205,判断是否为场景设置命令,若否到S207,若是则到S206。Step S205, determine whether it is a scene setting command, if not, go to S207, and if so, go to S206.
步骤S206,将受控设备当前状态保存到对应场景,完成后回到S202,继续检测场景命令。Step S206, save the current state of the controlled device to the corresponding scene, and return to S202 after completion to continue to detect the scene command.
步骤S207,其它命令处理程序,处理完成后回到S202,继续检测场景命令。Step S207, other command processing programs, return to S202 after the processing is completed, and continue to detect scene commands.
可见,在本实施例中,当受控设备在使用过程中处于某一状态,若想要将此状态设为场景,则长按遥控器场景键,产生包含长按标识信息的场景设置命令,受控设备收到场景设置命令后,则将受控设备当前状态保存为场景;当场景设置完成后,则可以通过短按该场景键,快速显示此场景状态。通过本发明,可以使得场景设置和场景调用共用一个按键,布局简单,能随时把任何状态保存为场景,使用方便,可靠性高。It can be seen that in this embodiment, when the controlled device is in a certain state during use, if you want to set this state as a scene, long press the scene key of the remote control to generate a scene setting command including the long press identification information, After the controlled device receives the scene setting command, it will save the current state of the controlled device as a scene; when the scene setting is completed, the scene state can be quickly displayed by short pressing the scene key. Through the invention, the scene setting and scene calling can share one button, the layout is simple, any state can be saved as the scene at any time, the use is convenient, and the reliability is high.
与现有技术相比,本发明具有如下优点:Compared with the prior art, the present invention has the following advantages:
1、本发明是在确定要设置的场景状态后,通过遥控器的场景键保存现有状态设为场景状态,比现有的设置方式更加直观,方便使用。1. After determining the scene state to be set, the present invention saves the existing state as the scene state through the scene key of the remote control, which is more intuitive and convenient to use than the existing setting method.
2、本发明采用短按显示场景,长按设置场景的方法,能有效节省遥控面板空间,实现单个按键完成显示和设置功能。2. The present invention adopts the method of short pressing to display the scene and long pressing to set the scene, which can effectively save the space of the remote control panel and realize the display and setting functions of a single button.
3、采用同一个按键短按和长按操作分开标识的方法,保证操作使用的可靠性。3. Adopt the method of separate identification of short-press and long-press operations of the same button to ensure the reliability of operation and use.
上述实施例仅例示性说明本发明的原理及其功效,而非用于限制本发明。任何本领域技术人员均可在不违背本发明的精神及范畴下,对上述实施例进行修饰与改变。因此,本发明的权利保护范围,应如权利要求书所列。The above-mentioned embodiments merely illustrate the principles and effects of the present invention, but are not intended to limit the present invention. Any person skilled in the art can modify and change the above embodiments without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention should be as listed in the claims.

Claims (10)

  1. 一种可实现场景设置功能的遥控器,其上设置场景键,包括:A remote control capable of realizing scene setting function, on which scene keys are set, including:
    场景键按键监测单元,用于监测所述场景键是否按下或松开;a scene key key monitoring unit, used to monitor whether the scene key is pressed or released;
    长短按操作判断单元,用于根据所述场景键按键监测单元的监测结果判断当前是长按操作或是短按操作;a long-short press operation judgment unit, used for judging whether the current long-press operation or a short-press operation is performed according to the monitoring result of the scene key button monitoring unit;
    场景设置命令发送单元,用于在所述长短按操作判断单元判断当前操作为长按操作时,发送包含长按标识信息的场景设置命令;a scene setting command sending unit, configured to send a scene setting command including long-pressing identification information when the long-short pressing operation judging unit judges that the current operation is a long-pressing operation;
    场景显示命令发送单元,用于在所述长短按操作判断单元判断当前操作为短按操作时,发送包含短按标识信息的场景显示命令。The scene display command sending unit is configured to send a scene display command including short press identification information when the long and short press operation judgment unit judges that the current operation is a short press operation.
  2. 如权利要求1所述的一种可实现场景设置功能的遥控器,其特征在于:所述长短按操作判断单元根据所述场景键按键监测单元的监测结果判断所述场景键持续按下的时间是否超过预设的长按设置时间阈值,若是则判断当前操作为长按操作,若否,则于监测到所述场景键松开时,判断场景键松开前的持续按下时间是否在预设的短按设置时间阈值内,若是,则判断当前操作为短按操作。The remote controller capable of setting a scene setting function according to claim 1, wherein the long and short pressing operation judgment unit judges the time that the scene key is continuously pressed according to the monitoring result of the scene key button monitoring unit Whether it exceeds the preset long-press setting time threshold, if so, it is judged that the current operation is a long-press operation; If it is within the set short-press time threshold, if it is, it is judged that the current operation is a short-press operation.
  3. 如权利要求2所述的一种可实现场景设置功能的遥控器,其特征在于:所述场景设置命令发送单元在所述长短按操作判断单元判断出当前操作为长按操作时,立即发送所述包含长按标识信息的场景设置命令。The remote controller capable of realizing a scene setting function according to claim 2, wherein the scene setting command sending unit immediately sends the all Describes the scene setting command that contains the long-press ID information.
  4. 如权利要求2所述的一种可实现场景设置功能的遥控器,其特征在于:所述场景设置命令发送单元在所述长短按操作判断单元判断当前操作为长按操作时,继续等待所述场景键按键监测单元监测到场景键松开后再发送所述长按标识信息的场景设置命令。The remote controller capable of realizing a scene setting function according to claim 2, wherein the scene setting command sending unit continues to wait for the The scene key key monitoring unit detects that the scene key is released, and then sends the scene setting command of the long-pressed identification information.
  5. 一种可实现场景设置功能的受控设备,包括:A controlled device that can realize the function of scene setting, including:
    场景命令接收监测单元,用于监测是否接收到场景命令,于监测接收到场景命令时,判断所述场景命令是场景设置命令还是场景显示命令;a scene command receiving monitoring unit, configured to monitor whether a scene command is received, and when monitoring the received scene command, determine whether the scene command is a scene setting command or a scene display command;
    场景设置处理单元,用于当所述场景命令接收监测单元监测接收到场景设 置命令时,将受控设备当前状态保存到对应场景,完成场景设置;The scene setting processing unit is used to save the current state of the controlled equipment to the corresponding scene when the scene command receiving monitoring unit monitors and receives the scene setting command, and completes the scene setting;
    场景显示处理单元,用于当所述场景命令接收监测单元监测接收到场景显示命令时,则显示对应场景。The scene display processing unit is configured to display the corresponding scene when the scene command receiving monitoring unit monitors and receives the scene display command.
  6. 如权利要求5所述的一种可实现场景设置功能的受控设备,其特征在于:所述场景命令接收监测单元于接收到场景命令时,根据其包含的长按标识信息或短按标识信息判断当前场景命令是场景设置命令还是场景显示命令。The controlled device capable of realizing a scene setting function according to claim 5, wherein when the scene command receiving monitoring unit receives the scene command, according to the long-press identification information or short-press identification information contained in the scene command Determine whether the current scene command is a scene setting command or a scene display command.
  7. 如权利要求6所述的一种可实现场景设置功能的受控设备,其特征在于:当场景设置完成后,所述场景设置处理单元将对应场景状态保存到受控设备的存储区,以便遥控器触发场景时,直接调用存储区对应数据恢复场景状态。A controlled device capable of realizing a scene setting function according to claim 6, characterized in that: after the scene setting is completed, the scene setting processing unit saves the corresponding scene state in the storage area of the controlled device for remote control When the controller triggers the scene, directly call the corresponding data in the storage area to restore the scene state.
  8. 一种实现场景设置功能的方法,包括如下步骤:A method for implementing a scene setting function, comprising the following steps:
    步骤S1,监测遥控器场景键是否被按下,于监测到场景键被按下后,判断当前是长按操作或是短按操作;Step S1, monitoring whether the scene key of the remote control is pressed, and after detecting that the scene key is pressed, determine whether the current operation is a long-press operation or a short-press operation;
    步骤S2,根据步骤S1的判断结果发送相应的场景命令;Step S2, send the corresponding scene command according to the judgment result of step S1;
    步骤S3,受控设备监测是否接收到场景命令,于监测接收到场景命令时,根据场景命令进行相应的场景处理。In step S3, the controlled device monitors whether the scene command is received, and when monitoring receives the scene command, performs corresponding scene processing according to the scene command.
  9. 如权利要求8所述的一种实现场景设置功能的方法,其特征在于:于步骤S1中,当监测到所述场景键被按下后,进一步判断场景键持续按下的时间是否超过预设的长按设置时间阈值,若是则判断当前操作为长按操作,若否,则于监测到场景键松开时,判断场景键松开前的持续按下时间是否在预设的短按设置时间阈值内,若是,则判断当前为短按操作。The method for realizing the scene setting function according to claim 8, wherein in step S1, after monitoring that the scene key is pressed, it is further judged whether the time the scene key is continuously pressed exceeds a preset time If it is the long press setting time threshold, if it is, it is judged that the current operation is a long press operation; Within the threshold, if it is, it is judged that it is a short press operation.
  10. 如权利要求9所述的一种实现场景设置功能的方法,其特征在于:于步骤S3中,当所述监控设备监测接收到场景设置命令时,将受控设备当前状态保存到对应场景,完成场景设置;当所述受控设备监测接收到场景显示命令时,则显示对应场景。The method for realizing the scene setting function according to claim 9, wherein in step S3, when the monitoring device monitors and receives the scene setting command, saves the current state of the controlled device to the corresponding scene, and completes the process. Scene setting; when the controlled device monitors and receives a scene display command, it displays the corresponding scene.
PCT/CN2021/107411 2021-03-15 2021-07-20 Remote controller, controlled device and method for implementing scene setting function WO2022193509A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110275540.0A CN113160536A (en) 2021-03-15 2021-03-15 Remote controller capable of realizing scene setting function, controlled equipment and method
CN202110275540.0 2021-03-15

Publications (1)

Publication Number Publication Date
WO2022193509A1 true WO2022193509A1 (en) 2022-09-22

Family

ID=76887245

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/107411 WO2022193509A1 (en) 2021-03-15 2021-07-20 Remote controller, controlled device and method for implementing scene setting function

Country Status (2)

Country Link
CN (1) CN113160536A (en)
WO (1) WO2022193509A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113747218B (en) * 2021-08-10 2023-06-23 深圳Tcl新技术有限公司 Control method and device of intelligent device, storage medium and terminal device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080071391A1 (en) * 2006-09-06 2008-03-20 Busby James B Lighting systems and methods
CN102890465A (en) * 2012-09-21 2013-01-23 兴泓昇(福州)智能科技有限公司 Self-learning scene smart home system
CN204669661U (en) * 2015-05-21 2015-09-23 广州景晴光电科技有限公司 A kind of OLED screen multi-region type LED lamplight remote controller
CN204669662U (en) * 2015-05-21 2015-09-23 广州景晴光电科技有限公司 LED light modulation is mixed colours full touch remote controller
CN208832414U (en) * 2018-08-22 2019-05-07 广州景晴光电科技有限公司 A kind of LED touch remote controler for supporting multi partition multiple lamp light type
CN209824083U (en) * 2019-01-26 2019-12-20 广州景晴光电科技有限公司 Touch glass panel compatible with multiple LED light types

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104238759B (en) * 2014-09-04 2017-11-10 广东欧珀移动通信有限公司 Physical button controls the method and device of terminal
CN205302594U (en) * 2015-11-26 2016-06-08 黎志瀛 Single bond formula multi -scenario remote control unit
CN107257504B (en) * 2017-07-06 2021-02-05 深圳Tcl数字技术有限公司 Key value updating method for keys in remote controller, remote controller and readable storage medium
CN111260904A (en) * 2020-02-19 2020-06-09 东风电子科技股份有限公司 Double-key remote control key

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080071391A1 (en) * 2006-09-06 2008-03-20 Busby James B Lighting systems and methods
CN102890465A (en) * 2012-09-21 2013-01-23 兴泓昇(福州)智能科技有限公司 Self-learning scene smart home system
CN204669661U (en) * 2015-05-21 2015-09-23 广州景晴光电科技有限公司 A kind of OLED screen multi-region type LED lamplight remote controller
CN204669662U (en) * 2015-05-21 2015-09-23 广州景晴光电科技有限公司 LED light modulation is mixed colours full touch remote controller
CN208832414U (en) * 2018-08-22 2019-05-07 广州景晴光电科技有限公司 A kind of LED touch remote controler for supporting multi partition multiple lamp light type
CN209824083U (en) * 2019-01-26 2019-12-20 广州景晴光电科技有限公司 Touch glass panel compatible with multiple LED light types

Also Published As

Publication number Publication date
CN113160536A (en) 2021-07-23

Similar Documents

Publication Publication Date Title
US10754520B2 (en) Method and apparatus for managing an application being executed in a portable terminal
US20170269665A1 (en) Pc power monitoring
TWI364691B (en) Handheld type electronic product and control method for automatically switching between operating modes
US20100044195A1 (en) Power strip device and method for controlling such power strip device
CN102984478B (en) The method and apparatus for controlling television set
EP3319375B1 (en) Terminal management method and device
KR20050050599A (en) Modifying a power management algorithm based on wireless communication parameters
US20150020098A1 (en) Electronic device system
US20130345833A1 (en) Operation Control Method and Electronic Apparatus
WO2022193509A1 (en) Remote controller, controlled device and method for implementing scene setting function
EP3035312A1 (en) Electromagnetic remote control and control method thereof
CN103942002A (en) Method and device for controlling virtual mouse based on mobile terminal
CN103226458B (en) A kind of multi-screen display control method for Intelligent mobile equipment
US10433369B2 (en) Power supply control method based on mobile power sources
US9823635B2 (en) Handheld information processing device with remote control output mode
CN103838482A (en) Reminding method and electronic equipment
CN104469522B (en) A kind of control method and device of video playing
US9600088B2 (en) Method and apparatus for displaying a pointer on an external display
US20130141334A1 (en) System and method for switching mouse operation mode
WO2018196413A1 (en) Method and apparatus for operating mobile terminal, electronic device, and computer readable storage medium
CN114466239B (en) Screen projection control method and device, screen projector and computer readable storage medium
US20190268562A1 (en) Method and apparatus for channel switching in interactive smartboard
KR101624866B1 (en) Remote controller for setting mode according to state of broadcast receiving apparatus
CN110047258B (en) System and method for peripheral power control
CN106157577A (en) A kind of transparent keyboard intelligent remote controller

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: 21931087

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: 21931087

Country of ref document: EP

Kind code of ref document: A1