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

A method and device for detecting the capacity of mobile phone storage space

A technology for detecting mobile phones and storage space, which is applied in the detection of faulty computer hardware, etc. It can solve problems such as wrong hardware information and the inability to judge the internal correlation of partitions, and achieve the effect of high reliability and strong versatility

Active Publication Date: 2018-04-27
TENCENT TECH (SHENZHEN) CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Information related to multiple SD cards and data partitions can be obtained, but it is still impossible to determine the internal relevance of these partitions, and it is easy to provide wrong hardware information

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
  • A method and device for detecting the capacity of mobile phone storage space
  • A method and device for detecting the capacity of mobile phone storage space
  • A method and device for detecting the capacity of mobile phone storage space

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0028] Please refer to figure 1 , which is Embodiment 1 of the method of the present invention, a method for detecting the storage space capacity of a mobile phone (hereinafter specifically described with the Android system), including:

[0029] S101. Obtain and analyze all file system entry information of the internal storage device and external storage device on the mobile phone system, the file system entry information includes the space information of the file system entry;

[0030] Read the / proc / mounts file provided by the Linux system to obtain the file system entry information mounted on the current system. Each entry includes the following field information: device name (such as / dev / fuse), device mount directory (such as / mnt / sdcard), file system type (such as exfat), device read and write permissions (rw), these attributes are described by the corresponding fields of the structure StatMountParse. arrayArrayList allStatMountParse is used to store the parsed result...

Embodiment 2

[0039] Please refer to figure 2 , which is the second embodiment of the method of the present invention, a flow chart of a method for detecting the storage space capacity of a mobile phone, steps S202, S203, and S204 are respectively the same as S101, S102, and S103 in the first embodiment, and the difference lies in steps S200, S201, the method includes:

[0040] S200, start a command for detecting storage space;

[0041] In this embodiment, when the mobile phone detects the detection command, it starts to work. For example: the detection command can be that when the memory of the system is not enough, the system will actively prompt the user, or the user can set a period of time, and the system will periodically detect and store the command. Space, regularly update the system.

[0042] S201. Obtain the initial mount directory of the system internal storage device and the system external storage device respectively through the interface;

[0043] According to t...

Embodiment 3

[0086] refer to Image 6 , which is the third embodiment of the device of the present invention, a device 3 for detecting the storage space capacity of a mobile phone, which is mostly the same as the functional modules of the second example of the device, the difference is that the first filter subunit 11, the second filter Subunit 12, filtering subunit 40 for the third time and identical item merging unit 50 are specifically described as follows:

[0087] Command starting unit 5, used to start the command for detecting the storage space;

[0088] In this embodiment, when the mobile phone detects the detection command, it starts to work. For example: the detection command can be that when the memory of the system is not enough, the system will actively prompt the user, or the user can set a period of time, and the system will periodically detect and store the command. Space, regularly update the system.

[0089] The mount directory obtaining unit 6 is used to respec...

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

A method for detecting the storage space capacity of a mobile phone, comprising: obtaining file system entry information on a mobile phone system and parsing it, the file system entry information including space information of the file system entry; grabbing the parsed space of the file system entry information, the parsed space information includes device block information; merge the file system entries with the same device block, and re-statize and classify the space information of the merged file system entries. The invention also discloses a device for detecting the storage space capacity of the mobile phone. The technical solution of the present invention merges the file system entries with the same device block by analyzing the space information of the file system, and re-counts and classifies the space information of the merged file system entries, updates and accurately detects the internal storage space of the mobile phone in real time And external storage space, strong versatility and high reliability.

Description

technical field [0001] The invention relates to the field of mobile phone storage space, in particular to a method and device for detecting the capacity of the mobile phone storage space. Background technique [0002] With the rapid development of smart terminal technology and the rapid development of smart terminal business, on the Android platform, users pay more attention to the capacity information of the mobile phone's internal storage space (that is, the Data partition) and the external storage card (SD card) in terms of storage. Getting this storage information right helps provide consistent hardware information and the best results for data storage (such as downloads) and management (such as cleaning junk files). [0003] In terms of mobile phone internal storage technology solutions, the Android system adopts a relatively fixed solution, namely: use an independent partition of the internal flash device as the Data partition, and use the ext3 file system. Data parti...

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 Patents(China)
IPC IPC(8): G06F11/22
Inventor 陈建铭
Owner TENCENT TECH (SHENZHEN) CO LTD