Method and device for adjusting composing buffer in UMS
A technology of buffering and adjusting instructions, applied in the field of electronics, can solve the problem of unbalanced response time of UMS writing speed application program, and achieve the effect of improving speed and writing speed
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0041] Embodiment one, as figure 1 As shown, the embodiment of the present invention provides a method for adjusting the write buffer in the UMS. The specific implementation of the present invention will be described in detail below in conjunction with the accompanying drawings:
[0042]The method provided by the embodiment of the present invention is applied to a mobile terminal (such as a mobile phone terminal, etc., the mobile terminal is an electronic device that can transmit data with a personal computer PC through a USB interface), and the mobile terminal and the first electronic device (that is, a personal computer) computer PC), when writing the data in the first electronic device into the mobile terminal, the method includes:
[0043] Step 101, the mobile terminal detects the current operating state, and generates a first adjustment instruction according to the operating state;
[0044] The current running state of the mobile terminal refers to: whether the screen of...
Embodiment 2
[0062] Embodiment two, such as figure 2 As shown, the present invention also provides another method for adjusting the write buffer in UMS, the method is applied to a mobile terminal, the mobile terminal is connected to the first electronic device, and the data in the first electronic device is written into the mobile terminal , the method includes:
[0063] Step 201, the mobile terminal detects the memory usage information of the current system operation, and determines the first free memory amount of the current system memory according to the detected usage information;
[0064] In a mobile terminal, real-time memory usage can be detected. Such as the amount of memory occupied by each process, the usage of physical memory and virtual memory, and other information.
[0065] Step 202, comparing the first amount of free memory with a preset first threshold, and generating a second instruction according to the comparison result, the second instruction is used to adjust the si...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 