A set-top box GUI system based on HTML5
Through the HTML5-based set-top box GUI system, combined with event-driven and message mechanisms, it solves the problems of GUI system complexity and low customization efficiency in the existing technology, achieves efficient development and maintenance and diversified customization requirements, and improves user experience. and system flexibility.
Patent Information
- Application Number
- CN202310366555.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-07
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2043-04-07
AI Technical Summary
When the existing set-top box GUI system faces the customized needs of multiple customers, the code complexity increases, the maintenance difficulty is high, and each modification requires updating the entire firmware, which is inefficient.
Using a GUI system based on HTML5, through data communication between the HTML5 server, set-top box and external control end, combined with event-driven mechanism and message mechanism, it realizes C/S mode operation, supports all browsers, provides file download services and local caching, and simplifies GUI design and management.
It improves the portability and flexibility of the GUI system, reduces R&D costs, improves development and maintenance efficiency, and supports real-time updates and diverse customization requirements.
Smart Images

Figure CN116389837B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of set-top box equipment, and in particular to a set-top box GUI system implemented based on HTML5. Background Art
[0002] The GUI system of the set-top box provides a human-computer interaction interface for the set-top box, which is simple, responsive, reliable, and takes up less resources. However, due to the large differences in set-top box hardware and customized functions, the set-top box GUI system must be highly friendly, portable, and customizable.
[0003] In order to meet these requirements, the current GUI systems of set-top boxes are implemented through conditional compilation of codes, which has obvious shortcomings, including the following disadvantages:
[0004] 1. With the increasing number of customers, customization also increases. Conditional compilation will make the code larger and more complex, and the maintenance difficulty will increase;
[0005] 2. Customer customization is achieved through conditional compilation. Each modification requires the customer to update the set-top box firmware, which is inconvenient to update;
[0006] 3. Customized GUI requires the entire firmware to be sent to the customer for confirmation after modification, resulting in low efficiency.
[0007] In order to solve the above problems, we proposed a set-top box GUI system based on HTML5. Summary of the invention
[0008] In view of the deficiencies in the prior art, the present invention provides a set-top box GUI system implemented based on HTML5 to solve the problems raised in the above background technology.
[0009] To achieve the above object, the present invention provides the following technical solution: a set-top box GUI system implemented based on HTML5, comprising an HTML5 server, a set-top box and an external control terminal, wherein the HTML5 server performs data communication with the set-top box, and the set-top box performs data communication with the external control terminal;
[0010] The HTML5 server is used to design and manage HTML5 files and maintain data communication with the set-top box.
[0011] The set-top box end is used to process events including human-computer interaction and device control;
[0012] The external control terminal is used to generate input events and receive control messages from the set-top box terminal.
[0013] To further optimize the technical solution, the set-top box GUI system operates in a C / S mode combining an event-driven mechanism and a message mechanism.
[0014] To further optimize the technical solution, the HTML5 server side includes a distribution module, a design module and a management module. The management module is located in the control background of the HTML5 server. The output data of the management module is connected to the input end of the design module. The output data of the design module is connected to the input end of the distribution module. The output data of the distribution module is connected to the input end of the set-top box.
[0015] To further optimize the technical solution, the distribution module, design module and management module of the HTML5 server include the following specific contents:
[0016] The distribution module is used to provide file download services to the set-top box end and distribute HTML, JavaScript and CSS files;
[0017] The design module is used to modify HTML5 based on the server;
[0018] The management module is used to manage the designed HTML, JavaScript and CSS files.
[0019] To further optimize the technical solution, the set-top box end includes a browser unit, a GUI event management unit and a device driver layer, the browser unit communicates data with the GUI event management unit, and the device driver layer communicates data with the device driver layer; the browser unit has a built-in GUI object, and the GUI event management unit includes an event processing module and an event allocation module.
[0020] To further optimize the technical solution, the GUI event management unit is used to process custom events including human-computer interaction events, device control events and timing events, the device driver layer is used to generate input events, and the GUI object of the browser unit generates control messages.
[0021] To further optimize the technical solution, the external control end includes an infrared input module, a TV output module and a Tuner port module of the set-top box control device; the infrared input module is infrared driven based on the remote control buttons; the set-top box end also has a built-in RTOS task module for controlling the real-time tasks of the set-top box.
[0022] To further optimize the technical solution, the set-top box GUI system includes the following specific processes when running:
[0023] S1, the device driver layer at the set-top box receives the remote control button at the external control end and generates an input event corresponding to the button;
[0024] S2, the event processing module transmits the input event to the browser unit through the HTML5 data interface and finally responds on the GUI object;
[0025] S3. Generate control messages through GUI objects and distribute them to the device driver layer or RTOS by the event distribution module, so as to control the external control terminal and real-time tasks of the set-top box.
[0026] To further optimize the technical solution, the set-top box also downloads the designed HTML, JavaScript and CSS files through the HTML5 server, and caches them locally using the local cache feature; the HTML5 server modifies the HTML5 and pushes it to the set-top box in a timely manner to display the new modifications in real time.
[0027] Compared with the prior art, the present invention provides a set-top box GUI system based on HTML5, which has the following beneficial effects:
[0028] 1. The set-top box GUI system implemented based on HTML5 supports all browsers based on HTML5 technology, solves the portability of the GUI system, provides rich data and application access open interfaces, solves the rapid response of set-top box human-computer interaction, improves user experience, and can more conveniently provide customers with more style effects, with higher flexibility and real-time performance.
[0029] 2. The set-top box GUI system based on HTML5 improves the development and maintenance efficiency of set-top box software, reduces R&D costs, and meets the different customized needs of a large number of customers in a more flexible and efficient way. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 This is a schematic diagram of the structure of a set-top box GUI system based on HTML5 proposed by the present invention;
[0031] Figure 2 The present invention provides a flow chart of a set-top box GUI system based on HTML5. DETAILED DESCRIPTION
[0032] The following will be combined with the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0033] Example:
[0034] See also Figure 1 A set-top box GUI system based on HTML5 includes an HTML5 server, a set-top box and an external control terminal, wherein the HTML5 server communicates data with the set-top box, and the set-top box communicates data with the external control terminal. Based on HTML5 technology, full browser support is provided, which solves the portability of the GUI system, provides a rich open interface for data and application access, solves the rapid response of the set-top box human-computer interaction, improves the user experience, can more conveniently provide customers with more style effects, and has higher flexibility and real-time performance, improves the development and maintenance efficiency of the set-top box software, reduces the R&D cost, and meets the different customized needs of a large number of customers in a more flexible and efficient way.
[0035] Meanwhile, the set-top box GUI system operates in a C / S mode combining an event-driven mechanism and a message mechanism.
[0036] The HTML5 server is used to design and manage HTML5 files and maintain data communication with the set-top box.
[0037] In this embodiment, the HTML5 server includes a distribution module, a design module and a management module. The management module is located in the control background of the HTML5 server. The output data of the management module is connected to the input of the design module, the output data of the design module is connected to the input of the distribution module, and the output data of the distribution module is connected to the input of the set-top box.
[0038] Furthermore, the distribution module, design module and management module of the HTML5 server include the following specific contents:
[0039] The distribution module is used to provide file download services to the set-top box end and distribute HTML, JavaScript and CSS files;
[0040] The design module is used to modify HTML5 based on the server;
[0041] The management module is used to manage the designed HTML, JavaScript and CSS files.
[0042] The set-top box end is used for event processing including human-computer interaction and device control.
[0043] In this embodiment, the set-top box end includes a browser unit, a GUI event management unit and a device driver layer. The browser unit communicates data with the GUI event management unit, and the device driver layer communicates data with the device driver layer. The browser unit has a built-in GUI object, and the GUI event management unit includes an event processing module and an event allocation module.
[0044] Furthermore, the GUI event management unit is used to process custom events including human-computer interaction events, device control events and timing events, the device driver layer is used to generate input events, and the GUI object of the browser unit generates control messages.
[0045] The external control terminal is used to generate input events and receive control messages from the set-top box terminal.
[0046] In this embodiment, the external control end includes an infrared input module, a TV output module and a Tuner port module of the set-top box control device; the infrared input module is infrared driven based on the remote control buttons; the set-top box end also has a built-in RTOS task module for controlling the real-time tasks of the set-top box.
[0047] See also Figure 2 When the set-top box GUI system is running, it includes the following specific processes:
[0048] S1. The device driver layer at the set-top box receives a remote control key from the external control end and generates an input event corresponding to the key.
[0049] S2. The event processing module transmits the input event to the browser unit through the HTML5 data interface and finally responds on the GUI object.
[0050] S3. Generate control messages through GUI objects and distribute them to the device driver layer or RTOS by the event distribution module, so as to control the external control terminal and real-time tasks of the set-top box.
[0051] In this embodiment, the set-top box also downloads the designed HTML, JavaScript and CSS files through the HTML5 server, and caches them locally using the local cache feature; the HTML5 server modifies the HTML5 and pushes it to the set-top box in a timely manner to display the new modifications in real time, thereby improving the development and maintenance efficiency of the set-top box software, reducing R&D costs, and meeting the different customization needs of a large number of customers in a more flexible and efficient manner.
[0052] In summary, the system is based on the W3C recommended standards, so that all browsers support it, which solves the portability of the GUI system; it has device compatibility and multimedia characteristics, provides a wealth of data and application access open interfaces, so that the set-top box external device driver can be associated with the browser's internal data; and based on the local cache characteristics, it can solve the set-top box human-computer interaction The rapid response and improve the user experience; finally, based on the CSS3 characteristics, it can more conveniently provide customers with more style effects, and has higher flexibility and real-time performance.
[0053] The beneficial effects of the present invention are:
[0054] 1. The set-top box GUI system implemented based on HTML5 supports all browsers based on HTML5 technology, solves the portability of the GUI system, provides rich data and application access open interfaces, solves the rapid response of set-top box human-computer interaction, improves user experience, and can more conveniently provide customers with more style effects, with higher flexibility and real-time performance.
[0055] 2. The set-top box GUI system based on HTML5 improves the development and maintenance efficiency of set-top box software, reduces R&D costs, and meets the different customized needs of a large number of customers in a more flexible and efficient way.
[0056] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0057] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A set-top box GUI system based on HTML5, characterized in that: It includes an HTML5 server, a set-top box, and an external control terminal, wherein the HTML5 server communicates with the set-top box for data, and the set-top box communicates with the external control terminal for data; The HTML5 server is used to design and manage HTML5 files and maintain data communication with the set-top box. The HTML5 server includes a distribution module, a design module and a management module. The management module is located in the control background of the HTML5 server. The output data of the management module is connected to the input of the design module. The output data of the design module is connected to the input of the distribution module. The output data of the distribution module is connected to the input of the set-top box. The distribution module, design module and management module of the HTML5 server include the following specific contents: The distribution module is used to provide file download services to the set-top box end and distribute HTML, JavaScript and CSS files; The design module is used to modify HTML5 based on the server; The management module is used to manage the designed HTML, JavaScript and CSS files; The set-top box end is used to process events including human-computer interaction and device control; The set-top box end includes a browser unit, a GUI event management unit and a device driver layer, the browser unit communicates data with the GUI event management unit, and the device driver layer communicates data with the device driver layer; the browser unit has a built-in GUI object, and the GUI event management unit includes an event processing module and an event distribution module; The GUI event management unit is used to process custom events including human-computer interaction events, device control events and timing events, the device driver layer is used to generate input events, and the GUI object of the browser unit generates control messages; The external control terminal is used to generate input events and receive control messages from the set-top box terminal; When the set-top box GUI system is running, it includes the following specific processes: S1, the device driver layer at the set-top box receives the remote control button at the external control end and generates an input event corresponding to the button; S2, the event processing module transmits the input event to the browser unit through the HTML5 data interface and finally responds on the GUI object; S3. Generate control messages through GUI objects and distribute them to the device driver layer or RTOS by the event distribution module, so as to control the external control terminal and real-time tasks of the set-top box.
2. A set-top box GUI system based on HTML5 according to claim 1, characterized in that: The set-top box GUI system operates in a C / S mode combining an event-driven mechanism and a message mechanism; The design module is used to modify HTML5 based on the server; The management module is used to manage the designed HTML, JavaScript and CSS files.
3. A set-top box GUI system based on HTML5 according to claim 1, characterized in that: The external control end includes an infrared input module, a TV output module and a Tuner port module of a set-top box control device; the infrared input module is infrared driven based on remote control buttons; the set-top box end also has a built-in RTOS task module for controlling real-time tasks of the set-top box.
4. The set-top box GUI system based on HTML5 according to claim 1, characterized in that: The set-top box also downloads the designed HTML, JavaScript and CSS files through the HTML5 server, and caches them locally using the local cache feature; The HTML5 server modifies HTML5 and pushes it to the set-top box in a timely manner to display the new modifications in real time.
