WO2016065914A1 - Interface display method, device and terminal - Google Patents

Interface display method, device and terminal Download PDF

Info

Publication number
WO2016065914A1
WO2016065914A1 PCT/CN2015/082567 CN2015082567W WO2016065914A1 WO 2016065914 A1 WO2016065914 A1 WO 2016065914A1 CN 2015082567 W CN2015082567 W CN 2015082567W WO 2016065914 A1 WO2016065914 A1 WO 2016065914A1
Authority
WO
WIPO (PCT)
Prior art keywords
button
remote control
layer
remote controller
image
Prior art date
Application number
PCT/CN2015/082567
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 WO2016065914A1 publication Critical patent/WO2016065914A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Selective Calling Equipment (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

An interface display method, device and terminal. The method comprises: acquiring a front face image of an original remote controller (S102); obtaining a key layer by capturing a key area in the front face image, and saving remaining images as a remote controller interface layer (S104); defining various keys in the key layer and corresponding functions thereof (S106); and superposing and synthesizing the key layer and the remote controller interface layer, and displaying same in a universal remote controller interface (S108). The problem in the related art that a universal remote controller interface cannot perform an adaptive adjustment according to different terminal models is solved, which falls within the technical field of image recognition and software, and facilitates rapidly forming the customization, differentiation and accuracy of a universal remote controller remote control interface of an intelligent terminal, so that a user obtains the most direct remote control experience by using the universal remote controller of the intelligent terminal.

Description

界面显示方法、装置及终端Interface display method, device and terminal 技术领域Technical field
本发明涉及图像识别和软件技术领域,特别是涉及一种界面显示方法、装置及终端。The present invention relates to the field of image recognition and software technologies, and in particular, to an interface display method, apparatus, and terminal.
背景技术Background technique
当前,随着智能终端的功能越来越强大,智能终端带有万能遥控器功能的产品越来越多。随着芯片制造工艺的提升,包含中央处理单元、缓冲器、红外编解码单元的红外芯片已经成熟。红外芯片带有灵活的通讯接口,如SPI、I2C、UART,可以与智能终端的应用处理器(AP,application processor)之间进行通讯。红外芯片输出的调制信号经由调制电路将电信号转化为光信号发送出去。同时,红外芯片也带有自学习功能。前置放大器将接收到的微弱光信号转化为电信号,红外芯片采样通过采样此电信号,并保存记录其波形与功能。At present, as the functions of smart terminals become more and more powerful, there are more and more products with intelligent terminals with universal remote control functions. As the chip manufacturing process has increased, infrared chips including central processing units, buffers, and infrared codec units have matured. The infrared chip has a flexible communication interface, such as SPI, I2C, and UART, and can communicate with an application processor (AP) of the intelligent terminal. The modulated signal output by the infrared chip is converted into an optical signal and transmitted through a modulation circuit. At the same time, the infrared chip also has a self-learning function. The preamplifier converts the received weak optical signal into an electrical signal, and the infrared chip samples the sampled electrical signal and saves its waveform and function.
一般情况下,红外芯片都会基于智能终端的操作系统开发相关的应用软件。应用软件一般都会要求用户通过电器类型,电器品牌,电器型号等条件从其远端的代码服务器中下载所需的遥控器代码库。但是针对不同的电器,万能遥控器的遥控界面的按键布局都是一样的,都是按照最初的用户接口定义好的。用户很难按照不同的用户风格界面去判断当前遥控的电器。当万能遥控器需要一对多的控制多数电器使用时,用户需要逐一核对其当前所使用的遥控器界面是否是用户所想要遥控的电器品牌,易用性较差。In general, the infrared chip will develop related application software based on the operating system of the smart terminal. The application software generally requires the user to download the required remote control code library from the remote code server through the type of appliance, appliance brand, and appliance model. However, for different electrical appliances, the remote control interface of the universal remote control has the same button layout, which is defined according to the original user interface. It is difficult for users to judge the current remote control appliances according to different user style interfaces. When the universal remote control requires one-to-many control for most electrical appliances, the user needs to check one by one whether the currently used remote control interface is the appliance brand that the user wants to remotely control, and the ease of use is poor.
针对相关技术中万能遥控器界面无法根据终端型号不同适应性调整的问题,目前尚未提出有效的解决方案。In view of the problem that the universal remote controller interface cannot be adjusted according to the terminal model in the related art, an effective solution has not been proposed yet.
发明内容Summary of the invention
针对相关技术中万能遥控器界面无法根据终端型号不同适应性调整的问题,本发明实施例提供了一种界面显示方法、装置及终端,用以解决上述技术问题。The present invention provides an interface display method, device, and terminal for solving the above technical problem, in view of the problem that the universal remote controller interface cannot be adjusted according to the terminal model.
根据本发明的一个方面,本发明实施例提供了一种界面显示方法,其中,该方法包括:获取原配遥控器的正面图像;通过捕获所述正面图像中的按键区域得到按键图 层,剩余图像保存为遥控器界面图层;定义所述按键图层中的各个按键及其对应功能;将所述按键图层和所述遥控器界面图层叠加合成,显示在万能遥控器的界面。According to an aspect of the present invention, an embodiment of the present invention provides an interface display method, wherein the method includes: acquiring a front image of an original remote controller; and obtaining a button map by capturing a button area in the front image. Layer, the remaining image is saved as a remote control interface layer; each key in the button layer and its corresponding function are defined; the button layer and the remote control interface layer are superimposed and combined, and displayed on the universal remote controller interface.
在本发明实施例中,获取原配遥控器的正面图像之后,所述方法还包括:滤除所述正面图像中的外部背景;调整所述正面图像的尺寸大小和显示位置。In the embodiment of the present invention, after acquiring the front image of the original remote controller, the method further includes: filtering out an external background in the front image; and adjusting a size and a display position of the front image.
在本发明实施例中,通过捕获所述正面图像中的按键区域得到按键图层包括:利用数字图像中的图像边缘算子划取按键区域;将每个按键区域的图像进行平滑、滤波处理;将处理后的各个按键区域挖取出来,保存为所述按键图层。In the embodiment of the present invention, obtaining a button layer by capturing a button region in the front image includes: using an image edge operator in the digital image to draw a button region; and smoothing and filtering the image of each button region; Each of the processed button areas is excavated and saved as the button layer.
在本发明实施例中,定义所述按键图层中的各个按键及其对应功能包括:获取所述原配遥控器的遥控代码;基于所述遥控代码,定义所述按键图层中的各个按键及其对应功能。In the embodiment of the present invention, defining each button in the button layer and its corresponding function includes: acquiring a remote control code of the original remote controller; and defining each button in the button layer based on the remote control code Its corresponding function.
在本发明实施例中,获取所述原配遥控器的遥控代码包括:从网络下载所述原配遥控器的遥控代码库;和/或,启动自学习模式,自学习所述原配遥控器的遥控代码。In the embodiment of the present invention, acquiring the remote control code of the original remote controller includes: downloading a remote control code library of the original remote controller from a network; and/or, starting a self-learning mode, and self-learning the remote control code of the original remote controller .
根据本发明的另一方面,本发明实施例还提供了一种界面显示装置,其中,该装置包括:图像获取模块,设置为获取原配遥控器的正面图像;图层建立模块,设置为通过捕获所述正面图像中的按键区域得到按键图层,剩余图像保存为遥控器界面图层;按键定义模块,设置为定义所述按键图层中的各个按键及其对应功能;界面显示模块,设置为将所述按键图层和所述遥控器界面图层叠加合成,显示在万能遥控器的界面。According to another aspect of the present invention, an embodiment of the present invention further provides an interface display device, where the device includes: an image acquisition module configured to acquire a front image of the original remote controller; and a layer creation module configured to capture The button area in the front image is obtained as a button layer, and the remaining image is saved as a remote control interface layer; the button definition module is set to define each button in the button layer and its corresponding function; the interface display module is set to The button layer and the remote control interface layer are superimposed and displayed on the interface of the universal remote controller.
在本发明实施例中,所述装置还包括:图像处理模块,设置为在获取原配遥控器的正面图像之后,滤除所述正面图像中的外部背景;调整所述正面图像的尺寸大小和显示位置。In an embodiment of the present invention, the device further includes: an image processing module, configured to: after acquiring the front image of the original remote controller, filtering out an external background in the front image; adjusting a size and a display of the front image position.
在本发明实施例中,所述图层建立模块包括:区域划取单元,设置为利用数字图像中的图像边缘算子划取按键区域;处理单元,设置为将每个按键区域的图像进行平滑、滤波处理;图层建立单元,设置为将处理后的各个按键区域挖取出来,保存为所述按键图层。In the embodiment of the present invention, the layer establishing module includes: an area drawing unit configured to use the image edge operator in the digital image to draw the button area; and the processing unit is configured to smooth the image of each button area And filtering processing; the layer establishing unit is configured to excavate each processed button area and save the button layer.
在本发明实施例中,所述按键定义模块包括:代码获取单元,设置为获取所述原配遥控器的遥控代码;功能定义单元,设置为基于所述遥控代码,定义所述按键图层中的各个按键及其对应功能。In the embodiment of the present invention, the button definition module includes: a code acquisition unit configured to acquire a remote control code of the original remote controller; and a function definition unit configured to define the button layer based on the remote control code Each button and its corresponding function.
在本发明实施例中,所述代码获取单元,还设置为从网络下载所述原配遥控器的遥控代码库;和/或,启动自学习模式,自学习所述原配遥控器的遥控代码。 In the embodiment of the present invention, the code obtaining unit is further configured to download a remote control code library of the original remote controller from a network; and/or, start a self-learning mode, and self-learn the remote control code of the original remote controller.
根据本发明的又一方面,本发明实施例还提供了一种界面显示终端,其中,该终端具有万能遥控器功能,包括上述的界面显示装置,与各个原配遥控器相连接。According to still another aspect of the present invention, an embodiment of the present invention further provides an interface display terminal, wherein the terminal has a universal remote control function, including the interface display device described above, and is connected to each original remote controller.
本发明实施例的有益效果如下:The beneficial effects of the embodiments of the present invention are as follows:
本发明实施例利用图像处理技术,提出了一种将电器原配的遥控器外观及按键布局作为万能遥控器界面的原型的技术方案,解决了相关技术中万能遥控器界面无法根据终端型号不同适应性调整的问题,本发明实施例属于图像识别和软件技术领域,利于智能终端的万能遥控器遥控界面的定制化、差异化、准确化的快速形成,使得用户使用智能终端的万能遥控器获得最直接的遥控体验。The embodiment of the invention utilizes image processing technology, and proposes a technical scheme for using the original remote control appearance and button layout of the electric appliance as a prototype of the universal remote control interface, and solves the problem that the universal remote control interface cannot be adapted according to the terminal model in the related art. The problem of the adjustment is that the embodiment of the invention belongs to the field of image recognition and software technology, and facilitates the rapid formation of the customized, differentiated and accurate remote control interface of the universal remote control of the intelligent terminal, so that the user obtains the most direct use of the universal remote controller of the intelligent terminal. Remote control experience.
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solutions of the present invention, and the above-described and other objects, features and advantages of the present invention can be more clearly understood. Specific embodiments of the invention are set forth below.
附图说明DRAWINGS
图1是根据本发明实施例的界面显示方法的流程图;1 is a flow chart of an interface display method according to an embodiment of the present invention;
图2是根据本发明实施例的将原配遥控器的正面照片转化为智能终端的万能遥控器的遥控显示界面的流程图;2 is a flow chart of a remote control display interface of a universal remote controller that converts a front photo of an original remote controller into a smart terminal according to an embodiment of the present invention;
图3是根据本发明实施例的界面显示装置的结构框图。3 is a block diagram showing the structure of an interface display device according to an embodiment of the present invention.
具体实施方式detailed description
为了解决现有技术中万能遥控器界面无法根据终端型号不同适应性调整的问题,本发明提供了一种界面显示方法、装置及终端,以下结合附图以及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不限定本发明。In order to solve the problem that the universal remote controller interface in the prior art cannot be adjusted according to the different types of the terminal, the present invention provides an interface display method, device and terminal. The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
本实施例提供了一种界面显示方法,该方法可以在终端侧实现,图1是根据本发明实施例的界面显示方法的流程图,如图1所示,该方法包括以下步骤(步骤S102-步骤S108):The embodiment provides an interface display method, which can be implemented on the terminal side. FIG. 1 is a flowchart of an interface display method according to an embodiment of the present invention. As shown in FIG. 1 , the method includes the following steps (step S102- Step S108):
步骤S102,获取原配遥控器的正面图像。 Step S102, obtaining a front image of the original remote controller.
智能终端可以通过自身的摄像头来获取需要遥控器的正面照片。关于遥控器的正面照片的获取并不局限于智能终端的摄像头,也可以通过其他方式获取,例如接收第三方提供的遥控器正面照片。The smart terminal can obtain a front photo of the remote controller through its own camera. The acquisition of the front photo of the remote controller is not limited to the camera of the smart terminal, and can also be obtained by other means, for example, receiving a front photo of the remote controller provided by a third party.
步骤S104,通过捕获正面图像中的按键区域得到按键图层,剩余图像保存为遥控器界面图层。In step S104, the button layer is obtained by capturing the button area in the front image, and the remaining image is saved as a remote control interface layer.
步骤S106,定义按键图层中的各个按键及其对应功能。Step S106, defining each button in the button layer and its corresponding function.
步骤S108,将按键图层和遥控器界面图层叠加合成,显示在万能遥控器的界面。在将按键图层和遥控器界面图层叠加合成之后,可以将其命名为用户自身耳熟能详的名字。In step S108, the button layer and the remote control interface layer are superimposed and combined, and displayed on the interface of the universal remote controller. After superimposing the button layer and the remote control interface layer, you can name it the user's own familiar name.
通过本实施例,介绍了一种将电器原配的遥控器外观及按键布局作为万能遥控器界面的原型的技术方案,解决了相关技术中万能遥控器界面无法根据终端型号不同适应性调整的问题,本发明属于图像识别和软件技术领域,利于智能终端的万能遥控器遥控界面的定制化、差异化、准确化的快速形成,使得用户使用智能终端的万能遥控器获得最直接的遥控体验。Through the present embodiment, a technical solution for the appearance of the remote control of the electric appliance and the button layout as the prototype of the universal remote control interface is introduced, and the problem that the universal remote control interface cannot be adjusted according to the different types of the terminal is solved. The invention belongs to the field of image recognition and software technology, and is convenient for the customization, differentiation and accurate formation of the remote control interface of the universal remote controller of the intelligent terminal, so that the user obtains the most direct remote control experience by using the universal remote controller of the intelligent terminal.
在步骤S102获取原配遥控器的正面图像之后,为了优化正面图像的显示效果,可以针对该正面图像进行以下处理:滤除所述正面图像中的外部背景,调整所述正面图像的尺寸大小和显示位置。After acquiring the front image of the original remote controller in step S102, in order to optimize the display effect of the front image, the following processing may be performed on the front image: filtering out the external background in the front image, adjusting the size and display of the front image position.
具体地,智能终端的万能遥控器的应用软件,针对电器原配遥控器的正面照片,去除该照片中的外部背景,仅保留遥控器的正面图像。并使得图像的长边与智能终端的长边平行,居中于屏幕中央。Specifically, the application software of the universal remote controller of the smart terminal removes the external background in the photo for the front photo of the original remote control of the electric appliance, and only retains the front image of the remote controller. And make the long side of the image parallel to the long side of the smart terminal, centered in the center of the screen.
在步骤S104中,通过捕获正面图像中的按键区域得到按键图层,通过以下优选实施方式实现:利用数字图像中的图像边缘算子划取按键区域;将每个按键区域的图像进行平滑、滤波处理;将处理后的各个按键区域挖取出来,保存为按键图层。基于上述处理,提高了按键图层与原配遥控器的界面外观的相似度,利于提升用户的遥控体验。In step S104, the button layer is obtained by capturing the button area in the front image, which is realized by the following preferred embodiments: using the image edge operator in the digital image to draw the button area; smoothing and filtering the image of each button area Processing; the processed button areas are excavated and saved as a button layer. Based on the above processing, the similarity between the appearance of the interface of the button layer and the original remote controller is improved, which is beneficial to improving the remote control experience of the user.
具体地,利用数字图像中的图像边缘算子划取按键所在区域。整个遥控界面,所有遥控器按键周边都有被划取的区域。将每一个区域的图片进行图像的平滑、滤波处理,得到光滑的边缘。并将所有的按键区域挖取出来,保存为一个新的图层,命名为按键图层。剩余图片保存为遥控器界面图层。 Specifically, the image edge operator in the digital image is used to draw the area where the button is located. Throughout the remote control interface, all remote control buttons have a scratched area around them. The image of each area is smoothed and filtered to obtain a smooth edge. Dig out all the button areas and save them as a new layer, named as the button layer. The remaining pictures are saved as the remote control interface layer.
在得到按键图层之后,需要定义按键图层中的各个按键及其对应功能,从而利于完善万能遥控器中与原配遥控器界面相同的显示界面。上述过程可通过以下优选实施方式实现:获取原配遥控器的遥控代码;基于该遥控代码,定义按键图层中的各个按键及其对应功能。After obtaining the button layer, it is necessary to define each button in the button layer and its corresponding function, thereby facilitating the improvement of the same display interface in the universal remote controller as the original remote controller interface. The above process can be implemented by the following preferred embodiments: obtaining a remote control code of the original remote controller; and based on the remote control code, defining each button in the button layer and its corresponding function.
上述获取原配遥控器的遥控代码可以通过以下方式实现:从网络下载原配遥控器的遥控代码库;和/或,启动自学习模式,自学习原配遥控器的遥控代码。The above-mentioned remote control code for obtaining the original remote controller can be realized by downloading the remote control code library of the original remote controller from the network; and/or starting the self-learning mode and self-learning the remote control code of the original remote controller.
具体地:(1)从网络下载该型号电器的遥控代码库,将每一个按键的遥控代码封装成调制信号,启动发射电路等一系列活动,作为点击该功能按键所触发的活动。(2)若有些按键在远程服务器上没有对应的遥控代码,则万能遥控器进入学习模式。自学习过程如下,首先,使得万能遥控器进入自学习模式。其次,将原配遥控器对准万能遥控器,按下该按键,此时万能遥控器便完成了学习遥控代码的工作。再其次,万能遥控器将学习到的遥控代码封装成调制信号,启动发射电路等一系列活动。点击该按键即触发此活动。最后,保存所有自学习按键所触发的活动以及遥控代码至本地。Specifically: (1) downloading the remote control code library of the model electrical appliance from the network, encapsulating the remote control code of each button into a modulation signal, and starting a series of activities such as a transmitting circuit, as an activity triggered by clicking the function button. (2) If some buttons do not have a corresponding remote control code on the remote server, the universal remote control enters the learning mode. The self-learning process is as follows. First, the universal remote control enters the self-learning mode. Secondly, aim the original remote control to the universal remote control and press the button. At this time, the universal remote control completes the work of learning the remote control code. Secondly, the universal remote controller encapsulates the learned remote control code into a modulated signal and activates a series of activities such as a transmitting circuit. Click this button to trigger this event. Finally, save all the activities triggered by the self-learning button and the remote control code to the local.
图2是根据本发明实施例的将原配遥控器的正面照片转化为智能终端的万能遥控器的遥控显示界面的流程图,如图2所示,该流程包括以下步骤:2 is a flow chart of converting a front photo of an original remote controller into a remote control display interface of a universal remote controller of the smart terminal according to an embodiment of the present invention. As shown in FIG. 2, the flow includes the following steps:
步骤A,电器原配遥控器的正面照片的获取。智能终端可以通过自身的摄像头来获取需要遥控器的正面照片。关于遥控器的正面照片的获取并不局限与智能终端的摄像头,也可以其他方式获得。Step A, the acquisition of the front photo of the original remote control of the appliance. The smart terminal can obtain a front photo of the remote controller through its own camera. The acquisition of the front photo of the remote control is not limited to the camera of the smart terminal, but can also be obtained in other ways.
步骤B,滤除正面照片的外部背景。智能终端的万能遥控器应用软件使用电器原配遥控器的正面照片,去除该照片中的外部背景,仅保留遥控器的正面图像。并使得图像的长边与智能终端的长边平行,居中于屏幕中央。Step B, filtering out the external background of the front photo. The universal remote control application software of the smart terminal uses the front photo of the original remote control of the appliance to remove the external background in the photo, leaving only the front image of the remote control. And make the long side of the image parallel to the long side of the smart terminal, centered in the center of the screen.
步骤C,捕获按键区域。利用数字图像中的图像边缘算子划取按键所在区域。因而整个遥控界面,所有遥控器按键周边都有被划取的区域。将每一个区域的图片进行图像的平滑,滤波,得到光滑的边缘。并将所有的区域挖取出来,保存为一个新的图层,命名为按键图层。剩余图片保存为遥控器界面图层。Step C, capturing the button area. Use the image edge operator in the digital image to draw the area where the button is located. Therefore, the entire remote control interface, all remote control buttons have a region that is drawn around. The image of each area is smoothed and filtered to obtain a smooth edge. Dig all the areas and save them as a new layer, named the button layer. The remaining pictures are saved as the remote control interface layer.
步骤D,定义按键。通过步骤C,我们获取到了即将构建的万能遥控器的按键图层。根据软件用户接口定义,将每一个按键都定义为一个“按键”事件,即点击这个按键,触发相应的活动。 Step D, define the button. Through step C, we get the button layer of the universal remote control to be built. According to the software user interface definition, each button is defined as a "button" event, that is, click this button to trigger the corresponding activity.
步骤E,定义按键所触发的活动,即远程服务器是否有按键所对应的遥控代码。从网络下载该型号电器的遥控代码库,将每一个按键的遥控代码封装成调制信号,启动发射电路等一系列活动,作为点击该功能按键所触发的活动。若远程服务器没有该型号电器的遥控代码库或者遥控代码不全,则进入步骤F,否则进入步骤G。Step E defines the activity triggered by the button, that is, whether the remote server has a remote control code corresponding to the button. The remote control code library of the model electrical appliance is downloaded from the network, and the remote control code of each button is encapsulated into a modulation signal, and a series of activities such as a transmitting circuit are started, as an activity triggered by clicking the function button. If the remote server does not have the remote control code library of the model or the remote control code is incomplete, proceed to step F, otherwise go to step G.
步骤F,自学习按键所触发的活动。若有些按键在远程服务器上没有对应的遥控代码,则万能遥控器进入学习模式。自学习过程如下,首先,使得万能遥控器进入自学习模式。其次,将原配遥控器对准万能遥控器,按下该按键,此时万能遥控器便完成了学习遥控代码的工作。再其次,万能遥控器将学习到的遥控代码封装成调制信号,启动发射电路等一系列活动。点击该按键即触发此活动。最后,保存所有自学习按键所触发的活动以及遥控代码至本地。Step F, self-learning the activity triggered by the button. If some buttons do not have a corresponding remote control code on the remote server, the universal remote control enters the learning mode. The self-learning process is as follows. First, the universal remote control enters the self-learning mode. Secondly, aim the original remote control to the universal remote control and press the button. At this time, the universal remote control completes the work of learning the remote control code. Secondly, the universal remote controller encapsulates the learned remote control code into a modulated signal and activates a series of activities such as a transmitting circuit. Click this button to trigger this event. Finally, save all the activities triggered by the self-learning button and the remote control code to the local.
步骤G,定义按键所触发的活动。Step G, defining the activity triggered by the button.
步骤H,判断是否完成对所有按键的触发活动的保存。若没有完成,则进入步骤D,否则进入步骤H。In step H, it is judged whether or not the saving of the triggering activity of all the keys is completed. If not, go to step D, otherwise go to step H.
步骤I,保存所有按键图片以及相应的触发活动。整合用户接口,将按键图层和遥控器界面图层叠加合成,并命名为自己耳熟能详的名字,至此流程结束。Step I, save all the button pictures and the corresponding trigger activities. Integrate the user interface, superimpose the button layer and the remote control interface layer, and name it as a familiar name, and the process ends.
本发明实施例通过智能终端的摄像头,记录电器原配遥控器的正面照片并输入智能终端内部,利用了图像识别技术,去除外部背景、提取原配遥控器的全貌、捕获按键区域、定义按键功能等一系列预处理方法,将电器原配遥控器的所有功能及其外观,完美的复制进智能终端的万能遥控器中。从而使得用户在使用智能终端万能遥控器遥控某一种家用电器的时候,万能遥控器的遥控界面显示的就是原装遥控器的样子,让用户感觉就好像使用电器原配的遥控器一般。In the embodiment of the invention, the front camera of the original remote controller of the electric appliance is recorded and input into the smart terminal through the camera of the intelligent terminal, and the image recognition technology is used to remove the external background, extract the entire appearance of the original remote controller, capture the button area, define the button function, and the like. The series pre-processing method perfectly copies all the functions and appearance of the original remote control of the electric appliance into the universal remote control of the intelligent terminal. Therefore, when the user remotely controls a certain household appliance by using the smart terminal universal remote controller, the remote control interface of the universal remote controller displays the original remote controller, so that the user feels like using the original remote controller of the electrical appliance.
对应于上述实施例介绍的界面显示方法,本实施例提供了一种界面显示装置,该装置可以设置在终端侧,用以实现上述实施例。图3是根据本发明实施例的界面显示装置的结构框图,如图3所示,该装置包括:图像获取模块10、图层建立模块20、按键定义模块30和界面显示模块40。下面对该结构进行详细介绍。Corresponding to the interface display method introduced in the above embodiment, the embodiment provides an interface display device, which can be disposed on the terminal side to implement the above embodiment. FIG. 3 is a structural block diagram of an interface display device according to an embodiment of the present invention. As shown in FIG. 3, the device includes: an image acquisition module 10, a layer creation module 20, a button definition module 30, and an interface display module 40. The structure is described in detail below.
图像获取模块10,设置为获取原配遥控器的正面图像;The image acquisition module 10 is configured to obtain a front image of the original remote controller;
图层建立模块20,连接至图像获取模块10,设置为通过捕获上述正面图像中的按键区域得到按键图层,剩余图像保存为遥控器界面图层; The layer establishing module 20 is connected to the image obtaining module 10, and is configured to obtain a button layer by capturing a button area in the front image, and the remaining image is saved as a remote controller interface layer;
按键定义模块30,连接至图层建立模块20,设置为定义上述按键图层中的各个按键及其对应功能;The button definition module 30 is connected to the layer establishing module 20, and is configured to define each button in the button layer and its corresponding function;
界面显示模块40,连接至按键定义模块30,设置为将上述按键图层和上述遥控器界面图层叠加合成,显示在万能遥控器的界面。The interface display module 40 is connected to the button definition module 30, and is configured to superimpose and synthesize the button layer and the remote controller interface layer to display the interface of the universal remote controller.
通过本实施例,解决了相关技术中万能遥控器界面无法根据终端型号不同适应性调整的问题,本发明属于图像识别和软件技术领域,利于智能终端的万能遥控器遥控界面的定制化、差异化、准确化的快速形成,使得用户使用智能终端的万能遥控器获得最直接的遥控体验。Through the embodiment, the problem that the universal remote controller interface cannot be adjusted according to different terminal models is solved in the related art, and the invention belongs to the field of image recognition and software technology, and is beneficial to the customization and differentiation of the remote control interface of the universal remote controller of the intelligent terminal. Accurate and rapid formation enables users to obtain the most direct remote control experience using the universal remote control of the smart terminal.
为了优化正面图像的显示效果,上述装置还可以包括:图像处理模块,设置为在获取原配遥控器的正面图像之后,滤除上述正面图像中的外部背景;调整上述正面图像的尺寸大小和显示位置。In order to optimize the display effect of the front image, the apparatus may further include: an image processing module configured to: after acquiring the front image of the original remote controller, filtering out the external background in the front image; adjusting the size and display position of the front image .
为了提高按键图层与原配遥控器的界面外观的相似度,提升用户的遥控体验,上述图层建立模块20可以包括:区域划取单元,设置为利用数字图像中的图像边缘算子划取按键区域;处理单元,设置为将每个按键区域的图像进行平滑、滤波处理;图层建立单元,设置为将处理后的各个按键区域挖取出来,保存为上述按键图层。In order to improve the similarity between the appearance of the interface of the button layer and the original remote controller and improve the remote control experience of the user, the layer creation module 20 may include: an area drawing unit configured to use the image edge operator in the digital image to draw the button The processing unit is configured to smooth and filter the image of each button area; the layer establishing unit is configured to excavate the processed key areas and save the button layer.
为了完善万能遥控器中与原配遥控器界面相同的显示界面,上述按键定义模块30包括:代码获取单元,设置为获取上述原配遥控器的遥控代码;功能定义单元,设置为基于上述遥控代码,定义上述按键图层中的各个按键及其对应功能。上述代码获取单元,还设置为从网络下载上述原配遥控器的遥控代码库;和/或,启动自学习模式,自学习上述原配遥控器的遥控代码。In order to improve the display interface of the universal remote controller and the interface of the original remote controller, the button definition module 30 includes: a code acquisition unit configured to acquire a remote control code of the original remote controller; and a function definition unit configured to be defined based on the remote control code. Each button in the above button layer and its corresponding function. The code acquisition unit is further configured to download the remote control code library of the original remote controller from the network; and/or, start the self-learning mode, and self-learn the remote control code of the original remote controller.
对应于上述实施例介绍的界面显示装置,本实施例提供了一种界面显示终端,该终端具有万能遥控器功能,包括上述实施例介绍的界面显示装置,与各个原配遥控器相连接。Corresponding to the interface display device introduced in the above embodiment, the embodiment provides an interface display terminal, which has a universal remote control function, and includes the interface display device introduced in the above embodiment, and is connected to each original remote controller.
该实施例介绍的界面显示终端,例如:可以是实现适配不同遥控器提供不同显示界面的手机,至于具体的如何实现适配,上述方法实施例给出了一种示例,无论采取何种适配方式,只要能够达到手机上的万能遥控器功能能够适配不同遥控器提供不同显示界面即可。The interface display terminal introduced in this embodiment may be, for example, a mobile phone that implements different display interfaces by different remote controllers. As for how to implement the adaptation, the above method embodiment provides an example, no matter what kind of application is adopted. As long as the universal remote control function on the mobile phone can be adapted to different remote controllers to provide different display interfaces.
从以上描述中可知,本发明实施例所述的技术方案具有以下显著的特点:As can be seen from the above description, the technical solution described in the embodiments of the present invention has the following remarkable features:
1)卓越的用户体验。使得用户能够像使用电器原配遥控器那样使用万能遥控器。 1) Excellent user experience. This allows the user to use the universal remote control as if it were an original remote control.
2)易区分性。用户可以很方便的通过原配遥控器的外观,区分当前遥控界面所对应的遥控电器。避免了千篇一律的遥控界面。2) Easy to distinguish. The user can conveniently distinguish the remote control appliance corresponding to the current remote control interface by the appearance of the original remote controller. Avoid the same remote control interface.
3)丰富的功能。一般情况下,万能遥控器使用远程代码库,并不能覆盖原配遥控所有的按键功能。但是通过本发明的应用,可以使得万能遥控器覆盖原配遥控所有的按键功能。3) Rich features. In general, the universal remote control uses a remote code base and does not cover all the key functions of the original remote control. However, through the application of the invention, the universal remote control can cover all the key functions of the original remote control.
尽管为示例目的,已经公开了本发明的优选实施例,本领域的技术人员将意识到各种改进、增加和取代也是可能的,因此,本发明的范围应当不限于上述实施例。While the preferred embodiments of the present invention have been disclosed for purposes of illustration, those skilled in the art will recognize that various modifications, additions and substitutions are possible, and the scope of the invention should not be limited to the embodiments described above.
工业实用性Industrial applicability
本发明实施例利用图像处理技术,提出了一种将电器原配的遥控器外观及按键布局作为万能遥控器界面的原型的技术方案,解决了相关技术中万能遥控器界面无法根据终端型号不同适应性调整的问题,本发明实施例属于图像识别和软件技术领域,利于智能终端的万能遥控器遥控界面的定制化、差异化、准确化的快速形成,使得用户使用智能终端的万能遥控器获得最直接的遥控体验。 The embodiment of the invention utilizes image processing technology, and proposes a technical scheme for using the original remote control appearance and button layout of the electric appliance as a prototype of the universal remote control interface, and solves the problem that the universal remote control interface cannot be adapted according to the terminal model in the related art. The problem of the adjustment is that the embodiment of the invention belongs to the field of image recognition and software technology, and facilitates the rapid formation of the customized, differentiated and accurate remote control interface of the universal remote control of the intelligent terminal, so that the user obtains the most direct use of the universal remote controller of the intelligent terminal. Remote control experience.

Claims (11)

  1. 一种界面显示方法,包括:An interface display method includes:
    获取原配遥控器的正面图像;Get the front image of the original remote control;
    通过捕获所述正面图像中的按键区域得到按键图层,剩余图像保存为遥控器界面图层;The button layer is obtained by capturing a button area in the front image, and the remaining image is saved as a remote control interface layer;
    定义所述按键图层中的各个按键及其对应功能;Defining each button in the button layer and its corresponding function;
    将所述按键图层和所述遥控器界面图层叠加合成,显示在万能遥控器的界面。The button layer and the remote control interface layer are superimposed and displayed on the interface of the universal remote controller.
  2. 如权利要求1所述的方法,其中,获取原配遥控器的正面图像之后,所述方法还包括:The method of claim 1 wherein after obtaining the front side image of the original remote control, the method further comprises:
    滤除所述正面图像中的外部背景;Filtering an external background in the front image;
    调整所述正面图像的尺寸大小和显示位置。The size and display position of the front image are adjusted.
  3. 如权利要求1所述的方法,其中,通过捕获所述正面图像中的按键区域得到按键图层包括:The method of claim 1 wherein obtaining a button layer by capturing a button region in the front image comprises:
    利用数字图像中的图像边缘算子划取按键区域;Using the image edge operator in the digital image to draw the button area;
    将每个按键区域的图像进行平滑、滤波处理;Smoothing and filtering the image of each button area;
    将处理后的各个按键区域挖取出来,保存为所述按键图层。Each of the processed button areas is excavated and saved as the button layer.
  4. 如权利要求1所述的方法,其中,定义所述按键图层中的各个按键及其对应功能包括:The method of claim 1 wherein defining each of the button layers and their corresponding functions comprises:
    获取所述原配遥控器的遥控代码;Obtaining a remote control code of the original remote controller;
    基于所述遥控代码,定义所述按键图层中的各个按键及其对应功能。Based on the remote control code, each button in the button layer and its corresponding function are defined.
  5. 如权利要求4所述的方法,其中,获取所述原配遥控器的遥控代码包括:The method of claim 4, wherein obtaining the remote control code of the original remote controller comprises:
    从网络下载所述原配遥控器的遥控代码库;和/或,Downloading the remote control code base of the original remote controller from the network; and/or,
    启动自学习模式,自学习所述原配遥控器的遥控代码。The self-learning mode is started, and the remote control code of the original remote controller is self-learned.
  6. 一种界面显示装置,包括:An interface display device comprising:
    图像获取模块,设置为获取原配遥控器的正面图像; An image acquisition module configured to obtain a front image of the original remote controller;
    图层建立模块,设置为通过捕获所述正面图像中的按键区域得到按键图层,剩余图像保存为遥控器界面图层;a layer creation module configured to obtain a button layer by capturing a button area in the front image, and the remaining image is saved as a remote control interface layer;
    按键定义模块,设置为定义所述按键图层中的各个按键及其对应功能;a button definition module, configured to define each button in the button layer and a corresponding function thereof;
    界面显示模块,设置为将所述按键图层和所述遥控器界面图层叠加合成,显示在万能遥控器的界面。The interface display module is configured to superimpose and synthesize the button layer and the remote control interface layer, and display the interface on the universal remote controller.
  7. 如权利要求6所述的装置,其中,所述装置还包括:The device of claim 6 wherein said device further comprises:
    图像处理模块,设置为在获取原配遥控器的正面图像之后,滤除所述正面图像中的外部背景;调整所述正面图像的尺寸大小和显示位置。The image processing module is configured to filter out an external background in the front image after acquiring a front image of the original remote controller; and adjust a size and a display position of the front image.
  8. 如权利要求6所述的装置,其中,所述图层建立模块包括:The apparatus of claim 6, wherein the layer building module comprises:
    区域划取单元,设置为利用数字图像中的图像边缘算子划取按键区域;The area drawing unit is configured to use the image edge operator in the digital image to draw the button area;
    处理单元,设置为将每个按键区域的图像进行平滑、滤波处理;a processing unit configured to smooth and filter an image of each button area;
    图层建立单元,设置为将处理后的各个按键区域挖取出来,保存为所述按键图层。The layer establishing unit is configured to excavate the processed button areas and save the button layer.
  9. 如权利要求6所述的装置,其中,所述按键定义模块包括:The device of claim 6, wherein the button definition module comprises:
    代码获取单元,设置为获取所述原配遥控器的遥控代码;a code acquisition unit, configured to acquire a remote control code of the original remote controller;
    功能定义单元,设置为基于所述遥控代码,定义所述按键图层中的各个按键及其对应功能。A function definition unit is configured to define each button in the button layer and its corresponding function based on the remote control code.
  10. 如权利要求9所述的装置,其中,所述代码获取单元,还设置为从网络下载所述原配遥控器的遥控代码库;和/或,启动自学习模式,自学习所述原配遥控器的遥控代码。The device according to claim 9, wherein the code acquisition unit is further configured to download a remote control code library of the original remote controller from a network; and/or, initiate a self-learning mode, and self-learn the original remote controller. Remote control code.
  11. 一种界面显示终端,具有万能遥控器功能,包括权利要求6至10中任一项所述的界面显示装置,与各个原配遥控器相连接。 An interface display terminal having a universal remote control function, comprising the interface display device according to any one of claims 6 to 10, connected to each of the original remote controllers.
PCT/CN2015/082567 2014-10-27 2015-06-26 Interface display method, device and terminal WO2016065914A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410583962 2014-10-27
CN201410583962.4 2014-10-27

Publications (1)

Publication Number Publication Date
WO2016065914A1 true WO2016065914A1 (en) 2016-05-06

Family

ID=55856534

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/082567 WO2016065914A1 (en) 2014-10-27 2015-06-26 Interface display method, device and terminal

Country Status (2)

Country Link
CN (1) CN105843595A (en)
WO (1) WO2016065914A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106408398A (en) * 2016-10-31 2017-02-15 广东美的制冷设备有限公司 Air conditioner appearance customization method and device
CN108476339B (en) * 2016-12-30 2020-12-01 华为技术有限公司 Remote control method and terminal
CN107798852A (en) * 2017-11-08 2018-03-13 东莞市康茂电子有限公司 A kind of control method of Universal infrared remote controller system
CN108241861A (en) * 2018-01-05 2018-07-03 新华智云科技有限公司 A kind of data visualization method and equipment
CN108595239B (en) * 2018-04-18 2021-08-13 腾讯科技(深圳)有限公司 Picture processing method, device, terminal and computer readable storage medium
CN110321051A (en) * 2019-07-14 2019-10-11 RealMe重庆移动通信有限公司 Control configuration method, device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101799975A (en) * 2009-02-10 2010-08-11 Tcl集团股份有限公司 Study type remote controller and press key template establishment method thereof
CN102253805A (en) * 2011-07-14 2011-11-23 徐响林 Remote control device and realizing method thereof
CN102346643A (en) * 2011-09-14 2012-02-08 华为终端有限公司 Realization method and device for learnable type remoter
US20120161928A1 (en) * 2010-12-24 2012-06-28 Mstar Semiconductor, Inc. Display Apparatus, Remote Controller and Associated Display System

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100836161B1 (en) * 2006-10-31 2008-06-09 에스케이 텔레콤주식회사 System for Matching a UI Dynamic Display and Method the same
CN101895620A (en) * 2009-05-19 2010-11-24 中兴通讯股份有限公司 Home appliance remote controller driving downloading method and system and mobile phone integrated with home appliance remote controller
CN103391480B (en) * 2013-07-15 2017-11-28 Tcl集团股份有限公司 A kind of method and system that character is inputted to television set
CN104200644B (en) * 2014-08-14 2019-01-15 Tcl通讯科技(成都)有限公司 Equipment remote-control method, function terminal and intelligent terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101799975A (en) * 2009-02-10 2010-08-11 Tcl集团股份有限公司 Study type remote controller and press key template establishment method thereof
US20120161928A1 (en) * 2010-12-24 2012-06-28 Mstar Semiconductor, Inc. Display Apparatus, Remote Controller and Associated Display System
CN102253805A (en) * 2011-07-14 2011-11-23 徐响林 Remote control device and realizing method thereof
CN102346643A (en) * 2011-09-14 2012-02-08 华为终端有限公司 Realization method and device for learnable type remoter

Also Published As

Publication number Publication date
CN105843595A (en) 2016-08-10

Similar Documents

Publication Publication Date Title
WO2016065914A1 (en) Interface display method, device and terminal
CN103916623B (en) The method for showing equipment and its video calling
US20150317074A1 (en) Image projector device
CN105605792A (en) Method and device for controlling water heater
CN105068467B (en) Control the method and device of smart machine
WO2021190428A1 (en) Image capturing method and electronic device
CN103945046A (en) Photographing control method and control device
CN106445461A (en) Text information processing method and device
CN106600689A (en) Method and apparatus for generating 3D printing data
CN107644396B (en) Lip color adjusting method and device
WO2021013136A1 (en) Apparatus control method, and electronic apparatus
CN107529699A (en) Control method of electronic device and device
CN103235687B (en) A kind of method, device and mobile device that sensor opening is set
CN104915104A (en) Display method and device of keyboard interface
CN103544827A (en) Network electronic device installation setting system, network electronic device and installation method thereof
WO2018090601A1 (en) Method and device for adjusting transmitting power of router
CN106817608A (en) Realize the method and device of local display
CN108933891A (en) Photographic method, terminal and system
CN112887601B (en) Shooting method and device and electronic equipment
WO2024067468A1 (en) Interaction control method and apparatus based on image recognition, and device
CN105426904A (en) Photo processing method, apparatus and device
CN107864283A (en) The instruction of storage by computing device non-transitorycomputer readable storage medium
CN107527334A (en) Human face light moving method and device
CN109462727B (en) Filter adjusting method and mobile terminal
CN109117737A (en) Control method, device and the storage medium of hand washing machine

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

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

Country of ref document: EP

Kind code of ref document: A1