Progressive power-off test method for dynamically sensing television OTA (Over-the-Air Technology) installation stage
By employing a dynamic sensing progressive power-off testing method, utilizing tooling relays and dynamic time mapping technology, the problems of low efficiency and high cost in traditional testing methods are solved, enabling efficient, low-cost, and high-quality testing of the TV OTA upgrade process.
Patent Information
- Application Number
- CN202511042493.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-28
- Publication Date
- 2025-11-14
AI Technical Summary
In the current TV OTA upgrade process, traditional power outage testing methods cannot accurately cover key operation nodes, resulting in high failure rates, low testing efficiency and high costs, especially when upgrading a large number of devices, the labor costs are too high.
A dynamic sensing-based progressive power-off testing method is adopted, which uses tooling relays to precisely control the power-off time, and combines dynamic time mapping technology and automated scripts to achieve precise power-off operation and data verification.
Significantly improves testing efficiency, reduces labor costs, ensures the stability and reliability of the TV OTA upgrade process, shortens the testing cycle, and improves the quality of smart TVs.
Smart Images

Figure CN120956873A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of software testing technology, and more specifically to a progressive power-off testing method for dynamic sensing during the TV OTA installation phase. Background Technology
[0002] In recent years, with the booming development of the electronics industry and continuous technological progress, smart TVs have become widely popular and a key component of modern family entertainment. During over-the-air (OTA) firmware updates for smart TVs, the ability to resume data transmission even after power outages is a core indicator for ensuring a good user experience.
[0003] Industry data shows that when using traditional methods for OTA upgrades, the failure rate remains high in power outage scenarios, with most failures stemming from the failure to cover critical operational nodes during the testing phase.
[0004] Currently, mainstream power outage testing methods in the industry include fixed-time power outages, random power outages, hardware probe-assisted methods, and breakpoint resumption optimization methods. However, most existing technologies cannot accurately cover key software operation nodes such as file writing and metadata updates, and are also difficult to adapt to the time differences of different upgrade packages; some methods rely on dedicated hardware probes, resulting in high testing costs and complex deployment. To cover more test scenarios, repeated manual operations are required, which not only extends the testing cycle but also significantly increases labor costs; reducing test points may lead to the omission of potential problems.
[0005] Traditional testing methods often employ fixed-interval or random power-off strategies. However, these strategies have significant drawbacks: they lack comprehensive test coverage, are inefficient, and costly. Especially when upgrading and verifying large numbers of devices, traditional methods consume substantial manpower and lack accuracy. Summary of the Invention
[0006] The purpose of this invention is to provide a dynamic, progressive power-off testing method during the TV OTA installation phase, aiming to solve the technical problems existing in the background art. This method utilizes a tooling relay for precise power-off control and employs dynamic time mapping technology to achieve accurate power-off operations through scripts. It adopts a purely software-based testing architecture, which ensures test quality, significantly improves test efficiency, and substantially reduces labor costs.
[0007] To achieve the above objectives, the present invention adopts the following technical solution:
[0008] A method for dynamically sensing progressive power-off testing during the TV OTA installation phase includes the following steps:
[0009] Dynamic progress awareness: Perform a complete upgrade package installation operation in an uninterrupted environment and record the total time T;
[0010] Schedule-time mapping model: The installation phase is divided into time windows according to the percentage of progress, and each percentage of progress corresponds to a duration Δt=T / 100;
[0011] Incremental power outage triggering and control: Starting from 1% of the installation progress, power outages are triggered at equal intervals according to the progress percentage. After each power outage, power is restored and the system status is recorded until the progress reaches 100%.
[0012] Recovery and Data Verification: Verify the version number and core data integrity after the power outage to confirm whether the upgrade was successful.
[0013] In some embodiments, the progress percentage granularity is 1%, and each 1% progress corresponds to an independent time window.
[0014] In some embodiments, the trigger time of the time window is calibrated by a clock offset, and the calibration formula is:
[0015] Ttrigger(n) is calculated as n×Δt+δcalib, where δcalib typically takes a value in the range of ±10ms.
[0016] In some embodiments, recovery and data verification include:
[0017] Before installation begins, a backup image of the critical partitions is generated, and the partition contents are compared for consistency after a power outage and restart.
[0018] In some embodiments, the critical partitions include the system partition and the boot partition.
[0019] In some embodiments, data integrity verification includes:
[0020] The upgraded version number is compared with the target version number, and the consistency between the core data and the preset database is verified by an automated script.
[0021] In some embodiments, an analysis and optimization step is also included:
[0022] A stability heatmap is generated based on the correlation between power outage scenarios and system crashes, and power outage strategies and system fault tolerance are optimized accordingly.
[0023] In some embodiments, power failure control is achieved through a tooling relay, precisely executing a power failure sequence that increases progressively.
[0024] In some embodiments, optimizing the power outage strategy includes:
[0025] Adjust the distribution of power outage time intervals, set an upper limit on the number of power outages, and add protection measures for critical processes.
[0026] In some embodiments, enhancing system fault tolerance includes:
[0027] Increase redundant hardware design, optimize error handling mechanisms, and establish fault early warning and emergency handling procedures.
[0028] The beneficial effects of this invention compared to the prior art are:
[0029] This invention proposes a dynamic, progressive power-off testing method for the OTA (Over-The-Air) installation phase of televisions. This method has significant advantages, enabling precise implementation of progressive power-off operations during the OTA installation process. In practical applications, it can effectively detect potential sudden power-off risks during the upgrade process and take preventative measures in advance.
[0030] From an efficiency perspective, this method significantly improves testing efficiency and greatly shortens the testing cycle compared to traditional testing methods. In terms of cost control, it effectively solves the problems of high labor costs and low efficiency in traditional testing, significantly reducing labor costs. Through the implementation of this invention, the stability and reliability of the TV OTA upgrade process can be effectively guaranteed, providing strong support for improving the quality of smart TVs. Attached Figure Description
[0031] Figure 1 This is a flowchart of this embodiment. Detailed Implementation
[0032] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions in the embodiments of this application will be described in more detail below with reference to the accompanying drawings. In the drawings, the same or similar reference numerals denote the same or similar components or components having the same or similar functions throughout. The described embodiments are some, but not all, of the embodiments of this application. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain this application, and should not be construed as limiting this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.
[0033] The embodiments of this application will now be described in detail with reference to the accompanying drawings.
[0034] In the description of this application, it should be noted that, unless otherwise expressly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, an indirect connection through an intermediate medium, or the internal communication of two components or the interaction between two components. Those skilled in the art can understand the specific meaning of the above terms in this application according to the specific circumstances.
[0035] In the description of this application, it should be understood that the terms "upper", "lower", "front", "back", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc., indicate the orientation or positional relationship based on the accompanying drawings, and are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of this application.
[0036] Furthermore, the terms “comprising” and “having”, and any variations thereof, are intended to cover non-exclusive inclusion, such that a process, method, system, product, or display that includes a series of steps or units is not necessarily limited to those steps or units that are explicitly listed, but may include other steps or units that are not explicitly listed or that are inherent to such process, method, product, or display.
[0037] The following will combine Figure 1 This application provides a detailed description of a progressive power-off testing method for dynamic sensing during the TV OTA installation phase, as described in the embodiments of this application. It is worth noting that the following embodiments are merely illustrative of this application and do not constitute a limitation thereof.
[0038] Example 1:
[0039] like Figure 1 As shown, a progressive power-off test method for dynamic sensing during the TV OTA installation phase includes the following steps:
[0040] Step 1, Pre-test Preparation: Flash the smart TV to base version A, accurately recording the current version number (Fingerprint 1). Then, perform a factory reset on the smart TV to completely erase user data and cache. Set the TV to one-time boot mode and use an automated test script to complete the pre-upgrade data configuration, covering network data, TV source programs, user accounts, application downloads, Bluetooth device connections, etc., and record the relevant configuration data to database A.
[0041] Step 2, Upgrade Package Acquisition and Download: The smart TV initiates a request to acquire the upgrade package and begins downloading it. During this process, wait for the upgrade package download to complete.
[0042] Step 3, Dynamic Progress Awareness: Calculate the total time required to install the upgrade package on the smart TV. Specifically, in an ideal environment without any interruptions, complete a full upgrade package installation operation and record the total time T consumed in the process.
[0043] Step 4, Progress-Time Mapping Model: The entire installation phase is meticulously divided into 1% granularities, with each 1% of the installation progress corresponding to a specific time window. The duration Δt of each time window is calculated using the formula Δt = T / 100. Simultaneously, to ensure the accuracy of time control, the time offset is calibrated. The calibrated trigger time Ttrigger(n) is calculated using the formula Ttrigger(n) = n×Δt + δcalib, where δcalib typically ranges from ±10ms.
[0044] Step 5, Incremental Power-Off Triggering and Control: Connect the smart TV to the tooling relay to precisely control the power-off interval. The power-off operation begins when the installation progress reaches 1%, and the waiting time for the first power-off is set to Ttrigger (1). After each power-off, a power-on recovery operation is performed, and the system log is checked to confirm whether the current installation progress can be correctly restored. As the installation progresses, the power-off time increases sequentially according to the set rules until the installation progress reaches 100%.
[0045] Step 6, Restore Verification: Before the upgrade package installation begins, create image backups of critical partitions (such as system and boot partitions) on the smart TV. After each power outage and restart, compare the actual contents of the critical partitions with the pre-saved image snapshots to ensure consistency. Simultaneously, obtain the current smart TV version number. If the version number is still Fingerprint1, repeat step 5.
[0046] Step 7, Data Integrity Verification: After the installation progress reaches 100% and a power outage occurs, start the smart TV system. Obtain the current smart TV version number (Fingerprint2) and compare it with the target version number configured in the upgrade package to ensure they match. Use an automated script to perform a comprehensive verification of the core data to ensure it matches the data recorded in database A. Use a script to check the running status and verify the functionality of the core services. If all functions are running normally, a complete OTA upgrade process is considered complete.
[0047] Step 8, Analysis and Optimization: Conduct an in-depth analysis of the correlation between power outage scenarios and system crash modes, and generate a system stability heatmap based on the analysis results. Based on the information presented in the stability heatmap, propose targeted system stability optimization suggestions, specifically including improving power outage strategies and enhancing system fault tolerance, to improve the stability and reliability of the smart TV OTA upgrade process.
[0048] In the pre-test preparation step, the automated test script is used to automatically complete the data configuration work before the upgrade, ensuring the accuracy and consistency of the configuration.
[0049] In the dynamic progress sensing step, the ideal environment without any interruptions refers to excluding factors that may affect the upgrade package installation process, such as network fluctuations, hardware failures, and human intervention.
[0050] In the progress-time mapping model establishment step, the time offset calibration adopts high-precision clock synchronization technology to correct the time deviation caused by factors such as system clock error, calculation error and hardware delay, and ensure that the accuracy of progress perception reaches the millisecond level.
[0051] In the incremental power-off triggering and control steps, the tooling relay can precisely control the power-off interval time to ensure that the power-off operation is performed according to the preset rules.
[0052] In the recovery verification step, the image backup adopts a combination of differential backup and full backup, which reduces the time and storage space required for backup while ensuring the integrity of backup data. The backup process is implemented through automated scripts to improve backup efficiency and accuracy.
[0053] In the data integrity verification step, the automated script verifies the core data, including data integrity verification, data consistency verification, data accuracy verification, and data timeliness verification. Through multiple verification algorithms and rules, it ensures that the core data is completely consistent with the data recorded in database A and meets the business logic requirements.
[0054] In the data integrity verification step, the inspection and functional verification of the core services' operating status includes testing the performance indicators (such as response time, throughput, etc.) and functional integrity of core services such as video playback service, audio playback service, network connection service, application startup service, and system settings service. A combination of automated testing tools and manual testing is used to ensure that all functions meet the preset performance and functional standards.
[0055] In the analysis and optimization steps, the system stability heatmap is generated using data visualization technology. Different colors, shapes, and sizes represent the probability, severity, and scope of system failure under different power outage scenarios, providing an intuitive basis for system stability optimization.
[0056] In the analysis and optimization steps, the improved power outage strategy includes adjusting the distribution pattern of power outage time intervals, the upper limit of the number of power outages, and the protection measures for critical system processes during power outages based on the system stability heatmap; the enhanced system fault tolerance includes increasing system redundant hardware design, optimizing system error handling mechanisms, improving the system's automatic recovery capability from abnormal situations, and establishing system fault early warning and emergency handling mechanisms.
[0057] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A progressive power-off testing method for dynamic sensing during the TV OTA installation phase, characterized in that, Includes the following steps: Dynamic progress awareness: Perform a complete upgrade package installation operation in an uninterrupted environment and record the total time T; Schedule-time mapping model: The installation phase is divided into time windows according to the percentage of progress, and each percentage of progress corresponds to a duration Δt=T / 100; Incremental power outage triggering and control: Starting from 1% of the installation progress, power outages are triggered at equal intervals according to the progress percentage. After each power outage, power is restored and the system status is recorded until the progress reaches 100%. Recovery and Data Verification: Verify the version number and core data integrity after the power outage to confirm whether the upgrade was successful.
2. The method according to claim 1, characterized in that, The progress percentage granularity is 1%, and each 1% progress corresponds to an independent time window.
3. The method according to claim 1, characterized in that, The trigger time of the time window is calibrated by clock offset, and the calibration formula is: Ttrigger(n) is calculated as n×Δt+δcalib, where δcalib typically takes a value in the range of ±10ms.
4. The method according to claim 1, characterized in that, Recovery and data verification include: Before installation begins, a backup image of the critical partitions is generated, and the partition contents are compared for consistency after a power outage and restart.
5. The method according to claim 4, characterized in that, The critical partitions include the system partition and the boot partition.
6. The method according to claim 1, characterized in that, Data integrity verification includes: The upgraded version number is compared with the target version number, and the consistency between the core data and the preset database is verified by an automated script.
7. The method according to claim 1, characterized in that, It also includes analysis and optimization steps: A stability heatmap is generated based on the correlation between power outage scenarios and system crashes, and power outage strategies and system fault tolerance are optimized accordingly.
8. The method according to claim 1, characterized in that, Power outage control is achieved through tooling relays, which precisely execute the power outage sequence that increases progressively.
9. The method according to claim 7, characterized in that, Optimized power outage strategies include: Adjust the distribution of power outage time intervals, set an upper limit on the number of power outages, and add protection measures for critical processes.
10. The method according to claim 7, characterized in that, Enhancing system fault tolerance includes: Increase redundant hardware design, optimize error handling mechanisms, and establish fault early warning and emergency handling procedures.