WO2017096867A1 - 红外遥控方法及其装置和移动终端 - Google Patents

红外遥控方法及其装置和移动终端 Download PDF

Info

Publication number
WO2017096867A1
WO2017096867A1 PCT/CN2016/089014 CN2016089014W WO2017096867A1 WO 2017096867 A1 WO2017096867 A1 WO 2017096867A1 CN 2016089014 W CN2016089014 W CN 2016089014W WO 2017096867 A1 WO2017096867 A1 WO 2017096867A1
Authority
WO
WIPO (PCT)
Prior art keywords
remote control
display area
control button
touch position
infrared
Prior art date
Application number
PCT/CN2016/089014
Other languages
English (en)
French (fr)
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 WO2017096867A1 publication Critical patent/WO2017096867A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/016Input arrangements with force or tactile feedback as computer generated output to the user

Definitions

  • the present application relates to electronic technologies, and in particular, to an infrared remote control method, an apparatus therefor, and a mobile terminal.
  • the remote control button of the controlled device is displayed on the application window of the application, and the user sends the corresponding infrared code by clicking the remote control button on the application window. Achieve the role of controlling home appliances through mobile terminals.
  • the screen of the mobile terminal is a smooth surface, the user often needs to see which button is pressed by the current finger with the eyes.
  • the infrared remote control needs to be transmitted and received in a straight line, then the user only A very uncomfortable posture can be used to view the screen with the eyes while the infrared transmitter of the mobile terminal is aimed at the infrared receiver of the household appliance, so the operation is not convenient enough.
  • the embodiment of the present invention provides an infrared remote control method, a device thereof, and a mobile terminal, which are used to solve the technical problem that the infrared remote control function is not convenient and convenient in the prior art.
  • an infrared remote control method including:
  • an infrared remote control device including:
  • a detecting module for detecting a touch position by using a touch screen
  • a prompting module configured to emit a vibration prompt when detecting that the touch position is located in a display area of the remote control button
  • a transmitting module configured to: when detecting that the touch position is located in the display area until a release action is detected, the touch position is continuously located inside the display area, and the duration is greater than a preset threshold, The infrared code corresponding to the remote control button.
  • a mobile terminal including the infrared remote control device described above.
  • an embodiment of the present application provides an infrared remote control device, including a memory, one or more processors, and one or more programs, wherein the one or more programs are in the one or more processors Performing the following operations: detecting a touch position by using a touch screen; when detecting that the touch position is located in a display area of the remote control button, generating a vibration prompt; if detecting that the touch position is located in the display area until detecting To the release action, the touch position is continuously located inside the display area, and the duration is greater than a preset threshold, and the infrared code corresponding to the remote control button is transmitted.
  • an embodiment of the present application provides a computer readable storage medium, where the computer readable storage medium stores computer executable instructions, and the computer executable instructions, in response to performing, cause an infrared remote control device to perform an operation,
  • the operation includes: detecting a touch position by using a touch screen; when detecting that the touch position is located in a display area of the remote control button, emitting a vibration prompt; if detecting that the touch position is located in the display area until a release action is detected, The touch position is continuously located inside the display area, and the duration is greater than a preset threshold, and the infrared code corresponding to the remote control button is transmitted.
  • the touch position when the touch position is detected by using the touch screen, when the touch position is detected to be located in the display area of the remote control button, a vibration prompt is issued, and if the touch position is continuously located in the display area and the preset time is reached, the detection is performed. Release action to the user When the remote control button is activated, the infrared code is transmitted. Since the mobile terminal vibrates to prompt the user when the touch position of the user is in the display area, thereby avoiding the user needing to check whether the touched position is a button position, but can find the desired touch button by touching, thereby solving the existing The technical problem of the infrared remote control function in the technology is not convenient enough.
  • FIG. 1 is a schematic flow chart of an infrared remote control method according to Embodiment 1 of the present application;
  • FIG. 2 is a schematic flow chart of another infrared remote control method according to Embodiment 2 of the present application.
  • FIG. 3 is a schematic structural diagram of an infrared remote control device according to Embodiment 3 of the present application.
  • FIG. 4 is a schematic structural diagram of another infrared remote control device according to Embodiment 4 of the present application.
  • FIG. 5 is a schematic structural diagram of an infrared remote control device according to Embodiment 5 of the present application.
  • FIG. 6 is a schematic structural diagram of a computer program for infrared remote control according to Embodiment 6 of the present application.
  • FIG. 1 is a schematic flowchart of an infrared remote control method according to Embodiment 1 of the present application.
  • the method provided in this embodiment may be performed by a mobile terminal, such as a smart phone. As shown in FIG. 1 , the method may include:
  • Step 101 Detect a touch location by using a touch screen.
  • the touch position is a location where the contact point of the user and the touch screen is located, and specifically, the position of the contact point obtained by the user's finger contacting the touch screen.
  • the touch position of the touch screen of the user's finger is detected, and the touch position may be represented as a coordinate on the touch screen. If the position touched by the finger of the user is not the display area of the remote control button, the sliding motion of the finger is continued to be detected until the finger slides to the display area of the remote control button, so that the touch position is located inside the display area. Trigger to perform the next step.
  • Step 102 When it is detected that the touch position is located in the display area of the remote control button, a vibration prompt is issued.
  • the area of the display area may be larger than the area of the remote control button.
  • the display areas of the remote control buttons do not overlap each other, that is, they are independent of each other.
  • a vibration prompt is issued, and the user does not need to touch the remote control button, and only needs to touch the remote control button to emit a vibration to prompt
  • Step 103 If the touch position is located in the display area until the release action is detected, and the touch position continues to be inside the display area, and the duration is greater than the preset threshold, the infrared code corresponding to the remote control button is transmitted.
  • the touch position is continuously located in the display area, and reaches a preset time, and when the user releases the action, the corresponding relationship list of the remote control button and the infrared code is queried, and the infrared code corresponding to the remote control button is obtained, and the transmission is performed.
  • the infrared code corresponding to the remote control button is continuously located in the display area, and reaches a preset time, and when the user releases the action, the corresponding relationship list of the remote control button and the infrared code is queried, and the infrared code corresponding to the remote control button is obtained, and the transmission is performed.
  • the infrared code corresponding to the remote control button is continuously located in the display area, and reaches a preset time, and when the user releases the action, the corresponding relationship list of the remote control button and the infrared code is queried, and the infrared code corresponding to the remote control button is obtained, and the transmission is performed.
  • the touch position when the touch position is detected by using the touch screen, when the touch position is detected to be located in the display area of the remote control button, a vibration prompt is issued, and if the touch position is continuously located in the display area and the preset time is reached, the detection is performed.
  • the infrared code corresponding to the remote control button is transmitted. Since the mobile terminal vibrates to prompt the user when the touch position of the user is in the display area, thereby avoiding the user needing to check whether the touched position is a button position, but can find the desired touch button by touching, thereby solving the existing
  • the technical problem of the infrared remote control function in the technology is not convenient enough.
  • FIG. 2 is a schematic flowchart of another infrared remote control method according to Embodiment 2 of the present application.
  • the method provided in this embodiment may be performed by a mobile terminal, such as a smart phone. As shown in FIG. 2, the method may include:
  • Step 201 Determine a device to be remotely selected by the user.
  • the mobile terminal can remotely control the plurality of remote control devices, thereby storing a remote control button array of the plurality of remote control devices, and a remote control button and an infrared code correspondence relationship list of the plurality of remote control devices.
  • the mobile terminal can display the identifiers of the plurality of remote control devices for the user to select one of the plurality of remote control devices to be remotely controlled.
  • Step 202 Query the remote control button array of the remote control device to obtain a display area of each remote control button on the touch screen.
  • the remote control button array is used to indicate the display area of each remote control button on the touch screen.
  • the remote control button array may be a matrix array having horizontal rows and vertical columns, and row coordinates and column coordinates are adopted for each remote button in the remote button array.
  • the mode indicates the relative position between the remote buttons. After determining the relative positions of the remote control buttons, the relative positional relationship is projected onto the touch screen, and the display position of each remote control button on the touch screen is obtained, and the display position of the remote control button and a preset range around the remote control button are set as the The display area of the remote control button.
  • Step 203 Display corresponding remote control buttons in each display area.
  • the corresponding remote control button is displayed at the center of each display area.
  • Step 204 Detect a touch location by using a touch screen.
  • Step 205 When the detected touch position is located in the display area of the remote control button, a vibration prompt is issued.
  • a vibration prompt corresponding to the display area is issued, that is, different display areas may have different vibration modes, thereby eliminating the need for the user.
  • Touch the remote control button just touch the remote control button to know the current touch position by vibration, which improves the success rate of the user.
  • Step 206 Determine whether the touch position moves out of the display area. If step 207 is performed, otherwise steps 208-209 are performed.
  • Step 207 If it is detected that the touch position moves out of the display area, the vibration prompt is stopped.
  • the touch position can be detected to remove the display area, and the vibration stops, to prompt the user that the current finger position does not exist.
  • Remote control button when the user's finger slides out of the display area, the touch position can be detected to remove the display area, and the vibration stops, to prompt the user that the current finger position does not exist.
  • Step 208 If the touch position is continuously located in the display area and reaches the preset time, when the release action of the user is detected, the correspondence list of the remote control button and the infrared code is queried, and the infrared code corresponding to the remote control button is obtained.
  • the touch position is located in the display area until the release action of the user is detected, and the touch position is always inside the display area, and the duration is greater than a preset threshold, the corresponding relationship between the remote control button and the infrared code is queried. List, obtain the infrared code corresponding to the remote control button.
  • Step 209 Transmit the infrared code corresponding to the remote control button.
  • the infrared code is transmitted by using an infrared transmission method.
  • the touch position when the touch position is detected by using the touch screen, when the touch position is detected to be located in the display area of the remote control button, a vibration prompt is issued, and if the touch position is continuously located in the display area and the preset time is reached, the detection is performed.
  • the infrared code corresponding to the remote control button is transmitted. Since the mobile terminal vibrates to prompt the user when the touch position of the user is in the display area, thereby avoiding the user needing to check whether the touched position is a button position, but can find the desired touch button by touching, thereby solving the existing
  • the technical problem of the infrared remote control function in the technology is not convenient enough.
  • FIG. 3 is a schematic structural diagram of an infrared remote control device according to Embodiment 3 of the present application. As shown in FIG. 3, the method includes: a detecting module 31, a prompting module 32, and a transmitting module 33.
  • the detecting module 31 is configured to detect a touch position by using a touch screen.
  • the touch position is a location where the contact point of the user and the touch screen is located, and specifically, the position of the contact point obtained by the user's finger contacting the touch screen.
  • the detecting module 31 detects a touch position where the user's finger touches the touch screen, and the touch position may be represented as a coordinate on the touch screen. If the position touched by the finger of the user is not the display area of the remote control button, the sliding action of the finger is continued to be detected until the finger slides to the display area of the remote control button, so that the touch position is located inside the display area.
  • the prompting module 32 is connected to the detecting module 31 for issuing a vibration prompt when detecting that the touch position is located in the display area of the remote control button.
  • the area of the display area may be larger than the area of the remote control button.
  • the display areas of the remote control buttons do not overlap each other, that is, they are independent of each other.
  • the prompting module 32 is specifically configured to continuously emit a vibration prompt when the detecting module 31 detects that the touch position is located in the display area of the remote control button; if the touch position is detected to move out of the display area, the vibration prompt is stopped.
  • the detecting module 31 detects that the touch position of the user is located in the display area of the remote control button by using the touch screen
  • the prompting module 32 may emit a vibration prompt without the user touching the remote control button, and only needs to touch the remote control button to emit a vibration. In order to prompt the user to have a remote control button at the touch position, the success rate of the user to remote control is improved.
  • the transmitting module 33 is connected to the prompting module 32 for detecting that the touch position is located in the display area until the release action is detected, and the touch position is continuously located inside the display area, and the duration is greater than a preset threshold, and the remote control button is correspondingly Infrared coding.
  • the touch position when the touch position is detected by using the touch screen, when the touch position is detected to be located in the display area of the remote control button, a vibration prompt is issued, and if the touch position is continuously located in the display area and the preset time is reached, the detection is performed.
  • the infrared code corresponding to the remote control button is transmitted. Since the mobile terminal vibrates to prompt the user when the touch position of the user is in the display area, thereby avoiding the user needing to check whether the touched position is a button position, but can find the desired touch button by touching, thereby solving the existing
  • the technical problem of the infrared remote control function in the technology is not convenient enough.
  • the infrared remote control device in this embodiment further includes: a determining module 41, Display module 42 and query module 43.
  • the determining module 41 is configured to determine a device to be remotely controlled by the user; query the remote button array of the device to be remotely controlled, and obtain a display area of each remote button on the touch screen.
  • the remote control button array is used to indicate the display area of each remote control button on the touch screen.
  • the mobile terminal can remotely control the plurality of remote control devices, thereby storing a remote control button array of the plurality of remote control devices, and a remote control button and an infrared code correspondence relationship list of the plurality of remote control devices.
  • the mobile terminal can display the identifiers of the plurality of remote control devices for the user to select one of the plurality of remote control devices to be remotely controlled.
  • the determining module 41 determines the device to be remotely controlled by the user, and then queries the remote control button array of the device to be remotely controlled to obtain a display area of each remote control button on the touch screen.
  • the display module 42 is coupled to the determination module 41 for displaying the remote control button within the display area.
  • the query module 43 is connected to the detecting module 31 and the transmitting module 33 for querying the correspondence list of the remote control button and the infrared code, and obtaining the infrared code corresponding to the remote button.
  • the embodiment of the present application further provides a mobile terminal, for example, the mobile terminal may be an infrared function mobile phone, and the mobile terminal includes the infrared remote control device as in the foregoing embodiment.
  • the mobile terminal detects the touch position by using the touch screen, and when detecting that the touch position is located in the display area of the remote control button, generates a vibration prompt, and if the touch position continues to be located in the display area and reaches a preset time, the user's release action is detected.
  • the remote control button is activated, the infrared code is transmitted.
  • the mobile terminal determines the device to be remotely selected by the user, queries the remote control button array of the device to be remotely controlled, and obtains the display area of each remote control button on the touch screen. Further, corresponding remote control buttons are displayed in each display area, and the touch position is detected by the touch screen. A vibration prompt is issued when it is detected that the touch position is within the display area of the remote control button. On the one hand, if it is detected that the touch position moves out of the display area, the vibration prompt is stopped.
  • the corresponding correspondence between the remote control button and the infrared code is queried.
  • the relationship list obtains the infrared code corresponding to the remote control button, and then transmits the infrared code corresponding to the remote control button.
  • the touch position when the touch position is detected by using the touch screen, when the touch position is detected to be located in the display area of the remote control button, a vibration prompt is issued, and if the touch position is continuously located in the display area and the preset time is reached, the detection is performed. Release action to the user When the remote control button is activated, the infrared code is transmitted. Since the mobile terminal vibrates to prompt the user when the touch position of the user is in the display area, thereby avoiding the user needing to check whether the touched position is a button position, but can find the desired touch button by touching, thereby solving the existing The technical problem of the infrared remote control function in the technology is not convenient enough.
  • FIG. 5 is a schematic structural diagram of an infrared remote control device according to Embodiment 5 of the present application.
  • the infrared remote control device of the embodiment of the present application includes a memory 61, one or more processors 62, and one or more programs 63.
  • the one or more programs 63 when executed by one or more processors 62, perform any of the above-described embodiments.
  • the infrared remote control device of the embodiment of the present invention detects a touch position by using a touch screen, and when detecting that the touch position is located in the display area of the remote control button, generates a vibration prompt, and if the touch position continues to be located in the display area, and reaches a preset time , when the user's release action is detected, the infrared code corresponding to the remote control button is transmitted. Since the mobile terminal vibrates to prompt the user when the touch position of the user is in the display area, thereby avoiding the user needing to check whether the touched position is a button position, but can find the desired touch button by touching, thereby solving the existing The technical problem of the infrared remote control function in the technology is not convenient enough.
  • FIG. 6 is a schematic structural diagram of a computer program for infrared remote control according to Embodiment 6 of the present application.
  • the computer program product 71 for infrared remote control of the embodiment of the present application may include a signal bearing medium 72.
  • Signal bearing medium 72 may include one or more instructions 73 that, when executed by, for example, a processor, may provide the functionality described above with respect to Figures 1-4.
  • the instructions 73 can include: one or more instructions for detecting a touch location with the touch screen; one or more instructions for issuing a vibrating alert when the detected touch location is within a display area of the remote control button; For detecting that the touch position is located in the display area until the detection is released And releasing, the touch position is continuously located inside the display area, and the duration is greater than a preset threshold, and one or more instructions of the infrared coding corresponding to the remote control button are transmitted.
  • the infrared remote control device can perform one or more of the steps shown in FIG. 1 in response to the command 73.
  • signal bearing medium 72 can include computer readable media 74 such as, but not limited to, a hard disk drive, a compact disk (CD), a digital versatile disk (DVD), a digital tape, a memory, and the like.
  • the signal bearing medium 72 can include a recordable medium 75 such as, but not limited to, a memory, a read/write (R/W) CD, an R/W DVD, and the like.
  • the signal bearing medium 72 can include a communication medium 76 such as, but not limited to, a digital and/or analog communication medium (eg, fiber optic cable, waveguide, wired communication link, wireless communication link, etc.).
  • computer program product 71 can be transmitted to one or more modules of an infrared remote control device via RF signal bearing medium 72, wherein signal bearing medium 72 is transmitted by a wireless communication medium (eg, a wireless communication medium compliant with the IEEE 802.11 standard) .
  • a wireless communication medium eg, a wireless communication medium compliant with the IEEE 802.11 standard
  • the computer program product of the embodiment of the present invention detects a touch position by using a touch screen, and when detecting that the touch position is located in the display area of the remote control button, generates a vibration prompt, and if the touch position continues to be located in the display area, and reaches a preset time. , when the user's release action is detected, the infrared code corresponding to the remote control button is transmitted. Since the mobile terminal vibrates to prompt the user when the touch position of the user is in the display area, thereby avoiding the user needing to check whether the touched position is a button position, but can find the desired touch button by touching, thereby solving the existing The technical problem of the infrared remote control function in the technology is not convenient enough.

Abstract

一种红外遥控方法及其装置和移动终端,通过利用触摸屏探测触摸位置(101),当探测到触摸位置位于遥控按键的显示区域内时,发出震动提示(102),进而若触摸位置持续位于该显示区域内,且达到预设时间,则在探测到用户的释放动作时,发射遥控按键所对应的红外编码(103)。由于用户的触摸位置在该显示区域内时移动终端会发出震动以提示用户,从而避免了用户需要查看所触摸的位置是否为按键位置,而是可以通过触摸寻找所需触摸按键,解决了现有技术中红外遥控功能操作不够便捷的技术问题。

Description

红外遥控方法及其装置和移动终端
本专利申请要求申请日为2015年12月08日、申请号为2015108944398的中国专利申请的优先权,并将上述专利申请以引用的方式全文引入本文中。
技术领域
本申请涉及电子技术,尤其涉及一种红外遥控方法及其装置和移动终端。
背景技术
随着移动终端的逐渐普及,越来越多的功能被集成到移动终端上,其中一种功能便是红外遥控功能。可以通过发射红外编码控制电视、空调和机顶盒等家电设备,避免了同时保存多种不同型号遥控器。
现有技术中,通过在移动终端上启动一个应用程序,该应用程序的应用窗口上会显示被控制设备的遥控按键,用户通过在应用窗口上点击遥控按键,使得移动终端发送相应的红外编码,达到通过移动终端控制家电的作用。
但在现有技术中,由于移动终端的屏幕是一个光滑的表面,用户往往需要用眼睛看到当前手指按压的是哪一个按键,另外,红外遥控需要发射和接收处于一条直线上,那么用户只能采用一个非常不舒服的姿势,才能够在移动终端的红外发射器对准家电设备的红外接收器的同时,用眼睛查看屏幕,因此操作不够便捷。
发明内容
本申请实施例提供一种红外遥控方法及其装置和移动终端,用于解决现有技术中红外遥控功能操作不够便捷的技术问题。
为达到上述目的,本申请的实施例采用如下技术方案:
第一方面,提供了一种红外遥控方法,包括:
利用触摸屏探测触摸位置;
当探测到所述触摸位置位于遥控按键的显示区域内时,发出震动 提示;
若从探测到所述触摸位置位于所述显示区域内起直至探测到释放动作,所述触摸位置持续位于所述显示区域内部,且持续时间大于预设阈值,则发射所述遥控按键对应的红外编码。
第二方面,提供了一种红外遥控装置,包括:
探测模块,用于利用触摸屏探测触摸位置;
提示模块,用于当探测到所述触摸位置位于遥控按键的显示区域内时,发出震动提示;
发射模块,用于若从探测到所述触摸位置位于所述显示区域内起直至探测到释放动作,所述触摸位置持续位于所述显示区域内部,且持续时间大于预设阈值,则发射所述遥控按键对应的红外编码。
第三方面,提供了一种移动终端,包括上述红外遥控装置。
第四方面,本申请实施例提供一种红外遥控装置,包括存储器、一个或多个处理器以及一个或多个程序,其中,所述一个或多个程序在由所述一个或多个处理器执行时执行下述操作:利用触摸屏探测触摸位置;当探测到所述触摸位置位于遥控按键的显示区域内时,发出震动提示;若从探测到所述触摸位置位于所述显示区域内起直至探测到释放动作,所述触摸位置持续位于所述显示区域内部,且持续时间大于预设阈值,则发射所述遥控按键对应的红外编码。
第五方面,本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机可执行指令,所述计算机可执行指令响应于执行使得红外遥控装置执行操作,所述操作包括:利用触摸屏探测触摸位置;当探测到所述触摸位置位于遥控按键的显示区域内时,发出震动提示;若从探测到所述触摸位置位于所述显示区域内起直至探测到释放动作,所述触摸位置持续位于所述显示区域内部,且持续时间大于预设阈值,则发射所述遥控按键对应的红外编码。
本申请实施例,通过利用触摸屏探测触摸位置,当探测到触摸位置位于遥控按键的显示区域内时,发出震动提示,进而若触摸位置持续位于该显示区域内,且达到预设时间,则在探测到用户的释放动作 时,发射遥控按键所对应的红外编码。由于用户的触摸位置在该显示区域内时移动终端会发出震动以提示用户,从而避免了用户需要查看所触摸的位置是否为按键位置,而是可以通过触摸寻找所需触摸按键,解决了现有技术中红外遥控功能操作不够便捷的技术问题。
附图说明
图1为本申请实施例一提供的一种红外遥控方法的流程示意图;
图2为本申请实施例二提供的另一种红外遥控方法的流程示意图;
图3为本申请实施例三提供的一种红外遥控装置的结构示意图;
图4为本申请实施例四提供的另一种红外遥控装置的结构示意图;
图5为本申请实施例五提供的红外遥控装置的结构示意图;
图6为本申请实施例六提供的用于红外遥控的计算机程序的结构示意图。
具体实施方式
下面结合附图对本申请实施例提供的红外遥控方法及其装置和移动终端进行详细描述。
实施例一
图1为本申请实施例一提供的一种红外遥控方法的流程示意图,本实施例所提供的方法可以由移动终端执行,例如智能手机,如图1所示,方法可以包括:
步骤101、利用触摸屏探测触摸位置。
其中,触摸位置是用户与触摸屏的接触点所在位置,具体可以为用户的手指与触摸屏相接触所获得的接触点所在位置。
具体的,对用户手指对触摸屏进行触摸的触摸位置进行探测,该触摸位置可以表示为在触摸屏上的坐标。若用户的手指所触摸位置处不是遥控按键的显示区域,则继续对手指的滑动动作进行探测,直至手指滑动至遥控按键的显示区域,使得触摸位置位于该显示区域内部, 触发执行下一步骤。
步骤102、当探测到触摸位置位于遥控按键的显示区域内时,发出震动提示。
其中,显示区域的面积可以大于遥控按键的面积。各个遥控按键的显示区域互不交叠,即相互独立。
具体的,当利用触摸屏探测到用户的触摸位置位于遥控按键的显示区域内时,则会发出震动提示,而无需用户触摸到遥控按键处,只需触摸到遥控按键附近即可发出震动,以提示用户触摸位置处存在遥控按键,提高了用户进行遥控的成功率。
步骤103、若从探测到触摸位置位于显示区域内起直至探测到释放动作,触摸位置持续位于显示区域内部,且持续时间大于预设阈值,则发射遥控按键对应的红外编码。
具体的,该触摸位置持续位于该显示区域内,且达到预设时间,则在探测到时用户的释放动作时,查询遥控按键与红外编码的对应关系列表,获得遥控按键对应的红外编码,发射该遥控按键对应的红外编码。
本申请实施例,通过利用触摸屏探测触摸位置,当探测到触摸位置位于遥控按键的显示区域内时,发出震动提示,进而若触摸位置持续位于该显示区域内,且达到预设时间,则在探测到用户的释放动作时,发射遥控按键所对应的红外编码。由于用户的触摸位置在该显示区域内时移动终端会发出震动以提示用户,从而避免了用户需要查看所触摸的位置是否为按键位置,而是可以通过触摸寻找所需触摸按键,解决了现有技术中红外遥控功能操作不够便捷的技术问题。
实施例二
图2为本申请实施例二提供的另一种红外遥控方法的流程示意图,本实施例所提供的方法可以由移动终端执行,例如智能手机,如图2所示,方法可以包括:
步骤201、确定用户选定的待遥控设备。
具体的,移动终端可以对多个遥控设备进行遥控,从而存储了多个遥控设备的遥控按键阵列,以及多个遥控设备的遥控按键与红外编码对应关系列表。移动终端可以显示多个遥控设备的标识,以供用户从多个遥控设备中选择一个待遥控设备。
步骤202、查询待遥控设备的遥控按键阵列,获得各遥控按键在触摸屏上的显示区域。
其中,遥控按键阵列用于指示各遥控按键在触摸屏上的显示区域。
具体的,查询该待遥控设备的遥控按键阵列,遥控按键阵列可以是具有横向的行和纵向的列构成的矩阵式阵列,在该遥控按键阵列中针对每一个遥控按键采用行坐标和列坐标的方式指示遥控按键之间的相对位置。确定各遥控按键的相对位置之后,将这种相对位置关系投射到触摸屏上,即可获得各遥控按键在触摸屏上的显示位置,将遥控按键的显示位置及其周围一预设范围设定为该遥控按键的显示区域。
步骤203、在各显示区域内显示对应的遥控按键。
其中,遥控按键与显示区域的边界存在空隙。
具体的,在各显示区域的中心显示对应的遥控按键。
步骤204、利用触摸屏探测触摸位置。
步骤205、当探测到触摸位置位于遥控按键的显示区域内时,发出震动提示。
具体的,当利用触摸屏探测到用户的触摸位置位于遥控按键的显示区域内时,则会发出与显示区域对应的震动提示,也就是说,不同的显示区域可以具有不同的震动方式,从而无需用户触摸到遥控按键处,只需触摸到遥控按键附近即可通过震动方式获知当前触摸位置,提高了用户进行遥控的成功率。
步骤206、判断触摸位置是否移出显示区域,若是执行步骤207,否则执行步骤208-209。
步骤207、若探测到触摸位置移出显示区域,则停止震动提示。
具体的,在用户的手指滑出显示区域时,则可探测到触摸位置移除该显示区域,则震动停止,以提示用户当前手指所在位置处不存在 遥控按键。
步骤208、若触摸位置持续位于显示区域内,且达到预设时间,则在探测到用户的释放动作时,查询遥控按键与红外编码的对应关系列表,获得该遥控按键对应的红外编码。
具体的,若从探测到该触摸位置位于显示区域内起直至探测到用户的释放动作,触摸位置一直位于该显示区域内部,且持续时间大于预设阈值,则查询遥控按键与红外编码的对应关系列表,获得该遥控按键对应的红外编码。
步骤209、发射遥控按键对应的红外编码。
具体的,采用红外发射方式,发射该红外编码。
本申请实施例,通过利用触摸屏探测触摸位置,当探测到触摸位置位于遥控按键的显示区域内时,发出震动提示,进而若触摸位置持续位于该显示区域内,且达到预设时间,则在探测到用户的释放动作时,发射遥控按键所对应的红外编码。由于用户的触摸位置在该显示区域内时移动终端会发出震动以提示用户,从而避免了用户需要查看所触摸的位置是否为按键位置,而是可以通过触摸寻找所需触摸按键,解决了现有技术中红外遥控功能操作不够便捷的技术问题。
实施例三
图3为本申请实施例三提供的一种红外遥控装置的结构示意图,如图3所示,包括:探测模块31、提示模块32和发射模块33。
探测模块31,用于利用触摸屏探测触摸位置。
其中,触摸位置是用户与触摸屏的接触点所在位置,具体可以为用户的手指与触摸屏相接触所获得的接触点所在位置。
具体的,探测模块31对用户手指对触摸屏进行触摸的触摸位置进行探测,该触摸位置可以表示为在触摸屏上的坐标。若用户的手指所触摸位置处不是遥控按键的显示区域,则继续对手指的滑动动作进行探测,直至手指滑动至遥控按键的显示区域,使得触摸位置位于该显示区域内部。
提示模块32,与探测模块31连接,用于当探测到触摸位置位于遥控按键的显示区域内时,发出震动提示。
其中,显示区域的面积可以大于遥控按键的面积。各个遥控按键的显示区域互不交叠,即相互独立。
具体的,提示模块32具体用于当探测模块31探测到触摸位置位于遥控按键的显示区域内时,持续发出震动提示;若探测到触摸位置移出显示区域,则停止震动提示。当探测模块31利用触摸屏探测到用户的触摸位置位于遥控按键的显示区域内时,则提示模块32会发出震动提示,而无需用户触摸到遥控按键处,只需触摸到遥控按键附近即可发出震动,以提示用户触摸位置处存在遥控按键,提高了用户进行遥控的成功率。
发射模块33,与提示模块32连接,用于若从探测到触摸位置位于显示区域内起直至探测到释放动作,触摸位置持续位于显示区域内部,且持续时间大于预设阈值,发射遥控按键对应的红外编码。
本申请实施例,通过利用触摸屏探测触摸位置,当探测到触摸位置位于遥控按键的显示区域内时,发出震动提示,进而若触摸位置持续位于该显示区域内,且达到预设时间,则在探测到用户的释放动作时,发射遥控按键所对应的红外编码。由于用户的触摸位置在该显示区域内时移动终端会发出震动以提示用户,从而避免了用户需要查看所触摸的位置是否为按键位置,而是可以通过触摸寻找所需触摸按键,解决了现有技术中红外遥控功能操作不够便捷的技术问题。
实施例四
图4为本申请实施例四提供的另一种红外遥控装置的结构示意图,如图4所示,在上一实施例的基础上,本实施例中的红外遥控装置进一步包括:确定模块41、显示模块42和查询模块43。
确定模块41,用于确定用户选定的待遥控设备;查询待遥控设备的遥控按键阵列,获得各遥控按键在触摸屏上的显示区域。
其中,遥控按键阵列用于指示各遥控按键在触摸屏上的显示区域。
具体的,移动终端可以对多个遥控设备进行遥控,从而存储了多个遥控设备的遥控按键阵列,以及多个遥控设备的遥控按键与红外编码对应关系列表。移动终端可以显示多个遥控设备的标识,以供用户从多个遥控设备中选择一个待遥控设备。确定模块41确定用户选定的待遥控设备,进而查询该待遥控设备的遥控按键阵列,获得各遥控按键在触摸屏上的显示区域。
显示模块42,与确定模块41连接,用于在显示区域内显示遥控按键。
其中,遥控按键与显示区域的边界存在空隙。
查询模块43,与探测模块31和发射模块33连接,用于查询遥控按键与红外编码的对应关系列表,获得遥控按键对应的红外编码。
本申请实施例还提供了一种移动终端,例如:该移动终端可以是具有红外功能的手机,该移动终端包括如前述实施例的红外遥控装置。
移动终端利用触摸屏探测触摸位置,当探测到触摸位置位于遥控按键的显示区域内时,发出震动提示,进而若触摸位置持续位于显示区域内,且达到预设时间,则在探测到用户的释放动作时,发射遥控按键对应的红外编码。
具体的,移动终端确定用户选定的待遥控设备,查询待遥控设备的遥控按键阵列,获得各遥控按键在触摸屏上的显示区域。进而在各显示区域内显示对应的遥控按键,并利用触摸屏探测触摸位置。当探测到触摸位置位于遥控按键的显示区域内时,发出震动提示。一方面,若探测到触摸位置移出显示区域,则停止震动提示。另一方面,若从探测到该触摸位置位于显示区域内起直至探测到用户的释放动作,触摸位置持续位于该显示区域内部,且持续时间大于预设阈值,则查询遥控按键与红外编码的对应关系列表,获得该遥控按键对应的红外编码,然后发射遥控按键对应的红外编码。
本申请实施例,通过利用触摸屏探测触摸位置,当探测到触摸位置位于遥控按键的显示区域内时,发出震动提示,进而若触摸位置持续位于该显示区域内,且达到预设时间,则在探测到用户的释放动作 时,发射遥控按键所对应的红外编码。由于用户的触摸位置在该显示区域内时移动终端会发出震动以提示用户,从而避免了用户需要查看所触摸的位置是否为按键位置,而是可以通过触摸寻找所需触摸按键,解决了现有技术中红外遥控功能操作不够便捷的技术问题。
实施例五
图5为本申请实施例五提供的红外遥控装置的结构示意图。如图5所示,本申请实施例的红外遥控装置包括:存储器61、一个或多个处理器62以及一个或多个程序63。
其中,所述一个或多个程序63在由一个或多个处理器62执行时执行上述实施例中的任意一种方法。
本申请实施例的红外遥控装置,通过利用触摸屏探测触摸位置,当探测到触摸位置位于遥控按键的显示区域内时,发出震动提示,进而若触摸位置持续位于该显示区域内,且达到预设时间,则在探测到用户的释放动作时,发射遥控按键所对应的红外编码。由于用户的触摸位置在该显示区域内时移动终端会发出震动以提示用户,从而避免了用户需要查看所触摸的位置是否为按键位置,而是可以通过触摸寻找所需触摸按键,解决了现有技术中红外遥控功能操作不够便捷的技术问题。
实施例六
图6为本申请实施例六提供的用于红外遥控的计算机程序的结构示意图。如图6所示,本申请实施例的用于红外遥控的计算机程序产品71,可以包括信号承载介质72。信号承载介质72可以包括一个或更多个指令73,该指令73在由例如处理器执行时,处理器可以提供以上针对图1-4描述的功能。例如,指令73可以包括:用于利用触摸屏探测触摸位置的一个或多个指令;用于当探测到所述触摸位置位于遥控按键的显示区域内时,发出震动提示的一个或多个指令;以及用于若从探测到所述触摸位置位于所述显示区域内起直至探测到释 放动作,所述触摸位置持续位于所述显示区域内部,且持续时间大于预设阈值,则发射所述遥控按键对应的红外编码的一个或多个指令。因此,例如,参照图3,红外遥控装置可以响应于指令73来进行图1中所示的步骤中的一个或更多个。
在一些实现中,信号承载介质72可以包括计算机可读介质74,诸如但不限于硬盘驱动器、压缩盘(CD)、数字通用盘(DVD)、数字带、存储器等。在一些实现中,信号承载介质72可以包括可记录介质75,诸如但不限于存储器、读/写(R/W)CD、R/W DVD等。在一些实现中,信号承载介质72可以包括通信介质76,诸如但不限于数字和/或模拟通信介质(例如,光纤线缆、波导、有线通信链路、无线通信链路等)。因此,例如,计算机程序产品71可以通过RF信号承载介质72传送给红外遥控装置的一个或多个模块,其中,信号承载介质72由无线通信介质(例如,符合IEEE 802.11标准的无线通信介质)传送。
本申请实施例的计算机程序产品,通过利用触摸屏探测触摸位置,当探测到触摸位置位于遥控按键的显示区域内时,发出震动提示,进而若触摸位置持续位于该显示区域内,且达到预设时间,则在探测到用户的释放动作时,发射遥控按键所对应的红外编码。由于用户的触摸位置在该显示区域内时移动终端会发出震动以提示用户,从而避免了用户需要查看所触摸的位置是否为按键位置,而是可以通过触摸寻找所需触摸按键,解决了现有技术中红外遥控功能操作不够便捷的技术问题。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例 的某些部分所述的方法。
最后应说明的是:以上各实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述各实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。

Claims (11)

  1. 一种红外遥控方法,其特征在于,包括:
    利用触摸屏探测触摸位置;
    当探测到所述触摸位置位于遥控按键的显示区域内时,发出震动提示;
    若从探测到所述触摸位置位于所述显示区域内起直至探测到释放动作,所述触摸位置持续位于所述显示区域内部,且持续时间大于预设阈值,则发射所述遥控按键对应的红外编码。
  2. 根据权利要求1所述的红外遥控方法,其特征在于,所述发出震动提示包括:持续发出震动提示;
    所述发出震动提示之后,还包括:
    若探测到所述触摸位置移出所述显示区域,则停止震动提示。
  3. 根据权利要求1所述的红外遥控方法,其特征在于,所述发射所述遥控按键对应的红外编码之前,还包括:
    查询遥控按键与红外编码的对应关系列表,获得所述遥控按键对应的红外编码。
  4. 根据权利要求1-3任一项所述的红外遥控方法,其特征在于,所述利用触摸屏探测触摸位置之前,还包括:
    在所述显示区域内显示遥控按键;其中,所述遥控按键与所述显示区域的边界存在空隙。
  5. 根据权利要求4所述的红外遥控方法,其特征在于,所述在显示区域内显示遥控按键之前,还包括:
    确定用户选定的待遥控设备;
    查询所述待遥控设备的遥控按键阵列,获得各遥控按键在所述触摸屏上的显示区域。
  6. 一种红外遥控装置,其特征在于,包括:
    探测模块,用于利用触摸屏探测触摸位置;
    提示模块,用于当探测到所述触摸位置位于遥控按键的显示区域内时,发出震动提示;
    发射模块,用于若从探测到所述触摸位置位于所述显示区域内起直至探测到释放动作,所述触摸位置持续位于所述显示区域内部,且持续时间大于预设阈值,则发射所述遥控按键对应的红外编码。
  7. 根据权利要求6所述的红外遥控装置,其特征在于,
    所述提示模块,具体用于当所述探测模块探测到所述触摸位置位于遥控按键的显示区域内时,持续发出震动提示;若探测到所述触摸位置移出所述显示区域,则停止震动提示。
  8. 根据权利要求6所述的红外遥控装置,其特征在于,所述装置,还包括:
    查询模块,用于查询遥控按键与红外编码的对应关系列表,获得所述遥控按键对应的红外编码。
  9. 根据权利要求6-8任一项所述的红外遥控装置,其特征在于,所述装置,还包括:
    显示模块,用于在所述显示区域内显示遥控按键;其中,所述遥控按键与所述显示区域的边界存在空隙。
  10. 根据权利要求9所述的红外遥控装置,其特征在于,所述装置,还包括:
    确定模块,用于确定用户选定的待遥控设备;查询所述待遥控设备的遥控按键阵列,获得各遥控按键在所述触摸屏上的显示区域。
  11. 一种移动终端,其特征在于,包括如权利要求6-10任一项所述的红外遥控装置。
PCT/CN2016/089014 2015-12-08 2016-07-07 红外遥控方法及其装置和移动终端 WO2017096867A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510894439.8 2015-12-08
CN201510894439.8A CN105892640A (zh) 2015-12-08 2015-12-08 红外遥控方法及其装置和移动终端

Publications (1)

Publication Number Publication Date
WO2017096867A1 true WO2017096867A1 (zh) 2017-06-15

Family

ID=57001917

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/089014 WO2017096867A1 (zh) 2015-12-08 2016-07-07 红外遥控方法及其装置和移动终端

Country Status (2)

Country Link
CN (1) CN105892640A (zh)
WO (1) WO2017096867A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108230661A (zh) * 2018-02-09 2018-06-29 广州视源电子科技股份有限公司 红外遥控系统、方法、红外电子白板及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020097229A1 (en) * 2001-01-24 2002-07-25 Interlink Electronics, Inc. Game and home entertainment device remote control
CN101452353A (zh) * 2007-12-03 2009-06-10 中兴通讯股份有限公司 一种触摸屏输入检测方法和触摸屏设备
CN102043566A (zh) * 2009-10-19 2011-05-04 纬创资通股份有限公司 具触控面板的电子装置及其运作方法
CN202870789U (zh) * 2012-08-31 2013-04-10 比亚迪股份有限公司 一种遥控器
CN103049078A (zh) * 2011-10-13 2013-04-17 宇辰光电股份有限公司 触摸按键模块
CN103713838A (zh) * 2012-10-04 2014-04-09 纬创资通股份有限公司 电子装置和虚拟键盘定位方法

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8677238B2 (en) * 2010-10-21 2014-03-18 Sony Computer Entertainment Inc. Navigation of electronic device menu without requiring visual contact
JP6130844B2 (ja) * 2011-10-19 2017-05-17 トムソン ライセンシングThomson Licensing ブラインドナビゲーションのためのフィードバックによるリモートコントロール
CN202720773U (zh) * 2012-07-23 2013-02-06 Tcl集团股份有限公司 多功能遥控器及控制系统

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020097229A1 (en) * 2001-01-24 2002-07-25 Interlink Electronics, Inc. Game and home entertainment device remote control
CN101452353A (zh) * 2007-12-03 2009-06-10 中兴通讯股份有限公司 一种触摸屏输入检测方法和触摸屏设备
CN102043566A (zh) * 2009-10-19 2011-05-04 纬创资通股份有限公司 具触控面板的电子装置及其运作方法
CN103049078A (zh) * 2011-10-13 2013-04-17 宇辰光电股份有限公司 触摸按键模块
CN202870789U (zh) * 2012-08-31 2013-04-10 比亚迪股份有限公司 一种遥控器
CN103713838A (zh) * 2012-10-04 2014-04-09 纬创资通股份有限公司 电子装置和虚拟键盘定位方法

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108230661A (zh) * 2018-02-09 2018-06-29 广州视源电子科技股份有限公司 红外遥控系统、方法、红外电子白板及存储介质

Also Published As

Publication number Publication date
CN105892640A (zh) 2016-08-24

Similar Documents

Publication Publication Date Title
US9749583B1 (en) Location based device grouping with voice control
US9729821B1 (en) Sensor fusion for location based device grouping
US11557200B2 (en) Apparatus, system and method for using a universal controlling device for displaying a graphical user element in a display device
KR102427328B1 (ko) 사물 인터넷 단말 및 그 동작 방법
US20130290911A1 (en) Method and system for multimodal and gestural control
US20120249466A1 (en) Information processing apparatus, information processing method, program, control target device, and information processing system
US20120144299A1 (en) Blind Navigation for Touch Interfaces
CN105573628A (zh) 用户终端设备及其控制方法和用于提供内容的系统
US20140040831A1 (en) Display control device, display control method, and program
KR20150146193A (ko) 디스플레이 장치 및 그의 동작 방법
TW201324456A (zh) 遙控裝置
KR102157224B1 (ko) 사용자 단말 장치, 제어 방법 및 컨텐츠 제공 시스템
WO2016095641A1 (zh) 数据交互方法及系统、移动终端
JP2013513890A (ja) ユーザ制御のためのユーザ・インターフェースの装置および方法
TWI536033B (zh) 物體偵測方法及裝置
WO2017096867A1 (zh) 红外遥控方法及其装置和移动终端
US20130124210A1 (en) Information terminal, consumer electronics apparatus, information processing method and information processing program
JP2011188281A (ja) 機器制御システム及び機器制御方法
US20120274561A1 (en) Operation control system using infrared rays and method thereof
KR20130129727A (ko) 스마트 리모컨
CN105894795A (zh) 红外遥控方法及其装置和移动终端
KR101555830B1 (ko) 셋톱박스 시스템 및 셋톱박스 리모컨 기능 제공 방법
JP6115136B2 (ja) 情報通信装置とその制御方法とプログラム
US20210167982A1 (en) Information processing apparatus, information processing method, and program
KR102252919B1 (ko) 인터넷 프로토콜 텔레비전의 동작 방법과 인터넷 프로토콜 텔레비전 및 단말의 동작 방법과 단말

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

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

Country of ref document: EP

Kind code of ref document: A1