Abnormality processing method, terminal device and storage medium
AssigneesShenzhen Heytap Technology Corp., Ltd., Guangdong Oppo Mobile Telecommunications Corp., Ltd.
InventorTao Hui
Life of this patent
Estimating the term…
Abstract
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.
Claims20
A method for processing an abnormality, applicable in a terminal device comprising a Wi-Fi module, the method comprising:
- 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.
A terminal device, comprising:
- a processor;
- and
- a memory configured to store computer programs executable on the processor;
- wherein the processor is configured to perform the following when executing the computer programs:
- loading and executing a driver of a 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.
A non-transitory computer-readable storage medium, having computer programs stored therein, wherein when the computer programs are executed by one or more processors, the one or more processors are caused to perform the following:
- loading and executing a driver of a Wi-Fi module in response to receiving an instruction for enabling a Wi-Fi function of a 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.
Dependencies are inferred from the claim text.