Method, device and apparatus for switching service interface of set-top box, and storage medium
By retrieving attribute values from the system database and launching the corresponding business interface after the set-top box device restarts, the problem of traditional set-top box devices being unable to unify the entry points for IPTV, OTT, and cloud PCs is solved, enabling quick switching and customized interfaces, thus improving the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SHENZHEN YOUHUA COMM TECH
- Filing Date
- 2023-06-19
- Publication Date
- 2026-06-09
AI Technical Summary
Traditional set-top box devices can only support a single service capability and cannot achieve a unified entry point and quick switching between IPTV, OTT and cloud computers, resulting in inconvenience for users.
After a reboot, the system retrieves the attribute values from the system database before the reboot, obtains the network IP address, and launches the corresponding service interface based on that address. It also supports double-clicking the HOME button on the remote control to select the service interface and saves the attribute values for direct startup next time.
It enables quick switching between different service interfaces on set-top box devices, reduces learning costs, improves ease of operation and user experience, and supports custom Launcher functionality.
Smart Images

Figure CN116684694B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of set-top box technology, and in particular to a method, apparatus, device, and storage medium for switching service interfaces on a set-top box device. Background Technology
[0002] In the current digital television market, set-top boxes have become the primary terminal devices for users to receive digital television signals and watch video content. Traditional set-top boxes typically only support a single IPTV (Internet Protocol Television) or OTT (Over-The-Top) service, and the access points for cloud computing are inconsistent, causing inconvenience for users. Therefore, integrating IPTV, OTT, and cloud computing services and achieving a unified access point and switching method has become a pressing technical problem in today's digital television market.
[0003] Before addressing these issues, it's crucial to first define the service selection interface that should be provided when a new device is used for the first time. For traditional set-top boxes, users simply connect the network cable and power supply, press the power button on the remote, and automatically enter the pre-installed interface. However, for devices that simultaneously offer IPTV, OTT, and cloud computing services, it's necessary to consider how users select the desired service and how to ensure that the previously selected service can be accessed directly upon next startup. Therefore, a user-friendly interaction method needs to be designed to guide users through service selection and save their settings.
[0004] Therefore, how to enable set-top box devices to automatically determine the selected service type and configure them according to the corresponding network access method to ensure that they can directly access the previously selected service upon the next startup is a technical problem that needs to be solved. Summary of the Invention
[0005] This invention provides a method, apparatus, device, and storage medium for switching service interfaces on a set-top box device, which solves the technical problem of how to achieve rapid switching of service interfaces on a set-top box device.
[0006] The first aspect of the present invention provides a method for switching service interfaces on a set-top box device, the method comprising:
[0007] After restarting, retrieve the attribute values configured in the configuration properties before the restart from the system database. The attribute values in the configuration properties include the acquisition path of the network IP address corresponding to different business interfaces. Obtain the network IP address through the attribute value and start the corresponding business interface based on the network IP address.
[0008] Optionally, in a first implementation of the first aspect of the present invention, before restarting, the following steps are included:
[0009] A selection entry point for a business interface is provided to obtain the user's selection instruction for the business interface, obtain the network IP address corresponding to the business interface selected by the user, and start the corresponding business interface based on the network IP address.
[0010] Obtain the attribute value corresponding to the business interface, and associate the attribute value with the network IP address and store it in the system database.
[0011] Optionally, in a second implementation of the first aspect of the present invention, providing a selection entry point for a business interface includes:
[0012] In response to a double-click signal of the HOME button on the remote control, a selection entry point for the corresponding service interface is provided. The system of the set-top box device is configured with the default attributes and corresponding attribute values of the HOME button on the remote control; the attribute values are configured as the identifier of the wizard application.
[0013] Optionally, in a third implementation of the first aspect of the present invention, the method further includes:
[0014] In response to a double-click signal on the HOME button on the remote control, the service selection interface is launched, and the service interface is switched.
[0015] Optionally, in a fourth implementation of the first aspect of the present invention, after the step of launching the corresponding service interface based on the network IP address, the following steps are included:
[0016] Set the identifier of the wizard application corresponding to the selected business interface to the persist property, so that the interface configured in the persist property will be launched first on the next startup.
[0017] Optionally, in a fifth implementation of the first aspect of the present invention, after the step of launching the service selection interface in response to a double-click signal of the HOME button on the remote control and performing the switching of the service interface, the method includes:
[0018] Set the identifier of the wizard application corresponding to the switched business interface to the persist property, so that the interface configured in the persist property will be launched first on the next startup.
[0019] Optionally, in a sixth implementation of the first aspect of the present invention, the persist attribute is persist.sys.deflauncher.pkg and persist.sys.deflauncher.cls.
[0020] A second aspect of the present invention provides an apparatus for switching service interfaces on a set-top box device, the apparatus comprising:
[0021] The acquisition module is used to retrieve the attribute values configured in the configuration properties before the restart from the system database after the restart. The attribute values in the configuration properties include the acquisition path of the network IP address corresponding to different business interfaces.
[0022] The startup module is used to obtain the network IP address through the attribute value and start the corresponding business interface based on the network IP address.
[0023] A third aspect of the invention provides a device for switching service interfaces of a set-top box, comprising: a memory and at least one processor, wherein the memory stores instructions; the at least one processor invokes the instructions in the memory to cause the device for switching service interfaces of the set-top box to perform the aforementioned method for switching service interfaces of the set-top box.
[0024] A fourth aspect of the present invention provides a computer-readable storage medium storing instructions that, when executed on a computer, cause the computer to perform the above-described method for switching service interfaces on a set-top box device.
[0025] The technical solution provided by this invention offers the following advantages: This invention provides a method, apparatus, device, and storage medium for switching service interfaces on a set-top box. After a restart, it retrieves the attribute values configured in the configuration attributes from the system database before the restart; then, it obtains the network IP address through the attribute values and starts the corresponding service interface based on the network IP address. This invention enables users to quickly switch between different service interfaces, with low learning costs and convenient and fast operation. Attached Figure Description
[0026] Figure 1 This is a schematic diagram of an embodiment of the method for switching service interfaces on a set-top box device according to the present invention;
[0027] Figure 2 This is a schematic diagram of one embodiment of the device for switching service interfaces in a set-top box according to an embodiment of the present invention. Detailed Implementation
[0028] This invention provides a method, apparatus, device, and storage medium for switching service interfaces in a set-top box device, addressing the technical problem of how to achieve rapid switching of service interfaces in a set-top box device. The terms "first," "second," "third," "fourth," etc. (if present) in the specification, claims, and accompanying drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments described herein can be implemented in a sequence other than that illustrated or described herein. Furthermore, the terms "comprising" or "having" and any variations thereof are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or device that includes a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or devices.
[0029] For ease of understanding, the specific process of the embodiments of the present invention is described below. Please refer to [link / reference]. Figure 1 One embodiment of the method for switching service interfaces on a set-top box device according to the present invention includes:
[0030] Step 101: After restarting, retrieve the attribute values configured in the configuration properties before the restart from the system database. The attribute values in the configuration properties include the acquisition path of the network IP address corresponding to different business interfaces.
[0031] Specifically, after restarting, the system needs to retrieve previously saved attribute values from the system database, including the APK (application) package name, class name, and the path to obtain the network IP address corresponding to the selected service interface.
[0032] Specifically, after restarting, the system retrieves the APK package name and class name corresponding to the previously selected service by reading the values of the persist.sys.deflauncher.pkg and persist.sys.deflauncher.cls properties. Then, based on the path to obtain the network IP address corresponding to the service interface, it initiates the corresponding network request to obtain the network IP address and saves it to the system database.
[0033] It is understood that the executing entity of this invention can be a device for switching service interfaces on a set-top box, or it can be a terminal or a server; no specific limitation is made here. This embodiment of the invention will be described using a device for switching service interfaces on a set-top box as an example.
[0034] Step 102: Obtain the network IP address through the attribute value, and start the corresponding business interface based on the network IP address.
[0035] Specifically, once the network IP address is obtained, the system can use the previously configured APK package name and class name to launch the application interface of the selected business, thus completing the function of a custom Launcher.
[0036] In addition to selecting services by double-clicking the HOME button, other selection methods are also supported, such as using shortcut keys on the remote control, voice recognition, and gesture control.
[0037] To improve user experience, the network IP address can be automatically obtained and saved to the system database during system startup. This way, it won't need to make a network request to obtain the network IP address again after a restart.
[0038] In this embodiment of the invention, the beneficial effects are as follows: First, a default launcher interface needs to be set and saved as a system attribute value. Then, after the user selects a specific service, the launcher of the corresponding service application is configured by setting attribute values. After restarting, the system will directly launch the application interface of the selected service based on the previously configured attribute values. This embodiment provides users with an efficient and convenient custom Launcher solution, which can help users quickly launch service applications and improve user experience. Furthermore, due to its strong scalability and reliability, it can also be customized according to different user needs, meeting diverse user requirements.
[0039] Another embodiment of the method for switching service interfaces on a set-top box device in this invention includes:
[0040] A selection entry point for a business interface is provided to obtain the user's selection instruction for the business interface, obtain the network IP address corresponding to the business interface selected by the user, and start the corresponding business interface based on the network IP address.
[0041] Obtain the attribute value corresponding to the business interface, and associate the attribute value with the network IP address and store it in the system database.
[0042] Specifically, in this step, the system provides a selection interface for a business application, allowing users to choose the desired interface. In detail, the system designs a business list interface that displays all available business applications, along with corresponding icons and descriptive information.
[0043] When a user selects a business application on the interface, the system needs to obtain the network IP address corresponding to that business interface and start the corresponding business interface based on that network IP address.
[0044] Simultaneously, after obtaining the network IP address, the system retrieves the attribute values corresponding to the selected service interface and associates them with the network IP address, storing them in the system database. For example, attribute values such as service name, service ID, and service category are saved to the system database for use upon the next startup.
[0045] Another embodiment of the method for switching service interfaces on a set-top box device in this invention includes:
[0046] The provision of a selection entry point for a business interface includes:
[0047] In response to a double-click signal of the HOME button on the remote control, a selection entry point for the corresponding service interface is provided. The system of the set-top box device is configured with the default attributes and corresponding attribute values of the HOME button on the remote control; the attribute values are configured as the identifier of the wizard application.
[0048] Specifically, the default properties of the HOME button on the remote control are set to sys.deflauncher.pkg and sys.deflauncher.cls, and their corresponding property values are configured as the identifier of the wizard application.
[0049] When the user double-clicks the HOME button on the remote control, the system automatically retrieves the values of the sys.deflauncher.pkg and sys.deflauncher.cls properties and uses them as parameters for the startup wizard application, launching the service selection interface. In the service selection interface, the user can browse all available service applications and make a selection.
[0050] Once a user selects a business application, the system obtains the path based on the application's network IP address, initiates the corresponding network request, and saves the network IP address corresponding to the selected business interface to the system database. In addition, the system also needs to obtain the attribute values corresponding to the business application and associate them with the network IP address, storing them in the system database.
[0051] The beneficial effects of this embodiment are as follows: By configuring system attribute values and responding to the double-click signal of the HOME button on the remote control, the system provides a selection entry point for a service interface and successfully obtains the network IP address and attribute values corresponding to the selected service interface. This solution improves the ease of operation, optimizes the user experience, and lays the foundation for subsequent service startup processes.
[0052] Another embodiment of the method for switching service interfaces on a set-top box device in this invention includes:
[0053] After the step of launching the corresponding service interface based on the network IP address, the following steps are included:
[0054] Set the identifier of the wizard application corresponding to the selected business interface to the persist property, so that the interface configured in the persist property will be launched first on the next startup.
[0055] Specifically, the implementation steps are expanded as follows:
[0056] Set an expiration time when saving the identifier. For example, set the identifier's validity period to 7 days, and automatically delete the identifier from the persist property after the expiration date.
[0057] If a user needs to launch multiple business interfaces simultaneously, the identifier can be saved as an array when saving the identifier, so that multiple business applications can be launched simultaneously on the next startup. For example, the identifier information can be serialized and deserialized using JSON format and saved to the persist property.
[0058] Assign a priority to each identifier to determine which business applications should be launched first. For example, provide priority adjustment options through the system settings interface, allowing users to set the priorities according to their needs. The system will launch business applications in descending order of priority upon startup.
[0059] It supports customizable Launcher themes. For example, it offers a variety of wallpapers, icons, fonts, and other options, allowing users to customize the application's interface style. Users can select and manage custom themes through the system settings interface.
[0060] The beneficial effects of this embodiment are as follows: By responding to the double-click signal of the HOME button on the remote control in the service selection entry, launching the corresponding service interface based on the network IP address, and setting the identifier of the wizard application corresponding to the selected service interface to the persist property, the main functions of the custom Launcher can be realized. It supports functions such as identifier expiration time setting, simultaneous launch of multiple service interfaces, priority management, custom Launcher themes, service list filtering, data backup and recovery, etc. This embodiment of the invention improves user experience, enhances system customizability, and reduces development costs and maintenance difficulty.
[0061] Another embodiment of the method for switching service interfaces on a set-top box device in this invention includes:
[0062] After responding to a double-click signal on the HOME button on the remote control, launching the service selection interface, and performing the step of switching the service interface, the process includes:
[0063] Set the identifier of the wizard application corresponding to the switched business interface to the persist property, so that the interface configured in the persist property will be launched first on the next startup.
[0064] Retrieve the identifier of the wizard application corresponding to the currently selected business interface.
[0065] Specifically, the steps of this embodiment are further explained below:
[0066] Save the identifier as a key-value pair to the system's persist property.
[0067] On the next startup, check if the identifier of the wizard application corresponding to the business interface is already saved in the persist property. If it exists, launch the business interface directly; otherwise, enter the default Launcher interface and let the user select the business application again.
[0068] Another embodiment of the method for switching service interfaces on a set-top box device in this invention includes:
[0069] The persist attributes are persist.sys.deflauncher.pkg and persist.sys.deflauncher.cls.
[0070] The method for switching service interfaces on a set-top box device according to embodiments of the present invention has been described above. The apparatus for switching service interfaces on a set-top box device according to embodiments of the present invention will be described below. Please refer to [link / reference]. Figure 2 One embodiment of the device 1 for switching service interfaces on a set-top box in this invention includes:
[0071] The acquisition module 11 is used to retrieve the attribute values configured in the configuration attributes before the restart from the system database after the restart. The attribute values in the configuration attributes include the acquisition path of the network IP address corresponding to different business interfaces.
[0072] The startup module 12 is used to obtain the network IP address through the attribute value and start the corresponding business interface based on the network IP address.
[0073] The present invention also provides a device for switching the service interface of a set-top box device. The device for switching the service interface of a set-top box device includes a memory and a processor. The memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, the processor performs the steps of the method for switching the service interface of the set-top box device in the above embodiments.
[0074] The present invention also provides a computer-readable storage medium, which can be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium, wherein the computer-readable storage medium stores instructions that, when the instructions are executed on a computer, cause the computer to perform the steps of the method for switching the service interface of the set-top box device.
[0075] The technical solution provided by this invention offers the following advantages: This invention provides a method, apparatus, device, and storage medium for switching service interfaces on a set-top box. After a restart, it retrieves the attribute values configured in the configuration attributes from the system database before the restart; then, it obtains the network IP address through the attribute values and starts the corresponding service interface based on the network IP address. This invention enables users to quickly switch between different service interfaces, with low learning costs and convenient and fast operation.
[0076] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0077] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0078] The above-described embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for switching service interfaces on a set-top box device, characterized in that, include: Before restarting, a selection entry point for a business interface is provided to obtain the user's selection instruction for the business interface, obtain the network IP address corresponding to the selected business interface, and start the corresponding business interface based on the network IP address; obtain the attribute value corresponding to the business interface, and associate the attribute value with the network IP address and store it in the system database; After restarting, retrieve the attribute values configured in the configuration properties before the restart from the system database. The attribute values in the configuration properties include the acquisition path of the network IP address corresponding to different business interfaces. The network IP address is obtained through the attribute value, and the corresponding business interface is launched based on the network IP address.
2. The method according to claim 1, characterized in that, The provision of a selection entry point for a business interface includes: In response to a double-click signal of the HOME button on the remote control, a selection entry point for the corresponding service interface is provided. The system of the set-top box device is configured with the default attributes and corresponding attribute values of the HOME button on the remote control; the attribute values are configured as the identifier of the wizard application.
3. The method according to claim 1, characterized in that, The method further includes: In response to a double-click signal on the HOME button on the remote control, the service selection interface is launched, and the service interface is switched.
4. The method according to claim 1, characterized in that, After the step of launching the corresponding service interface based on the network IP address, the following steps are included: Set the identifier of the wizard application corresponding to the selected business interface to the persist property, so that the interface configured in the persist property will be launched first on the next startup.
5. The method according to claim 3, characterized in that, After responding to a double-click signal on the HOME button on the remote control, launching the service selection interface, and switching between service interfaces, the process includes: Set the identifier of the wizard application corresponding to the switched business interface to the persist property, so that the interface configured in the persist property will be launched first on the next startup.
6. The method according to claim 4 or 5, characterized in that, The persist attributes are persist.sys.deflauncher.pkg and persist.sys.deflauncher.cls.
7. A device for switching service interfaces in a set-top box, characterized in that, Before restarting, the device for switching service interfaces of the set-top box provides a service interface selection entry to obtain the user's selection instruction for the service interface, obtains the network IP address corresponding to the service interface selected by the user, and starts the corresponding service interface based on the network IP address. Obtain the attribute value corresponding to the business interface, and associate the attribute value with the network IP address and store it in the system database; The device for switching service interfaces on the set-top box includes: The acquisition module is used to retrieve the attribute values configured in the configuration properties before the restart from the system database after the restart. The attribute values in the configuration properties include the acquisition path of the network IP address corresponding to different business interfaces. The startup module is used to obtain the network IP address through the attribute value and start the corresponding business interface based on the network IP address.
8. A device for switching service interfaces in a set-top box, characterized in that, The device for switching service interfaces in the set-top box includes: a memory and at least one processor, wherein the memory stores instructions; The at least one processor invokes the instructions in the memory to cause the set-top box device switching service interface to perform the set-top box device switching service interface method as described in any one of claims 1-6.
9. A computer-readable storage medium storing instructions thereon, characterized in that, When the instruction is executed by the processor, it implements the method for switching the service interface of the set-top box device as described in any one of claims 1-6.