WO2019033724A1 - 一种基于浏览器的嵌入式操作方法、电视机及存储装置 - Google Patents
一种基于浏览器的嵌入式操作方法、电视机及存储装置 Download PDFInfo
- Publication number
- WO2019033724A1 WO2019033724A1 PCT/CN2018/076102 CN2018076102W WO2019033724A1 WO 2019033724 A1 WO2019033724 A1 WO 2019033724A1 CN 2018076102 W CN2018076102 W CN 2018076102W WO 2019033724 A1 WO2019033724 A1 WO 2019033724A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- interface
- browser
- web
- setting
- layer interface
- Prior art date
Links
Images
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/478—Supplemental services, e.g. displaying phone caller identification, shopping application
- H04N21/4782—Web browsing, e.g. WebTV
-
- 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
-
- 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/482—End-user interface for program selection
-
- 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/485—End-user interface for client configuration
- H04N21/4852—End-user interface for client configuration for modifying audio parameters, e.g. switching between mono and stereo
-
- 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/485—End-user interface for client configuration
- H04N21/4854—End-user interface for client configuration for modifying image parameters, e.g. image brightness, contrast
-
- 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/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/81—Monomedia components thereof
- H04N21/8166—Monomedia components thereof involving executable data, e.g. software
- H04N21/818—OS software
Definitions
- the present invention relates to the field of television technologies, and in particular, to a browser-based embedded operation method, a television set, and a storage device.
- the technical problem to be solved by the present invention is to provide a browser-based embedded operation method, a television set and a storage device, which are convenient for cross-platform transplantation of an embedded system, and browse a web application.
- Convenience, as well as the realization of basic functions realizes the cross-platform design of the TV interface, makes the interface design more convenient, and also improves the interface effect of the embedded device.
- the cross-platform network communication interface docking interface and The underlying Linux interface allows the web interface to interact with the underlying Linux to implement the basic functionality of the TV while still being able to use web applications on the TV.
- a browser-based embedded operation method wherein the browser-based embedded operation method comprises:
- the interface responds according to the obtained user's operation, and the function feedback is performed through the television.
- the browser-based embedded operation method wherein the predetermined language comprises: an html language, a js language, and a css language.
- the browser-based embedded operation method wherein the interface in the interface for the user to perform system operation according to the function requirement includes: an image brightness value setting interface, a volume size setting interface, and a channel setting. Interface and screen contrast setting interface.
- the browser-based embedded operation method wherein the Linux function interface is used to interface with the adaptation layer interface, and the adaptation layer interface obtains a TV parameter from a Linux underlay and returns the same to the web layer interface.
- the Linux function interface provides data and calls required by the web layer interface.
- the browser-based embedded operation method wherein the communication manner in the communication manner of setting the web layer interface and the adaptation layer interface comprises: web socket communication and IPC communication.
- the browser-based embedded operation method wherein the sending content of the communication mode in the communication mode of the web layer interface and the adaptation layer interface includes: a defined message transmission, an event transmission, and a button Handle transmission and data transmission.
- the browser-based embedded operation method wherein the setting a Linux function interface according to the adaptation layer interface, and setting the communication manner between the web layer interface and the adaptation layer interface specifically includes:
- the web layer interface acquires parameters that the television set needs to be set
- the web layer interface then notifies the web interface to perform data display.
- the browser-based embedded operation method wherein the performing an interface response according to the obtained user operation, and performing function feedback by using a television, specifically includes:
- the web interface displays and modifies parameters
- the Linux function interface controls the television to complete the parameter setting after receiving the corresponding actual settings.
- the browser-based embedded operation method wherein the function requirements include setting, changing, and adjusting a volume.
- the browser-based embedded operation method wherein a web layer interface is set according to a function requirement, and the web layer interface directly invokes an interface for a user to perform a system operation, and is used for performing data interaction on an adaptation layer interface. Including obtaining the image brightness value of the adaptation layer and setting the image brightness value.
- the browser-based embedded operation method wherein the adaptation layer interface is set, the adaptation layer is used to interface with the underlying Linux interface, the Linux interface is related to the platform, and the specific platform is implemented by different interfaces, and different implementations are implemented by the adaptation layer.
- the exposure is consistent with the external adaptation layer interface.
- the browser-based embedded operation method wherein the adaptation layer performs data feedback according to the requirements of the web layer interface.
- the browser-based embedded operation method wherein the interface response and the performance feedback of the television function are performed according to the user's operation; after the image brightness value is obtained, the web interface is displayed; the web interface modifies the brightness value, and the Linux interface is obtained.
- the brightness value of the TV is changed corresponding to the actual setting.
- a television set comprising: a processor, a memory communicatively coupled to the processor, the memory storing a computer program for implementing the browser-based embedded operating method when executed;
- the processor is configured to invoke a computer program in the memory to implement the browser-based embedded operating method.
- a storage device wherein the storage device stores a computer program executable to implement the browser-based embedded operating method.
- the present invention discloses a browser-based embedded operation method, a television set, and a storage device, the method comprising: acquiring a functional requirement of an operating system available to a browser-based embedded device;
- the function requirement is to set an interface for the user to perform system operation by using a predetermined language; set a web layer interface directly calling the interface according to the function requirement, and set an adaptation layer interface for performing data interaction with the web layer interface;
- the adaptation layer interface sets a Linux function interface, and sets a communication mode between the web layer interface and the adaptation layer interface; performs an interface response according to the obtained user operation, and performs function feedback through the television.
- the invention realizes the cross-platform design of the TV interface, makes the interface design more convenient, and also improves the interface effect of the embedded device.
- the cross-platform network communication interface docking interface and the Linux low-level interface are used to make the web interface. It can interact with the underlying Linux to implement the basic functions of the TV while still being able to use web applications on the TV.
- FIG. 1 is a flow chart of a preferred embodiment of a browser-based embedded operating method of the present invention.
- FIG. 2 is a flow chart of a preferred embodiment of setting a communication mode between the web layer interface and the adaptation layer interface in the browser-based embedded operation method of the present invention.
- FIG. 3 is a flow chart of a preferred embodiment of the browser-based embedded operation method of the present invention for performing interface feedback through the television according to the obtained user's operation.
- FIG. 4 is a functional block diagram of a preferred embodiment of the television set of the present invention.
- a browser-based embedded operation method according to a preferred embodiment of the present invention, as shown in FIG. 1, the method includes:
- the product designer proposes a functional requirement of an operating system available to the browser-based embedded device, which is equivalent to listing a list of TV function requirements, such as setting, changing, and adjusting the volume, that is, a television set.
- S200 Set an interface for the user to perform system operation by using a predetermined language according to the function requirement.
- the designer performs a browser-based interface design, including using a related language (ie, the predetermined language includes: html language, js language, and css language) to perform page effect design, for example,
- a related language ie, the predetermined language includes: html language, js language, and css language
- the image brightness value setting interface allows the user to perform system operations.
- the interface in the interface for using the predetermined language setting for the user to perform system operation according to the function requirement includes: an image brightness value setting interface, a volume size setting interface, a channel setting interface, and a screen contrast setting interface.
- the web layer interface is set according to the function requirement, and the web layer interface allows the interface designed in the S200 to be directly called for performing data interaction on the adaptation layer interface, for example, acquiring the image brightness value of the adaptation layer and setting Image brightness value.
- the adaptation layer interface is used to interface with the underlying Linux interface, the Linux interface is related to the platform (the platform is different chip architecture, such as realtek and Mstar chips), and the specific interfaces are implemented by different interfaces, and different implementations are implemented.
- the adaptation layer is exposed and the external adaptation layer interface is consistent.
- the adaptation layer performs data feedback, so that the interface of the television and the web layer interface can be separated from the platform design, ensuring the universality of the web layer interface, and realizing cross-platform transplantation, for example, Get the image brightness value from the underlying Linux and return it to the web interface.
- step S400 specifically includes:
- the web layer interface acquires parameters that need to be set by the television.
- the web layer interface notifies the web interface to perform data display.
- a specific functional module implemented by Linux is designed, and an interface is designed, and the interface is related to the platform, and different interface implementations of the specific platform, such as setting image brightness values, different platforms, corresponding points If the array mapping is different, you can have different implementations.
- the Linux function interface is used to interface with the adaptation layer interface, and the adaptation layer interface obtains TV parameters from the Linux underlay and returns to the web layer interface, where the Linux function interface provides the web layer interface. Data and calls.
- the communication manner in the communication manner of setting the web layer interface and the adaptation layer interface includes: web socket communication (WebSocket is a very important new feature in the HTML5 specification, and its existence may allow a user to Two-way communication in the browser to achieve timely push of data, the significance of this technology is that users can implement many applications that were previously impossible to achieve through the web page) and IPC communication (Inter-Process Communication, inter-process communication, at least two processes or between threads) Some techniques or methods for transmitting data or signals).
- web socket communication WebSocket is a very important new feature in the HTML5 specification, and its existence may allow a user to Two-way communication in the browser to achieve timely push of data, the significance of this technology is that users can implement many applications that were previously impossible to achieve through the web page
- IPC communication Inter-Process Communication, inter-process communication, at least two processes or between threads
- the network communication method (web socket communication and IPC communication are both network communication) is a better cross-platform method, but the reliability and performance are also better, so the network communication method is used to complete the communication design.
- the sending content of the communication mode in the communication mode of setting the web layer interface and the adaptation layer interface includes: defined message sending, event sending, button processing sending, and data sending. For example, if the web layer interface obtains the image brightness value, it needs to send a message to the adaptation layer, and needs to be notified through the designed communication method. After the adaptation layer processing is completed, the data layer is fed back to the web layer interface, the web layer. The interface then notifies the web interface to display the data.
- S500 Perform an interface response according to the obtained user's operation, and perform function feedback through the television.
- step S500 specifically includes:
- S501 Obtain an operation instruction for a user to operate a TV parameter.
- the web interface performs display and modifies parameters.
- the Linux function interface controls the television to complete parameter setting after receiving the corresponding actual setting.
- the interface response and the performance feedback of the TV function are performed according to the user's operation (such as adjusting brightness, contrast, sound, etc.), for example, after obtaining the image brightness value, the web interface is displayed; the web interface is modified by the brightness value, the Linux interface The corresponding actual settings are obtained so that the brightness value of the TV is changed.
- the user's operation such as adjusting brightness, contrast, sound, etc.
- the browser-based embedded operation method proposed by the invention firstly uses the web mode to design the interface of the system, and solves the problem that the non-Android TV has poor interface effect.
- the layered design mode is adopted.
- the interface design and the Linux function are designed separately. The two do not affect each other, and the communication between the two is realized through the cross-platform network communication method.
- the cross-platform design of the interface is truly realized, and the secondary development is convenient.
- the present invention also provides a television set.
- the television set further includes: a processor 10, a memory 20, a communication interface 30, and a communication bus 40; wherein:
- the processor 10, the memory 20, and the communication interface 30 complete communication with each other through the communication bus 40;
- the communication interface 30 is used for information transmission between communication devices of the television set;
- the processor 10 is configured to invoke a computer program in the memory 20 to perform the method provided by the foregoing method embodiments, for example, including: acquiring a functional requirement of an operating system available to the browser-based embedded device;
- the function requirement is to set an interface for the user to perform system operation by using a predetermined language; set a web layer interface directly calling the interface according to the function requirement, and set an adaptation layer interface for performing data interaction with the web layer interface;
- the adaptation layer interface sets a Linux function interface, and sets a communication mode between the web layer interface and the adaptation layer interface; performs an interface response according to the obtained user operation, and performs function feedback through the television.
- the present invention also provides a storage device storing a computer program executable to implement the browser-based embedded operating method.
- the present invention provides a browser-based embedded operation method, a television set, and a storage device, the method comprising: acquiring a functional requirement of an operating system available to a browser-based embedded device; Determining, by using a predetermined language, an interface for the user to perform system operations; setting a web layer interface directly calling the interface according to the function requirement, and setting an adaptation layer interface for performing data interaction with the web layer interface;
- the layer interface provides a Linux function interface, and sets a communication mode between the web layer interface and the adaptation layer interface; performs an interface response according to the obtained user operation, and performs function feedback through the television.
- the invention realizes the cross-platform design of the TV interface, makes the interface design more convenient, and also improves the interface effect of the embedded device.
- the cross-platform network communication interface docking interface and the Linux low-level interface enable the web interface to interact with the Linux underlying layer to implement the basic functions of the television while being able to use the web application on the television.
- a computer program to instruct related hardware (such as a processor, a controller, etc.), and the program can be stored in one.
- the program when executed, may include the processes of the various method embodiments as described above.
- the storage medium described therein may be a memory, a magnetic disk, an optical disk, or the like.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Software Systems (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- User Interface Of Digital Computer (AREA)
- Information Transfer Between Computers (AREA)
Abstract
本发明公开了一种基于浏览器的嵌入式操作方法、电视机及存储装置,获取基于浏览器的嵌入式设备可用的操作系统的功能需求;使用预定语言设置供用户进行系统操作的界面;设置直接调用所述界面的web层接口,并设置与所述web层接口进行数据交互的适配层接口;根据所述适配层接口设置Linux功能接口,并设置所述web层接口与所述适配层接口的通信方式;根据获取到的用户的操作进行界面响应,并通过电视机进行功能反馈。本发明使得界面的设计更方便,同时也提升了嵌入式设备的界面效果。
Description
本发明涉及电视技术领域,尤其涉及一种基于浏览器的嵌入式操作方法、电视机及存储装置。
随着智能电子设备的普及,电视机等家电设备越来越智能化,集群化,但是目前的智能电子设备的系统主要用的是安卓系统,所需要的配置要求较高,而且由于应用的更新频率快,也导致应用需要频繁的更新安装来解决应用的使用问题,用户需要频繁进行升级操作,无法满足用户便捷化的需求。
因此,现有技术还有待于改进和发展。
发明内容
本发明要解决的技术问题在于,针对现有技术的上述缺陷,提供一种基于浏览器的嵌入式操作方法、电视机及存储装置,用于解决嵌入式系统的跨平台移植方便,浏览web应用方便,以及基本功能实现的问题,实现了电视机界面设计的跨平台化,使得界面的设计更方便,同时也提升了嵌入式设备的界面效果,另外,使用跨平台的网络通信接口对接界面和Linux底层接口,使得web界面可以与Linux底层进行交互,实现电视机的基本功能,同时又能够在电视机上使用web应用。
本发明解决技术问题所采用的技术方案如下:
一种基于浏览器的嵌入式操作方法,其中,所述基于浏览器的嵌入式操作方法包括:
获取基于浏览器的嵌入式设备可用的操作系统的功能需求;
根据所述功能需求使用预定语言设置供用户进行系统操作的界面;
根据所述功能需求设置直接调用所述界面的web层接口,并设置与所述web层接口进行数据交互的适配层接口;
根据所述适配层接口设置Linux功能接口,并设置所述web层接口与所述适配层接口的通信方式;
根据获取到的用户的操作进行界面响应,并通过电视机进行功能反馈。
所述的基于浏览器的嵌入式操作方法,其中,所述预定语言包括:html语言、js语言以及css语言。
所述的基于浏览器的嵌入式操作方法,其中,所述根据所述功能需求使用预定语言设置供用户进行系统操作的界面中的界面包括:图像亮度值设置界面、音量大小设置界面、频道设置界面以及画面对比度设置界面。
所述的基于浏览器的嵌入式操作方法,其中,所述Linux功能接口用于对接所述适配层接口,所述适配层接口从Linux底层获取电视机参数返回给所述web层接口,所述Linux功能接口提供所述web层接口需要的数据和调用。
所述的基于浏览器的嵌入式操作方法,其中,所述设置所述web层接口与所述适配层接口的通信方式中的通信方式包括:web socket通信和IPC通信。
所述的基于浏览器的嵌入式操作方法,其中,所述设置所述web层接口与所述适配层接口的通信方式中的通信方式的发送内容包括:已定义消息发送、事件发送、按键处理发送以及数据发送。
所述的基于浏览器的嵌入式操作方法,其中,所述根据所述适配层接口设置Linux功能接口,并设置所述web层接口与所述适配层接口的通信方式具体包括:
所述web层接口获取电视机需要进行设置的参数;
发送消息至所述适配层接口,通过相应的通信方式通知适配层进行处理;
当所述适配层处理完成后,以数据的形式反馈到所述web层接口;
所述web层接口再通知web界面进行数据显示。
所述的基于浏览器的嵌入式操作方法,其中,所述根据获取到的用户的操作进行界面响应,并通过电视机进行功能反馈具体包括:
获取用户操作电视机参数的操作指令;
所述web界面进行显示,并修改参数;
所述Linux功能接口接收到相应的实际设置后控制电视机完成参数设置。
所述的基于浏览器的嵌入式操作方法,其中,所述功能需求包括设置、换台以及调音量。
所述的基于浏览器的嵌入式操作方法,其中,根据功能需求设置web层接口,所述web层接口让供用户进行系统操作的界面直接进行调用,用于进行对 适配层接口的数据交互,包括获取适配层的图像亮度值以及设置图像亮度值。
所述的基于浏览器的嵌入式操作方法,其中,设置适配层接口,适配层用来对接底层Linux接口,Linux接口跟平台相关,具体平台不同的接口实现,不同的实现经过适配层的暴露,对外的适配层接口一致。
所述的基于浏览器的嵌入式操作方法,其中,根据所述web层接口的需求,适配层进行数据反馈。
所述的基于浏览器的嵌入式操作方法,其中,根据用户的操作进行界面响应以及电视功能的表现反馈;获取到图像亮度值之后,web界面进行显示;web界面修改了亮度值,Linux接口得到相应的实际设置,TV的亮度值得到更改。
一种电视机,其中,包括:处理器、与处理器通信连接的存储器,所述存储器存储有计算机程序,所述计算机程序用于被执行时实现所述的基于浏览器的嵌入式操作方法;所述处理器用于调用所述存储器中的计算机程序,以实现所述的基于浏览器的嵌入式操作方法。
一种存储装置,其中,所述存储装置存储有计算机程序,所述计算机程序能够被执行以用于实现所述的基于浏览器的嵌入式操作方法。
本发明的有益效果:本发明公开了一种基于浏览器的嵌入式操作方法、电视机及存储装置,所述方法包括:获取基于浏览器的嵌入式设备可用的操作系统的功能需求;根据所述功能需求使用预定语言设置供用户进行系统操作的界面;根据所述功能需求设置直接调用所述界面的web层接口,并设置与所述web层接口进行数据交互的适配层接口;根据所述适配层接口设置Linux功能接口,并设置所述web层接口与所述适配层接口的通信方式;根据获取到的用户的操作进行界面响应,并通过电视机进行功能反馈。本发明实现了电视机界面设计的跨平台化,使得界面的设计更方便,同时也提升了嵌入式设备的界面效果,另外,使用跨平台的网络通信接口对接界面和Linux底层接口,使得web界面可以与Linux底层进行交互,实现电视机的基本功能,同时又能够在电视机上使用web应用。
图1是本发明基于浏览器的嵌入式操作方法的较佳实施例的流程图。
图2是本发明基于浏览器的嵌入式操作方法中设置所述web层接口与所述适配层接口的通信方式的较佳实施例的流程图。
图3是本发明基于浏览器的嵌入式操作方法中根据获取到的用户的操作进行界面响应通过电视机进行功能反馈的较佳实施例的流程图。
图4是本发明电视机较佳实施例的功能原理框图。
为使本发明的目的、技术方案及优点更加清楚、明确,以下参照附图并举实施例对本发明进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
本发明较佳实施例所述的一种基于浏览器的嵌入式操作方法,如图1所示,所述方法包括:
S100,获取基于浏览器的嵌入式设备可用的操作系统的功能需求。
具体地,产品设计者提出基于浏览器的嵌入式设备可用的操作系统的功能需求,相当于罗列电视功能需求列表,所述功能需求列表例如包括设置、换台以及调音量等,即电视机的一些的基本功能。
S200,根据所述功能需求使用预定语言设置供用户进行系统操作的界面。
具体地,根据步骤S100获取到的功能需求,设计者进行基于浏览器的界面设计,包括使用相关的语言(即所述预定语言包括:html语言、js语言以及css语言)进行页面效果设计,例如图像亮度值设置界面,使得用户可以进行系统操作。
进一步地,所述根据所述功能需求使用预定语言设置供用户进行系统操作的界面中的界面包括:图像亮度值设置界面、音量大小设置界面、频道设置界面以及画面对比度设置界面。
S300,根据所述功能需求设置直接调用所述界面的web层接口,并设置与所述web层接口进行数据交互的适配层接口。
具体地,根据功能需求设置web层接口,所述web层接口让S200中设计的界面可以直接进行调用,用于进行对适配层接口的数据交互,例如获取适配层的图像亮度值以及设置图像亮度值。设置适配层接口,适配层用来对接底层Linux接口,Linux接口跟平台(平台就是不同的芯片架构,比如realtek和Mstar的芯片等)相关,具体平台不同的接口实现,而不同的实现经过适配层的暴露,对外的适配层接口又是一致的。根据所述web层接口的需求,适配层进行数据反馈, 使得电视机的界面和所述web层接口可以脱离平台设计,保证了web层接口的通用性,实现了跨平台的移植,例如,从Linux底层获取图像亮度值,返回给web接口。
S400,根据所述适配层接口设置Linux功能接口,并设置所述web层接口与所述适配层接口的通信方式。
进一步地,如图2所示,所述步骤S400具体包括:
S401,所述web层接口获取电视机需要进行设置的参数;
S402,发送消息至所述适配层接口,通过相应的通信方式通知适配层进行处理;
S403,当所述适配层处理完成后,以数据的形式反馈到所述web层接口;
S404,所述web层接口再通知web界面进行数据显示。
具体地,根据适配层的设计,设计Linux实现的具体的相关功能模块,并且设计出接口,接口跟平台相关,具体平台不同的接口实现,比如设置图像亮度值,不同的平台,对应的点阵映射不一样,就可以有不同的实现方式。例如,所述Linux功能接口用于对接所述适配层接口,所述适配层接口从Linux底层获取电视机参数返回给所述web层接口,所述Linux功能接口提供所述web层接口需要的数据和调用。
其中,所述设置所述web层接口与所述适配层接口的通信方式中的通信方式包括:web socket通信(WebSocket是HTML5规格中的一个非常重要的新特性,它的存在可以允许用户在浏览器中实现双向通信,实现数据的及时推送,这个技术的意义在于用户可以通过网页实现很多以前无法实现的应用)和IPC通信(Inter-Process Communication,进程间通信,至少两个进程或线程间传送数据或信号的一些技术或方法)。
设计的接口要实现跨平台,就需要实现与平台设计相关性较小的方式(就是浏览器需要跟Linux通信以获得适配层接口的返回数据,或者操作这些数据,因此就要保证说通信方式最好是跟平台无关,否则,换一个方案的话,浏览器的界面上面获取数据的web接口那个地方就要重新写了)进行数据的传递,保证接口的使用,因此需要设计好web接口和适配层接口之间的通信方式。
网络通信方式(web socket通信和IPC通信均属于网络通信)是目前跨平台 性较好的一种方式,而是可靠性和性能也比较好,因此使用网络通信方式来完成通信设计。另外,所述设置所述web层接口与所述适配层接口的通信方式中的通信方式的发送内容包括:已定义消息发送、事件发送、按键处理发送以及数据发送。比如,web层接口获取图像亮度值,那就要发送消息给适配层,需要通过设计好的通信方式进行通知,适配层处理完成之后,以数据的形式反馈给到web层接口,web层接口再通知web界面进行数据显示。
S500,根据获取到的用户的操作进行界面响应,并通过电视机进行功能反馈。
进一步地,如图3所示,所述步骤S500具体包括:
S501,获取用户操作电视机参数的操作指令;
S502,所述web界面进行显示,并修改参数;
S503,所述Linux功能接口接收到相应的实际设置后控制电视机完成参数设置。
具体地,根据用户的操作(比如调节亮度,对比度,声音等)进行界面响应以及电视功能的表现反馈,比如,获取到图像亮度值之后,web界面进行显示;web界面修改了亮度值,Linux接口得到相应的实际设置,使得TV的亮度值得到更改。
本发明提出的一种基于浏览器的嵌入式操作方法,首先使用web方式进行系统的界面设计,解决了非安卓电视的电视界面的效果不佳的问题,另外,采用分层的设计模式,将界面设计和Linux功能实现分开设计,二者互不影响,并且通过跨平台的网络通信方式来实现二者的通信,真正做到了界面的跨平台设计,二次开发便捷。
本发明还提供了一种电视机,如图4所示,所述电视机还包括:处理器(processor)10、存储器(memory)20、通信接口(Communications Interface)30和通信总线40;其中:
所述处理器10、存储器20、通信接口30通过所述通信总线40完成相互间的通信;
所述通信接口30用于所述电视机的通信设备之间的信息传输;
所述处理器10用于调用所述存储器20中的计算机程序,以执行上述各方法实施例所提供的方法,例如包括:获取基于浏览器的嵌入式设备可用的操作系统 的功能需求;根据所述功能需求使用预定语言设置供用户进行系统操作的界面;根据所述功能需求设置直接调用所述界面的web层接口,并设置与所述web层接口进行数据交互的适配层接口;根据所述适配层接口设置Linux功能接口,并设置所述web层接口与所述适配层接口的通信方式;根据获取到的用户的操作进行界面响应,并通过电视机进行功能反馈。
本发明还提供一种存储装置,所述存储装置存储有计算机程序,所述计算机程序能够被执行以用于实现所述的基于浏览器的嵌入式操作方法。
综上所述,本发明提供一种基于浏览器的嵌入式操作方法、电视机及存储装置,所述方法包括:获取基于浏览器的嵌入式设备可用的操作系统的功能需求;根据所述功能需求使用预定语言设置供用户进行系统操作的界面;根据所述功能需求设置直接调用所述界面的web层接口,并设置与所述web层接口进行数据交互的适配层接口;根据所述适配层接口设置Linux功能接口,并设置所述web层接口与所述适配层接口的通信方式;根据获取到的用户的操作进行界面响应,并通过电视机进行功能反馈。本发明实现了电视机界面设计的跨平台化,使得界面的设计更方便,同时也提升了嵌入式设备的界面效果。另外,使用跨平台的网络通信接口对接界面和Linux底层接口,使得web界面可以与Linux底层进行交互,实现电视机的基本功能,同时又能够在电视机上使用web应用。
当然,本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关硬件(如处理器,控制器等)来完成,所述的程序可存储于一计算机可读取的存储介质中,该程序在执行时可包括如上述各方法实施例的流程。其中所述的存储介质可为存储器、磁碟、光盘等。
应当理解的是,本发明的应用不限于上述的举例,对本领域普通技术人员来说,可以根据上述说明加以改进或变换,所有这些改进和变换都应属于本发明所附权利要求的保护范围。
Claims (15)
- 一种基于浏览器的嵌入式操作方法,其特征在于,所述基于浏览器的嵌入式操作方法包括:获取基于浏览器的嵌入式设备可用的操作系统的功能需求;根据所述功能需求使用预定语言设置供用户进行系统操作的界面;根据所述功能需求设置直接调用所述界面的web层接口,并设置与所述web层接口进行数据交互的适配层接口;根据所述适配层接口设置Linux功能接口,并设置所述web层接口与所述适配层接口的通信方式;根据获取到的用户的操作进行界面响应,并通过电视机进行功能反馈。
- 根据权利要求1所述的基于浏览器的嵌入式操作方法,其特征在于,所述预定语言包括:html语言、js语言以及css语言。
- 根据权利要求1所述的基于浏览器的嵌入式操作方法,其特征在于,所述根据所述功能需求使用预定语言设置供用户进行系统操作的界面中的界面包括:图像亮度值设置界面、音量大小设置界面、频道设置界面以及画面对比度设置界面。
- 根据权利要求1所述的基于浏览器的嵌入式操作方法,其特征在于,所述Linux功能接口用于对接所述适配层接口,所述适配层接口从Linux底层获取电视机参数返回给所述web层接口,所述Linux功能接口提供所述web层接口需要的数据和调用。
- 根据权利要求1所述的基于浏览器的嵌入式操作方法,其特征在于,所述设置所述web层接口与所述适配层接口的通信方式中的通信方式包括:web socket通信和IPC通信。
- 根据权利要求1所述的基于浏览器的嵌入式操作方法,其特征在于,所述设置所述web层接口与所述适配层接口的通信方式中的通信方式的发送内容包括:已定义消息发送、事件发送、按键处理发送以及数据发送。
- 根据权利要求6所述的基于浏览器的嵌入式操作方法,其特征在于,所述根据所述适配层接口设置Linux功能接口,并设置所述web层接口与所述适配层接口的通信方式具体包括:所述web层接口获取电视机需要进行设置的参数;发送消息至所述适配层接口,通过相应的通信方式通知适配层进行处理;当所述适配层处理完成后,以数据的形式反馈到所述web层接口;所述web层接口再通知web界面进行数据显示。
- 根据权利要求7所述的基于浏览器的嵌入式操作方法,其特征在于,所述根据获取到的用户的操作进行界面响应,并通过电视机进行功能反馈具体包括:获取用户操作电视机参数的操作指令;所述web界面进行显示,并修改参数;所述Linux功能接口接收到相应的实际设置后控制电视机完成参数设置。
- 根据权利要求1所述的基于浏览器的嵌入式操作方法,其特征在于,所述功能需求包括设置、换台以及调音量。
- 根据权利要求1所述的基于浏览器的嵌入式操作方法,其特征在于,根据功能需求设置web层接口,所述web层接口让供用户进行系统操作的界面直接进行调用,用于进行对适配层接口的数据交互,包括获取适配层的图像亮度值以及设置图像亮度值。
- 根据权利要求10所述的基于浏览器的嵌入式操作方法,其特征在于,设置适配层接口,适配层用来对接底层Linux接口,Linux接口跟平台相关,具体平台不同的接口实现,不同的实现经过适配层的暴露,对外的适配层接口一致。
- 根据权利要求11所述的基于浏览器的嵌入式操作方法,其特征在于,根据所述web层接口的需求,适配层进行数据反馈。
- 根据权利要求8所述的基于浏览器的嵌入式操作方法,其特征在于,根据用户的操作进行界面响应以及电视功能的表现反馈;获取到图像亮度值之后,web界面进行显示;web界面修改了亮度值,Linux接口得到相应的实际设置,TV的亮度值得到更改。
- 一种电视机,其特征在于,包括:处理器、与处理器通信连接的存储器,所述存储器存储有计算机程序,所述计算机程序用于被执行时实现如权利要求1-13任一项所述的方法;所述处理器用于调用所述存储器中的计算机程序,以实现如权利要求1-13任一项所述的方法。
- 一种存储装置,其特征在于,所述存储装置存储有计算机程序,所述计算机程序能够被执行以用于实现如权利要求1-13任一项所述的方法。
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US16/327,102 US20190182560A1 (en) | 2017-08-17 | 2017-02-10 | Browser-based embedded operation method, television set and storage device |
US16/327,102 US10863249B2 (en) | 2017-08-17 | 2018-02-10 | Browser-based embedded operation method, television set and storage device |
EP18822250.9A EP3471427A4 (en) | 2017-08-17 | 2018-02-10 | BROWSER-BASED EMBEDDED OPERATING PROCESS, TELEVISION AND STORAGE DEVICE |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710704811.3 | 2017-08-17 | ||
CN201710704811.3A CN107396196A (zh) | 2017-08-17 | 2017-08-17 | 一种基于浏览器的嵌入式操作方法、电视机及存储装置 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2019033724A1 true WO2019033724A1 (zh) | 2019-02-21 |
Family
ID=60352954
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2018/076102 WO2019033724A1 (zh) | 2017-08-17 | 2018-02-10 | 一种基于浏览器的嵌入式操作方法、电视机及存储装置 |
Country Status (4)
Country | Link |
---|---|
US (2) | US20190182560A1 (zh) |
EP (1) | EP3471427A4 (zh) |
CN (1) | CN107396196A (zh) |
WO (1) | WO2019033724A1 (zh) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20190182560A1 (en) * | 2017-08-17 | 2019-06-13 | Shenzhen Chuangwei-Rgb Electronic Co., Ltd | Browser-based embedded operation method, television set and storage device |
CN112269608B (zh) * | 2020-11-19 | 2022-08-19 | 四川长虹电器股份有限公司 | 一种在电视终端实现web应用加载优化的方法 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102075800A (zh) * | 2011-01-11 | 2011-05-25 | 中兴通讯股份有限公司 | 基于交互式个人电视机顶盒文件播放控制方法及系统 |
CN103412748A (zh) * | 2013-07-25 | 2013-11-27 | 深圳Tcl新技术有限公司 | 嵌入式平台的用户界面的显示控制方法、装置及系统 |
CN106412466A (zh) * | 2016-07-18 | 2017-02-15 | 国家新闻出版广电总局广播科学研究院 | 一种智能电视系统 |
CN107396196A (zh) * | 2017-08-17 | 2017-11-24 | 深圳创维-Rgb电子有限公司 | 一种基于浏览器的嵌入式操作方法、电视机及存储装置 |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9479812B2 (en) * | 2009-06-05 | 2016-10-25 | Time Warner Cable Enterprises Llc | User selection of software components in a television set-top box |
CN102158350B (zh) * | 2011-02-12 | 2012-11-21 | 华为终端有限公司 | 一种移动宽带设备及管理移动宽带设备的方法 |
US9060152B2 (en) * | 2012-08-17 | 2015-06-16 | Flextronics Ap, Llc | Remote control having hotkeys with dynamically assigned functions |
US9467328B2 (en) * | 2013-05-14 | 2016-10-11 | American Megatrends, Inc. | Remote management of digital signage devices |
CN104427388A (zh) * | 2013-09-10 | 2015-03-18 | 国家广播电影电视总局广播科学研究院 | 一种智能电视操作系统 |
-
2017
- 2017-02-10 US US16/327,102 patent/US20190182560A1/en active Granted
- 2017-08-17 CN CN201710704811.3A patent/CN107396196A/zh active Pending
-
2018
- 2018-02-10 EP EP18822250.9A patent/EP3471427A4/en not_active Withdrawn
- 2018-02-10 WO PCT/CN2018/076102 patent/WO2019033724A1/zh unknown
- 2018-02-10 US US16/327,102 patent/US10863249B2/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102075800A (zh) * | 2011-01-11 | 2011-05-25 | 中兴通讯股份有限公司 | 基于交互式个人电视机顶盒文件播放控制方法及系统 |
CN103412748A (zh) * | 2013-07-25 | 2013-11-27 | 深圳Tcl新技术有限公司 | 嵌入式平台的用户界面的显示控制方法、装置及系统 |
CN106412466A (zh) * | 2016-07-18 | 2017-02-15 | 国家新闻出版广电总局广播科学研究院 | 一种智能电视系统 |
CN107396196A (zh) * | 2017-08-17 | 2017-11-24 | 深圳创维-Rgb电子有限公司 | 一种基于浏览器的嵌入式操作方法、电视机及存储装置 |
Also Published As
Publication number | Publication date |
---|---|
CN107396196A (zh) | 2017-11-24 |
US10863249B2 (en) | 2020-12-08 |
EP3471427A1 (en) | 2019-04-17 |
EP3471427A4 (en) | 2020-02-12 |
US20190182560A1 (en) | 2019-06-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2997745B1 (en) | In-vehicle access of mobile device functions | |
US9569159B2 (en) | Apparatus, systems and methods for presenting displayed image information of a mobile media device on a large display and control of the mobile media device therefrom | |
US20060179118A1 (en) | Platform-specific application user interface remoting | |
JP2023529868A (ja) | 共有方法、装置及び電子機器 | |
KR101922023B1 (ko) | 디스플레이장치 및 그 제어방법 | |
US20070073730A1 (en) | Apparatus and method for providing remote user interface | |
WO2022127661A1 (zh) | 应用共享方法、电子设备和存储介质 | |
KR101842256B1 (ko) | 어플리케이션을 원격으로 실행하는 방법 및 장치 | |
WO2021244429A1 (zh) | 一种控制应用程序安装的方法及装置 | |
JPH10240502A (ja) | 情報機器内の環境を転送する方式 | |
EP2963935A1 (en) | Multi screen display controlled by a plurality of remote controls | |
KR101989016B1 (ko) | 전자장치에서 영상통화중 파일 전송 방법 및 장치 | |
KR101984874B1 (ko) | 사용자단말과 외부장치 간 연결 시스템 및 방법 | |
CN104081374A (zh) | 分级显示器服务器系统和方法 | |
WO2015176352A1 (zh) | 一种基于安卓系统的应用间信息交互方法及装置 | |
CN105992066A (zh) | 一种应用于智能设备的字符输入方法和字符输入装置 | |
US10038750B2 (en) | Method and system of sharing data and server apparatus thereof | |
WO2019033724A1 (zh) | 一种基于浏览器的嵌入式操作方法、电视机及存储装置 | |
CN112601042B (zh) | 显示设备、服务器及视频通话兼容不同协议信令的方法 | |
Ha et al. | N-screen service using I/O virtualization technology | |
JP2022522658A (ja) | 計算能力の低いデバイスを動作させるためのシステム、方法、コンピュータプログラム、モバイルデバイス、及びキット | |
US20160156960A1 (en) | System for remotely controlling smart television and control method | |
EP4343533A1 (en) | Screen projection method and related apparatus | |
JP2014022769A (ja) | 画像形成装置、その制御方法、その制御プログラム、および、画像形成システム | |
WO2022001423A1 (zh) | 交互控制方法、装置、终端和存储介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
ENP | Entry into the national phase |
Ref document number: 2018822250 Country of ref document: EP Effective date: 20190104 |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 18822250 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |