Processing method for wireless connection and mobile communication terminal
A technology of wireless connection and processing method, applied in the direction of electrical digital data processing, resource allocation, program control design, etc., can solve problems such as system crash, and achieve the effect of improving user experience
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0038] figure 1 It is a flowchart of a wireless connection processing method given in an embodiment of the present invention. The processing method includes: after receiving the instruction to close the wireless connection, judging whether there is a thread using the memory for storing the running state information of the wireless connection. If not, release the memory, close the wireless connection, and the method ends. If yes, wait for the first preset time period, and judge again whether there is a thread using the memory for storing the running state information of the wireless connection. In the present invention, the first preset duration is set according to the memory usage status. For example, the first preset duration may be set as 1 second. Normally, after receiving the instruction to close the wireless connection, the thread will end the use of the memory within the first preset time period. Therefore, after waiting for the first preset period of time, when judg...
Embodiment 2
[0040] figure 2 It is a flowchart of a wireless connection processing method given in an embodiment of the present invention. The processing method includes: after receiving the instruction to close the wireless connection, judging whether there is a thread using the memory for storing the running state information of the wireless connection. If not, release the memory, close the wireless connection, and the method ends. If so, wait for a second preset time period, and judge again whether there is a thread using the memory for storing the running status information of the wireless connection. If not, the memory is released, the wireless connection is closed, and the method ends. If so, wait again for a second preset time length, and judge again whether there is a thread using the memory for storing the running state information of the wireless connection. Circulate in turn until no thread is using the memory for storing the running state information of the wireless connect...
specific Embodiment 1
[0058] When establishing a wireless connection, the mobile phone applies for a memory for storing the running status information of the WiHD connection process. At the same time, the mobile phone sets the count value to 0. During the wireless connection process, if there is a thread using the memory used to store the running status information of the WiHD connection process, the count value will be incremented by 1, and if a thread ends the memory used to store the running status information of the WiHD connection process If used, the count value will be reduced by one. When the mobile phone turns off the WIHD, it judges whether the count value is 0, and if so, directly releases the memory for storing the running state information of the WiHD connection process, and turns off the wireless connection. If not, wait for 0.1 second, and then judge again whether the count value is 0, if yes, directly release the memory for storing the running state information of the WiHD connecti...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com
