Unlock instant, AI-driven research and patent intelligence for your innovation.

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

Active Publication Date: 2015-01-14
LENOVO (BEIJING) LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The present invention provides a method and device for adjusting the write buffer in UMS. The method and device provided by the present invention solve the problem in the prior art that the writing speed of UMS and the long response time of mobile terminal application programs cannot be balanced

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
  • Method and device for adjusting composing buffer in UMS
  • Method and device for adjusting composing buffer in UMS
  • Method and device for adjusting composing buffer in UMS

Examples

Experimental program
Comparison scheme
Effect test

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

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 invention discloses a method and device for adjusting a composing buffer in a UMS. The method is applied to a mobile terminal. The mobile terminal is connected with a first electronic device, and when data in the first electronic device is written into the mobile terminal, the method includes the steps that the mobile terminal detects the current operating state, and a first adjusting instruction is generated according to the operating state; the size of the composing buffer of the mobile terminal is adjusted according to the first adjusting instruction. The method and device adjust the size of the composing buffer of a file system according to the operating state of the system, and then the composing speed of the UMS and the response time of a system application are balanced; under the condition that the response time of the mobile terminal is not affected, the composing speed of the UMS is increased.

Description

technical field [0001] The invention relates to the field of electronic technology, in particular to a method and device for adjusting a write buffer in a UMS. Background technique [0002] Nowadays, a mobile terminal with a built-in storage unit is connected to a PC as a UMS (USB Mass Storage, large-capacity storage device), and then when data in the PC is written into the mobile terminal, an important factor affecting the writing speed is the file system of the mobile terminal The size of the write buffer, the larger the write buffer, the faster the write speed, but at the same time, the larger the write buffer will also affect the response time of the running application on the mobile terminal. Taking a mobile terminal including the android system as an example, in order to achieve a balance between optimizing the writing speed of the mobile terminal and application response, the main implementation methods for dividing the write buffer in the prior art are as follows: ...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F13/38
CPCG06F13/1673
Inventor 刘志付
Owner LENOVO (BEIJING) LTD