Supercharge Your Innovation With Domain-Expert AI Agents!

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

Inactive Publication Date: 2016-08-17
LE SHI ZHI ZIN ELECTRONIC TECHNOLOGY (TIANJIN) LTD
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, during the actual running process, there may be other threads using the memory storing WiHD running status information, so it is easy to cause the system to crash

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Processing method for wireless connection and mobile communication terminal
  • Processing method for wireless connection and mobile communication terminal
  • Processing method for wireless connection and mobile communication terminal

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present invention discloses a processing method for a wireless connection and a mobile communication terminal. The processing method for a wireless connection comprises: when an instruction of closing a wireless connection is received, determining whether there is any thread using a memory for storing running state information of the wireless connection, and if yes, waiting until there is no thread using the memory, and then releasing the memory and closing the wireless connection; and if no, releasing the memory, and closing the wireless connection. The method disclosed by the present invention is capable of effectively determining a usage state of the memory for storing the running state information of a wireless connection process, thereby effectively avoiding a system crash of mobile communication terminals, such as mobile phones, and improving usage experience of users.

Description

technical field [0001] The invention relates to the technical processing field of mobile communication equipment, in particular to a wireless connection processing method and a mobile communication terminal. Background technique [0002] When the mobile communication terminal turns on wireless, such as WiHD (WirelessHD, wireless high-definition), it needs to apply for a piece of content for storing the running status information of WiHD. When the WiHD is turned off, this memory will be freed. In an existing implementation solution, when the WiHD is turned off, the memory storing the running state information of the WiHD is directly released. However, during the actual running process, there may be other threads using the memory for storing the running state information of the WiHD, so it is easy to cause a system crash. Therefore, how to enable the mobile communication terminal to accurately determine the correct use status of the memory storing the running status informat...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F9/50
CPCG06F9/5016G06F9/5022
Inventor 雷军
Owner LE SHI ZHI ZIN ELECTRONIC TECHNOLOGY (TIANJIN) LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More