WO2018040423A1 - 多面板按键控制方法及装置 - Google Patents
多面板按键控制方法及装置 Download PDFInfo
- Publication number
- WO2018040423A1 WO2018040423A1 PCT/CN2016/112542 CN2016112542W WO2018040423A1 WO 2018040423 A1 WO2018040423 A1 WO 2018040423A1 CN 2016112542 W CN2016112542 W CN 2016112542W WO 2018040423 A1 WO2018040423 A1 WO 2018040423A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- button
- panel button
- panel
- key
- value
- Prior art date
- Legal status (The legal status 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 status listed.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/443—OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
Definitions
- the present invention relates to the field of terminal control technologies, and in particular, to a multi-panel button control method and apparatus.
- some terminals may be equipped with panel buttons.
- the terminal uses a TV as an example.
- TVs on the market are generally equipped with panel buttons to prevent the user from being able to control the TV without the remote controller.
- the panel buttons are customized on the TV set, it is necessary to consider various situations such as a large screen and a small screen of the television, and the number of buttons operated by the panel buttons is small.
- more expansion functions can be realized through only a few keys of the panel keys, and the panel keys can be simulated to simulate the operation of other keys by constructing a virtual remote control interface.
- the panel buttons are different in many models of the TV. The number of buttons on the upper panel buttons of different models is different.
- a panel button type is required to correspond to a set of button software, which increases the workload of development. For example, 3key panel buttons, 5key panel buttons, 7key panel buttons, etc., all three panel buttons need to have a corresponding virtual display interface, so three different button softwares need to be developed. Moreover, when the 5key panel button needs to be switched to access the 7key panel button, the software needs to be updated at the same time, and the operation is not convenient enough.
- the main object of the present invention is to provide a multi-panel button control method and device, which aims to improve the convenience and flexibility of the terminal for multi-panel button control and reduce the development workload.
- the present invention provides a multi-panel button control method, the multi-panel button control method is applied to a terminal, and the multi-panel button control method includes:
- the multi-panel button includes a 3-key panel button, a 5-key panel button, and a 7-key panel button, and the display interface corresponding to the panel button is displayed according to the signal flag and the button string.
- the panel button is determined to be a 3-key panel button by using the signal flag, the first display interface corresponding to the 3-key panel button is created according to the button string, and the first display interface is performed according to a customized logic. display;
- the second display interface corresponding to the 5-key panel button is created according to the button string, and the second display interface is performed according to a customized logic. display;
- a third display interface corresponding to the 7-key panel button is created according to the button string, and the third display interface is performed according to a customized logic. display.
- the terminal includes a system layer and an application layer, and after displaying the display interface corresponding to the panel button according to the signal flag bit and the key string, the method includes:
- the application layer When the application layer receives the specified instruction, the application layer converts the specified instruction into a button value, and sends the button value to the system layer;
- the system layer writes the received key value to the virtual node, and performs a corresponding operation according to the virtual node.
- the present invention also provides a multi-panel button control method, the multi-panel button control method is applied to a terminal, and the multi-panel button control method includes
- the obtaining the signal flag of the panel button includes:
- the acquiring a key string of the pressed button includes:
- the key string when the voltage value corresponding to the button is pressed is acquired.
- the multi-panel button includes a 3-key panel button, a 5-key panel button, and a 7-key panel button
- the application layer displays the display corresponding to the panel button according to the signal flag and the button string.
- the interface includes:
- the panel button is determined to be a 3-key panel button by using the signal flag, the first display interface corresponding to the 3-key panel button is created according to the button string, and the first display interface is performed according to a customized logic. display;
- the second display interface corresponding to the 5-key panel button is created according to the button string, and the second display interface is performed according to a customized logic. display;
- a third display interface corresponding to the 7-key panel button is created according to the button string, and the third display interface is performed according to a customized logic. display.
- the terminal includes a system layer and an application layer
- the application layer after displaying the display interface corresponding to the panel button, according to the signal flag bit and the key string, includes:
- the application layer When the application layer receives the specified instruction, the application layer converts the specified instruction into a button value, and sends the button value to the system layer;
- the system layer writes the received key value to the virtual node, and performs a corresponding operation according to the virtual node.
- the present invention further provides a multi-panel button control device, wherein the multi-panel button control device is applied to a terminal, and the multi-panel button control device includes:
- a detection module configured to detect whether a panel button is accessed
- a first acquiring module configured to acquire a signal flag bit of the panel button if a panel button is accessed, and determine whether the button of the panel button is pressed;
- a second acquiring module configured to acquire a key string of the pressed button when the button of the panel button is pressed
- a display module configured to display, according to the signal flag bit and the key string, a display interface corresponding to the panel button.
- the first acquiring module is further configured to acquire a signal type of the panel button, and acquire a signal flag bit corresponding to the signal type according to a mapping relationship between the signal type and the preset signal flag bit.
- the second obtaining module is further configured to: obtain a voltage value of the pressed button, determine whether the voltage value is greater than a preset voltage threshold; when the voltage value is greater than a preset voltage threshold, Obtaining the key string of the voltage value corresponding to when the button is pressed.
- the multi-panel button includes a 3-key panel button, a 5-key panel button, and a 7-key panel button
- the display module is further configured to: when the signal flag is determined by the signal flag, the panel button is a 3-key panel button And creating a first display interface corresponding to the 3-key panel button according to the key string, and displaying the first display interface according to the customized logic;
- the second display interface corresponding to the 5-key panel button is created according to the button string, and the second display interface is performed according to a customized logic. display;
- a third display interface corresponding to the 7-key panel button is created according to the button string, and the third display interface is performed according to a customized logic. display.
- the terminal includes a system layer and an application layer
- the multi-panel button control device further includes:
- a sending module configured to: when the application layer receives the specified instruction, convert the specified instruction into a button value by using the application layer, and send the button value to the system layer;
- an execution module configured to write, by using the system layer, the received key value to the virtual node, and perform a corresponding operation according to the virtual node.
- the multi-panel control method and device acquires a signal flag bit of a panel button when detecting the presence of a panel button access, and acquires the pressed button when the panel button presence button is pressed. Keystroke string. Then, according to the key string and the signal flag, the display interface corresponding to the panel button is displayed.
- the terminal realizes the compatibility of the multi-panel buttons, improves the convenience and flexibility of the terminal for multi-panel button control, and reduces the development workload.
- FIG. 1 is a schematic flow chart of an embodiment of a multi-panel button control method according to the present invention.
- FIG. 2 is a schematic flow chart of another embodiment of a multi-panel button control method according to the present invention.
- FIG. 3 is a schematic diagram of functional modules of an embodiment of a multi-panel button control device according to the present invention.
- FIG. 4 is a schematic diagram of functional modules of another embodiment of a multi-panel button control device according to the present invention.
- the multi-panel button control method of this embodiment includes:
- Step S10 detecting whether there is a panel button access
- the multi-panel button control method is applied to the terminal, and the type of the terminal can be set according to actual needs.
- the terminal is a device that adapts multiple panel buttons, and the multi-panel button can include a 3-key panel button (ie, a 3key panel).
- the button), the 5-key panel button (ie, the 5key panel button), and the 7-key panel button (ie, the 7key panel button), etc., will be described in detail below by taking the terminal as a television.
- the television detects whether there is panel button access in real time or at intervals.
- the television includes a system layer and an application layer.
- the application layer creates a MenuHelpRecevice broadcast to implement the onRecevie method to monitor the system broadcast.
- the application layer also needs to register the button to listen to the broadcast in the AndroidManifest to listen to the specified broadcast.
- the television detects, by using the system layer, whether there is panel button access in real time, so that when the panel button is accessed, the related information of the panel button access is sent to the application layer.
- Step S20 if there is a panel button access, acquiring a signal flag bit of the panel button, and determining whether the panel button has a button pressed;
- the television can obtain the signal flag of the panel button through the system layer and store it in the preset configuration table, so as to conveniently obtain the display corresponding to the signal flag display panel button from the configuration table. interface.
- the mapping relationship between the signal type and the preset signal flag bit may be set in advance. Further, the step S20 includes: acquiring the signal type of the panel button, according to the signal type. And a mapping relationship with the preset signal flag bit, and acquiring a signal flag bit corresponding to the signal type.
- the signal type of a panel button can be defined as:
- Keyboard 3 indicates that the panel button accessed is a 3-button panel button
- Keyboard 5 indicates that the panel button accessed is a 5-key panel button
- Keyboard 7 indicates that the panel button accessed is a 7-key panel button.
- the TV first determines the signal flag according to the signal type of the panel button through the system layer, and then determines whether the button of the panel button is pressed. For example, if the signal type of the obtained panel button is Keyboard: 3, the corresponding signal flag is 3, indicating that the accessed panel button is a 3-button panel button.
- Step S30 when the panel button presence button is pressed, acquiring a button character string of the pressed button;
- the button string of the button can be obtained after determining that the button is actually pressed according to the voltage value generated when the button is pressed.
- the key string can indicate the command information that the button is pressed, and the character string generated when each button is pressed is different.
- the step S30 includes: acquiring a voltage value of the pressed button, determining whether the voltage value is greater than a preset voltage threshold; and when the voltage value is greater than a preset voltage threshold, acquiring the voltage value The key string when the button is pressed.
- the voltage of the pressed button is first acquired and determined. Whether the value is greater than the preset voltage threshold. If the voltage value is greater than the preset voltage threshold, the button is pressed. At this time, the television system obtains the key string when the button is pressed through the system layer, and broadcasts the button character. The string is sent to the application layer. If the voltage value is less than or equal to the preset voltage threshold, the button is not pressed, and the system layer does not perform the related operation of acquiring and transmitting the key string to the application layer.
- the preset voltage threshold may be flexibly set according to a specific situation, and the preset voltage value may also be used to retrieve a specific setting interface through a panel button, and correspondingly set a specific value of the preset voltage threshold.
- the preset voltage threshold can be adjusted to a small value; for the young people, because of the greater force of pressing the button, Therefore, the preset voltage threshold can be adjusted to a larger value.
- Step S40 Display a display interface corresponding to the panel button according to the signal flag bit and the button character string.
- the pre-stored signal flag is obtained from the configuration table, and is displayed on the screen of the television according to the signal flag and the received key string.
- the display interface corresponding to the panel button is displayed.
- the system layer of the television compares the obtained signal button of the panel button with the pre-stored signal flag of each panel button.
- the obtained signal flag is 7, corresponding to the signal flag of the pre-stored 7key panel button
- the user can call the corresponding display interface of the 7key panel button to perform corresponding operations.
- the user can adjust the volume, adjust the channel, and adjust the button through the home, back, source, OK, left button, and right button on the 7key panel button.
- the operation of the source and the like can also trigger the long press and short press of the button.
- the signal flag of the panel button is acquired, and when the button of the panel button is pressed, the button string of the pressed button is acquired. Then, according to the key string and the signal flag, the display interface corresponding to the panel button is displayed.
- the terminal realizes the compatibility of the multi-panel buttons, improves the convenience and flexibility of the terminal for multi-panel button control, and reduces the development workload.
- the invention solves the problem that a panel button type corresponds to a set of virtual button software, that is, the problem that the hardware and the software can only be one-to-one, and the workload of development and release is reduced. Especially for the same model, different series of models need to use different panel buttons, users can automatically adapt different types of panel buttons on the TV. At the same time, the embodiment also facilitates subsequent expansion of panel keys such as 8key and 9key.
- the step S40 includes: determining the panel button by using the signal flag bit.
- the button is a 3-button panel
- the first display interface corresponding to the 3-key panel button is created according to the button string, and the first display interface is displayed according to a custom logic;
- the second display interface corresponding to the 5-key panel button is created according to the button string, and the second display interface is performed according to a customized logic. display;
- a third display interface corresponding to the 7-key panel button is created according to the button string, and the third display interface is performed according to a customized logic. display.
- the application layer of the television displays the display interface corresponding to the panel button according to the signal flag and the key string.
- the application layer of the television is obtained according to the method.
- the signal flag of the obtained panel button determines that the accessed panel button is a 3key panel button, which means that the 3key panel button is instantiated, and the application layer creates a first display interface corresponding to the 3key panel button according to the received button string, and according to The custom logic displays the first display interface corresponding to the 3key panel button on the screen of the television.
- the application layer of the television determines that the accessed panel button is a 5key panel button according to the obtained signal button of the panel button, thereby indicating that the 5key panel button is instantiated, and the application layer receives the button according to the reception.
- the button string to be created creates a second display interface corresponding to the 5key panel button, and displays a second display interface corresponding to the 5key panel button on the screen of the television according to the customized logic.
- the application layer of the television determines that the accessed panel button is the 7key panel button according to the obtained signal button position of the panel button, thereby indicating that the 7key panel button is instantiated, and the application layer receives the button according to the reception.
- the button string to be created creates a third display interface corresponding to the 7key panel button, and displays a third display interface corresponding to the 7key panel button on the screen of the television according to the customized logic.
- the television layer can determine the accessed panel button according to the signal flag position by the application layer, so as to display the first display interface corresponding to the 3key panel button, the second display interface corresponding to the 5key panel button, or the corresponding 7key panel button.
- the third display interface improves the convenience and flexibility of the TV to control the multi-panel buttons.
- the application layer When the application layer receives the specified instruction, the application layer converts the specified instruction into a key value, and sends the key value to the system layer; the system layer writes the received key value Into the virtual node, perform corresponding operations according to the virtual node.
- the television when the television performs the operations such as shutdown, page refresh, etc., it needs to be executed by the system.
- the application layer receives the shutdown, page refresh, and the like.
- you specify an instruction you need to convert the specified instruction to a key value and send it to the system layer.
- the system layer writes the received key values to the virtual node and performs corresponding operations such as shutdown or page refresh. Thereby improving the reliability of the use of the panel keys.
- the multi-panel button control device of this embodiment includes:
- the detecting module 100 is configured to detect whether a panel button is accessed
- the multi-panel button control device is applied to the terminal, and the type of the terminal can be set according to actual needs.
- the terminal is a device that adapts multiple panel buttons, and the multi-panel button can include a 3-key panel button (ie, a 3key panel).
- the button), the 5-key panel button (ie, the 5key panel button), and the 7-key panel button (ie, the 7key panel button), etc., will be described in detail below by taking the terminal as a television.
- the television detects whether there is panel button access in real time or at intervals.
- the television includes a system layer and an application layer.
- the application layer creates a MenuHelpRecevice broadcast to implement the onRecevie method to monitor the system broadcast.
- the application layer also needs to register the button to listen to the broadcast in the AndroidManifest to listen to the specified broadcast.
- the detecting module 100 detects, by using the system layer, whether the panel button is accessed in real time, so that when the panel button is accessed, the related information of the panel button access is sent to the application layer.
- the first obtaining module 200 is configured to acquire a signal flag bit of the panel button if the panel button is accessed, and determine whether the button of the panel button is pressed;
- the first obtaining module 200 obtains the signal flag of the panel button through the system layer and stores the signal flag in the preset configuration table, so as to facilitate obtaining the signal flag display panel button correspondingly from the configuration table. Display interface.
- the mapping between the signal type and the preset signal flag may be set in advance.
- the first acquiring module 200 is further configured to acquire the signal of the panel button.
- the type according to the mapping relationship between the signal type and the preset signal flag bit, acquires a signal flag bit corresponding to the signal type.
- the signal type of a panel button can be defined as:
- Keyboard 3 indicates that the panel button accessed is a 3-button panel button
- Keyboard 5 indicates that the panel button accessed is a 5-key panel button
- Keyboard 7 indicates that the panel button accessed is a 7-key panel button.
- the TV first determines the signal flag according to the signal type of the panel button through the system layer, and then determines whether the button of the panel button is pressed. For example, if the signal type of the obtained panel button is Keyboard: 3, the corresponding signal flag is 3, indicating that the accessed panel button is a 3-button panel button.
- a second obtaining module 300 configured to acquire a key string of the pressed button when the panel button is pressed
- the second obtaining module 300 can obtain the button string of the button after determining that the button is actually pressed after the voltage value generated when the button is pressed.
- the key string can indicate the command information that the button is pressed, and the character string generated when each button is pressed is different.
- the second acquiring module 300 is further configured to: acquire a voltage value of the pressed button, determine whether the voltage value is greater than a preset voltage threshold; and when the voltage value is greater than a preset voltage threshold, obtain The voltage value corresponds to a key string when the button is pressed.
- the voltage of the pressed button is first acquired and determined. Whether the value is greater than the preset voltage threshold. If the voltage value is greater than the preset voltage threshold, the button is pressed. At this time, the television system obtains the key string when the button is pressed through the system layer, and broadcasts the button character. The string is sent to the application layer. If the voltage value is less than or equal to the preset voltage threshold, the button is not pressed, and the system layer does not perform the related operation of acquiring and transmitting the key string to the application layer.
- the preset voltage threshold may be flexibly set according to a specific situation, and the preset voltage value may also be used to retrieve a specific setting interface through a panel button, and correspondingly set a specific value of the preset voltage threshold.
- the preset voltage threshold can be adjusted to a small value; for the young people, because of the greater force of pressing the button, Therefore, the preset voltage threshold can be adjusted to a larger value.
- the display module 400 is configured to display a display interface corresponding to the panel button according to the signal flag bit and the key string.
- the display module 400 After the display module 400 receives the key string sent by the system layer through the application layer, the pre-stored signal flag is obtained from the configuration table, and the screen is displayed on the screen of the television according to the signal flag and the received key string.
- the display interface corresponding to the panel button is displayed.
- the system layer of the television compares the obtained signal button of the panel button with the pre-stored signal flag of each panel button.
- the obtained signal flag is 7, corresponding to the signal flag of the pre-stored 7key panel button
- the user can call the corresponding display interface of the 7key panel button to perform corresponding operations.
- the user can adjust the volume, adjust the channel, and adjust the button through the home, back, source, OK, left button, and right button on the 7key panel button.
- the operation of the source and the like can also trigger the long press and short press of the button.
- the signal flag of the panel button is acquired, and when the button of the panel button is pressed, the button string of the pressed button is acquired. Then, according to the key string and the signal flag, the display interface corresponding to the panel button is displayed.
- the terminal realizes the compatibility of the multi-panel buttons, improves the convenience and flexibility of the terminal for multi-panel button control, and reduces the development workload.
- the invention solves the problem that a panel button type corresponds to a set of virtual button software, that is, the problem that the hardware and the software can only be one-to-one, and the workload of development and release is reduced. Especially for the same model, different series of models need to use different panel buttons, users can automatically adapt different types of panel buttons on the TV. At the same time, the embodiment also facilitates subsequent expansion of panel keys such as 8key and 9key.
- the display module 400 is further configured to determine, by using the signal flag.
- the panel button is a 3-key panel button
- the first display interface corresponding to the 3-key panel button is created according to the button string, and the first display interface is displayed according to a custom logic
- the second display interface corresponding to the 5-key panel button is created according to the button string, and the second display interface is performed according to a customized logic. display;
- a third display interface corresponding to the 7-key panel button is created according to the button string, and the third display interface is performed according to a customized logic. display.
- the display module 400 displays the display interface corresponding to the panel button according to the signal flag and the key string by the application layer. Specifically, when the user accesses the panel button on the television, the display module 400 passes the application layer. According to the obtained signal button position of the panel button, it is determined that the accessed panel button is a 3key panel button, which means that the 3key panel button is instantiated, and the display module 400 creates a corresponding 3key panel button according to the received button string through the application layer. A display interface displays the first display interface corresponding to the 3key panel button on the screen of the television according to the customized logic.
- the display module 400 determines, according to the obtained signal panel of the panel button, that the accessed panel button is a 5key panel button, indicating that the 5key panel button is to be instantiated, and the display module 400 is displayed.
- the second display interface corresponding to the 5key panel button is created by the application layer according to the received key string, and the second display interface corresponding to the 5key panel button is displayed on the screen of the television according to the customized logic.
- the display module 400 determines, according to the obtained signal button of the panel button obtained by the application layer, that the accessed panel button is a 7key panel button, thereby indicating that the 7key panel button is to be instantiated, and the display module 400 is displayed.
- the third display interface corresponding to the 7key panel button is created by the application layer according to the received key string, and the third display interface corresponding to the 7key panel button is displayed on the screen of the television according to the customized logic.
- the television layer can determine the accessed panel button according to the signal flag position by the application layer, so as to display the first display interface corresponding to the 3key panel button, the second display interface corresponding to the 5key panel button, or the corresponding 7key panel button.
- the third display interface improves the convenience and flexibility of the TV to control the multi-panel buttons.
- the multi-panel button control device further includes :
- the sending module 500 is configured to: when the application layer receives the specified instruction, convert the specified instruction into a button value by using the application layer, and send the button value to the system layer;
- the executing module 600 is configured to write the received key value to the virtual node by using the system layer, and perform a corresponding operation according to the virtual node.
- the television when the television performs the operations such as shutdown, page refresh, etc., it needs to be executed by the system.
- the application layer receives the shutdown, page refresh, and the like.
- the instruction when the instruction is specified, the specified instruction needs to be converted by the sending module 500 into a key value and sent to the system layer.
- the execution module 600 writes the received key value to the virtual node through the system layer, and performs corresponding operations such as shutdown or page refresh. Thereby improving the reliability of the use of the panel keys.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- Software Systems (AREA)
- User Interface Of Digital Computer (AREA)
- Input From Keyboards Or The Like (AREA)
Abstract
本发明公开了一种多面板按键控制方法,包括:侦测是否存在面板按键接入;若存在面板按键接入,则获取所述面板按键的信号标志位,并判断所述面板按键是否存在按键被按下;当所述面板按键存在按键被按下时,获取被按下的所述按键的按键字符串;根据所述信号标志位及所述按键字符串,显示所述面板按键对应的显示界面。本发明还公开了一种多面板按键控制装置。本发明终端实现了对多面板按键的兼容,提高了终端对多面板按键控制的便捷性及灵活性,减少了开发的工作量。
Description
技术领域
本发明涉及终端控制技术领域,尤其涉及一种多面板按键控制方法及装置。
背景技术
目前,有些终端可能会配置有面板按键,该终端以电视机为例,市场上的电视机一般都配有面板按键,以避免用户在无遥控器的情况下,无法对电视进行操控。然而,面板按键因定制在电视机上,要考虑电视机大屏小屏等各种情况,面板按键所供操作的按键数不多。为了扩展面板按键的使用功能,使得通过面板按键仅有的几个键来实现更多的扩展功能,可将面板按键通过构建虚拟遥控界面以实现模拟其它按键的操作。而面板按键在电视机众多的机型中,不同机型上面板按键的按键数不同,在进行开发时,需要一种面板按键类型对应一套按键软件,增加了开发的工作量。例如,3key面板按键、5key面板按键、7key面板按键等,这三种面板按键都需要有对应的虚拟显示界面,因此需要开发三种不同的按键软件。并且,当需要将5key面板按键切换至接入7key面板按键时,需要同时对软件进行更新,操作起来不够便捷。
发明内容
本发明的主要目的在于提供一种多面板按键控制方法及装置,旨在提高终端对多面板按键控制的便捷性及灵活性,减少开发的工作量。
为实现上述目的,本发明提供了一种多面板按键控制方法,所述多面板按键控制方法应用于终端,所述多面板按键控制方法包括:
侦测是否存在面板按键接入;
若存在面板按键接入,则获取所述面板按键的信号类型,根据信号类型与预设信号标志位的映射关系,获取与所述信号类型对应的信号标志位,并判断所述面板按键是否存在按键被按下;
当所述面板按键存在按键被按下时,获取被按下的所述按键的电压值,判断所述电压值是否大于预设电压阈值;
当所述电压值大于预设电压阈值时,获取所述电压值对应按键被按下时的按键字符串;
根据所述信号标志位及所述按键字符串,显示所述面板按键对应的显示界面。
可选地,所述多面板按键包括3键面板按键、5键面板按键及7键面板按键,所述根据所述信号标志位及所述按键字符串,显示所述面板按键对应的显示界面包括:
当通过所述信号标志位确定所述面板按键为3键面板按键时,根据所述按键字符串创建3键面板按键对应的第一显示界面,根据自定义的逻辑对所述第一显示界面进行显示;
当通过所述信号标志位确定所述面板按键为5键面板按键时,根据所述按键字符串创建5键面板按键对应的第二显示界面,根据自定义的逻辑对所述第二显示界面进行显示;
当通过所述信号标志位确定所述面板按键为7键面板按键时,根据所述按键字符串创建7键面板按键对应的第三显示界面,根据自定义的逻辑对所述第三显示界面进行显示。
可选地,所述终端包括系统层和应用层,所述根据所述信号标志位及所述按键字符串,显示所述面板按键对应的显示界面之后包括:
当所述应用层接收到指定指令时,所述应用层将所述指定指令转换为按键值,将所述按键值发送至所述系统层;
所述系统层将接收到的所述按键值写入虚拟节点,根据所述虚拟节点执行相应的操作。
此外,为实现上述目的,本发明还提供了一种多面板按键控制方法,所述多面板按键控制方法应用于终端,所述多面板按键控制方法包括
侦测是否存在面板按键接入;
若存在面板按键接入,则获取所述面板按键的信号标志位,并判断所述面板按键是否存在按键被按下;
当所述面板按键存在按键被按下时,获取被按下的所述按键的按键字符串;
根据所述信号标志位及所述按键字符串,显示所述面板按键对应的显示界面。
可选地,所述获取所述面板按键的信号标志位包括:
获取所述面板按键的信号类型,根据信号类型与预设信号标志位的映射关系,获取与所述信号类型对应的信号标志位。
可选地,所述获取被按下的所述按键的按键字符串包括:
获取被按下的所述按键的电压值,判断所述电压值是否大于预设电压阈值;
当所述电压值大于预设电压阈值时,获取所述电压值对应按键被按下时的按键字符串。
可选地,所述多面板按键包括3键面板按键、5键面板按键及7键面板按键,所述应用层根据所述信号标志位及所述按键字符串,显示所述面板按键对应的显示界面包括:
当通过所述信号标志位确定所述面板按键为3键面板按键时,根据所述按键字符串创建3键面板按键对应的第一显示界面,根据自定义的逻辑对所述第一显示界面进行显示;
当通过所述信号标志位确定所述面板按键为5键面板按键时,根据所述按键字符串创建5键面板按键对应的第二显示界面,根据自定义的逻辑对所述第二显示界面进行显示;
当通过所述信号标志位确定所述面板按键为7键面板按键时,根据所述按键字符串创建7键面板按键对应的第三显示界面,根据自定义的逻辑对所述第三显示界面进行显示。
可选地,所述终端包括系统层和应用层,所述应用层根据所述信号标志位及所述按键字符串,显示所述面板按键对应的显示界面之后包括:
当所述应用层接收到指定指令时,所述应用层将所述指定指令转换为按键值,将所述按键值发送至所述系统层;
所述系统层将接收到的所述按键值写入虚拟节点,根据所述虚拟节点执行相应的操作。
此外,为实现上述目的,本发明还提供了一种多面板按键控制装置,所述多面板按键控制装置应用于终端,所述多面板按键控制装置包括:
侦测模块,用于侦测是否存在面板按键接入;
第一获取模块,用于若存在面板按键接入,则获取所述面板按键的信号标志位,并判断所述面板按键是否存在按键被按下;
第二获取模块,用于当所述面板按键存在按键被按下时,获取被按下的所述按键的按键字符串;
显示模块,用于根据所述信号标志位及所述按键字符串,显示所述面板按键对应的显示界面。
可选地,所述第一获取模块还用于,获取所述面板按键的信号类型,根据信号类型与预设信号标志位的映射关系,获取与所述信号类型对应的信号标志位。
可选地,所述第二获取模块还用于,获取被按下的所述按键的电压值,判断所述电压值是否大于预设电压阈值;当所述电压值大于预设电压阈值时,获取所述电压值对应按键被按下时的按键字符串。
可选地,所述多面板按键包括3键面板按键、5键面板按键及7键面板按键,所述显示模块还用于,当通过所述信号标志位确定所述面板按键为3键面板按键时,根据所述按键字符串创建3键面板按键对应的第一显示界面,根据自定义的逻辑对所述第一显示界面进行显示;
当通过所述信号标志位确定所述面板按键为5键面板按键时,根据所述按键字符串创建5键面板按键对应的第二显示界面,根据自定义的逻辑对所述第二显示界面进行显示;
当通过所述信号标志位确定所述面板按键为7键面板按键时,根据所述按键字符串创建7键面板按键对应的第三显示界面,根据自定义的逻辑对所述第三显示界面进行显示。
可选地,所述终端包括系统层和应用层,所述多面板按键控制装置还包括:
发送模块,用于当所述应用层接收到指定指令时,通过所述应用层将所述指定指令转换为按键值,将所述按键值发送至所述系统层;
执行模块,用于通过所述系统层将接收到的所述按键值写入虚拟节点,根据所述虚拟节点执行相应的操作。
本发明实施例提供的多面板控制方法及装置,通过侦测到存在面板按键接入时,获取面板按键的信号标志位,并当面板按键存在按键被按下时,获取被按下的该按键的按键字符串。然后根据按键字符串及信号标志位显示面板按键对应的显示界面。使得终端实现了对多面板按键的兼容,提高了终端对多面板按键控制的便捷性及灵活性,减少了开发的工作量。
附图说明
图1为本发明多面板按键控制方法一实施例的流程示意图;
图2为本发明多面板按键控制方法另一实施例的流程示意图;
图3为本发明多面板按键控制装置一实施例的功能模块示意图;
图4为本发明多面板按键控制装置另一实施例的功能模块示意图。
本发明目的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
具体实施方式
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
如图1所示,示出了本发明一种多面板按键控制方法第一实施例。该实施例的多面板按键控制方法包括:
步骤S10、侦测是否存在面板按键接入;
本实施例中,多面板按键控制方法由应用于终端,终端的类型可根据实际需要进行设置,该终端为适配多面板按键的设备,该多面板按键可包括3键面板按键(即3key面板按键)、5键面板按键(即5key面板按键)及7键面板按键(即7key面板按键)等,以下将以终端为电视机为例进行详细说明。
电视机实时或间隔预设时间侦测是否存在面板按键接入,具体地,该电视机包括系统层和应用层,在电视机开机时,应用层创建MenuHelpRecevice广播实现onRecevie方法对系统广播进行监听,此时,应用层还需要在AndroidManifest注册按键监听广播,以便对指定的广播进行监听。
可选地,电视机通过系统层实时侦测是否存在面板按键接入,以便当存在面板按键接入时,将面板按键接入的相关信息发送至应用层。
步骤S20、若存在面板按键接入,则获取所述面板按键的信号标志位,并判断所述面板按键是否存在按键被按下;
当存在面板按键接入时,电视机可通过系统层来获取该面板按键的信号标志位存储至预置的配置表中,方便后续从该配置表中获取该信号标志位显示面板按键对应的显示界面。
为了提高获取面板按键的信号标志位的可靠性,可预先设置信号类型与预设信号标志位之间的映射关系,进一步地,上述步骤S20包括:获取所述面板按键的信号类型,根据信号类型与预设信号标志位的映射关系,获取与所述信号类型对应的信号标志位。
例如,面板按键的信号类型可定义为:
Keyboard:3表示接入的面板按键为3键面板按键;
Keyboard:5表示接入的面板按键为5键面板按键;
Keyboard:7表示接入的面板按键为7键面板按键。
电视机首先通过系统层根据面板按键的信号类型来确定信号标志位,然后判断该面板按键是否存在按键被按下。例如,得到的面板按键的信号类型为Keyboard:3,则对应的信号标志位为3,说明接入的面板按键为3键面板按键。
步骤S30、当所述面板按键存在按键被按下时,获取被按下的所述按键的按键字符串;
当面板按键存在按键被按下时,为了减少误操作,可在根据按键被按下时所产生的电压值来确定按键确实被按下后,获取按键的按键字符串。该按键字符串可表示按键被按下的指令信息,每个按键被按下所产生的字符串均不一样。
进一步地,上述步骤S30包括:获取被按下的所述按键的电压值,判断所述电压值是否大于预设电压阈值;当所述电压值大于预设电压阈值时,获取所述电压值对应按键被按下时的按键字符串。
具体地,由于用户手握面板按键,因此为了防止用户手指轻微触碰面板按键上的按键,而产生误操作,当面板按键存在按键被按下时,首先获取并判断被按下的按键的电压值是否大于预设电压阈值,若电压值大于预设电压阈值,则说明该按键被按下,此时电视机通过系统层获取按键被按下时的按键字符串,并通过广播将该按键字符串发送至应用层。若电压值小于或等于预设电压阈值,则说明该按键没有被按下,此时系统层不执行获取并发送按键字符串至应用层的相关操作。
需要说明的是,该预设电压阈值可根据具体情况而灵活设置,该预设电压值还可以通过面板按键调取指定的设置界面,对预设电压阈值的具体取值进行相应的设置,从而方便了不同人群的使用。例如,对于小孩或老人的使用人群,由于他们的按压按键的力气较小,因此可以将预设电压阈值调节为较小值;对于年轻人的使用人群,由于他们的按压按键的力气较大,因此可以将预设电压阈值调节为较大值。
步骤S40、根据所述信号标志位及所述按键字符串,显示所述面板按键对应的显示界面。
当电视机的应用层接收到系统层发送过来的按键字符串后,从上述配置表中获取预先存储的信号标志位,根据该信号标志位及接收到的按键字符串,在电视机的屏幕上显示该面板按键对应的显示界面。
以下进行举例说明,当用户在电视机上插入并操作面板按键时,电视机的系统层根据获取得到的面板按键的信号标志位与预存的各个面板按键的信号标志位进行比较。当确定得到的信号标志位为7,与预存的7key面板按键的信号标志位对应,则说明要实例化7key面板按键,在电视机的屏幕上显示7key面板按键对应的显示界面。此时用户可以调用7key面板按键对应的显示界面进行相应的操作,例如,用户可通过7key面板按键上面的home、back、source、OK、左键、右键等按键,进行调整音量、调整频道、调整信源等操作,还可以触发按键的长按、短按等功能。
本发明实施例通过侦测到存在面板按键接入时,获取面板按键的信号标志位,并当面板按键存在按键被按下时,获取被按下的按键的按键字符串。然后根据按键字符串及信号标志位显示面板按键对应的显示界面。使得终端实现了对多面板按键的兼容,提高了终端对多面板按键控制的便捷性及灵活性,减少了开发的工作量。解决了一种面板按键类型对应一套虚拟按键软件的问题,即硬件与软件只能一对一适配的问题,减少开发及发布的工作量。尤其对同一机型,不同系列机型需要用到不同的面板按键的情况,用户可在电视机上可自动适配不同类型的面板按键。同时,本实施例还便于后续扩展8key、9key等面板按键。
进一步地,基于上述多面板按键控制方法第一实施例,提出了本发明多面板按键控制方法第二实施例,该实施例中上述步骤S40包括:当通过所述信号标志位确定所述面板按键为3键面板按键时,根据所述按键字符串创建3键面板按键对应的第一显示界面,根据自定义的逻辑对所述第一显示界面进行显示;
当通过所述信号标志位确定所述面板按键为5键面板按键时,根据所述按键字符串创建5键面板按键对应的第二显示界面,根据自定义的逻辑对所述第二显示界面进行显示;
当通过所述信号标志位确定所述面板按键为7键面板按键时,根据所述按键字符串创建7键面板按键对应的第三显示界面,根据自定义的逻辑对所述第三显示界面进行显示。
本实施例中,电视机的应用层根据信号标志位及按键字符串显示面板按键对应的显示界面的过程中,具体地,当用户在电视机上接入面板按键时,电视机的应用层根据获取得到的面板按键的信号标志位确定接入的面板按键为3key面板按键,则说明要实例化3key面板按键,应用层根据接收到的按键字符串创建3key面板按键对应的第一显示界面,并根据自定义的逻辑在电视机的屏幕上显示3key面板按键对应的第一显示界面。
当用户在电视机上接入面板按键时,电视机的应用层根据获取得到的面板按键的信号标志位确定接入的面板按键为5key面板按键,则说明要实例化5key面板按键,应用层根据接收到的按键字符串创建5key面板按键对应的第二显示界面,并根据自定义的逻辑在电视机的屏幕上显示5key面板按键对应的第二显示界面。
当用户在电视机上接入面板按键时,电视机的应用层根据获取得到的面板按键的信号标志位确定接入的面板按键为7key面板按键,则说明要实例化7key面板按键,应用层根据接收到的按键字符串创建7key面板按键对应的第三显示界面,并根据自定义的逻辑在电视机的屏幕上显示7key面板按键对应的第三显示界面。
本实施例电视机可通过应用层根据信号标志位确定接入的面板按键,以便显示3key面板按键对应的第一显示界面、显示5key面板按键对应的第二显示界面、或显示7key面板按键对应的第三显示界面,提高了电视机对多面板按键进行控制的便捷性及灵活性。
进一步地,如图2所示,基于上述多面板按键控制方法第一或第二实施例,提出了本发明多面板按键控制方法第三实施例,该实施例中上述步骤S40之后包括:
当所述应用层接收到指定指令时,所述应用层将所述指定指令转换为按键值,将所述按键值发送至所述系统层;所述系统层将接收到的所述按键值写入虚拟节点,根据所述虚拟节点执行相应的操作。
本实施例中,由于当电视机执行关机、页面刷新等操作时,需要由系统来执行,因此当用户通过面板按键按下关机或页面刷新等按键时,应用层在接收到关机、页面刷新等指定指令时,需要将该指定指令转换为按键值并发送至系统层。系统层将接收到的按键值写入虚拟节点,并执行关机或页面刷新等相应的操作。从而提高了面板按键使用的可靠性。
对应地,如图3所示,提出本发明一种多面板按键控制装置第一实施例。该实施例的多面板按键控制装置包括:
侦测模块100,用于侦测是否存在面板按键接入;
本实施例中,多面板按键控制装置由应用于终端,终端的类型可根据实际需要进行设置,该终端为适配多面板按键的设备,该多面板按键可包括3键面板按键(即3key面板按键)、5键面板按键(即5key面板按键)及7键面板按键(即7key面板按键)等,以下将以终端为电视机为例进行详细说明。
电视机实时或间隔预设时间侦测是否存在面板按键接入,具体地,该电视机包括系统层和应用层,在电视机开机时,应用层创建MenuHelpRecevice广播实现onRecevie方法对系统广播进行监听,此时,应用层还需要在AndroidManifest注册按键监听广播,以便对指定的广播进行监听。
可选地,侦测模块100通过系统层实时侦测是否存在面板按键接入,以便当存在面板按键接入时,将面板按键接入的相关信息发送至应用层。
第一获取模块200,用于若存在面板按键接入,则获取所述面板按键的信号标志位,并判断所述面板按键是否存在按键被按下;
当存在面板按键接入时,第一获取模块200通过系统层来获取该面板按键的信号标志位存储至预置的配置表中,方便后续从该配置表中获取该信号标志位显示面板按键对应的显示界面。
为了提高获取面板按键的信号标志位的可靠性,可预先设置信号类型与预设信号标志位之间的映射关系,进一步地,上述第一获取模块200还用于,获取所述面板按键的信号类型,根据信号类型与预设信号标志位的映射关系,获取与所述信号类型对应的信号标志位。
例如,面板按键的信号类型可定义为:
Keyboard:3表示接入的面板按键为3键面板按键;
Keyboard:5表示接入的面板按键为5键面板按键;
Keyboard:7表示接入的面板按键为7键面板按键。
电视机首先通过系统层根据面板按键的信号类型来确定信号标志位,然后判断该面板按键是否存在按键被按下。例如,得到的面板按键的信号类型为Keyboard:3,则对应的信号标志位为3,说明接入的面板按键为3键面板按键。
第二获取模块300,用于当所述面板按键存在按键被按下时,获取被按下的所述按键的按键字符串;
当面板按键存在按键被按下时,为了减少误操作,第二获取模块300可对按键被按下时所产生的电压值来确定按键确实被按下后,获取按键的按键字符串。该按键字符串可表示按键被按下的指令信息,每个按键被按下所产生的字符串均不一样。
进一步地,上述第二获取模块300还用于,获取被按下的所述按键的电压值,判断所述电压值是否大于预设电压阈值;当所述电压值大于预设电压阈值时,获取所述电压值对应按键被按下时的按键字符串。
具体地,由于用户手握面板按键,因此为了防止用户手指轻微触碰面板按键上的按键,而产生误操作,当面板按键存在按键被按下时,首先获取并判断被按下的按键的电压值是否大于预设电压阈值,若电压值大于预设电压阈值,则说明该按键被按下,此时电视机通过系统层获取按键被按下时的按键字符串,并通过广播将该按键字符串发送至应用层。若电压值小于或等于预设电压阈值,则说明该按键没有被按下,此时系统层不执行获取并发送按键字符串至应用层的相关操作。
需要说明的是,该预设电压阈值可根据具体情况而灵活设置,该预设电压值还可以通过面板按键调取指定的设置界面,对预设电压阈值的具体取值进行相应的设置,从而方便了不同人群的使用。例如,对于小孩或老人的使用人群,由于他们的按压按键的力气较小,因此可以将预设电压阈值调节为较小值;对于年轻人的使用人群,由于他们的按压按键的力气较大,因此可以将预设电压阈值调节为较大值。
显示模块400,用于根据所述信号标志位及所述按键字符串,显示所述面板按键对应的显示界面。
当显示模块400通过应用层接收到系统层发送过来的按键字符串后,从上述配置表中获取预先存储的信号标志位,根据该信号标志位及接收到的按键字符串,在电视机的屏幕上显示该面板按键对应的显示界面。
以下进行举例说明,当用户在电视机上插入并操作面板按键时,电视机的系统层根据获取得到的面板按键的信号标志位与预存的各个面板按键的信号标志位进行比较。当确定得到的信号标志位为7,与预存的7key面板按键的信号标志位对应,则说明要实例化7key面板按键,在电视机的屏幕上显示7key面板按键对应的显示界面。此时用户可以调用7key面板按键对应的显示界面进行相应的操作,例如,用户可通过7key面板按键上面的home、back、source、OK、左键、右键等按键,进行调整音量、调整频道、调整信源等操作,还可以触发按键的长按、短按等功能。
本发明实施例通过侦测到存在面板按键接入时,获取面板按键的信号标志位,并当面板按键存在按键被按下时,获取被按下的按键的按键字符串。然后根据按键字符串及信号标志位显示面板按键对应的显示界面。使得终端实现了对多面板按键的兼容,提高了终端对多面板按键控制的便捷性及灵活性,减少了开发的工作量。解决了一种面板按键类型对应一套虚拟按键软件的问题,即硬件与软件只能一对一适配的问题,减少开发及发布的工作量。尤其对同一机型,不同系列机型需要用到不同的面板按键的情况,用户可在电视机上可自动适配不同类型的面板按键。同时,本实施例还便于后续扩展8key、9key等面板按键。
进一步地,基于上述多面板按键控制装置第一实施例,提出了本发明多面板按键控制装置第二实施例,该实施例中上述显示模块400还用于,当通过所述信号标志位确定所述面板按键为3键面板按键时,根据所述按键字符串创建3键面板按键对应的第一显示界面,根据自定义的逻辑对所述第一显示界面进行显示;
当通过所述信号标志位确定所述面板按键为5键面板按键时,根据所述按键字符串创建5键面板按键对应的第二显示界面,根据自定义的逻辑对所述第二显示界面进行显示;
当通过所述信号标志位确定所述面板按键为7键面板按键时,根据所述按键字符串创建7键面板按键对应的第三显示界面,根据自定义的逻辑对所述第三显示界面进行显示。
本实施例中,显示模块400通过应用层根据信号标志位及按键字符串显示面板按键对应的显示界面的过程中,具体地,当用户在电视机上接入面板按键时,显示模块400通过应用层根据获取得到的面板按键的信号标志位确定接入的面板按键为3key面板按键,则说明要实例化3key面板按键,显示模块400通过应用层根据接收到的按键字符串创建3key面板按键对应的第一显示界面,并根据自定义的逻辑在电视机的屏幕上显示3key面板按键对应的第一显示界面。
当用户在电视机上接入面板按键时,显示模块400通过应用层根据获取得到的面板按键的信号标志位确定接入的面板按键为5key面板按键,则说明要实例化5key面板按键,显示模块400通过应用层根据接收到的按键字符串创建5key面板按键对应的第二显示界面,并根据自定义的逻辑在电视机的屏幕上显示5key面板按键对应的第二显示界面。
当用户在电视机上接入面板按键时,显示模块400通过应用层根据获取得到的面板按键的信号标志位确定接入的面板按键为7key面板按键,则说明要实例化7key面板按键,显示模块400通过应用层根据接收到的按键字符串创建7key面板按键对应的第三显示界面,并根据自定义的逻辑在电视机的屏幕上显示7key面板按键对应的第三显示界面。
本实施例电视机可通过应用层根据信号标志位确定接入的面板按键,以便显示3key面板按键对应的第一显示界面、显示5key面板按键对应的第二显示界面、或显示7key面板按键对应的第三显示界面,提高了电视机对多面板按键进行控制的便捷性及灵活性。
进一步地,如图4所示,基于上述多面板按键控制装置第一或第二实施例,提出了本发明多面板按键控制装置第三实施例,该实施例中上述多面板按键控制装置还包括:
发送模块500,用于当所述应用层接收到指定指令时,通过所述应用层将所述指定指令转换为按键值,将所述按键值发送至所述系统层;
执行模块600,用于通过所述系统层将接收到的所述按键值写入虚拟节点,根据所述虚拟节点执行相应的操作。
本实施例中,由于当电视机执行关机、页面刷新等操作时,需要由系统来执行,因此当用户通过面板按键按下关机或页面刷新等按键时,应用层在接收到关机、页面刷新等指定指令时,需要由发送模块500将该指定指令转换为按键值并发送至系统层。执行模块600通过系统层将接收到的按键值写入虚拟节点,并执行关机或页面刷新等相应的操作。从而提高了面板按键使用的可靠性。
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。
Claims (20)
- 一种多面板按键控制方法,其特征在于,所述多面板按键控制方法应用于终端,所述多面板按键控制方法包括以下步骤:侦测是否存在面板按键接入;若存在面板按键接入,则获取所述面板按键的信号类型,根据信号类型与预设信号标志位的映射关系,获取与所述信号类型对应的信号标志位,并判断所述面板按键是否存在按键被按下;当所述面板按键存在按键被按下时,获取被按下的所述按键的电压值,判断所述电压值是否大于预设电压阈值;当所述电压值大于预设电压阈值时,获取所述电压值对应按键被按下时的按键字符串;根据所述信号标志位及所述按键字符串,显示所述面板按键对应的显示界面。
- 如权利要求1所述的多面板按键控制方法,其特征在于,所述多面板按键包括3键面板按键、5键面板按键及7键面板按键,所述根据所述信号标志位及所述按键字符串,显示所述面板按键对应的显示界面包括:当通过所述信号标志位确定所述面板按键为3键面板按键时,根据所述按键字符串创建3键面板按键对应的第一显示界面,根据自定义的逻辑对所述第一显示界面进行显示;当通过所述信号标志位确定所述面板按键为5键面板按键时,根据所述按键字符串创建5键面板按键对应的第二显示界面,根据自定义的逻辑对所述第二显示界面进行显示;当通过所述信号标志位确定所述面板按键为7键面板按键时,根据所述按键字符串创建7键面板按键对应的第三显示界面,根据自定义的逻辑对所述第三显示界面进行显示。
- 如权利要求1所述的多面板按键控制方法,其特征在于,所述终端包括系统层和应用层,所述根据所述信号标志位及所述按键字符串,显示所述面板按键对应的显示界面之后包括:当所述应用层接收到指定指令时,所述应用层将所述指定指令转换为按键值,将所述按键值发送至所述系统层;所述系统层将接收到的所述按键值写入虚拟节点,根据所述虚拟节点执行相应的操作。
- 如权利要求2所述的多面板按键控制方法,其特征在于,所述终端包括系统层和应用层,所述根据所述信号标志位及所述按键字符串,显示所述面板按键对应的显示界面之后包括:当所述应用层接收到指定指令时,所述应用层将所述指定指令转换为按键值,将所述按键值发送至所述系统层;所述系统层将接收到的所述按键值写入虚拟节点,根据所述虚拟节点执行相应的操作。
- 一种多面板按键控制方法,其特征在于,所述多面板按键控制方法应用于终端,所述多面板按键控制方法包括以下步骤:侦测是否存在面板按键接入;若存在面板按键接入,则获取所述面板按键的信号标志位,并判断所述面板按键是否存在按键被按下;当所述面板按键存在按键被按下时,获取被按下的所述按键的按键字符串;根据所述信号标志位及所述按键字符串,显示所述面板按键对应的显示界面。
- 如权利要求5所述的多面板按键控制方法,其特征在于,所述获取所述面板按键的信号标志位包括:获取所述面板按键的信号类型,根据信号类型与预设信号标志位的映射关系,获取与所述信号类型对应的信号标志位。
- 如权利要求5所述的多面板按键控制方法,其特征在于,所述获取被按下的所述按键的按键字符串包括:获取被按下的所述按键的电压值,判断所述电压值是否大于预设电压阈值;当所述电压值大于预设电压阈值时,获取所述电压值对应按键被按下时的按键字符串。
- 如权利要求5所述的多面板按键控制方法,其特征在于,所述多面板按键包括3键面板按键、5键面板按键及7键面板按键,所述根据所述信号标志位及所述按键字符串,显示所述面板按键对应的显示界面包括:当通过所述信号标志位确定所述面板按键为3键面板按键时,根据所述按键字符串创建3键面板按键对应的第一显示界面,根据自定义的逻辑对所述第一显示界面进行显示;当通过所述信号标志位确定所述面板按键为5键面板按键时,根据所述按键字符串创建5键面板按键对应的第二显示界面,根据自定义的逻辑对所述第二显示界面进行显示;当通过所述信号标志位确定所述面板按键为7键面板按键时,根据所述按键字符串创建7键面板按键对应的第三显示界面,根据自定义的逻辑对所述第三显示界面进行显示。
- 如权利要求5所述的多面板按键控制方法,其特征在于,所述终端包括系统层和应用层,所述根据所述信号标志位及所述按键字符串,显示所述面板按键对应的显示界面之后包括:当所述应用层接收到指定指令时,所述应用层将所述指定指令转换为按键值,将所述按键值发送至所述系统层;所述系统层将接收到的所述按键值写入虚拟节点,根据所述虚拟节点执行相应的操作。
- 如权利要求6所述的多面板按键控制方法,其特征在于,所述终端包括系统层和应用层,所述根据所述信号标志位及所述按键字符串,显示所述面板按键对应的显示界面之后包括:当所述应用层接收到指定指令时,所述应用层将所述指定指令转换为按键值,将所述按键值发送至所述系统层;所述系统层将接收到的所述按键值写入虚拟节点,根据所述虚拟节点执行相应的操作。
- 如权利要求7所述的多面板按键控制方法,其特征在于,所述终端包括系统层和应用层,所述根据所述信号标志位及所述按键字符串,显示所述面板按键对应的显示界面之后包括:当所述应用层接收到指定指令时,所述应用层将所述指定指令转换为按键值,将所述按键值发送至所述系统层;所述系统层将接收到的所述按键值写入虚拟节点,根据所述虚拟节点执行相应的操作。
- 如权利要求8所述的多面板按键控制方法,其特征在于,所述终端包括系统层和应用层,所述根据所述信号标志位及所述按键字符串,显示所述面板按键对应的显示界面之后包括:当所述应用层接收到指定指令时,所述应用层将所述指定指令转换为按键值,将所述按键值发送至所述系统层;所述系统层将接收到的所述按键值写入虚拟节点,根据所述虚拟节点执行相应的操作。
- 一种多面板按键控制装置,其特征在于,所述多面板按键控制装置应用于终端,所述多面板按键控制装置包括:侦测模块,用于侦测是否存在面板按键接入;第一获取模块,用于若存在面板按键接入,则获取所述面板按键的信号标志位,并判断所述面板按键是否存在按键被按下;第二获取模块,用于当所述面板按键存在按键被按下时,获取被按下的所述按键的按键字符串;显示模块,用于根据所述信号标志位及所述按键字符串,显示所述面板按键对应的显示界面。
- 如权利要求13所述的多面板按键控制装置,其特征在于,所述第一获取模块还用于,获取所述面板按键的信号类型,根据信号类型与预设信号标志位的映射关系,获取与所述信号类型对应的信号标志位。
- 如权利要求13所述的多面板按键控制装置,其特征在于,所述第二获取模块还用于,获取被按下的所述按键的电压值,判断所述电压值是否大于预设电压阈值;当所述电压值大于预设电压阈值时,获取所述电压值对应按键被按下时的按键字符串。
- 如权利要求13所述的多面板按键控制装置,其特征在于,所述多面板按键包括3键面板按键、5键面板按键及7键面板按键,所述显示模块还用于,当通过所述信号标志位确定所述面板按键为3键面板按键时,根据所述按键字符串创建3键面板按键对应的第一显示界面,根据自定义的逻辑对所述第一显示界面进行显示;当通过所述信号标志位确定所述面板按键为5键面板按键时,根据所述按键字符串创建5键面板按键对应的第二显示界面,根据自定义的逻辑对所述第二显示界面进行显示;当通过所述信号标志位确定所述面板按键为7键面板按键时,根据所述按键字符串创建7键面板按键对应的第三显示界面,根据自定义的逻辑对所述第三显示界面进行显示。
- 如权利要求13所述的多面板按键控制装置,其特征在于,所述终端包括系统层和应用层,所述多面板按键控制装置还包括:发送模块,用于当所述应用层接收到指定指令时,通过所述应用层将所述指定指令转换为按键值,将所述按键值发送至所述系统层;执行模块,用于通过所述系统层将接收到的所述按键值写入虚拟节点,根据所述虚拟节点执行相应的操作。
- 如权利要求14所述的多面板按键控制装置,其特征在于,所述终端包括系统层和应用层,所述多面板按键控制装置还包括:发送模块,用于当所述应用层接收到指定指令时,通过所述应用层将所述指定指令转换为按键值,将所述按键值发送至所述系统层;执行模块,用于通过所述系统层将接收到的所述按键值写入虚拟节点,根据所述虚拟节点执行相应的操作。
- 如权利要求15所述的多面板按键控制装置,其特征在于,所述终端包括系统层和应用层,所述多面板按键控制装置还包括:发送模块,用于当所述应用层接收到指定指令时,通过所述应用层将所述指定指令转换为按键值,将所述按键值发送至所述系统层;执行模块,用于通过所述系统层将接收到的所述按键值写入虚拟节点,根据所述虚拟节点执行相应的操作。
- 如权利要求16所述的多面板按键控制装置,其特征在于,所述终端包括系统层和应用层,所述多面板按键控制装置还包括:发送模块,用于当所述应用层接收到指定指令时,通过所述应用层将所述指定指令转换为按键值,将所述按键值发送至所述系统层;执行模块,用于通过所述系统层将接收到的所述按键值写入虚拟节点,根据所述虚拟节点执行相应的操作。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610801555.5 | 2016-09-05 | ||
| CN201610801555.5A CN106331875A (zh) | 2016-09-05 | 2016-09-05 | 多面板按键控制方法及装置 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2018040423A1 true WO2018040423A1 (zh) | 2018-03-08 |
Family
ID=57786279
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2016/112542 Ceased WO2018040423A1 (zh) | 2016-09-05 | 2016-12-28 | 多面板按键控制方法及装置 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN106331875A (zh) |
| WO (1) | WO2018040423A1 (zh) |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20080297656A1 (en) * | 2007-05-31 | 2008-12-04 | Kabushiki Kaisha Toshiba | Video Processing Device and Video Processing Method |
| JP2009080274A (ja) * | 2007-09-26 | 2009-04-16 | Kyocera Mita Corp | 表示制御装置 |
| CN101867377A (zh) * | 2010-06-17 | 2010-10-20 | 青岛海信宽带多媒体技术有限公司 | 面板按键信号处理方法及处理电路 |
| CN102547181A (zh) * | 2011-12-28 | 2012-07-04 | Tcl王牌电器(惠州)有限公司 | 利用面板按键模拟遥控器功能的方法以及终端 |
| CN103901791A (zh) * | 2014-04-02 | 2014-07-02 | 联想(北京)有限公司 | 一种响应按键触控操作的方法、装置及电子设备 |
| CN105573476A (zh) * | 2014-10-09 | 2016-05-11 | 新益先创科技股份有限公司 | 输入装置 |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2004075529A2 (en) * | 2003-02-14 | 2004-09-02 | Thomson Licensing S.A. | Apparatus in a tv receiver automatically detecting the type of keyboard attached thereto |
| CN102067069A (zh) * | 2008-06-16 | 2011-05-18 | 高通股份有限公司 | 移动电视和多媒体播放器键呈现 |
| CN101814280A (zh) * | 2009-12-01 | 2010-08-25 | 深圳市九洲电器有限公司 | 一种电子设备及其显示面板的驱动方法 |
| CN103677300A (zh) * | 2012-09-12 | 2014-03-26 | 美的集团股份有限公司 | 一种输入装置及输入方法 |
| CN203490943U (zh) * | 2013-05-22 | 2014-03-19 | 深圳裕达富电子有限公司 | 便捷式dvd按键板 |
| CN104283542B (zh) * | 2014-07-31 | 2017-09-26 | 华帝股份有限公司 | 一种基于压电效应的金属面板输入控制系统及其控制方法 |
-
2016
- 2016-09-05 CN CN201610801555.5A patent/CN106331875A/zh active Pending
- 2016-12-28 WO PCT/CN2016/112542 patent/WO2018040423A1/zh not_active Ceased
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20080297656A1 (en) * | 2007-05-31 | 2008-12-04 | Kabushiki Kaisha Toshiba | Video Processing Device and Video Processing Method |
| JP2009080274A (ja) * | 2007-09-26 | 2009-04-16 | Kyocera Mita Corp | 表示制御装置 |
| CN101867377A (zh) * | 2010-06-17 | 2010-10-20 | 青岛海信宽带多媒体技术有限公司 | 面板按键信号处理方法及处理电路 |
| CN102547181A (zh) * | 2011-12-28 | 2012-07-04 | Tcl王牌电器(惠州)有限公司 | 利用面板按键模拟遥控器功能的方法以及终端 |
| CN103901791A (zh) * | 2014-04-02 | 2014-07-02 | 联想(北京)有限公司 | 一种响应按键触控操作的方法、装置及电子设备 |
| CN105573476A (zh) * | 2014-10-09 | 2016-05-11 | 新益先创科技股份有限公司 | 输入装置 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106331875A (zh) | 2017-01-11 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2015109865A1 (zh) | 空调运行模式自定义控制方法及系统 | |
| WO2019051902A1 (zh) | 终端控制方法、空调器及计算机可读存储介质 | |
| WO2016201745A1 (zh) | 基于用户终端的就诊提示方法、用户终端和网络医院平台 | |
| WO2018113187A1 (zh) | 一种显示控制方法及显示装置 | |
| WO2018126888A1 (zh) | 电视功能的快捷启动设置方法及装置 | |
| WO2017201943A1 (zh) | 显示屏驱动方法及装置 | |
| WO2017121066A1 (zh) | 应用程序显示方法和系统 | |
| WO2014035113A1 (en) | Method of controlling touch function and an electronic device thereof | |
| WO2019085543A1 (zh) | 电视机系统及电视机控制方法 | |
| WO2017036208A1 (zh) | 显示界面中的信息提取方法及系统 | |
| WO2018006581A1 (zh) | 智能电视的播放方法及装置 | |
| WO2016101252A1 (zh) | 智能电视的频道信息显示方法及装置 | |
| WO2016111487A1 (en) | Display apparatus and display method | |
| WO2016068645A1 (en) | Display apparatus, system, and controlling method thereof | |
| WO2017084305A1 (zh) | 终端控制方法及系统 | |
| WO2017071223A1 (zh) | 电视应用的控制方法及装置 | |
| WO2017088428A1 (zh) | 基于声波的遥控控制方法及系统 | |
| WO2019091128A1 (zh) | 新接入信源的信号预览方法及电视机 | |
| WO2017024871A1 (zh) | 应用显示的方法及电视机 | |
| WO2019051901A1 (zh) | 终端控制方法、装置及计算机可读存储介质 | |
| WO2017088429A1 (zh) | 移动终端控制显示终端上触屏应用程序的方法及系统 | |
| WO2017016268A1 (zh) | 一种智能手表的调控方法及智能手表 | |
| WO2017177523A1 (zh) | 智能电视及其图标控制方法 | |
| WO2018045655A1 (zh) | 一种调整智能终端操作键位置的方法及系统 | |
| WO2018040417A1 (zh) | 电视机智能操作提示方法、装置及系统 |
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: 16914984 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 02.08.2019) |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 16914984 Country of ref document: EP Kind code of ref document: A1 |