Wi-Fi Driver Memory Clearing for Terminal Abnormality Recovery
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Terminal devices with Wi-Fi modules face issues with abnormality processing, leading to unavailability of Wi-Fi functions and potential device rebooting due to failed request sub-processes during wireless local network access.
Innovation Solution
A method involving loading and executing a Wi-Fi driver, initiating request sub-processes, clearing the driver from memory upon failure, and re-loading it to restore functionality, with a daemon process triggering re-execution upon abnormal quit, ensuring continuous Wi-Fi access.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the Wi-Fi driver is continuously loaded and executed without clearing upon failure, then the Wi-Fi function remains available, but system stability deteriorates due to accumulated errors and abnormal states
Solution Approach 1:
The patent applies the discarding and recovering principle by completely clearing the Wi-Fi driver from memory when abnormalities occur, then reloading it to restore functionality. This discards the corrupted driver state and recovers by loading a fresh instance, resolving the contradiction between maintaining availability and ensuring stability.
2Stability of the object's composition
If the driver is cleared and re-loaded upon request sub-process failure, then system stability is improved, but service continuity deteriorates due to potential rebooting
Solution Approach 1:
The patent applies preliminary action by reloading the driver immediately after clearing it from memory, before the system would otherwise reboot. This proactive reloading ensures service continuity is restored while maintaining system stability, preventing the worsening of service continuity that would occur with full reboots.
3Difficulty of detecting and measuring
If request sub-processes are monitored for failures, then abnormality detection is improved, but device complexity increases due to additional monitoring mechanisms
Solution Approach 1:
The patent implements feedback by monitoring the execution status of request sub-processes and using this information to trigger driver clearing and reloading operations. This feedback mechanism improves abnormality detection while keeping complexity manageable through automated responses to detected failures.
Data Source
AI summary
A method for processing an abnormality is provided. The method includes: loading and executing a driver of the Wi-Fi module in response to receiving an instruction for enabling a Wi-Fi function of the terminal device, initiating at least one request sub-process to a hardware layer of a Wi-Fi system of the terminal device through a framework layer of the Wi-Fi system, clearing the driver of the Wi-Fi module from a memory of the terminal device in response to failure of any request sub-process and re-loading and executing the driver of the Wi-Fi module after completely clearing the driver of the Wi-Fi module from the memory.


