WO2021023020A1 - 按键分发处理公共事件的方法、装置及机顶盒 - Google Patents

按键分发处理公共事件的方法、装置及机顶盒 Download PDF

Info

Publication number
WO2021023020A1
WO2021023020A1 PCT/CN2020/103848 CN2020103848W WO2021023020A1 WO 2021023020 A1 WO2021023020 A1 WO 2021023020A1 CN 2020103848 W CN2020103848 W CN 2020103848W WO 2021023020 A1 WO2021023020 A1 WO 2021023020A1
Authority
WO
WIPO (PCT)
Prior art keywords
window
key message
key
sub
main
Prior art date
Application number
PCT/CN2020/103848
Other languages
English (en)
French (fr)
Inventor
朱兴昌
Original Assignee
南京中兴新软件有限责任公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 南京中兴新软件有限责任公司 filed Critical 南京中兴新软件有限责任公司
Priority to EP20851082.6A priority Critical patent/EP4002860A4/en
Priority to US17/633,611 priority patent/US20220321952A1/en
Publication of WO2021023020A1 publication Critical patent/WO2021023020A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4438Window management, e.g. event handling following interaction with the user interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42203Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS] sound input device, e.g. microphone
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • H04N21/4316Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for displaying supplemental content in a region of the screen, e.g. an advertisement in a separate window
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4782Web browsing, e.g. WebTV
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/482End-user interface for program selection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration
    • H04N21/4858End-user interface for client configuration for modifying screen layout parameters, e.g. fonts, size of the windows
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present disclosure relates to the field of Internet TV technology.
  • IPTV Internet Protocol Television
  • interactive Internet TV Internet Protocol Television
  • B/S Brower/Server , Browser/server
  • any operator is no longer a single content CP (Content Provide, content provider), but multiple CPs provide video content at the same time, and each CP provides Your own EPG (Electrical Program Guide, electronic program guide), and jump to the respective EPG through the EPG page of the main CP to browse program information and video viewing services.
  • CP Content Provide, content provider
  • EPG Electronic Program Guide, electronic program guide
  • One aspect of the embodiments of the present disclosure provides a method for key distribution and processing of public events, including: creating a child window and loading a third-party page in the child window; displaying the child window on the current page and hiding the main window; and After the key message is reached, the key message is distributed to the main window and the sub-window; among them, the key message is used to make the main window and the sub-window make corresponding responses based on the type of the key message.
  • Another aspect of the embodiments of the present disclosure provides an apparatus for distributing and processing public events by pressing keys, including: a creation module configured to create a child window and load a third-party page in the child window; a display control module configured to transfer the child window Display on the current page and hide the main window; and, the key message processing module is configured to distribute the key message to the main window and sub-windows after receiving the key message; among them, the key message is used to make the main window and the sub-window based on the key The type of message responds accordingly.
  • an STB including: a memory, a processor, and a computer program stored in the memory and capable of running on the processor.
  • the computer program is executed by the processor, the above-mentioned key distribution and processing common events are realized At least one step of the method.
  • Another aspect of the embodiments of the present disclosure provides a computer storage medium on which a computer program is stored.
  • the computer program is executed by a processor, at least one step of the method for key distribution and processing of public events is realized.
  • Fig. 1 is a schematic diagram of key message control in the related art.
  • Fig. 2 is a schematic diagram of key message control provided by an embodiment of the present disclosure.
  • Fig. 3 is a flowchart of a method for key distribution and processing of public events provided by an embodiment of the present disclosure.
  • Fig. 4 is a flow chart of a method for the main window and the sub-window to make corresponding responses according to the key message type provided by the embodiment of the present disclosure.
  • FIG. 5 is a schematic diagram of a structure of an apparatus for key distribution and processing public events provided by an embodiment of the present disclosure.
  • Fig. 6 is a control flowchart of key distribution processing common events according to an embodiment of the present disclosure.
  • buttons are only sent to the most foreground window, and only the window displayed in the most foreground can receive key press messages (including virtual buttons), as shown in Figure 1, which are related technology buttons Schematic diagram of message control.
  • key press messages including virtual buttons
  • Figure 1 are related technology buttons Schematic diagram of message control.
  • the IPTV opens a third-party page, it jumps to the third-party page through the main page and refreshes the main page. Therefore, when STB displays the page of value-added services and third-party EPG at the front desk, only the third-party page receives the key-press messages at this time. Therefore, these key-press messages (including virtual keys) must be processed on these pages to support related functions.
  • embodiments of the present disclosure provide a method for key distribution to process public events.
  • FIG. 3 it is a flowchart of a method for key distribution and processing of public events provided by an embodiment of the present disclosure.
  • the method for key distribution and processing of public events may include steps S102 to S104.
  • step S102 a child window is created, and a third-party page is loaded in the child window.
  • step S103 the child window is displayed on the current page, and the main window is hidden.
  • the main window and the sub-window can be in the running open state at the same time, and the main window is only hidden in the background.
  • step S104 after receiving the key message, the key message is distributed to the main window and the sub-window.
  • the key message is used to make the main window and the sub-window respond correspondingly based on the type of the key message.
  • the method for key distribution and processing public events of the present disclosure can be applied to IPTV, and can also be applied to computers or other electronic devices.
  • the system can be set, and when a key message is received, the key message can be distributed to the sub-window of the current window and the hidden main window.
  • both the main window and the sub-window can receive key messages.
  • the "key message” mentioned here can be understood as a user pressing a key (including a virtual key) on the remote control, or other control messages such as voice and transmitted to an electronic device (such as an STB).
  • the main window and the sub-window receive the key message, they can respond accordingly according to the type of the key message.
  • the third-party page is obtained from the main page of the main window and a sub-window is created, so that the third-party page is displayed in the current sub-window and the main window is hidden.
  • the key message is distributed to the main window and the sub-window, and the main window and the sub-window make corresponding responses according to the type of the key message.
  • multi-window transmission of key messages is realized, so that the hidden main window can process corresponding key messages, which solves the problem that third-party value-added services must be adapted when new functions are launched, and greatly improves the online efficiency of new functions.
  • the method may further include step S101.
  • step S101 a third-party page is obtained from the main page of the main window of the browser.
  • the STB when applied to IPTV, the STB is turned on. After the STB login authentication is successful, the main page of the homepage template can be opened through the browser, and the third-party value-added service or EPG can be selected on the main page to obtain the third-party page.
  • FIG. 4 it is a flowchart of a method for the main window and the sub-window to respond correspondingly according to the type of the key message provided by the embodiment of the present disclosure.
  • the main window and the sub-window make corresponding responses according to the type of the key message, which may include steps S401 to S403.
  • step S401 it is determined whether the keypress message is a public keypress message; if yes, go to step S402; if not, go to step S403.
  • step S402 the main window performs an operation corresponding to the public key message.
  • step S403 the main window ignores the key message, and the sub-window performs the operation corresponding to the key message.
  • the main window can receive public key messages and perform corresponding operations.
  • the public key message may be: a voice message, a picture-in-picture switching control message, or a control message such as returning to the homepage.
  • the method may further include: if the key message is a public key message, closing the sub-window and the main window performs an operation corresponding to the public key message.
  • the key message is a public key message and the main window performs the corresponding operation of the public key message
  • the method may further include: when the child window is displayed on the current page and the main window is hidden, recording the status of the child window displayed on the current page as a third-party page status.
  • the main window can record the state of the current window as the third-party page, so that the main window can perform corresponding processing when receiving the key message. For example, when the main window receives a non-public key press message (such as a direction key control message, etc.), the main window first determines whether the current window is in the state of a third-party page, and if so, discards the key press message. At the same time, the sub-window performs the corresponding operation of the corresponding key message (such as direction control).
  • a non-public key press message such as a direction key control message, etc.
  • the embodiment of the present disclosure also provides an apparatus for key distribution and processing of public events, as shown in FIG. 5, which is a schematic structural diagram of the apparatus for key distribution and processing of public events provided by an embodiment of the present disclosure.
  • the device for key distribution and processing of public events may include: a creation module 501, a display control module 502, and a key message processing module 503.
  • the creation module 501 may be configured to create a child window and load a third-party page in the child window.
  • the creation module 501 may open a child window through Window.open on the main page, and display a third-party page through the child window.
  • the display control module 502 may be configured to display the sub-window on the current page and hide the main window. In this way, the main window and the sub-window can be in the running open state at the same time, and the main window is only hidden in the background.
  • the key message processing module 503 may be configured to distribute the key message to the main window and the sub-window after receiving the key message.
  • the key message can be used to make the main window and the sub-window respond correspondingly according to the type of the key message.
  • the method for key distribution and public event processing can be applied to IPTV, and can also be applied to computers or other electronic devices.
  • the system can be set.
  • the key message can be distributed to the child windows of the current window and the hidden main window.
  • both the main window and the sub-window can receive key messages.
  • the "key message” mentioned here can be understood as the user pressing a button (including a virtual button) on the remote control, or other control messages transmitted to an electronic device (such as an STB) such as voice.
  • an electronic device such as an STB
  • the main window and the sub-window receive the key message, they can respond accordingly according to the type of the key message.
  • a third-party page is obtained from the main page of the main window and a sub-window is created, so that the third-party page is displayed in the current sub-window and the main window is hidden.
  • the key message is distributed to the main window and the sub-window, and the main window and the sub-window make corresponding responses according to the type of the key message.
  • multi-window transmission of key messages is realized, so that the hidden main window can process corresponding key messages, which solves the problem that third-party value-added services must be adapted when new functions are launched, and greatly improves the online efficiency of new functions.
  • the device may further include an obtaining module 504.
  • the obtaining module 504 may be configured to obtain a third-party page from the main page of the main window of the browser.
  • the STB when applied to IPTV, the STB is turned on. After the STB login authentication is successful, the main page of the homepage template can be opened through the browser, and the third-party value-added service or EPG can be selected on the main page to obtain the third-party page.
  • the key message processing module 503 may be specifically configured to: determine whether the key message is a public key message; if so, the main window performs the operation corresponding to the public key message; if not, the main window ignores the key message, and the sub The window performs the operation corresponding to the key message.
  • the main window can receive public key messages and perform corresponding operations.
  • the public key message may be: a voice message, a picture-in-picture switching control message, or a control message such as returning to the homepage.
  • the key message processing module 503 may also be configured to: if the key message is a public key message, close the sub-window and the main window performs an operation corresponding to the public key message.
  • the key message is a public key message and the main window performs the corresponding operation of the public key message
  • the device may further include a setting module (not shown in FIG. 5).
  • the setting module may record the sub-window displayed on the current page The status of is the third-party page status.
  • the main window can record the state of the current window as the third-party page, so that the main window can perform corresponding processing when receiving the key message. For example, when the main window receives non-public key-press messages (such as arrow key control messages, etc.), the main window first determines whether the current window is in the state of a third-party page, and if so, discards the key-press message; at the same time, the child window executes the corresponding key-press message Operation (such as direction control).
  • non-public key-press messages such as arrow key control messages, etc.
  • the embodiments of the present disclosure also provide an STB, which may include: a memory, a processor, and a computer program stored in the memory and capable of running on the processor.
  • the computer program is executed by the processor to implement the keys provided in the embodiments of the present disclosure. Distribute at least one step of the method of handling public events.
  • the third-party page is obtained from the main page of the main window and a child window is created, so that the third-party page is displayed in the current child window and the main window is hidden.
  • the key message is distributed to the main window and the sub-window, and the main window and the sub-window make corresponding responses according to the type of the key message.
  • the multi-window sending of key messages is realized, so that the hidden main window can process the corresponding key messages, which solves the problem that third-party value-added services must be adapted when new functions are launched, and greatly improves the online efficiency of new functions. Thereby improving the overall performance of STB.
  • the embodiment of the present disclosure further provides a computer storage medium on which a computer program is stored.
  • a computer program is stored on which a computer program is stored.
  • the computer program is executed by a processor, at least one step of the method for key distribution and processing common events provided by the embodiment of the present disclosure can be realized.
  • the hidden main window can process the corresponding key messages, which solves the problem that third-party value-added services must be adapted when new functions are launched. Greatly improve the online efficiency of new functions.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Business, Economics & Management (AREA)
  • Marketing (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本公开提供一种按键分发处理公共事件的方法、装置及机顶盒。该方法包括:创建子窗口,并在子窗口加载第三方页面;将子窗口显示在当前页面,并隐藏主窗口;以及,在接收到按键消息后,将按键消息分发至主窗口和子窗口;其中,按键消息用于使主窗口和子窗口基于按键消息的类型做出相应响应。

Description

按键分发处理公共事件的方法、装置及机顶盒 技术领域
本公开涉及互联网电视技术领域。
背景技术
目前IPTV(Internet Protocol Television,网路协议电视,也称交互式互联网电视)业务已经具有很大的用户规模,国内基本上得到全面普及。随着业务的推广应用,类似游戏、教育、电子商城等各种增值业务得到快速发展,考虑到运维和业务快速上线的需要,大部分增值业务客户端都采用了B/S(Brower/Server,浏览器/服务器)模式。
同时,为了给用户提供更丰富的视频内容,任何一个运营商,都不再是单一的内容CP(Content Provide,内容提供商),而是同时由多个CP提供视频内容,每个CP都提供自己的EPG(Electrical Program Guide,电子节目指南),并通过主CP的EPG页面跳转到各自的EPG上浏览节目信息和视频观看服务。
随着上线的增值业务增加和多CP的不断引入,在新功能上线时遇到了很大的瓶颈,当STB(Set Top Box,机顶盒)和业务平台提供新的功能体验时,必须要求现网所有的客户端业务配合修改才能支持新功能,这样导致新功能上线非常困难。比如大视频3.0新提出的语音业务、悬浮PIP(Picture-in-Picture,画中画)、一键到首页等功能,必须客户端页面修改才能支持这些功能,导致功能很难全面上线。
发明内容
本公开实施例的一个方面提供一种按键分发处理公共事件的方法,包括:创建子窗口,并在子窗口加载第三方页面;将子窗口显示在当前页面,并隐藏主窗口;以及,在接收到按键消息后,将按键消息分发至主窗口和子窗口;其中,按键消息用于使主窗口和子窗口基 于按键消息的类型做出相应响应。
本公开实施例的另一方面提供一种按键分发处理公共事件的装置,包括:创建模块,被配置为创建子窗口,并在子窗口加载第三方页面;显示控制模块,被配置为将子窗口显示在当前页面,并隐藏主窗口;以及,按键消息处理模块,被配置为在接收到按键消息后,将按键消息分发至主窗口和子窗口;其中,按键消息用于使主窗口和子窗口基于按键消息的类型做出相应响应。
本公开实施例的再一方面提供一种STB,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,计算机程序被处理器执行时实现上述的按键分发处理公共事件的方法的至少一个步骤。
本公开实施例的又一方面提供一种计算机存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现上述的按键分发处理公共事件的方法的至少一个步骤。
附图说明
图1是相关技术的按键消息控制的示意图。
图2是本公开实施例提供的按键消息控制的示意图。
图3是本公开实施例提供的按键分发处理公共事件的方法的一种流程图。
图4是本公开实施例提供的主窗口和子窗口根据按键消息类型做出相应响应的方法的一种流程图。
图5是本公开实施例提供的按键分发处理公共事件的装置的一种结构示意图。
图6是根据本公开实施例的按键分发处理公共事件的控制流程图。
具体实施方式
为更进一步阐述本公开为达成预定目的所采取的技术手段及功效,以下结合附图及较佳实施例,对本公开进行详细说明如后。
无论是Linux还是Android操作系统,系统按键都是只发给最前台的窗口,只有显示在最前台的窗口才能收到按键消息(含虚拟按键),如图1所示,其为相关技术的按键消息控制示意图。在相关技术中,IPTV在打开第三方页面时,通过主页面跳转至第三方页面,并刷新掉主页面。因此,当STB最前台展示增值业务和第三方EPG的页面时,这时候只有第三方页面收到按键消息,因此,必须在这些页面处理这些按键消息(含虚拟按键)才能支持相关的功能。
为了解决通用公共按键消息的处理问题,本公开实施例提供一种按键分发处理公共事件的方法。如图3所示,其为本公开实施例提供的按键分发处理公共事件的方法的一种流程图,该按键分发处理公共事件的方法可包括步骤S102~步骤S104。
在步骤S102中,创建子窗口,并在子窗口加载第三方页面。
例如,可以在主页面通过Window.open(打开窗口)打开一个子窗口,并通过子窗口展示第三方页面。
在步骤S103中,将子窗口显示在当前页面,并隐藏主窗口。由此,可以使主窗口和子窗口同时处于运行打开状态,主窗口仅是隐藏于后台。
在步骤S104中,在接收到按键消息后,将按键消息分发至主窗口和子窗口。
在本公开的一些实施例中,按键消息用于使主窗口和子窗口基于按键消息的类型做出相应响应。
需要说明的是,本公开的按键分发处理公共事件的方法可以应用于IPTV,也可以应用于电脑或其他电子设备。根据本公开提供的实施例,可以对系统进行设置,当接收到按键消息时,可以将按键消息分发至当前窗口的子窗口和隐藏的主窗口。由此,可以使主窗口和子窗口均接收到按键消息。这里所述的“按键消息”可以理解为,用户按压遥控器上的按键(包括虚拟按键),或语音等其他传递至电子设备(如STB)上的控制消息。主窗口和子窗口接收到按键消息时,可以根据按键消息的类型做出相应的响应。
根据本公开实施例提供的按键分发处理公共事件的方法,通过 在主窗口的主页面获取第三方页面,并创建子窗口,使第三方页面展示在当前子窗口并隐藏主窗口。当接收到按键消息时,将按键消息分发至主窗口和子窗口,主窗口和子窗口根据按键消息类型做出相应响应。由此,实现了按键消息的多窗口发送,从而可以使隐藏的主窗口处理相应的按键消息,解决了新功能上线时第三方增值业务必须适配的问题,大大提升了新功能的上线效率。
在本公开的一些实施例中,如图3所示,在创建子窗口之前,该方法还可以包括步骤S101。
在步骤S101中,在浏览器的主窗口的主页面获取第三方页面。
例如,当应用于IPTV时,打开STB,STB登陆认证成功后,可以通过浏览器打开首页模板主页面,在主页面上可以选择第三方增值业务或EPG以获取第三方页面。
如图4所示,其为本公开实施例提供的主窗口和子窗口根据按键消息类型做出相应响应的方法的一种流程图。
根据本公开提供的实施例,主窗口和子窗口根据按键消息的类型做出相应响应,可包括步骤S401~步骤S403。
在步骤S401中,判断按键消息是否为公共按键消息;若是,转至步骤S402;若否,转至步骤S403。
在步骤S402中,主窗口执行公共按键消息对应的操作。
在步骤S403中,主窗口忽略按键消息,子窗口执行按键消息对应的操作。
由此,可以使主窗口接收公共按键消息并执行相应的操作。
在一些示例性实例中,公共按键消息可以为:语音消息、画中画切换控制消息,或者返回至首页等控制消息。
在本公开的一些实施例中,该方法还可以包括:若按键消息是公共按键消息,则关闭子窗口且主窗口执行公共按键消息对应的操作。
需要说明的是,当按键消息是公共按键消息时,主窗口进行公共按键消息相应的操作时,可能存在需要关闭子窗口的情况;例如,当公共按键消息为返回至首页、或语音控制搜索节目时,此时,需要关闭当前子窗口中的第三方页面,并切换至相应的窗口页面。
在本公开的一些实施例中,该方法还可以包括:在将子窗口显示在当前页面,并隐藏主窗口时,记录当前页面显示的子窗口的状态为第三方页面状态。
需要说明的是,当在子窗口展示第三方页面,并隐藏主窗口时,主窗口可以记录当前窗口为第三方页面状态,以便于主窗口在接收到按键消息时进行相应的处理。例如,当主窗口接收非公共按键消息(如方向键控制消息等)时,主窗口首先判断当前窗口是否为第三方页面状态,若是,则丢弃该按键消息。同时子窗口执行对应的按键消息相应的操作(如方向控制)。
本公开实施例还提供一种按键分发处理公共事件的装置,如图5所示,其为本公开实施例提供的按键分发处理公共事件的装置的一种结构示意图。该按键分发处理公共事件的装置可包括:创建模块501、显示控制模块502和按键消息处理模块503。
在本公开的一些实施例中,创建模块501可以被配置为创建子窗口,并在子窗口加载第三方页面。
例如,创建模块501可以在主页面通过Window.open打开一个子窗口,并通过子窗口展示第三方页面。
显示控制模块502可以被配置为将子窗口显示在当前页面,并隐藏主窗口。由此,可以使主窗口和子窗口同时处于运行打开状态,主窗口仅是隐藏于后台。
按键消息处理模块503可以被配置为在接收到按键消息后,将按键消息分发至主窗口和子窗口。
在本公开的一些实施例中,按键消息可用于使主窗口和子窗口根据按键消息的类型做出相应响应。
需要说明的是,本公开实施例提供的按键分发处理公共事件的方法可以应用于IPTV,也可以应用于电脑或其他电子设备。可以对系统进行设置,当接收到按键消息时,可以将按键消息分发至当前窗口的子窗口和隐藏的主窗口。由此,可以使主窗口和子窗口均接收到按键消息。这里所述的“按键消息”可以理解为,用户按压遥控器上的按键(包括虚拟按键),或语音等其他传递至电子设备(如STB) 上的控制消息。主窗口和子窗口接收到按键消息时,可以根据按键消息的类型做出相应的响应。
根据本公开实施例提供的按键分发处理公共事件的装置,通过在主窗口的主页面获取第三方页面,并创建子窗口,使第三方页面展示在当前子窗口并隐藏主窗口。当接收到按键消息时,将按键消息分发至主窗口和子窗口,主窗口和子窗口根据按键消息类型做出相应响应。由此,实现了按键消息的多窗口发送,从而可以使隐藏的主窗口处理相应的按键消息,解决了新功能上线时第三方增值业务必须适配的问题,大大提升了新功能的上线效率。
在本公开的一些实施例中,该装置还可以包括获取模块504。获取模块504可以被配置为在浏览器的主窗口的主页面获取第三方页面。
例如,当应用于IPTV时,打开STB,STB登陆认证成功后,可以通过浏览器打开首页模板主页面,在主页面上可以选择第三方增值业务或EPG以获取第三方页面。
根据本公开的一些实施例,按键消息处理模块503可具体被配置为:判断按键消息是否为公共按键消息;若是,主窗口执行公共按键消息对应的操作;若否,主窗口忽略按键消息,子窗口执行按键消息对应的操作。由此,可以使主窗口接收公共按键消息并执行相应的操作。
在本公开的一些实施例中,公共按键消息可以为:语音消息、画中画切换控制消息,或返回至首页等控制消息。
在本公开的一些实施例中,按键消息处理模块503还可以被配置为:若按键消息是公共按键消息,则关闭子窗口且主窗口执行公共按键消息对应的操作。
需要说明的是,当按键消息是公共按键消息时,主窗口进行公共按键消息相应的操作时,可能存在需要关闭子窗口的情况;例如,当公共按键消息为返回至首页、或语音控制搜索节目时,此时,需要关闭当前子窗口中的第三方页面,并切换至相应的窗口页面。
在本公开的一些实施例中,该装置还可以包括设置模块(图5 中未示出),在将子窗口显示在当前页面,并隐藏主窗口时,设置模块可记录当前页面显示的子窗口的状态为第三方页面状态。
需要说明的是,当在子窗口展示第三方页面,并隐藏主窗口时,主窗口可以记录当前窗口为第三方页面状态,以便于主窗口在接收到按键消息时进行相应的处理。例如,当主窗口接收非公共按键消息(如方向键控制消息等)时,主窗口首先判断当前窗口是否为第三方页面状态,若是,则丢弃该按键消息;同时子窗口执行对应的按键消息相应的操作(如方向控制)。
本公开实施例还提供一种STB,该STB可包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,计算机程序被处理器执行时实现本公开实施例提供的按键分发处理公共事件的方法的至少一个步骤。
根据本公开实施例提供的STB,通过在主窗口的主页面获取第三方页面,并创建子窗口,使第三方页面展示在当前子窗口并隐藏主窗口。当接收到按键消息时,将按键消息分发至主窗口和子窗口,主窗口和子窗口根据按键消息类型做出相应响应。由此,实现了按键消息的多窗口发送,从而可以使隐藏的主窗口处理相应的按键消息,解决了新功能上线时第三方增值业务必须适配的问题,大大提升了新功能的上线效率,从而提高了STB的整体性能。
本公开实施例还提供一种计算机存储介质,其上存储有计算机程序,计算机程序被处理器执行时可实现本公开实施例提供的按键分发处理公共事件的方法的至少一个步骤。
根据本公开实施例提供的计算机存储介质,通过采用多窗口发送按键消息的处理方法,可以使隐藏的主窗口处理相应的按键消息,解决了新功能上线时第三方增值业务必须适配的问题,大大提升了新功能的上线效率。
通过具体实施方式的说明,应当可对本公开为达成预定目的所采取的技术手段及功效得以更加深入且具体的了解,然而所附图示仅是提供参考与说明之用,并非用来对本公开加以限制。

Claims (10)

  1. 一种按键分发处理公共事件的方法,包括:
    创建子窗口,并在所述子窗口加载第三方页面;
    将所述子窗口显示在当前页面,并隐藏主窗口;以及
    在接收到按键消息后,将所述按键消息分发至所述主窗口和所述子窗口;
    其中,所述按键消息用于使所述主窗口或所述子窗口基于所述按键消息的类型做出相应响应。
  2. 根据权利要求1所述的按键分发处理公共事件的方法,其中,所述主窗口或所述子窗口根据所述按键消息的类型做出相应响应,包括:
    判断所述按键消息是否为公共按键消息;
    响应于确定所述按键消息为公共按键消息,关闭或隐藏所述子窗口,且所述主窗口执行所述公共按键消息对应的操作;
    响应于确定所述按键消息为非公共按键消息,所述主窗口忽略所述按键消息,所述子窗口执行所述按键消息对应的操作。
  3. 根据权利要求1所述的按键分发处理公共事件的方法,在创建所述子窗口之前,还包括:
    在浏览器的所述主窗口的主页面获取所述第三方页面。
  4. 根据权利要求1所述的按键分发处理公共事件的方法,还包括:
    在将所述子窗口显示在所述当前页面,并隐藏所述主窗口时,记录所述当前页面显示的所述子窗口的状态为第三方页面状态。
  5. 一种按键分发处理公共事件的装置,包括:
    创建模块,被配置为创建子窗口,并在所述子窗口加载第三方页面;
    显示控制模块,被配置为将所述子窗口显示在当前页面,并隐藏主窗口;以及
    按键消息处理模块,被配置为在接收到按键消息后,将所述按键消息分发至所述主窗口和所述子窗口;
    其中,所述按键消息用于使所述主窗口和所述子窗口基于所述按键消息的类型做出相应响应。
  6. 根据权利要求5所述的按键分发处理公共事件的装置,其中,所述按键消息处理模块被配置为:
    判断所述按键消息是否为公共按键消息;
    响应于确定所述按键消息为公共按键消息,关闭或隐藏所述子窗口,且所述主窗口执行所述公共按键消息对应的操作;
    响应于确定所述按键消息为非公共按键消息,所述主窗口忽略所述按键消息,所述子窗口执行所述按键消息对应的操作。
  7. 根据权利要求5所述的按键分发处理公共事件的装置,还包括:
    获取模块,被配置为在所述创建模块创建所述子窗口之前,在浏览器的所述主窗口的主页面获取第三方页面。
  8. 根据权利要求5所述的按键分发处理公共事件的装置,还包括:
    设置模块,被配置为在所述子窗口被显示在所述当前页面且所述主窗口被隐藏时,记录所述当前页面显示的所述子窗口的状态为第三方页面状态。
  9. 一种机顶盒,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现根据权利要求1至4任一项所述的按键分发处理公共事件的方法的至少一个步骤。
  10. 一种计算机存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现根据权利要求1至4任一项所述的按键分发处理公共事件的方法的至少一个步骤。
PCT/CN2020/103848 2019-08-08 2020-07-23 按键分发处理公共事件的方法、装置及机顶盒 WO2021023020A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP20851082.6A EP4002860A4 (en) 2019-08-08 2020-07-23 METHOD AND DEVICE FOR PROCESSING PUBLIC EVENT BY MEANS OF KEY DISTRIBUTION, AND DECODER BOX
US17/633,611 US20220321952A1 (en) 2019-08-08 2020-07-23 Method and device for processing public event through key distribution, and set top box

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910728506.7 2019-08-08
CN201910728506.7A CN112351340B (zh) 2019-08-08 2019-08-08 按键分发处理公共按键消息的方法、装置及机顶盒

Publications (1)

Publication Number Publication Date
WO2021023020A1 true WO2021023020A1 (zh) 2021-02-11

Family

ID=74367410

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/103848 WO2021023020A1 (zh) 2019-08-08 2020-07-23 按键分发处理公共事件的方法、装置及机顶盒

Country Status (4)

Country Link
US (1) US20220321952A1 (zh)
EP (1) EP4002860A4 (zh)
CN (1) CN112351340B (zh)
WO (1) WO2021023020A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115934210B (zh) * 2023-03-14 2023-06-02 中航金网(北京)电子商务有限公司 多窗口共享对象存储实例的方法、装置及电子设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127756A (zh) * 2006-08-15 2008-02-20 中兴通讯股份有限公司 在第三方网站上实现频道切换的方法
JP2008288822A (ja) * 2007-05-17 2008-11-27 Panasonic Corp インターネット接続tvシステム
CN103488486A (zh) * 2013-09-25 2014-01-01 深圳Tcl新技术有限公司 浏览器按键处理方法及装置
CN103702223A (zh) * 2013-12-25 2014-04-02 深圳Tcl新技术有限公司 将hbbtv界面和用户界面进行融合的方法及装置
CN105867980A (zh) * 2016-04-19 2016-08-17 青岛海信电器股份有限公司 终端的按键处理方法及装置

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU9298398A (en) * 1997-09-05 1999-03-29 Prevue International, Inc. Program guide application interface system
US6538675B2 (en) * 1998-04-17 2003-03-25 Canon Kabushiki Kaisha Display control apparatus and display control system for switching control of two position indication marks
US8869206B2 (en) * 2002-12-10 2014-10-21 Lg Electronics Inc. Digital television and channel editing method thereof
EP2097862A4 (en) * 2006-12-01 2011-11-09 Hsni Llc METHOD AND SYSTEM FOR INTERACTIVE TELEVISION PROCESSING
CN101600081A (zh) * 2009-06-26 2009-12-09 宇龙计算机通信科技(深圳)有限公司 一种移动通信终端及其视频通话处理方法和系统
CN101763267A (zh) * 2010-01-21 2010-06-30 深圳市同洲电子股份有限公司 嵌入式浏览器的实现方法、装置和数字电视接收终端
CN103118299B (zh) * 2011-11-16 2016-07-06 中国电信股份有限公司 Iptv视频通话控制方法及机顶盒
CN102915251B (zh) * 2012-03-08 2014-06-18 北京金山安全软件有限公司 一种多页面浏览器处理消息的方法和装置
TWI559210B (zh) * 2012-09-28 2016-11-21 瑞軒科技股份有限公司 控制顯示器的方法
US9338493B2 (en) * 2014-06-30 2016-05-10 Apple Inc. Intelligent automated assistant for TV user interactions
US10503770B2 (en) * 2016-12-27 2019-12-10 Rovi Guides, Inc. Methods and systems for generating a media clip library
CN109640140B (zh) * 2018-12-14 2021-06-01 青岛海信传媒网络技术有限公司 按键处理方法和装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127756A (zh) * 2006-08-15 2008-02-20 中兴通讯股份有限公司 在第三方网站上实现频道切换的方法
JP2008288822A (ja) * 2007-05-17 2008-11-27 Panasonic Corp インターネット接続tvシステム
CN103488486A (zh) * 2013-09-25 2014-01-01 深圳Tcl新技术有限公司 浏览器按键处理方法及装置
CN103702223A (zh) * 2013-12-25 2014-04-02 深圳Tcl新技术有限公司 将hbbtv界面和用户界面进行融合的方法及装置
CN105867980A (zh) * 2016-04-19 2016-08-17 青岛海信电器股份有限公司 终端的按键处理方法及装置

Also Published As

Publication number Publication date
CN112351340B (zh) 2023-08-18
EP4002860A1 (en) 2022-05-25
CN112351340A (zh) 2021-02-09
US20220321952A1 (en) 2022-10-06
EP4002860A4 (en) 2023-05-10

Similar Documents

Publication Publication Date Title
US11936938B2 (en) Systems, methods, and media for presenting media content
US11727441B2 (en) Methods, systems and media for presenting media content that was advertised on a second screen device using a primary device
WO2021238913A1 (zh) 直播数据的展示方法、装置、设备及存储介质
US10326822B2 (en) Methods, systems and media for presenting a virtual operating system on a display device
WO2020000972A1 (zh) 视频访问方法、客户端、装置、终端、服务器和存储介质
US20160316272A1 (en) Method and device for same-screen interaction
US20120081299A1 (en) Method and apparatus for providing remote control via a touchable display
US20050198663A1 (en) User interface method and system for navigation in networked devices
WO2013139138A1 (zh) 一种互动消息展示方法、装置及系统
US20160210665A1 (en) Methods, systems and media for presenting media content that was advertised on a second screen device using a primary device
US10305965B2 (en) Provision of applications on multiple electronic devices
US9032452B2 (en) Method and apparatus for simulating head-end connectivity on a set-top box
EP3360101A1 (en) Methods, systems and media for presenting media content that was advertised on a second screen device using a primary device
CN111901695B (zh) 视频内容截取方法、装置和设备及计算机存储介质
WO2021023020A1 (zh) 按键分发处理公共事件的方法、装置及机顶盒
CN112188294B (zh) 一种信号源显示方法及装置
WO2018000743A1 (zh) 一种用于跨设备群聊的方法及电子设备
WO2021237921A1 (zh) 一种账号登录状态的更新方法及显示设备
CN117157987A (zh) 一种分屏播放方法及显示设备
WO2021203916A1 (zh) 显示设备及方向按键的复用方法
CN116193152A (zh) 一种视频播放方法、装置、设备及可读存储介质
CN117812413A (zh) 终端设备、视频播放方法及介质
CN115499693A (zh) 多屏异显的控制方法及装置、系统、存储介质、电子设备
CN117812414A (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: 20851082

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2020851082

Country of ref document: EP

Effective date: 20220217