System maintenance method, device and equipment of IPTV (Internet Protocol Television) set top box and medium
By establishing a message queue in the IPTV set-top box and automatically performing system maintenance operations, the problem that existing set-top boxes cannot be automatically maintained is solved, improving the user experience and preventing system failures.
Patent Information
- Application Number
- CN202411673486.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-21
- Publication Date
- 2025-02-25
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing IPTV set-top box cannot automatically perform system maintenance, resulting in system performance degradation or failure, affecting the user experience.
By establishing a message queue in the set-top box, sending event messages when preset events are detected, shutting down regularly and automatically performing system maintenance operations during shutdown, such as system updates, resetting network connections, cleaning caches, and freeing memory.
The automatic system maintenance of IPTV set-top box is realized, which avoids the hassle of manual operation by users, improves the user experience, and prevents failure and overheating problems through regular maintenance.
Smart Images

Figure CN119520912A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of set-top boxes, and provides a system maintenance method, device, equipment and medium for an IPTV set-top box. Background Art
[0002] With the rapid development of set-top boxes of Internet Protocol Television (IPTV) systems, the number of users and user requirements are increasing. In order to provide more services and better user experience, IPTV set-top boxes must be able to provide richer value-added services.
[0003] Existing set-top boxes will pop up system prompts, such as new system versions, insufficient memory, etc., and determine whether to immediately perform system maintenance, such as system updates, freeing up memory, etc., based on user operations. If system maintenance is performed immediately at this time, the user's current viewing will be interrupted, affecting the user experience. If system maintenance is not performed for a long time, it may affect system performance. Summary of the invention
[0004] The present application provides a system maintenance method, device, equipment and medium for an IPTV set-top box, which are used to solve the problem that the existing set-top box cannot automatically perform system maintenance.
[0005] In a first aspect, a system maintenance method for an IPTV set-top box is provided, the method being applied to a set-top box, the method comprising:
[0006] Create a message queue;
[0007] If it is detected that the set-top box triggers any preset event, an event message of the preset event is sent to the message queue;
[0008] When the preset shutdown time is reached, shutting down the set-top box;
[0009] According to the event message of any preset event in the message queue, performing a system maintenance operation corresponding to any preset event on the set-top box;
[0010] When the preset power-on time is reached, the set-top box is powered on.
[0011] Optionally, performing a system maintenance operation corresponding to any preset event on the set-top box according to the event message of any preset event in the message queue includes:
[0012] If there are event messages of at least two preset events in the message queue, system maintenance operations corresponding to the at least two preset events are sequentially performed on the set-top box according to preset priorities.
[0013] Optionally, any of the preset events is any of the following events: the system is to be updated, the network status changes, the cache ratio is greater than a first preset ratio, and the memory ratio is greater than a second preset ratio.
[0014] Optionally, the system maintenance operation corresponding to the system to be updated is a system update operation, the system maintenance operation corresponding to the network status change is a network connection reset operation, the system maintenance operation corresponding to the cache ratio being greater than a first preset ratio is a cache clearing operation, and the system maintenance operation corresponding to the memory ratio being greater than a second preset ratio is a memory release operation.
[0015] Optionally, the priority of the system update operation is higher than the priority of the network connection reset operation, the priority of the network connection reset operation is higher than the priority of the cache clearing operation, and the priority of the cache clearing operation is higher than the priority of the memory release operation.
[0016] Optionally, when the preset shutdown time is reached, before shutting down the set-top box, the method further includes:
[0017] Get the shutdown time and startup time entered by the user;
[0018] If the interval between the shutdown time and the startup time entered by the user is less than the preset time, a reminder message is displayed; the reminder message is used to remind the user to re-enter the shutdown time and the startup time;
[0019] If the interval between the shutdown time and the startup time input by the user is greater than or equal to the preset duration, the shutdown time and the startup time input by the user are saved.
[0020] Optionally, after shutting down the set-top box when the preset shutdown time is reached, the method further includes:
[0021] If the message queue is empty, determining whether the length of time the message queue is empty is greater than a preset period;
[0022] If so, the set-top box is sequentially subjected to a network connection reset operation, a cache cleanup operation, and a memory release operation.
[0023] In a second aspect, a system maintenance device for an IPTV set-top box is provided, wherein the device is arranged in the set-top box, and the device comprises:
[0024] Create a module for creating a message queue;
[0025] An event management module, configured to send an event message of any preset event to the message queue if it is detected that the set-top box triggers any preset event;
[0026] The execution module is used to shut down the set-top box when the preset shutdown time is reached; execute the system maintenance operation corresponding to any preset event on the set-top box according to the event message of any preset event in the message queue; and start up the set-top box when the preset startup time is reached.
[0027] In a third aspect, the present application provides a computer device, which includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the system maintenance method of the IPTV set-top box described in the second aspect.
[0028] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, and a processor executes the computer program to implement the system maintenance method of the IPTV set-top box described in the second aspect.
[0029] Compared with the prior art, the present invention has the following beneficial effects:
[0030] The present application provides a system maintenance method for an IPTV set-top box, which is applied to a set-top box. The method comprises: if it is detected that the set-top box triggers any preset event, an event message of any preset event is sent to a message queue; when a preset shutdown time is reached, the set-top box is shut down; according to the event message of any preset event in the message queue, a system maintenance operation corresponding to any preset event is performed on the set-top box; when a preset startup time is reached, the set-top box is powered on.
[0031] In this application, the user only needs to set the shutdown time and the startup time in advance, and the set-top box can automatically perform system maintenance operations during the shutdown process (i.e. the time period when the user is not using it), avoiding the trouble of manual operation by the user, improving the convenience of user use, and thus improving the user experience. And by timing the power on and off, the set-top box can restart the system, clear the error status that may cause failure, and resume normal operation. And by regularly turning on and off the machine, the set-top box can have time to cool down and avoid overheating problems. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0033] Figure 1 A schematic diagram of the computer device structure provided in the embodiment of the present application;
[0034] Figure 2 A flowchart of a system maintenance method for an IPTV set-top box provided in an embodiment of the present application;
[0035] Figure 3 A schematic diagram of the structure of a system maintenance device for an IPTV set-top box provided in an embodiment of the present application. DETAILED DESCRIPTION
[0036] In order to make the purpose, technical scheme and advantages of the present application clearer, the technical scheme in the embodiment of the present application will be clearly and completely described below in conjunction with the drawings in the embodiment of the present application. Obviously, the described embodiment is only a part of the embodiment of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application. In the absence of conflict, the embodiments in the present application and the features in the embodiments can be combined with each other arbitrarily. In addition, although the logical order is shown in the flow chart, in some cases, the steps shown or described can be performed in an order different from that here.
[0037] In order to solve the problem that the existing set-top box cannot automatically perform system maintenance, the embodiment of the present application provides a system maintenance method for an IPTV set-top box, which is applied to the set-top box. Figure 1 As shown, an embodiment of the present application provides a set-top box, which may include a memory, a processor, and a system maintenance device for an IPTV set-top box.
[0038] Wherein, the memory and the processor are electrically connected directly or indirectly to realize the transmission or interaction of data. For example, they can be electrically connected to each other through one or more communication buses or signal lines. The system maintenance device of the IPTV set-top box includes at least one software function module that can be stored in the memory in the form of software or firmware. The processor is used to execute the executable computer program stored in the memory, for example, the software function module and computer program included by the system maintenance device of the IPTV set-top box, to realize the system maintenance method of the IPTV set-top box provided in the embodiment of the present application.
[0039] Optionally, the memory can be, but is not limited to, random access memory (RAM), read only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable read-only memory (Electric Erasable Programmable Read-Only Memory, EEPROM), etc.
[0040] Furthermore, the processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), a system on chip (SoC), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0041] Understandably, Figure 1 The structure shown is for illustration only, and the set-top box may also include Figure 1 More or fewer components as shown, or with Figure 1 The different configurations shown, for example, may also include a communication unit for exchanging information with other devices (such as a background server).
[0042] Combination Figure 2 The embodiment of the present application also provides a system maintenance method for an IPTV set-top box, which can be applied to the above set-top box. The method steps defined in the process related to the system maintenance method for the IPTV set-top box can be implemented by the set-top box.
[0043] The following will Figure 2 The specific process shown is explained in detail.
[0044] S201. Establish a message queue.
[0045] In a specific implementation process, the set-top box can use the message queue function provided by the operating system to create a message queue for transmitting event messages between different modules.
[0046] S202: If it is detected that the set-top box triggers any preset event, an event message of any preset event is sent to a message queue.
[0047] During the specific implementation process, multiple preset events can be pre-defined. The preset event can be a change or specific behavior on any device. The set-top box has an event monitoring mechanism. When it is detected that the set-top box triggers any preset event, a corresponding event message is generated and sent to the message queue.
[0048] In a possible embodiment, any preset event is any one of the following events: the system is to be updated, the network status changes, the cache ratio is greater than the first preset ratio, and the memory ratio is greater than the second preset ratio.
[0049] In the specific implementation process, when it is detected that the system of the set-top box is to be updated, for example, the network communication module of the set-top box receives the update information sent by the server, an event message of the system to be updated is sent to the message queue. When it is detected that the network status of the set-top box changes, such as "network connection interruption", "network speed reduction", etc., an event message of the network status change is sent to the message queue. When it is detected that the cache ratio of the set-top box is greater than the first preset ratio, an event message of the cache ratio greater than the first preset ratio is sent to the message queue. The cache ratio refers to the ratio of the used cache to the total cache space, and the first preset ratio can be 40%.
[0050] When it is detected that the memory usage of the set-top box is greater than the second preset ratio, an event message that the memory usage is greater than the second preset ratio is sent to the message queue. The memory usage refers to the ratio of the used memory to the total memory space, and the second preset ratio can be 50%. For example, an event message type named "MemoryWaste50Percent" can be defined. When the memory monitoring module of the set-top box detects that the memory has reached 50%, a "MemoryWaste50Percent" event message is sent to the message queue.
[0051] S203: When the preset shutdown time is reached, shut down the set-top box.
[0052] In the specific implementation process, the user clicks the setting menu, the set-top box enters the timer power on / off setting interface, and the power on time and power off time pop up, prompting the optional time period of 00:00-23:59. The user can enter the specific time point through the numeric keypad, or use the up, down, left, right and confirmation keys to select and adjust. After confirming the setting, click Save and exit the setting menu. The set-top box will save the power on time and power off time set by the user.
[0053] The set-top box can create a timer to periodically check whether the current time reaches the scheduled shutdown time (for example, 02:00). If not, it will wait until the next cycle (for example, 1 minute later) to continue checking whether the current time reaches the scheduled shutdown time. If so, it will call the shutdown command or control the power module of the set-top box to disconnect the power supply, thereby realizing the timed shutdown of the set-top box.
[0054] In a possible embodiment, when the preset shutdown time is reached, the state of the set-top box is detected, and if the set-top box is in the power-on state, the set-top box is directly shut down. If the set-top box is in the power-off state, the set-top box is first turned on and then turned off.
[0055] S204: According to the event message of any preset event in the message queue, a system maintenance operation corresponding to any preset event is performed on the set-top box.
[0056] During the specific implementation process, the set-top box has an intelligent power on and off module, and an event message listener is registered in the intelligent power on and off module. When a new event message is detected in the message queue, the listener will be triggered. The intelligent power on and off module can obtain the event messages of all preset events from the message queue and perform system maintenance operations corresponding to any preset event.
[0057] In a possible embodiment, the system maintenance operation corresponding to the system to be updated is a system update operation, the system maintenance operation corresponding to the network status change is a network connection reset operation, the system maintenance operation corresponding to the cache ratio greater than the first preset ratio is a cache clearing operation, and the system maintenance operation corresponding to the memory ratio greater than the second preset ratio is a memory release operation.
[0058] In the specific implementation process, the set-top box can automatically perform system updates according to the event messages of the system to be updated in the message queue, automatically reset the network connection according to the event messages of the network status change in the message queue, and automatically clean up the cache according to the event messages of the cache ratio in the message queue being greater than the first preset ratio, such as deleting infrequently used cache data. According to the event messages of the memory ratio in the message queue being greater than the second preset ratio, the memory is automatically released, such as clearing the system's temporary files and log files, cleaning up inactive applications, etc.
[0059] In the embodiment of the present application, system updates can ensure that the set-top box always maintains good performance and provides users with a better viewing experience. Resetting the network connection allows the set-top box to reacquire the IP address, establish a network connection, and ensure the stability of the network connection. By clearing the cache, it can ensure that the set-top box can read data normally and avoid performance degradation or failures caused by cache problems. By freeing up memory, more available memory is provided for new tasks.
[0060] In a possible embodiment, if there is only one event message of a preset event in the message queue, the system maintenance operation corresponding to the preset event is directly executed; if there are at least two event messages of preset events in the message queue, the system maintenance operations corresponding to at least two preset events are executed in sequence according to the preset priority.
[0061] In an embodiment of the present application, taking into account that certain system maintenance operations (such as system updates and memory releases) may affect or conflict with each other, resulting in operation failures, multiple system maintenance operations are performed in sequence according to priority, which can ensure that conflicts between multiple system maintenance operations are avoided and ensure that the set-top box is not interrupted by low-priority system maintenance operations or occupies too many resources when performing critical system maintenance operations.
[0062] In a possible embodiment, the priority of the system update operation is higher than the priority of the network connection reset operation, the priority of the network connection reset operation is higher than the priority of the cache cleanup operation; the priority of the cache cleanup operation is higher than the priority of the memory release operation.
[0063] In the embodiment of the present application, the system update operation has the highest priority. Prioritizing the execution of system updates can ensure that the system obtains important repairs, updates, and security patches in a timely manner, reducing the risk of potential threats to the system. If the system update operation is postponed or ignored, it may affect the reliability and security of the entire system. The priority of resetting the network connection operation is higher than other operations. For Internet applications, a stable network connection is crucial. If there is a problem with the network connection, resetting the connection first can help quickly restore normal network access and ensure that subsequent operations can proceed smoothly. Cache cleaning operations and memory release operations are second. Although cache cleaning and memory release are helpful for the long-term operation of the system, they are relatively minor operations. Cache and memory cleanup operations are usually used to optimize performance when the system workload is high without affecting the immediate stability of the system, so they can be placed at a lower priority.
[0064] S205: When the preset power-on time is reached, the set-top box is powered on.
[0065] During the specific implementation process, the timer of the set-top box can periodically check whether the current time reaches the scheduled power-on time. If not, it will wait until the next cycle (for example, 1 minute later) and continue to check whether the current time reaches the scheduled power-on time. If so, the power module will be controlled to turn on the power, thereby realizing the scheduled power-on of the set-top box.
[0066] In a possible embodiment, before shutting down the set-top box when the preset shutdown time is reached, the method further includes:
[0067] Get the shutdown time and startup time entered by the user; if the interval between the shutdown time and startup time entered by the user is less than the preset duration, display a reminder message; the reminder message is used to remind the user to re-enter the shutdown time and startup time; if the interval between the shutdown time and startup time entered by the user is greater than or equal to the preset duration, save the shutdown time and startup time entered by the user.
[0068] During the specific implementation process, the user inputs the shutdown time and startup time through the interface, and the set-top box calculates the time difference between the shutdown time and the startup time. If the time difference is less than the preset duration, a reminder message will pop up to remind the user to re-enter the shutdown time and startup time until the time difference is greater than or equal to the preset duration, and the shutdown time and startup time last entered by the user are saved.
[0069] Among them, the preset duration is the minimum duration for executing system update operations, resetting network connection operations, clearing cache operations and releasing memory operations. The set-top box can count the minimum historical duration of each system maintenance operation and determine the sum of the minimum historical duration of the four system maintenance operations as the preset duration, for example 30 minutes.
[0070] In an embodiment of the present application, during the user setting process, the set-top box reminds the user that the setting interval between the shutdown time and the startup time must be greater than the preset duration, so as to ensure that the set-top box has enough time to complete system updates, reset network connections, clear caches, and release memory, etc., to avoid data loss or damage due to premature interruption of certain operations.
[0071] In a possible embodiment, after shutting down the set-top box when the preset shutdown time is reached, the method further includes:
[0072] If the message queue is empty, determine whether the length of time the message queue is empty is greater than a preset period;
[0073] If so, the set-top box is sequentially subjected to the network connection reset operation, cache cleanup operation, and memory release operation.
[0074] During the specific implementation process, when the message queue is empty, it means that the set-top box has not triggered any preset event. If the duration of the message queue being empty is less than or equal to the preset period, such as 30 days, no operation is performed. If the duration of the message queue being empty is greater than the preset period, the network connection reset operation, cache cleanup operation, and memory release operation are performed in sequence.
[0075] In an embodiment of the present application, when no preset event is triggered, regularly resetting the network connection, clearing the cache and releasing the memory of the set-top box can improve the quality of the network connection, increase the device response speed, and optimize the performance and status of the system.
[0076] In summary, the embodiment of the present application provides a system maintenance method for an IPTV set-top box, which can automatically and regularly perform system maintenance operations such as system updates, resetting network connections, releasing memory, and clearing caches, thereby ensuring the stability of network connections and preventing freezes and failures. The set-top box performs system maintenance operations during non-use periods to avoid taking up time during startup, thereby improving the user experience.
[0077] Based on the same inventive concept, Figure 3 As shown, the embodiment of the present application also provides a system maintenance device for an IPTV set-top box, which is arranged in the set-top box, and includes:
[0078] An event management module, configured to send an event message of any preset event to a message queue if it is detected that the set-top box triggers any preset event among a plurality of preset events;
[0079] The execution module is used to shut down the set-top box when the preset shutdown time is reached; execute a system maintenance operation corresponding to any preset event on the set-top box according to the event message of any preset event in the message queue; and start the set-top box when the preset startup time is reached.
[0080] Optionally, the execution module is specifically used for:
[0081] If there are event messages of at least two preset events in the message queue, the system maintenance operations corresponding to the at least two preset events are executed in sequence according to the preset priorities.
[0082] Optionally, any preset event is any one of the following events: the system is to be updated, the network status changes, the cache ratio is greater than a first preset ratio, and the memory ratio is greater than a second preset ratio.
[0083] Optionally, the system maintenance operation corresponding to the system to be updated is a system update operation, the system maintenance operation corresponding to the network status change is a network connection reset operation, the system maintenance operation corresponding to the cache ratio greater than a first preset ratio is a cache clearing operation, and the system maintenance operation corresponding to the memory ratio greater than a second preset ratio is a memory release operation.
[0084] Optionally, the priority of the system update operation is higher than the priority of the network connection reset operation, the priority of the network connection reset operation is higher than the priority of the cache cleanup operation, and the priority of the cache cleanup operation is higher than the priority of the memory release operation.
[0085] Optionally, the device further includes a time management module, and the time management module is used to:
[0086] When the preset shutdown time is reached, before shutting down the set-top box, obtaining the shutdown time and the startup time input by the user;
[0087] If the interval between the shutdown time and the startup time entered by the user is less than the preset time, a reminder message is displayed; the reminder message is used to remind the user to re-enter the shutdown time and the startup time;
[0088] If the interval between the shutdown time and the startup time input by the user is greater than or equal to the preset duration, the shutdown time and the startup time input by the user are saved.
[0089] Optionally, the execution module is further used to:
[0090] When the preset shutdown time is reached, after the set-top box is shut down, if the message queue is empty, it is determined whether the length of time the message queue is empty is greater than a preset period;
[0091] If so, the set-top box is sequentially subjected to the network connection reset operation, cache cleanup operation, and memory release operation.
[0092] In addition, in one embodiment, the present application also provides a computer device, which is equivalent to the set-top box discussed above, and the computer device includes a processor, a memory, and a computer program stored in the memory. When the computer program is executed by the processor, it implements the system maintenance method of the aforementioned IPTV set-top box.
[0093] In addition, in one embodiment, the present application further provides a computer storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the system maintenance method of the IPTV set-top box is implemented.
[0094] In some embodiments, the computer readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; or various devices including one or any combination of the above memories. The computer may be various computing devices including intelligent terminals and servers.
[0095] In some embodiments, executable instructions may be in the form of a program, software, software module, script or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine or other unit suitable for use in a computing environment.
[0096] As an example, executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file that stores other programs or data, such as in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files storing one or more modules, subroutines, or code portions).
[0097] By way of example, executable instructions may be deployed to be executed on one computing device, or on multiple computing devices located at one site, or on multiple computing devices distributed across multiple sites and interconnected by a communication network.
[0098] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0099] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not indicate the advantages or disadvantages of the embodiments.
[0100] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory / random access memory, a magnetic disk, or an optical disk), and includes a number of instructions for a multimedia terminal device to execute the methods described in each embodiment of the present application.
[0101] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A system maintenance method for an IPTV set-top box, characterized in that: The method is applied to a set-top box; the method comprises: Create a message queue; If it is detected that the set-top box triggers any preset event, an event message of the preset event is sent to the message queue; When the preset shutdown time is reached, shutting down the set-top box; According to the event message of any preset event in the message queue, performing a system maintenance operation corresponding to any preset event on the set-top box; When the preset power-on time is reached, the set-top box is powered on.
2. The system maintenance method of the IPTV set-top box as claimed in claim 1, characterized in that, The performing, on the set-top box, a system maintenance operation corresponding to any preset event according to the event message of any preset event in the message queue, comprises: If there are event messages of at least two preset events in the message queue, the system maintenance operations corresponding to the at least two preset events are sequentially performed on the set-top box according to preset priorities.
3. The system maintenance method of the IPTV set-top box as claimed in claim 2, characterized in that, The any preset event is any one of the following events: the system is to be updated, the network status changes, the cache ratio is greater than the first preset ratio, and the memory ratio is greater than the second preset ratio.
4. The system maintenance method of the IPTV set-top box as claimed in claim 3, characterized in that: The system maintenance operation corresponding to the system to be updated is a system update operation, the system maintenance operation corresponding to the network status change is a network connection reset operation, the system maintenance operation corresponding to the cache ratio being greater than a first preset ratio is a cache clearing operation, and the system maintenance operation corresponding to the memory ratio being greater than a second preset ratio is a memory release operation.
5. The system maintenance method of the IPTV set-top box as claimed in claim 4, characterized in that: The priority of the system update operation is higher than the priority of the network connection reset operation, the priority of the network connection reset operation is higher than the priority of the cache cleanup operation, and the priority of the cache cleanup operation is higher than the priority of the memory release operation.
6. The system maintenance method of the IPTV set-top box as claimed in claim 1, characterized in that: When the preset shutdown time is reached, before shutting down the set-top box, the method further includes: Get the shutdown time and startup time entered by the user; If the interval between the shutdown time and the startup time entered by the user is less than the preset time, a reminder message is displayed; the reminder message is used to remind the user to re-enter the shutdown time and the startup time; If the interval between the shutdown time and the startup time input by the user is greater than or equal to the preset duration, the shutdown time and the startup time input by the user are saved.
7. The system maintenance method of the IPTV set-top box as claimed in claim 1, characterized in that: After the set-top box is shut down when the preset shutdown time is reached, the method further includes: If the message queue is empty, determine whether the length of time the message queue is empty is greater than a preset period; If so, the set-top box is sequentially subjected to a network connection reset operation, a cache cleanup operation, and a memory release operation.
8. A system maintenance device for an IPTV set-top box, characterized in that: The device is arranged in a set-top box, and comprises: Create a module for creating a message queue; An event management module, configured to send an event message of any preset event to the message queue if it is detected that the set-top box triggers any preset event; The execution module is used to shut down the set-top box when the preset shutdown time is reached; execute the system maintenance operation corresponding to any preset event on the set-top box according to the event message of any preset event in the message queue; and start up the set-top box when the preset startup time is reached.
9. A computer device, characterized in that: The computer device comprises a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the system maintenance method for the IPTV set-top box according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the processor executes the computer program to implement the system maintenance method for the IPTV set-top box according to any one of claims 1 to 7.
Citation Information
Patent Citations
Method and receiver for system software upgrading in standby of digital television receiver
CN101594496A
Set-top box and upgrading method thereof
CN102253851A
Set top box restarting method, device, equipment, medium and product
CN116916073A
Set top box upgrading method and device and storage medium
CN117979099A