A set-top box real-time control method and system based on mobile Internet

By designing a system for real-time monitoring and analysis of memory usage and wireless connection status in the set-top box, and calculating the restart index, the problem of memory management and wireless connection of the set-top box is solved, and the user's viewing experience and system stability are improved.

CN118433472BActive Publication Date: 2024-09-03SHENZHEN HAIYUKE ELECTRONIC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410888964.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-04
Publication Date
2024-09-03
Estimated Expiration
2044-07-04

AI Technical Summary

Technical Problem

The memory management and wireless connection status of existing set-top boxes are difficult to monitor and process in real time, resulting in reduced system performance and poor user viewing experience.

Method used

A real-time control system for set-top boxes based on the mobile Internet is designed, including a memory monitoring subsystem, a memory leak data collection subsystem, a data processing subsystem, a risk analysis subsystem and a mobile terminal control subsystem. Through regular monitoring of memory usage, real-time Collect wireless stability data, perform data preprocessing and feature extraction, calculate restart index, and promptly notify users to perform restart operations.

Benefits of technology

It effectively reduces excessive memory usage and wireless connection disorder, improves the accuracy of automatic system adjustment, improves the user's viewing experience and system availability, and provides a more user-friendly experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118433472B
    Figure CN118433472B
Patent Text Reader

Abstract

The invention discloses a set-top box real-time control method and system based on mobile Internet, and relates to the technical field of set-top boxes. Firstly, the memory usage inside the set-top box is monitored regularly, and the memory value Nxz is obtained in time and compared with the memory threshold value N, which is helpful to reduce the excessive memory occupation; the memory leakage data acquisition subsystem monitors the memory leakage danger degree data information in real time, and monitors the wireless stability data at the same time; the risk analysis subsystem uses multi-dimensional key parameters to calculate and fit to obtain the restart index Cqzs, which is helpful to help users make intelligent decisions when restart is needed; the mobile terminal control subsystem pre-sets the evaluation threshold value Q, compares it with the restart index Cqzs to perform risk evaluation, and notifies the user to perform specific implementation tasks. This real-time control and user notification mechanism enables the user to take appropriate measures when a problem occurs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of set-top boxes, and in particular to a real-time control method and system for a set-top box based on mobile Internet. Background Art

[0002] In the current era of mobile Internet, the widespread use of smart home devices has made people's lives more convenient and intelligent. Among them, the set-top box of the TV plays the role of a bridge connecting the TV and the Internet. The set-top box is a device used to connect to the TV and receive broadcast signals, digital TV signals, and Internet video streams, etc., providing users with rich entertainment and information services.

[0003] In the prior art, most of the improvements are made to the basic control functions of the set-top box, such as switching platforms, increasing or decreasing the volume, and fast-forwarding TV content. For the memory management and control of the set-top box, the memory is usually cleaned by directly shutting down and restarting the machine. Although such methods are practical, most users are not professional technicians, and memory leaks and confusion in the wireless connection status are often difficult to detect and handle in time, or even impossible to detect. Memory leaks may cause system performance to decline, and the disorder in the wireless connection status may affect the user's normal viewing of TV programs. Under this situation, users may encounter problems such as unexplained screen freezes and application crashes, which reduce the overall viewing experience. Summary of the invention

[0004] 1. Technical issues to be resolved

[0005] In view of the deficiencies in the prior art, the present invention provides a method and system for real-time control of a set-top box based on mobile Internet, which solves the problems in the above-mentioned background technology.

[0006] 2. Technical tasks

[0007] To achieve the above objectives, the present invention is implemented through the following technical tasks: a set-top box real-time control system based on mobile Internet, including a set-top box memory monitoring subsystem, a memory leakage data acquisition subsystem, a data processing subsystem, a risk analysis subsystem and a mobile terminal control subsystem;

[0008] The set-top box memory monitoring subsystem is used to regularly monitor the memory usage inside the set-top box, obtain the memory value Nxz, and set the memory threshold N, compare the memory value Nxz with the memory threshold N, and determine whether to notify the user to perform a restart operation;

[0009] The memory leakage data collection subsystem is used to monitor the relevant memory leakage risk level data information in the set-top box in real time; and when the network connection of the set-top box is in a wireless transmission mode, the relevant wireless stability data information is monitored in real time to generate a monitoring data set;

[0010] The data processing subsystem is used to transmit the relevant memory leakage danger level data information and the relevant wireless stability data information to the monitoring data set, perform data preprocessing on the data information in the monitoring data set, and extract features after preprocessing;

[0011] The risk analysis subsystem is used to extract features from the relevant memory leakage risk level data information and the relevant wireless stability data information respectively, so as to obtain the number of wireless devices Wxsb, the wireless distance Wjjz between the set-top box and the wireless router, the memory allocation state factor Ztyz, and the number of memory fragments Spll, and associate the number of wireless devices Wxsb with the wireless distance Wjjz to obtain the wireless signal influence coefficient Xhxs, and associate the memory allocation state factor Ztyz with the number of memory fragments Spll to obtain the leakage risk coefficient Fxxs, and obtain the restart index Cqzs through deep calculation learning and fitting. The restart index Cqzs is obtained by the following formula:

[0012] ;

[0013] In the formula, Yxsc represents the running time, wdz represents the temperature value, h 1 、h 2 、h 3 and h 4 They are respectively expressed as the preset proportional coefficients of the wireless signal influence coefficient Xhxs, the leakage risk coefficient Fxxs, the operation time Yxsc and the temperature value Wdz, where 0.10≤h 1 ≤0.33, 0.14≤h 2 ≤0.42,0.05≤h 3 ≤0.10, 0.10≤h 4 ≤0.15, and 0.45≤h 1 +h 2 +h 3 +h 4 ≤1.0, P represents the first correction constant;

[0014] The mobile terminal control subsystem is used to perform risk assessment based on the preset assessment threshold Q and the restart index Cqzs, and obtain corresponding assessment results to take specific implementation tasks and notify the mobile terminal.

[0015] Preferably, the set-top box memory monitoring subsystem comprises a monitoring unit and a first comparing unit;

[0016] The monitoring unit is used to collect memory values ​​Nxz collected during daytime and nighttime periods in a timeline manner;

[0017] The first comparison unit is used to preset a memory threshold N, and compare it with the memory value Nxz to determine whether it is necessary to notify the user to perform a restart operation:

[0018] If the memory value Nxz is greater than or equal to the memory threshold N, that is, Nxz ≥ N, it means that the user needs to be notified to perform a restart operation at this time;

[0019] If the memory value Nxz is less than the memory threshold N, that is, Nxz<N, it means that there is no need to notify the user to perform a restart operation at this time.

[0020] Preferably, the memory leak data collection subsystem includes a memory leak collection unit and a wireless connection collection unit;

[0021] The memory leak collection unit is used to monitor the relevant memory leak danger level data information in the set-top box in real time, wherein the relevant memory leak danger level data information includes the number of unreleased memory blocks, the location where the memory leak occurs, the duration of the memory leak, the speed of allocation, the number of memory fragments, the blocks in the configuration parameters of the memory allocator, the cache size and the frequency of memory release;

[0022] The wireless connection acquisition unit is used to monitor relevant wireless stability data information in real time when the network connection of the set-top box is in wireless transmission mode, wherein the relevant wireless stability data information includes the number of wireless devices, the wireless distance size and the number of obstacles between the set-top box and the wireless router, and the network bandwidth.

[0023] Preferably, the data processing subsystem includes a preprocessing unit and a normalization unit;

[0024] The preprocessing unit is used to calibrate the data information in the monitoring data set, identify and process the missing values ​​therein, and use signal processing technology to remove high-frequency noise in the data information;

[0025] The normalization unit is used to convert all data information in the preprocessed monitoring data set into the same unit using a dimensionless processing technique.

[0026] Preferably, the allocation speed Fpsd is associated with the block size Qkz, and after dimensionless processing, the memory allocation state factor Ztyz is obtained, and the memory allocation state factor Ztyz is obtained by the following formula:

[0027] ;

[0028] Where Hcz is the cache size, a 1 、a 2 and a 3They are respectively represented as the preset proportional coefficients of the allocation speed Fpsd, the block size Qkz and the cache size Hcz, where 0.10≤a 1 ≤0.15,0.12≤a 2 ≤0.30, 0.08≤a 3 ≤0.20, and 0.40≤a 1 +a 2 +a 3 ≤0.60.

[0029] Preferably, after dimensionless processing, the leakage risk coefficient Fxxs is obtained by the following formula:

[0030] ;

[0031] Wherein, Spll represents the number of memory fragments, Sfpl represents the memory release frequency, α1 and α2 both represent preset proportional coefficients, wherein 0.24≤α1≤0.38, 0.20≤α2≤0.40, and 0.50≤α1+α2≤0.70, and Y represents the second correction constant.

[0032] Preferably, after dimensionless processing, the wireless signal influence coefficient Xhxs is obtained by the following formula:

[0033] ;

[0034] Wherein, Wxsd represents the number of wireless devices, Wjjz represents the wireless distance, Zawz represents the amount of obstacles, β1 and β2 both represent preset proportional coefficients, wherein 0.20≤β1≤0.52, 0.12≤β2≤0.48, and 0.35≤β1+β2≤1.0, and C represents the third correction constant.

[0035] Preferably, the mobile terminal control subsystem includes a second comparison unit and an execution unit;

[0036] The second comparison unit is used to perform risk assessment on the restart index Cqzs and the assessment threshold Q, and obtain corresponding assessment results to take specific implementation tasks. The specific contents of the assessment results are as follows:

[0037] If the restart index Cqzs is greater than the evaluation threshold Q, that is, Cqzs>Q, a first risk result is generated, indicating that the set-top box is in an abnormal state;

[0038] If the restart index Cqzs is equal to the evaluation threshold Q, that is, Cqzs=Q, a second risk result is generated, indicating that the set-top box is in a normal state, but the user terminal needs to be reminded;

[0039] If the restart index Cqzs is less than the evaluation threshold Q, that is, Cqzs<Q, a third risk result is generated, indicating that the set-top box is in a normal state;

[0040] The execution unit is used to perform corresponding execution operations on the first risk result, the second risk result and the third risk result respectively. The specific execution operation contents are as follows:

[0041] When the first risk result is generated, the system will automatically execute the shutdown and restart operation of the set-top box, and buffer the viewing content of the 10-minute TV series before the shutdown and restart to provide a viewing experience during the interruption, and send a notification to the mobile terminal;

[0042] When the second risk result is generated, the system will immediately send a notification to the mobile terminal to remind the set-top box to shut down and restart, and send it to the mobile terminal in the form of a pop-up window;

[0043] When a third risk result is generated, the system does not need to issue additional notifications and commands.

[0044] Preferably, the execution unit includes an execution feedback subunit;

[0045] The execution feedback subunit is used to provide feedback and monitor the corresponding specific implementation tasks in the execution unit to determine the execution status of the specific implementation tasks, including whether the tasks have been started, are being executed, or are completed.

[0046] Preferably, a real-time control method of a set-top box based on mobile Internet comprises the following steps:

[0047] Step 1: First, the set-top box memory monitoring subsystem will regularly monitor the memory usage inside the set-top box, obtain the memory value Nxz, and determine whether to notify the user to perform a restart operation based on the memory value Nxz;

[0048] Step 2: Secondly, the memory leakage data collection subsystem will monitor the relevant memory leakage risk level data information in the set-top box in real time; and when the set-top box is connected in the form of a wireless network, it will monitor the relevant wireless stability data information in real time to generate a monitoring data set;

[0049] Step 3: In addition, the data processing subsystem will perform data preprocessing on the data information in the monitoring data set, and extract features after preprocessing;

[0050] Step 4: Then the risk analysis subsystem performs feature extraction on the relevant memory leakage risk level data information and the relevant wireless stability data information respectively to obtain the number of wireless devices Wxsb, the wireless distance Wjjz between the set-top box and the wireless router, the memory allocation state factor Ztyz and the number of memory fragments Spll, and associates the number of wireless devices Wxsb with the wireless distance Wjjz to obtain the wireless signal influence coefficient Xhxs, and associates the memory allocation state factor Ztyz with the number of memory fragments Spll to obtain the leakage risk coefficient Fxxs, and obtains the restart index Cqzs through deep calculation learning and fitting;

[0051] Step 5: Finally, the mobile terminal control subsystem uses the preset evaluation threshold Q and the restart index Cqzs to perform risk evaluation, obtains corresponding evaluation results, takes specific implementation tasks, and notifies the mobile terminal to improve the quality of TV image playback.

[0052] (III) Beneficial effects

[0053] The present invention provides a set-top box real-time control method and system based on mobile Internet, which has the following beneficial effects:

[0054] (1) First, the memory usage inside the set-top box is monitored regularly, and the memory value Nxz is obtained in time and compared with the memory threshold N, which helps to reduce excessive memory usage and improve the overall operating efficiency of the set-top box; the memory leakage data acquisition subsystem monitors the memory leakage risk level data information in real time, and monitors the wireless stability data at the same time, so that the system can detect and warn potential problems in advance before they expand, thereby reducing the instability encountered by users during use; the risk analysis subsystem uses multi-dimensional key parameters to calculate and fit the restart index Cqzs, which helps users make intelligent decisions when to restart and improve the accuracy of automatic adjustment of the system; the mobile control subsystem pre-sets the evaluation threshold Q, compares it with the restart index Cqzs for risk assessment, and notifies the user to perform specific tasks. This real-time control and user notification mechanism enables users to take appropriate measures when problems occur, further improving the availability and stability of the system and indirectly improving the user's viewing experience. In short, the system mainly monitors and conducts early warning control on the performance safety of the set-top box itself. Compared with the basic control functions of the set-top box in the existing technology, such as switching platforms, increasing or decreasing volume, and fast-forwarding TV content, the safe control of the set-top box is further optimized.

[0055] (2) By generating three specific risk results, it helps to identify the working status of the set-top box in a timely manner and improve the system's perception and response to abnormal situations; then, according to different risk results, corresponding execution operations are taken, and then feedback and monitoring are conducted on the specific implementation tasks to determine the execution status of the tasks, which helps users monitor the progress of the execution tasks and further improves the controllability and reliability of the execution. Buffering TV series content before shutting down and restarting, as well as sending reminder notifications in the form of pop-ups, are all aimed at providing a more user-friendly experience. While maintaining the normal operation of the set-top box, the system minimizes interference to users, helps users better manage the memory and connection status of the set-top box, and improves the quality and stability of TV viewing. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] Figure 1 This is a block diagram of a set-top box real-time control system based on mobile Internet in the present invention;

[0057] Figure 2 The present invention is a schematic diagram of the steps of a method for real-time control of a set-top box based on mobile Internet. DETAILED DESCRIPTION

[0058] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical tasks 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 making creative work are within the scope of protection of the present invention.

[0059] Example 1

[0060] See also Figure 1 , the present invention provides a set-top box real-time control system based on mobile Internet, including a set-top box memory monitoring subsystem, a memory leakage data acquisition subsystem, a data processing subsystem, a risk analysis subsystem and a mobile terminal control subsystem;

[0061] The set-top box memory monitoring subsystem is used to regularly monitor the memory usage inside the set-top box, obtain the memory value Nxz, and set the memory threshold N, compare the memory value Nxz with the memory threshold N, and determine whether to notify the user to perform a restart operation;

[0062] The memory leakage data collection subsystem is used to monitor the relevant memory leakage risk level data information in the set-top box in real time; and when the network connection of the set-top box is in a wireless transmission mode, the relevant wireless stability data information is monitored in real time to generate a monitoring data set;

[0063] The data processing subsystem is used to transmit the relevant memory leakage danger level data information and the relevant wireless stability data information to the monitoring data set, perform data preprocessing on the data information in the monitoring data set, and extract features after preprocessing;

[0064] The risk analysis subsystem is used to extract features from the relevant memory leakage risk level data information and the relevant wireless stability data information respectively, so as to obtain the number of wireless devices Wxsb, the wireless distance Wjjz between the set-top box and the wireless router, the memory allocation state factor Ztyz, and the number of memory fragments Spll, and associate the number of wireless devices Wxsb with the wireless distance Wjjz to obtain the wireless signal influence coefficient Xhxs, and associate the memory allocation state factor Ztyz with the number of memory fragments Spll to obtain the leakage risk coefficient Fxxs, and obtain the restart index Cqzs through deep calculation learning and fitting. The restart index Cqzs is obtained by the following formula:

[0065] ;

[0066] In the formula, Yxsc represents the running time, wdz represents the temperature value, h 1 、h 2 、h 3 and h 4 They are respectively expressed as the preset proportional coefficients of the wireless signal influence coefficient Xhxs, the leakage risk coefficient Fxxs, the operation time Yxsc and the temperature value Wdz, where 0.10≤h 1 ≤0.33, 0.14≤h 2 ≤0.42,0.05≤h 3 ≤0.10, 0.10≤h 4 ≤0.15, and 0.45≤h 1 +h 2 +h 3 +h 4 ≤1.0, P represents the first correction constant;

[0067] The above temperature value wdz is collected and obtained through a temperature sensor;

[0068] The running time Yxsc is collected and obtained through a timer;

[0069] The mobile terminal control subsystem is used to perform risk assessment based on the preset assessment threshold Q and the restart index Cqzs, and obtain corresponding assessment results to take specific implementation tasks and notify the mobile terminal.

[0070] During the operation of this system, the set-top box memory monitoring subsystem can monitor the set-top box memory usage at regular intervals, obtain the memory value Nxz in time and compare it with the memory threshold N, which helps to reduce excessive memory usage; the memory leakage data acquisition subsystem monitors the memory leakage danger level data information in real time, and monitors the wireless stability data at the same time, so that the system can detect and warn potential problems in advance before they expand; the risk analysis subsystem uses multi-dimensional key parameters to calculate and fit the restart index Cqzs, which helps users make intelligent decisions on when to restart.

[0071] Example 2

[0072] Please refer to Figure 1 ,Specifically: the set-top box memory monitoring subsystem includes a monitoring unit and a first comparison unit;

[0073] The monitoring unit is used to collect memory values ​​Nxz collected during daytime and nighttime periods in a timeline manner;

[0074] The first comparison unit is used to preset a memory threshold N, and compare it with the memory value Nxz to determine whether it is necessary to notify the user to perform a restart operation:

[0075] If the memory value Nxz is greater than or equal to the memory threshold N, that is, Nxz ≥ N, it means that the user needs to be notified to perform a restart operation at this time;

[0076] If the memory value Nxz is less than the memory threshold N, that is, Nxz<N, it means that there is no need to notify the user to perform a restart operation at this time.

[0077] In this embodiment, the monitoring unit collects memory values ​​Nxz in a timeline manner, including daytime and nighttime periods. This differentiated monitoring helps to further accurately understand the memory usage of the set-top box in different time periods, thereby improving the timeliness of the monitoring. The first comparison unit determines the relationship between the memory value Nxz and the memory threshold N. When the memory value is greater than or equal to the memory threshold, it indicates that the user needs to be notified to perform a restart operation. This intelligent decision-making mechanism ensures that the user is reminded in time when the memory usage reaches a certain level, thereby effectively reducing the problem of system performance degradation caused by excessive memory usage. At the same time, by notifying the user whether a restart operation is needed, the system can provide user-friendly operation suggestions. The user can understand the operating status of the set-top box more clearly and take timely measures, thereby improving the user's perception and control of the operating status of the set-top box.

[0078] Example 3

[0079] Please refer to Figure 1 ,Specifically: the memory leak data collection subsystem includes a memory leak collection unit and a wireless connection collection unit;

[0080] The memory leak collection unit is used to monitor the relevant memory leak danger level data information in the set-top box in real time, wherein the relevant memory leak danger level data information includes the number of unreleased memory blocks, the location where the memory leak occurs, the duration of the memory leak, the speed of allocation, the number of memory fragments, the blocks in the configuration parameters of the memory allocator, the cache size and the frequency of memory release;

[0081] The above-mentioned memory fragmentation includes external fragmentation and internal fragmentation;

[0082] The wireless connection acquisition unit is used to monitor relevant wireless stability data information in real time when the network connection of the set-top box is in wireless transmission mode, wherein the relevant wireless stability data information includes the number of wireless devices, the wireless distance size and the number of obstacles between the set-top box and the wireless router, and the network bandwidth.

[0083] The data processing subsystem includes a preprocessing unit and a normalization unit;

[0084] The preprocessing unit is used to calibrate the data information in the monitoring data set, identify and process the missing values ​​therein, and use signal processing technology to remove high-frequency noise in the data information, thereby improving the efficiency and accuracy of data processing and providing a more reliable basis for subsequent data analysis.

[0085] The normalization unit is used to convert the data information in the preprocessed monitoring data set into the same unit using dimensionless processing technology, which helps to eliminate the impact of different dimensions, allowing different types of data to be compared and analyzed on the same scale, thereby improving the comparability of the data.

[0086] In this embodiment, the relevant memory leak danger level data information helps to fully understand the memory leak situation and improve the perception of memory problems; the wireless stability data information enables the system to understand the wireless connection status in multiple dimensions. The data processing subsystem pre-processes the collected memory leak and wireless stability data and extracts key features, which is conducive to reducing data redundancy and optimizing the efficiency and accuracy of data analysis.

[0087] Example 4

[0088] Please refer to Figure 1 Specifically, the allocation speed Fpsd is associated with the block size Qkz, and after dimensionless processing, the memory allocation state factor Ztyz is obtained. The memory allocation state factor Ztyz is obtained by the following formula:

[0089] ;

[0090] Where Hcz is the cache size, a1 、a 2 and a 3 They are respectively represented as the preset proportional coefficients of the allocation speed Fpsd, the block size Qkz and the cache size Hcz, where 0.10≤a 1 ≤0.15, 0.12≤a 2 ≤0.30, 0.08≤a 3 ≤0.20, and 0.40≤a 1 +a 2 +a 3 ≤0.60.

[0091] The above allocation speed Fpsd can be monitored by performance analysis tools or memory analysis tools. For example, on Android systems, you can use the Profiler in Android Studio to monitor memory allocation.

[0092] The block size Qkz is usually a configuration parameter of the memory allocator, which can be obtained by viewing the memory management configuration of the operating system or developer tools. In Linux systems, you can use the command line tool malloc_stats or jemalloc related tools;

[0093] The cache size Hcz can usually be viewed through the operating system's performance monitoring tool; on Android systems, you can use the "GPU Rendering Profile" in the device's developer options or third-party applications such as CPU-Z.

[0094] After dimensionless processing, the leakage risk factor Fxxs is obtained by the following formula:

[0095] ;

[0096] Wherein, Spll represents the number of memory fragments, Sfpl represents the memory release frequency, α1 and α2 both represent preset proportional coefficients, wherein 0.24≤α1≤0.38, 0.20≤α2≤0.40, and 0.50≤α1+α2≤0.70, and Y represents the second correction constant.

[0097] The above-mentioned number of memory fragments Spll can be obtained through memory analysis tools or performance monitoring tools. On the Android system, you can use the Profiler tool of Android Studio to monitor memory fragmentation;

[0098] The memory release frequency Sfpl is obtained by monitoring the number and time interval of memory release of the set-top box. It is usually collected using a performance monitoring tool.

[0099] After dimensionless processing, the wireless signal influence coefficient Xhxs is obtained by the following formula:

[0100] ;

[0101] Wherein, Wxsd represents the number of wireless devices, Wjjz represents the wireless distance, Zawz represents the amount of obstacles, β1 and β2 both represent preset proportional coefficients, wherein 0.20≤β1≤0.52, 0.12≤β2≤0.48, and 0.35≤β1+β2≤1.0, and C represents the third correction constant.

[0102] The number of wireless devices Wxsd is detected by a wireless network monitoring device, a WiFi scanning tool or a wireless network module built into a set-top box;

[0103] The wireless distance Wjjz is obtained through WiFi signal strength, distance measurement technology or location information of wireless network devices;

[0104] The obstacle quantity Zawz is collected and obtained through infrared sensors.

[0105] In this embodiment, by analyzing the memory allocation state factor Ztyz, the memory allocation state is comprehensively evaluated, which helps to fully understand the memory allocation and provides guidance for optimizing memory allocation; the leakage risk coefficient Fxxs combines the impact of the number of memory fragments Spll and the release frequency Sfpl on the system leakage risk, providing a basis for accurately evaluating the system's memory leakage risk. The wireless signal influence coefficient Xhxs helps to comprehensively evaluate the impact of wireless signals on the stability of the set-top box. In short, the system comprehensively considers multiple factors such as memory allocation state, leakage risk and wireless signal influence, and obtains the correlation coefficient through dimensionless processing, making the set-top box risk analysis subsystem more comprehensive, integrated and adjustable, providing a scientific basis for the stability and performance optimization of the system.

[0106] Example 5

[0107] Please refer to Figure 1 ,Specifically: the mobile terminal control subsystem includes a second comparison unit and an execution unit;

[0108] The second comparison unit is used to perform risk assessment on the restart index Cqzs and the assessment threshold Q, and obtain corresponding assessment results to take specific implementation tasks. The specific contents of the assessment results are as follows:

[0109] If the restart index Cqzs is greater than the evaluation threshold Q, that is, Cqzs>Q, a first risk result is generated, indicating that the set-top box is in an abnormal state;

[0110] If the restart index Cqzs is equal to the evaluation threshold Q, that is, Cqzs=Q, a second risk result is generated, indicating that the set-top box is in a normal state, but the user terminal needs to be reminded;

[0111] If the restart index Cqzs is less than the evaluation threshold Q, that is, Cqzs<Q, a third risk result is generated, indicating that the set-top box is in a normal state;

[0112] The execution unit is used to perform corresponding execution operations on the first risk result, the second risk result and the third risk result respectively. The specific execution operation contents are as follows:

[0113] When the first risk result is generated, the system will automatically execute the shutdown and restart operation of the set-top box, and buffer the viewing content of the 10-minute TV series before the shutdown and restart to provide a viewing experience during the interruption, and send a notification to the mobile terminal;

[0114] When the second risk result is generated, the system will immediately send a notification to the mobile terminal to remind the user to shut down and restart the set-top box, and send it to the mobile terminal in the form of a pop-up window to ensure that the user is aware of and takes corresponding measures.

[0115] When a third risk result is generated, the system does not need to issue additional notifications and commands.

[0116] The execution unit includes an execution feedback subunit;

[0117] The execution feedback subunit is used to provide feedback and monitor the corresponding specific implementation tasks in the execution unit to determine the execution status of the specific implementation tasks, including whether the tasks have been started, are being executed, or are completed.

[0118] In this embodiment, by comparing the restart index Cqzs with the evaluation threshold Q, three specific risk results are generated, namely, abnormal state, normal state but requiring reminder, and normal state, which helps to timely identify the working state of the set-top box; the execution unit takes corresponding execution operations according to different risk results, including shutdown restart and reminder notification. The execution feedback subunit provides feedback and monitoring for the specific implementation tasks, determines the execution status of the tasks, and helps users monitor the progress of the execution tasks.

[0119] Example 6

[0120] Please refer to Figure 1 and Figure 2 , specifically: A real-time control method for a set-top box based on mobile Internet, comprising the following steps,

[0121] Step 1: First, the set-top box memory monitoring subsystem will regularly monitor the memory usage inside the set-top box, obtain the memory value Nxz, and determine whether to notify the user to perform a restart operation based on the memory value Nxz;

[0122] Step 2: Secondly, the memory leakage data collection subsystem will monitor the relevant memory leakage risk level data information in the set-top box in real time; and when the set-top box is connected in the form of a wireless network, it will monitor the relevant wireless stability data information in real time to generate a monitoring data set;

[0123] Step 3: In addition, the data processing subsystem will perform data preprocessing on the data information in the monitoring data set, and extract features after preprocessing;

[0124] Step 4: Then the risk analysis subsystem performs feature extraction on the relevant memory leakage risk level data information and the relevant wireless stability data information respectively to obtain the number of wireless devices Wxsb, the wireless distance Wjjz between the set-top box and the wireless router, the memory allocation state factor Ztyz and the number of memory fragments Spll, and associates the number of wireless devices Wxsb with the wireless distance Wjjz to obtain the wireless signal influence coefficient Xhxs, and associates the memory allocation state factor Ztyz with the number of memory fragments Spll to obtain the leakage risk coefficient Fxxs, and obtains the restart index Cqzs through deep calculation learning and fitting;

[0125] Step 5: Finally, the mobile terminal control subsystem uses the preset evaluation threshold Q and the restart index Cqzs to perform risk evaluation, obtains corresponding evaluation results, takes specific implementation tasks, and notifies the mobile terminal to improve the quality of TV image playback.

[0126] Example:

[0127] Data collection: allocation speed Fpsd is 1.2; block size Qkz is 0.6; cache size Hcz is 21; a 1 is 0.12; a 2 is 0.20; a 3 is 0.11; the number of memory fragments Spll is 42; the memory release frequency Sfpl is 62%; α1 is 0.30; α2 is 0.22; Y is 0.64; the number of wireless devices Wxsd is 6; the wireless distance Wjjz is 2.6; the obstacle amount Zawz is 1; β1 is 0.22; β2 is 0.16; C is 0.93; the running time Yxsc is 35; the temperature value wdz is 23; h 1 is 0.11; h 2 is 0.32; h 3 is 0.06; h 4 =0.11; P =0.14;

[0128] With the above data, the following calculations can be performed:

[0129] Memory allocation status factor =2.45;

[0130] Leakage risk factor =250;

[0131] Wireless signal influence coefficient =10.0;

[0132] Restart Index =18.0;

[0133] If the evaluation threshold Q is 15.0, the restart index Cqzs is greater than the evaluation threshold Q, that is, Cqzs>Q. At this time, the first risk result is generated, indicating that the set-top box is in an abnormal state; the system will automatically execute the shutdown and restart operation of the set-top box, and buffer the viewing content of the 10-minute TV series before shutdown and restart to provide a viewing experience during the interruption, and send a notification to the mobile terminal.

[0134] 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 real-time control system based on mobile Internet, characterized in that: It includes set-top box memory monitoring subsystem, memory leak data collection subsystem, data processing subsystem, risk analysis subsystem and mobile terminal control subsystem; The set-top box memory monitoring subsystem is used to regularly monitor the memory usage inside the set-top box, obtain the memory value Nxz, and set the memory threshold N, compare the memory value Nxz with the memory threshold N, and determine whether to notify the user to perform a restart operation; The memory leakage data collection subsystem is used to monitor the relevant memory leakage risk level data information in the set-top box in real time; and when the network connection of the set-top box is in a wireless transmission mode, the relevant wireless stability data information is monitored in real time to generate a monitoring data set; The data processing subsystem is used to transmit the relevant memory leakage danger level data information and the relevant wireless stability data information to the monitoring data set, perform data preprocessing on the data information in the monitoring data set, and extract features after preprocessing; The risk analysis subsystem is used to extract features from the relevant memory leakage risk level data information and the relevant wireless stability data information respectively, so as to obtain the number of wireless devices Wxsb, the wireless distance Wjjz between the set-top box and the wireless router, the memory allocation state factor Ztyz, and the number of memory fragments Spll, and associate the number of wireless devices Wxsb with the wireless distance Wjjz to obtain the wireless signal influence coefficient Xhxs, and associate the memory allocation state factor Ztyz with the number of memory fragments Spll to obtain the leakage risk coefficient Fxxs, and obtain the restart index Cqzs through deep calculation learning and fitting. The restart index Cqzs is obtained by the following formula: ; Wherein, Yxsc represents the operation time, wdz represents the temperature value, h1, h2, h3 and h4 represent the preset proportional coefficients of the wireless signal influence coefficient Xhxs, the leakage risk coefficient Fxxs, the operation time Yxsc and the temperature value Wdz, respectively, and P represents the first correction constant; The mobile terminal control subsystem is used to perform risk assessment based on the preset assessment threshold Q and the restart index Cqzs, and obtain corresponding assessment results to take specific implementation tasks and notify the mobile terminal.

2. According to the mobile Internet-based set-top box real-time control system of claim 1, it is characterized by: The set-top box memory monitoring subsystem includes a monitoring unit and a first comparison unit; The monitoring unit is used to collect memory values ​​Nxz collected during daytime and nighttime periods in a timeline manner; The first comparison unit is used to preset a memory threshold N, and compare it with the memory value Nxz to determine whether it is necessary to notify the user to perform a restart operation: If the memory value Nxz is greater than or equal to the memory threshold N, that is, Nxz ≥ N, it means that the user needs to be notified to perform a restart operation at this time; If the memory value Nxz is less than the memory threshold N, that is, Nxz<N, it means that there is no need to notify the user to perform a restart operation at this time.

3. The real-time control system of a set-top box based on mobile Internet according to claim 1, characterized in that: The memory leak data collection subsystem includes a memory leak collection unit and a wireless connection collection unit; The memory leak collection unit is used to monitor the relevant memory leak danger level data information in the set-top box in real time, wherein the relevant memory leak danger level data information includes the number of unreleased memory blocks, the location where the memory leak occurs, the duration of the memory leak, the speed of allocation, the number of memory fragments, the blocks in the configuration parameters of the memory allocator, the cache size and the frequency of memory release; The wireless connection acquisition unit is used to monitor relevant wireless stability data information in real time when the network connection of the set-top box is in wireless transmission mode, wherein the relevant wireless stability data information includes the number of wireless devices, the wireless distance size and the number of obstacles between the set-top box and the wireless router, and the network bandwidth.

4. A set-top box real-time control system based on mobile Internet according to claim 3, characterized in that: The data processing subsystem includes a preprocessing unit and a normalization unit; The preprocessing unit is used to calibrate the data information in the monitoring data set, identify and process the missing values ​​therein, and use signal processing technology to remove high-frequency noise in the data information; The normalization unit is used to convert all data information in the preprocessed monitoring data set into the same unit using a dimensionless processing technique.

5. The real-time control system of a set-top box based on mobile Internet according to claim 3 is characterized in that: The allocation speed Fpsd is associated with the block size Qkz, and after dimensionless processing, the memory allocation state factor Ztyz is obtained. The memory allocation state factor Ztyz is obtained by the following formula: ; Wherein, Hcz represents the cache size, and a1, a2, and a3 represent the preset proportional coefficients of the allocation speed Fpsd, the block size Qkz, and the cache size Hcz, respectively.

6. A set-top box real-time control system based on mobile Internet according to claim 5, characterized in that: After dimensionless processing, the leakage risk factor Fxxs is obtained by the following formula: ; Wherein, Spll represents the number of memory fragments, Sfpl represents the memory release frequency, α1 and α2 both represent preset proportional coefficients, and Y represents the second correction constant.

7. The set-top box real-time control system based on mobile Internet according to claim 3 is characterized by: After dimensionless processing, the wireless signal influence coefficient Xhxs is obtained by the following formula: ; Wherein, Wxsd represents the number of wireless devices, Wjjz represents the wireless distance, Zawz represents the amount of obstacles, β1 and β2 both represent preset proportional coefficients, and C represents the third correction constant.

8. The set-top box real-time control system based on mobile Internet according to claim 1, characterized in that: The mobile terminal control subsystem includes a second comparison unit and an execution unit; The second comparison unit is used to perform risk assessment on the restart index Cqzs and the assessment threshold Q, and obtain corresponding assessment results to take specific implementation tasks. The specific contents of the assessment results are as follows: If the restart index Cqzs is greater than the evaluation threshold Q, that is, Cqzs>Q, a first risk result is generated, indicating that the set-top box is in an abnormal state; If the restart index Cqzs is equal to the evaluation threshold Q, that is, Cqzs=Q, a second risk result is generated, indicating that the set-top box is in a normal state, but the user terminal needs to be reminded; If the restart index Cqzs is less than the evaluation threshold Q, that is, Cqzs<Q, a third risk result is generated, indicating that the set-top box is in a normal state; The execution unit is used to perform corresponding execution operations on the first risk result, the second risk result and the third risk result respectively. The specific execution operation contents are as follows: When the first risk result is generated, the system will automatically execute the shutdown and restart operation of the set-top box, and buffer the viewing content of the 10-minute TV series before the shutdown and restart to provide a viewing experience during the interruption, and send a notification to the mobile terminal; When the second risk result is generated, the system will immediately send a notification to the mobile terminal to remind the set-top box to shut down and restart, and send it to the mobile terminal in the form of a pop-up window; When a third risk result is generated, the system does not need to issue additional notifications and commands.

9. A set-top box real-time control system based on mobile Internet according to claim 8, characterized in that: The execution unit includes an execution feedback subunit; The execution feedback subunit is used to provide feedback and monitor the corresponding specific implementation tasks in the execution unit, and determine the execution status of the specific implementation tasks, including whether the tasks have been started, are being executed, or are completed.

10. A method for real-time control of a set-top box based on mobile Internet, comprising a real-time control system of a set-top box based on mobile Internet according to any one of claims 1 to 9, characterized in that: The following steps are included: Step 1: First, the set-top box memory monitoring subsystem will regularly monitor the memory usage inside the set-top box, obtain the memory value Nxz, and determine whether to notify the user to perform a restart operation based on the memory value Nxz; Step 2: Secondly, the memory leakage data collection subsystem will monitor the relevant memory leakage risk level data information in the set-top box in real time; and when the set-top box is connected in the form of a wireless network, it will monitor the relevant wireless stability data information in real time to generate a monitoring data set; Step 3: In addition, the data processing subsystem will perform data preprocessing on the data information in the monitoring data set, and extract features after preprocessing; Step 4: Then the risk analysis subsystem performs feature extraction on the relevant memory leakage risk level data information and the relevant wireless stability data information respectively to obtain the number of wireless devices Wxsb, the wireless distance Wjjz between the set-top box and the wireless router, the memory allocation state factor Ztyz and the number of memory fragments Spll, and associates the number of wireless devices Wxsb with the wireless distance Wjjz to obtain the wireless signal influence coefficient Xhxs, and associates the memory allocation state factor Ztyz with the number of memory fragments Spll to obtain the leakage risk coefficient Fxxs, and obtains the restart index Cqzs through deep calculation learning and fitting; Step 5: Finally, the mobile terminal control subsystem uses the preset evaluation threshold Q and the restart index Cqzs to perform risk evaluation, obtains corresponding evaluation results, takes specific implementation tasks, and notifies the mobile terminal to improve the quality of TV image playback.