CN107766370A - A kind of file fragmentation appraisal procedure and terminal - Google Patents

A kind of file fragmentation appraisal procedure and terminal Download PDF

Info

Publication number
CN107766370A
CN107766370A CN201610692345.7A CN201610692345A CN107766370A CN 107766370 A CN107766370 A CN 107766370A CN 201610692345 A CN201610692345 A CN 201610692345A CN 107766370 A CN107766370 A CN 107766370A
Authority
CN
China
Prior art keywords
information
file
storage region
document size
region quantity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610692345.7A
Other languages
Chinese (zh)
Inventor
王静
王一静
翟奇
方炜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201610692345.7A priority Critical patent/CN107766370A/en
Priority to PCT/CN2017/075178 priority patent/WO2018032743A1/en
Publication of CN107766370A publication Critical patent/CN107766370A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/1724Details of de-fragmentation performed by the file system

Abstract

The embodiment of the invention discloses a kind of file fragmentation appraisal procedure and terminal, this method to include:Terminal reads the patch information to prestore, the patch information includes document size information and storage region quantity information of the terminal beforehand through each file obtained by the metadata of each file in K file for reading itself file system, and K is the integer more than 0;The terminal assesses the degree of fragmentation of the K file according to the document size information and the storage region quantity information.Using the present invention, it is possible to increase assess the efficiency of the degree of fragmentation of file system.

Description

A kind of file fragmentation appraisal procedure and terminal
Technical field
The present invention relates to field of computer technology, more particularly to a kind of file fragmentation appraisal procedure and terminal.
Background technology
It is file fragmentation that file is dispersed in numerous different regions in the storage mediums such as disk, Flash, normal conditions Under, after file system operation a period of time, the file in file system is repeatedly added and deleted on a storage medium, from And cause storage region idle in storage medium no longer continuous, if storage file on the storage medium again, this document It may be dispersed in multiple discontinuous storage regions, form file fragmentation.File fragmentation degree can cause when more serious File read-write hydraulic performance decline, it is therefore desirable to defragmentation is carried out to this document system so as to improve file read-write performance.
Need the degree of fragmentation for first assessing this document system whether serious before defragmentation is carried out, if fragmentation journey Degree is serious then to perform defragmentation operation, and it is specific as follows to assess the whether serious mode of degree of fragmentation:The terminal travels through this article All Files in part system, read the metadata of each file in the All Files with obtain the file size of each file and The quantity of the storage region of each file, the quantity of the storage region more at most show depositing where the file in the storage medium Storage area domain is more scattered.Can to find each file, (corresponding one of each file be patrolled by issuing FS_IOC_FIEMAP orders Volume address), and the metadata of each file is read to obtain the logical address of each file, the quantity of logical address is file Storage region quantity, address map as shown in Figure 1 (address map), each file is right on hard disk (disk) There should be at least one storage region.The finally number of the storage region of file size and each file of the terminal based on each file Measure to assess the degree of fragmentation of this document system.The storage medium that one storage medium is 128G carries out a degree of fragmentation Time-consuming more than 1 hours of assessment.
The defects of prior art, is that the terminal needs to read first number of each file one by one in fragment evaluation process According to it is more time-consuming longer to read the number of metadata, causes fragment to be assessed less efficient.
The content of the invention
The embodiment of the invention discloses a kind of file fragmentation appraisal procedure and terminal, it is possible to increase the effect that file fragmentation is assessed Rate.
In a first aspect, the embodiments of the invention provide a kind of file fragmentation appraisal procedure, this method includes:When the terminal will When assessing the degree of fragmentation of file system, the patch information to prestore is directly read, the patch information leads in advance including the terminal The file size letter for each file crossed obtained by the metadata of each file read in K file of itself file system Breath and storage region quantity information, K are the integer more than 0;Then, the terminal is according to this document size information and the storage region Quantity information assesses the degree of fragmentation of the K file.The terminal can be read when receiving the triggering command of user's input The patch information, the patch information can also be periodically read, certainly, be also not necessarily limited to both modes.
By performing above-mentioned steps, terminal reads the metadata of each file to obtain before receiving fragment and assessing instruction The document size information and storage region quantity information of each file, and these information are stored in specific file for reading; Terminal directly reads document size information and storage region quantity in the specific file when receiving the fragment and assessing and instruct Information, and the degree of fragmentation based on this document size information and storage region quantity information assessment file system.In other words, The terminal assesses instruction to during the degree of fragmentation for evaluating file system from the fragment is received, without reading one by one The metadata of each file, improve the efficiency for the degree of fragmentation for assessing file system.
With reference in a first aspect, in the first possible implementation of first aspect, the terminal reads the fragment to prestore Before information, this method also includes:Each file obtained by metadata of the terminal by reading each file should Document size information and the storage region quantity information.
In other words, the terminal reads the file size of each file before user assesses instruction to terminal input fragment Information and storage region quantity information, so, when subsequently using this document size information and storage region quantity information just Can be directly with without going to read again so that more convenient using this document size information and storage region quantity information.
With reference in a first aspect, or first aspect the first possible implementation, second in first aspect can In the implementation of energy, this method also includes:The terminal determines the write operation for having for file destination, and according to the knot of determination Fruit reads the metadata of the file destination after the write operation terminates, and this document size information for obtaining the file destination is deposited with this Storage area domain quantity information, the file destination are any one file in the K file;The terminal is by the first document size information With the renewal of the first storage region quantity information into the patch information, first document size information is after the write operation terminates This document size information of the file destination read, the first storage region quantity information are to be read after the write operation terminates The file destination the storage region quantity information.The write operation for file destination is determined whether, can occur reading Before taking patch information, it can also occur after patch information is read.
In other words, after terminal obtains the document size information and storage region quantity information of each file, if with Family has subsequently carried out write operation to wherein some file, then the terminal can again read off the metadata of some file to obtain again The document size information and storage region quantity information of some file are taken, and is updated in the patch information so that base It is more accurate in the correlated results that the patch information calculates.
With reference to second of possible implementation of first aspect, in the third possible implementation of first aspect In, the terminal updates the first document size information and the first storage region quantity information into the patch information, including:It is determined that First document size information is different from the second document size information, and the first storage region quantity information and the second memory block Domain quantity information is different, and first document size information is replaced into second document size information according to the result of determination, with And the first storage region quantity information is replaced into the second storage region quantity information;Second document size information is broken for this This document size information of the file destination in piece information, the second storage region quantity information are being somebody's turn to do in the patch information The storage region quantity information of file destination.
In other words, when judging to exist the write operation for some file, be not immediately by re-read this certain The document size information and storage region quantity information of individual file are updated into the patch information, but first judge to reacquire to be somebody's turn to do The file size of the document size information and storage region quantity information of some file and some file in the patch information Whether information and storage region quantity information are identical, if differing the document size information of some file of reacquisition just With the renewal of storage region quantity information into the patch information, unnecessary renewal is avoided.
With reference in a first aspect, either second of the first possible implementation or first aspect of first aspect Possible implementation, or the third possible implementation of first aspect, in the 4th kind of possible reality of first aspect In existing mode, the patch information is stored in the same storage region of the external memory of the terminal.
It is understood that when patch information is stored in same storage region, the terminal is reading patch information When only need to do a read operation, improve the input/output performance of the patch information.
Second aspect, the embodiment of the present invention provide a kind of terminal, and the terminal includes processor, memory and user interface, The memory is used for data storage and program;The processor calls the program in the memory, for performing following operation:Wanting When assessing the degree of fragmentation of file system, the patch information to prestore is directly read, the patch information leads in advance including the terminal The file size letter for each file crossed obtained by the metadata of each file read in K file of itself file system Breath and storage region quantity information, K are the integer more than 0;Commented according to this document size information and the storage region quantity information Estimate the degree of fragmentation of the K file.The terminal can read the patch information when receiving the triggering command of user's input, The patch information can also be periodically read, certainly, is also not necessarily limited to both modes.
By performing aforesaid operations, terminal reads the metadata of each file to obtain before receiving fragment and assessing instruction The document size information and storage region quantity information of each file, and these information are stored in specific file for reading; Terminal directly reads document size information and storage region quantity in the specific file when receiving the fragment and assessing and instruct Information, and the degree of fragmentation based on this document size information and storage region quantity information assessment file system.In other words, The terminal assesses instruction to during the degree of fragmentation for evaluating file system from the fragment is received, without reading one by one The metadata of each file, improve the efficiency for the degree of fragmentation for assessing file system.
With reference to second aspect, in the first possible implementation of second aspect, the processor is additionally operable to:Reading Before the patch information to prestore, this document size letter of each file obtained by metadata by reading each file Breath and the storage region quantity information.
In other words, the terminal reads the file size of each file before user assesses instruction to terminal input fragment Information and storage region quantity information, so, when subsequently using this document size information and storage region quantity information just Can be directly with without going to read again so that more convenient using this document size information and storage region quantity information.
With reference to the first possible implementation of second aspect, or second aspect, second in second aspect can In the implementation of energy, the processor is additionally operable to:It is determined that the write operation for file destination be present, and existed according to the result of determination The write operation reads the metadata of the file destination after terminating, obtain this document size information and memory block of the file destination Domain quantity information, the file destination are any one file in the K file;First document size information and first are stored Into the patch information, first document size information is the mesh read after the write operation terminates for region quantity information updating This document size information of file is marked, the first storage region quantity information is the target text read after the write operation terminates The storage region quantity information of part.The write operation for file destination is determined whether, can occur reading patch information Before, can also occur after patch information is read.
In other words, after terminal obtains the document size information and storage region quantity information of each file, if with Family has subsequently carried out write operation to wherein some file, then the terminal can again read off the metadata of some file to obtain again The document size information and storage region quantity information of some file are taken, and is updated in the patch information so that base It is more accurate in the correlated results that the patch information calculates.
With reference to second of possible implementation of second aspect, in the third possible implementation of second aspect In, the first document size information and the renewal of the first storage region quantity information into the patch information, are specially by the processor: Determine that first document size information is different from the second document size information, and the first storage region quantity information is deposited with second Storage area domain quantity information is different, and first document size information is replaced into second file size letter according to the result of determination Breath, and the first storage region quantity information is replaced into the second storage region quantity information;Second document size information For this document size information of the file destination in the patch information, the second storage region quantity information is the patch information In the file destination the storage region quantity information.
In other words, when judging to exist the write operation for some file, be not immediately by re-read this certain The document size information and storage region quantity information of individual file are updated into the patch information, but first judge to reacquire to be somebody's turn to do The file size of the document size information and storage region quantity information of some file and some file in the patch information Whether information and storage region quantity information are identical, if differing the document size information of some file of reacquisition just With the renewal of storage region quantity information into the patch information, unnecessary renewal is avoided.
With reference to second aspect, either second of the possible implementation of the first of second aspect or second aspect Possible implementation, or the third possible implementation of second aspect, in the 4th kind of possible reality of second aspect In existing mode, the patch information is stored in the same storage region of the external memory of the terminal.
It is understood that when patch information is stored in same storage region, the terminal is reading patch information When only need to do a read operation, improve the input/output performance of the patch information.
The third aspect, the embodiment of the present invention provide a kind of terminal, and the terminal includes:First reading unit, for comment When estimating the degree of fragmentation of file system, directly read the patch information to prestore, the patch information include the terminal beforehand through Read the document size information of each file obtained by the metadata of each file in K file of itself file system With storage region quantity information, K is the integer more than 0;Assessment unit, for according to this document size information and the storage region Quantity information assesses the degree of fragmentation of the K file.The terminal can be read when receiving the triggering command of user's input The patch information, the patch information can also be periodically read, certainly, be also not necessarily limited to both modes.
By running said units, terminal reads the metadata of each file to obtain before receiving fragment and assessing instruction The document size information and storage region quantity information of each file, and these information are stored in specific file for reading; Terminal directly reads document size information and storage region quantity in the specific file when receiving the fragment and assessing and instruct Information, and the degree of fragmentation based on this document size information and storage region quantity information assessment file system.In other words, The terminal assesses instruction to during the degree of fragmentation for evaluating file system from the fragment is received, without reading one by one The metadata of each file, improve the efficiency for the degree of fragmentation for assessing file system.
With reference to the third aspect, in the first possible implementation of the third aspect, the terminal also includes:Second reads Unit, for before first reading unit reads the patch information that prestores, by the metadata institute for reading each file This document size information of obtained each file and the storage region quantity information.
In other words, the terminal reads the file size of each file before user assesses instruction to terminal input fragment Information and storage region quantity information, so, when subsequently using this document size information and storage region quantity information just Can be directly with without going to read again so that more convenient using this document size information and storage region quantity information.
With reference to the first possible implementation of the third aspect, or the third aspect, second in the third aspect can In the implementation of energy, the terminal also includes:3rd reading unit, for the write operation for determining to have for file destination, and The metadata of the file destination is read after the write operation terminates according to the result of determination, this document for obtaining the file destination is big Small information and the storage region quantity information, the file destination are any one file in the K file;Updating block, use In by the first document size information and the renewal of the first storage region quantity information, into the patch information, first file size is believed This document size information for the file destination for ceasing to read after the write operation terminates, the first storage region quantity information are The storage region quantity information of the file destination read after the write operation terminates.Determine whether for file destination It write operation, can occur before patch information is read, can also occur after patch information is read.
In other words, after terminal obtains the document size information and storage region quantity information of each file, if with Family has subsequently carried out write operation to wherein some file, then the terminal can again read off the metadata of some file to obtain again The document size information and storage region quantity information of some file are taken, and is updated in the patch information so that base It is more accurate in the correlated results that the patch information calculates.
With reference to second of possible implementation of the third aspect, in the third possible implementation of the third aspect In, the updating block is specifically used for:Determine that first document size information is different from the second document size information, and this first is deposited Storage area domain quantity information is different from the second storage region quantity information, and according to the result of determination by first document size information Second document size information is replaced, and the first storage region quantity information is replaced into the second storage region quantity letter Breath;Second document size information be the patch information in the file destination this document size information, second memory block Domain quantity information is the storage region quantity information of the file destination in the patch information.
In other words, when judging to exist the write operation for some file, be not immediately by re-read this certain The document size information and storage region quantity information of individual file are updated into the patch information, but first judge to reacquire to be somebody's turn to do The file size of the document size information and storage region quantity information of some file and some file in the patch information Whether information and storage region quantity information are identical, if differing the document size information of some file of reacquisition just With the renewal of storage region quantity information into the patch information, unnecessary renewal is avoided.
With reference to the third aspect, either second of the possible implementation of the first of the third aspect or the third aspect Possible implementation, or the third possible implementation of the third aspect, in the 4th kind of possible reality of the third aspect In existing mode, the patch information is stored in the same storage region of the external memory of the terminal.
Fourth aspect, a kind of computer-readable storage medium is also provided in the embodiment of the present invention, the storage medium can be easy with right and wrong The property lost, that is, content is not lost after powering off.Software program is stored in the storage medium, the software program is at by one or more Reason device can realize the method that any one implementation of first aspect or above-mentioned first aspect provides when reading and performing.
By implementing the embodiment of the present invention, terminal read before receiving fragment and assessing instruction the metadata of each file with The document size information and storage region quantity information of each file are obtained, and these information are stored in specific file for reading Take;Terminal is receiving document size information and storage region number in directly reading the specific file during fragment assessment instruction Information is measured, and the degree of fragmentation of file system is assessed based on this document size information and storage region quantity information.It that is to say Say, the terminal assesses instruction to during the degree of fragmentation for evaluating file system from the fragment is received, without one by one The metadata of each file is read, improves the efficiency for the degree of fragmentation for assessing file system.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described.
Fig. 1 is the schematic diagram of a scenario that a kind of file provided in an embodiment of the present invention corresponds to storage region;
Fig. 2 is a kind of structural representation of terminal provided in an embodiment of the present invention;
Fig. 3 is a kind of schematic flow sheet of file fragmentation appraisal procedure provided in an embodiment of the present invention;
Fig. 4 is a kind of form schematic diagram of patch information provided in an embodiment of the present invention;
Fig. 5 is a kind of schematic diagram of a scenario for updating patch information provided in an embodiment of the present invention;
Fig. 6 is a kind of structural representation of computer system provided in an embodiment of the present invention;
Fig. 7 is the structural representation of another terminal provided in an embodiment of the present invention.
Embodiment
The technical scheme in the embodiment of the present invention is described below in conjunction with accompanying drawing.
File fragmentation appraisal procedure provided in an embodiment of the present invention is mainly used in terminal, and the terminal is also referred to as user Equipment (English:User Equipment, referred to as:UE), mobile station (English:Mobile Station, referred to as:MS it is), mobile whole End (English:Mobile Terminal) etc., optionally, the terminal can possess through wireless access network (English:Radio Access Network, referred to as:RAN) the ability to be communicated with one or more core nets, for example, terminal can be mobile Phone (or being " honeycomb " phone) has computer of mobile property etc., for example, terminal can also be portable, pocket Formula, hand-held, built-in computer or vehicle-mounted mobile device.It should be understood that in addition to terminal, the embodiment of the present invention The file fragmentation appraisal procedure of offer can also be applied to other kinds of computer system.
Fig. 2 is refer to, for the structural representation of the terminal 200 of application of the embodiment of the present invention.The terminal 200 includes memory 280th, processor 250 and display device 240.Memory 280 stores computer program, and the computer program includes operating system Program 282 and application program 281 etc..Processor 250 is used to read the computer program in memory 280, then performs calculating The method of machine application definition, such as the read operation system program 282 of processor 250 is so as to the operation operation system in the terminal 200 The various functions of operating system are united and realized, or read one or more application programs 281, so as to which operation should on the terminal With.
Processor 250 can include one or more processors, for example, processor 250 can include in one or more Central processor.When processor 250 includes multiple processors, this multiple processor can be integrated on same chip, also may be used To be respectively independent chip.One processor can include one or more process cores, and following examples are by taking multinuclear as an example To introduce, but file fragmentation appraisal procedure provided in an embodiment of the present invention can also be applied to single core processor.
In addition, memory 280 is also stored with other data 283 in addition to computer program, other data 283 may include Operating system 282 or application program 281 be run after caused by data, the data include system data (such as operating system Configuration parameter) and user data, such as terminal reads the patch information that metadata is generated and is considered as user data.
Memory 280 generally comprises internal memory and external memory.Internal memory can be random access memory (RAM), read-only storage , and cache (CACHE) etc. (ROM).External memory can be hard disk, CD, USB disk, floppy disk or magnetic tape station etc..Computer journey Sequence is typically stored within external memory, and computer program can be loaded into internal memory by processor in execution before processing from external memory.The present invention Patch information in embodiment can be stored on external memory, when needing to use or updating the patch information, can be needed this The part patch information for using or updating first is loaded into internal memory.
The calculating of achievable file fragmentation appraisal procedure provided in an embodiment of the present invention is contained in operating system program 282 Machine program, so that after processor 250 reads the operating system program 282 and runs the operating system, the operating system Can possess assessment file fragmentation function provided in an embodiment of the present invention.Further, the operating system can be to the application on upper strata The calling interface of the open fragment evaluation function, processor 250 280 from memory in read application program 281 and run should After, this using can by the fragment evaluation function that is provided in the calling interface call operation system, so as to realize pair The fragment of file system is assessed.
Terminal 200 can also include input equipment 230, for receiving digital information, character information or the contact of input Touch operation/non-contact gesture, and produce the signal relevant with the user of terminal 200 setting and function control and input Deng.Specifically, in the embodiment of the present invention, the input equipment 230 can include contact panel 231.Contact panel 231, also referred to as Touch-screen, collecting touch operation of the user on or near it, (for example user uses any suitable object such as finger, stylus Or operation of the annex on contact panel 231 or in contact panel 231), and connected accordingly according to formula set in advance driving Connection device.Optionally, contact panel 231 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects the signal that touch operation is brought, and transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives the processor 250, and energy Order that reception processing device 250 is sent simultaneously is performed.For example, to click some with finger on contact panel 231 virtual by user Button, touch detecting apparatus detect this signal this time clicked and brought, then deliver it to touch controller, touch Touch controller this signal is converted into coordinate again and be sent to processor 250, processor 250 is according to the class of the coordinate He the signal Type (click or double-click) performs the operation that file fragmentation is assessed, and finally includes assessment result on display panel 241.
Contact panel 231 can use the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave to realize.Remove Contact panel 231, input equipment 230 can also include other input equipments 232, other input equipments 232 can include but One be not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc. Kind is a variety of.
Terminal 200 can also include display device 240, display device 240, including display panel 241, for show by with The information of family input is supplied to the information of user and the various menu interfaces of terminal 200 etc., leads in embodiments of the present invention It is used to show fragment assessment result.The display device 240 may include display panel 241, optionally, can use liquid crystal display Device (English:Liquid Crystal Display, referred to as:LCD) or Organic Light Emitting Diode is (English:Organic Light- Emitting Diode, referred to as:) etc. OLED form configures display panel 241.In some other embodiment, contact panel 231 can cover on display panel 241, form touch display screen.
In addition to the above, terminal 200 can also include being used for the power supply 290 of other module for power supply and be shone for shooting The camera 260 of piece or video.Terminal 200 can also include one or more sensors 220, such as acceleration transducer, light Sensor etc..Terminal 200 can also include less radio-frequency (Radio Frequency, RF) circuit 210, be used for and wireless network Equipment carries out network service, can also include WiFi module 270, for carrying out WiFi communication with other equipment.
Fig. 3 is a kind of schematic flow sheet of file fragmentation appraisal procedure provided in an embodiment of the present invention, and this method can be by Above-mentioned terminal 20 realizes that the processor 210 of the terminal 20 calls the program in memory 220, performs following operation:
End step S301:Terminal is by reading the metadata institute of each file in K file of itself file system The document size information and storage region quantity information of obtained each file.
Specifically, there is K file in the file system of the terminal and wherein each file has the metadata of oneself, each The metadata of file describes the information such as the file size of this document, the physical address of storage region on a storage medium, leads to Cross the physical address information and would know that this document is dispersed in several storage regions on the storage medium, in other words, lead to Cross and read the metadata of each file and can obtain the respective document size information of each file and storage region quantity information.Lift For example, it is assumed that this K file is specially file A, file B and file C, then the terminal needs to read this document A first number According to the file size and storage region quantity for obtaining this document A, it is necessary to which the metadata for reading this document B obtains this document B text Part size and storage region quantity are, it is necessary to which the metadata for reading this document C obtains this document C file size and storage region number Amount.In addition, the K file can be partial document or all files in this document system, K is the integer more than 0.
In order to facilitate description, the document size information of this K file and the collection of storage region quantity information can be claimed to be combined into Patch information;Used it is possible to further which the patch information is stored in a specific file for follow-up.Fig. 4 is broken for this A kind of optional form of piece information, the patch information are made up of multiple indexes (fraginfo), and each fraginfo is corresponding to be sealed Fill file size (file size) information and storage region quantity (exten count) information of a file, this document size Information and the size of data of the storage region quantity information are not construed as limiting herein, for example, can be set as 4 bytes (byte). Optionally, the specific file is distributed in one piece of continuous storage region on a storage medium, i.e., these " fraginfo " are being deposited It is continuous on storage media, input/output (English can be lifted:Input/Output, referred to as:IO) performance.
Optionally, after the patch information is stored in the specific file, user may be to the text of some in above-mentioned K file Part does write operation, for example, addition, modification etc.;The file size of some file, storage region quantity etc. after write operation is done Information may become, and now be also required to the document size information after certain file change and the renewal of storage region quantity information Used into the specific file for follow-up.The process being updated to the patch information in the specific file is as follows:
The terminal judges whether the write operation for file destination, and the file destination is any in the K file One file.If it is determined that the write operation for the file destination be present, then the terminal reads the target after the write operation terminates The metadata of file, obtain this document size information and the storage region quantity information of the file destination.The terminal is by first Into the patch information, first document size information is at this for document size information and the renewal of the first storage region quantity information This document size information for the file destination that write operation is obtained after terminating by reading the metadata of the file destination, this first Storage region quantity information is the file destination obtained after the write operation terminates by reading the metadata of the file destination The storage region quantity information.If in the absence of the write operation for the file destination, without renewal.In other words, eventually After end obtains the document size information and storage region quantity information of each file, if user is subsequently to wherein some file Carried out write operation, then the terminal can again read off some file metadata it is big to reacquire the file of some file Small information and storage region quantity information, and updated in the patch information so that the phase calculated based on the patch information It is more accurate to close result.
It should be noted that the terminal can read first number of the file destination after the write operation terminates from internal memory According to the metadata of the file destination can also be read from the storage medium;The embodiment of the present invention is read preferably from internal memory should The metadata of file destination, it can so improve the efficiency for reading the metadata.
In a kind of optional scheme, the terminal updates the first document size information and the first storage region quantity information Into the patch information, it is specially:Judge whether first document size information and the second document size information are identical, and sentence Whether the disconnected first storage region quantity information and the second storage region quantity information are identical, and second document size information is should This document size information of the file destination in patch information, the second storage region quantity information are in the patch information The storage region quantity information of the file destination.When first document size information is different from second document size information, And when the first storage region quantity information and the second storage region quantity information difference, first document size information is replaced Second document size information is changed, and the first storage region quantity information is replaced into the second storage region quantity information. In other words, it is not some file that will be re-read immediately when determining to exist the write operation for some file Document size information and the renewal of storage region quantity information first judge to reacquire some file into the patch information Document size information and storage region quantity information and some file in the patch information document size information and deposit Whether storage area domain quantity information is identical, if differing the document size information of some file of reacquisition and memory block just Domain quantity information renewal avoids unnecessary renewal into the patch information.
Fig. 5 is a kind of schematic diagram of a scenario for updating patch information provided in an embodiment of the present invention, updates the mistake of patch information Journey is as follows:
Step A:User writes data by operating the terminal to the file destination in file system, for example, to the target Interpolation data in file.
Step B:The terminal will write the write back data that changes in data procedures to disk.
Step C:The terminal reads the metadata of the file destination after writing data, and it is big to obtain the newest file of the file destination Small information and storage region quantity information;Judge the newest document size information of the file destination and storage region quantity information phase Whether document size information and storage region quantity information compared with the recorded file destination change;If changing, Then by the newest document size information and the renewal of storage region quantity information into buffer area.
Step D:The terminal periodic (cycle is usually several seconds) by the document size information of file destination in buffer area It is written back to storage region quantity information in the specific file.If it is understood that all to broken when each IO terminates Piece information, which refreshes, then influences whether IO speed, therefore only updates patch information into caching at the end of IO, by background thread Periodicity lower wall, reduce the negative effect to IO speed.In addition, terminal operating system, which there may be abnormal lower conductance, causes caching In information situation about losing, but because of the simply information change in several seconds of data cached caching, therefore the information in caching is lost Mistake will not cause too big negative effect to the information in the specific file.And the document size information of the file destination and deposit Storage area domain quantity information can be generated again when performing write operation to the file destination user's next time, therefore the information in caching is lost Negative effect will not gradually expand caused by mistake.
Step E:The terminal believes the document size information of the file destination in the specific file and storage region quantity Breath is written back on disk.
Step S302:The fragment that terminal receives input assesses instruction.
Specifically, user can by touch-control touch display screen, pressing physical button, acoustic control, the mode such as gesture control come Input the fragment and assess instruction, correspondingly, the fragment that the terminal receives input assesses instruction.The fragment assesses instruction and is used to refer to Show that the file in terminal-pair this document system carries out fragment assessment.
Step S303:The terminal assesses instruction according to the fragment and reads patch information.
Specifically, the terminal assesses the patch information for instructing and reading and being stored in specific file according to the fragment, obtains every The document size information and storage region quantity information of individual file.Assessed because the patch information receives the fragment in the terminal Just generated before instruction, therefore need not go to read the metadata of each file again to generate the patch information.The end End can also periodically read the patch information, and this is read again without assessing instruction in the fragment for receiving user's input Patch information.
Step S304:The terminal assesses the K file according to this document size information and the storage region quantity information Degree of fragmentation.
Specifically, the terminal can be based on this document size information and the storage region quantity information meter by preset algorithm A fragment total score is calculated, and the degree of fragmentation of the K file is weighed with the size of the fragment total score, the K file Degree of fragmentation can regard the degree of fragmentation of this document system as.
In order to facilitate understanding, a kind of optional mode presented below for calculating the fragment fraction, first calculate in the K file The fragment fraction of each file, the fragment total score is calculated in conjunction with the fragment fraction of each file, calculate single file (target text Part) fragment fraction process it is as follows:
The first step:The best storage region quantity best_extent_count of file destination is calculated by below equation.
In formula 1-1, file_size is the file size of the file destination, and BEST_EXTENT_LEN size is with being somebody's turn to do File system is relevant with storage medium, i.e., the BEST_EXTENT_LEN is just definite value after this document system and storage medium determine. When the average storage region length (file_size) (extent_count) of file destination is more than or equal to BEST_EXTENT_LEN, The readwrite performance of the file destination is optimal.
Second step:Calculate fragment fraction Score.
In formula 1-2, extent_count is the storage region quantity of file destination, and the implication of the formula is:When The fragment fraction of the file destination is 0 when extent_count is less than or equal to best_extent_count, works as extent_ The fragment fraction of the file destination is (extent-count-best_extent_ when count is more than best_extent_count count)*100/(extent_count)。
Optionally, caused relevant information can be buffered in internal memory in evaluation process, therefore certain evaluation process is beaten When disconnected, assess next time can the information based on caching continue down to assess from assessing the position that is interrupted.
In the method described by Fig. 3, terminal read before receiving fragment and assessing instruction the metadata of each file with The document size information and storage region quantity information of each file are obtained, and these information are stored in specific file for reading Take;Terminal is receiving document size information and storage region number in directly reading the specific file during fragment assessment instruction Information is measured, and the degree of fragmentation of file system is assessed based on this document size information and storage region quantity information.It that is to say Say, the terminal assesses instruction to during the degree of fragmentation for evaluating file system from the fragment is received, without one by one The metadata of each file is read, improves the efficiency for the degree of fragmentation for assessing file system.
The idiographic flow of method provided in an embodiment of the present invention is mainly described above, is grasped with reference to Fig. 6 with Android Exemplified by making system, that introduces method provided in an embodiment of the present invention realizes position and run time behaviour, more specifically method flow Refer to described in previous embodiment.
Referring to Fig. 6, the structural representation for computer system 600 provided in an embodiment of the present invention.The computer system 600 can apply to above-mentioned terminal.The computer system includes application layer 610, operating system layer 620 and hardware layer 630, the behaviour It can be Android (Android) operating system to make system.Application layer 610 in Fig. 6 may be considered application program 281 in Fig. 2 A kind of specific implementation, application layer 610 may include fragment assessment tool, application market, camera and file manager etc..Fig. 6 In operating system layer 620 may be considered a kind of specific implementation of operating system 282 in Fig. 2, operating system layer 620 includes interior Stratum nucleare, other layers such as including ccf layer, because the embodiment of the present invention is mainly concerned with the change of file system, therefore in Fig. 6 Mainly illustrate the inner nuclear layer related to file system.
Inner nuclear layer includes file system level of abstraction (English:Virtual Filesystem, referred to as:VFS) 621, file system System layer 622, block device layer (English:BLOCK Layer) 623 and driving layer 624, all file-system commands can all first pass through FVS 621 re-sends to corresponding file system in this document system layer 622, and the file system of main flow has flash file system (English:Flash Friendly File System, referred to as:F2FS), forth generation extension file system (English:Fourth Extended filesystem, referred to as:EXT4), JFS (XFS) etc., block device layer 623 are used to receive file system The input/output I/O command and submission that system issues are given to driving layer 624.Layer 624 is driven to include disk drive, built-in multimedia Storage card (English:Embedded Multi Media Card, referred to as:EMMC) driving, solid state hard disc (English:Non- Volatile Memory, referred to as:NVMe) driving and central processing unit (English:Central Processing Unit, letter Claim:CPU) driving etc..
The hardware layer 630 of the computer system 600 can include disk, eMMC, NVMe and central processing unit.Can be with Including memory (equivalent to the memory 280 in Fig. 2), including internal memory and external memory, display device can also be included (equivalent to figure Display device 240 in 2), such as liquid crystal display (English:Liquid Crystal Display, referred to as:LCD), it is holographic into As (Holographic), projection (Projector) etc., one or more sensors can also be included (equivalent to the biography in Fig. 2 Sensor 220).Certainly in addition, hardware layer 630 can also include power supply, camera, RF circuits and the WiFi shown in Fig. 2 Module, other hardware modules being also not shown in Fig. 2, such as Memory Controller Hub and display controller can also be included.
The above-mentioned method for illustrating the embodiment of the present invention, for the ease of preferably implementing the above-mentioned of the embodiment of the present invention Scheme, correspondingly, the virtual bench of the embodiment of the present invention is provided below.
Fig. 7 is referred to, Fig. 7 is the structural representation of another terminal 70 provided in an embodiment of the present invention, and the terminal 70 can With including the first reading unit 701 and assessment unit 702, wherein, unit is described in detail as follows.
First reading unit 701 is used for the patch information assessed instruction reading according to the fragment and prestored, the fragment letter Breath includes the terminal beforehand through the institute obtained by the metadata of each file in K file for reading itself file system The document size information and storage region quantity information of each file are stated, K is the integer more than 0;
Assessment unit 702 is used for described K according to the document size information and storage region quantity information assessment The degree of fragmentation of file.
By running said units, terminal 70 read before receiving fragment and assessing instruction the metadata of each file with It is stored in the document size information and storage region quantity information of each file, and by these information in specific file for reading Take;Terminal 70 directly reads document size information and storage region in the specific file when receiving the fragment and assessing and instruct Quantity information, and the degree of fragmentation based on this document size information and storage region quantity information assessment file system.Namely It is to say, the terminal 70 assesses instruction to during the degree of fragmentation for evaluating file system from the fragment is received, without The metadata of each file is read one by one, improves the efficiency for the degree of fragmentation for assessing file system.
In a kind of optional scheme, the terminal 70 also includes:
Second reading unit, for before first reading unit reads the patch information that prestores, by reading State each document size information of file and storage region quantity letter obtained by the metadata of each file Breath.
In other words, the terminal 70 reads the file of each file before user inputs fragment assessment instruction to terminal 70 Size information and storage region quantity information, so, subsequently use this document size information and storage region quantity information When can directly with without going to read again so that it is more square using this document size information and storage region quantity information Just.
In another optional scheme, the terminal 70 also includes:
3rd reading unit, for the write operation for determining to have for file destination, and according to the result of determination described Write operation reads the metadata of the file destination after terminating, obtain the document size information of the file destination and described Storage region quantity information, the file destination are any one file in the K file;
Updating block, for the first document size information and the renewal of the first storage region quantity information to be believed to the fragment In breath, first document size information is the file size of the file destination read after the write operation terminates Information, the first storage region quantity information are the storage of the file destination read after the write operation terminates Region quantity information.
In other words, after terminal 70 obtains the document size information and storage region quantity information of each file, if User has subsequently carried out write operation to wherein some file, then the terminal 70 can again read off the metadata of some file to weigh The document size information and storage region quantity information of some file are newly obtained, and is updated in the patch information, is made Must be more accurate based on the correlated results that the patch information calculates.
In another optional scheme, the updating block is specifically used for:
Determine that first document size information is different from the second document size information, and the first storage region quantity Information is different from the second storage region quantity information, and according to the result of determination by first document size information replacement Second document size information, and the first storage region quantity information is replaced into the second storage region quantity information.
In other words, when judging to exist the write operation for some file, be not immediately by re-read this certain The document size information and storage region quantity information of individual file are updated into the patch information, but first judge to reacquire to be somebody's turn to do The file size of the document size information and storage region quantity information of some file and some file in the patch information Whether information and storage region quantity information are identical, if differing the document size information of some file of reacquisition just With the renewal of storage region quantity information into the patch information, unnecessary renewal is avoided.
In another optional scheme, the patch information is stored in the same memory block of the external memory of the terminal 70 On domain.
It is understood that when patch information is stored in same storage region, the terminal 70 is reading fragment letter Only need to do a read operation during breath, improve the input/output performance of the patch information.
The specific implementation of the terminal 70 can also correspond to the corresponding description of the embodiment of the method shown in reference picture 3.
In the terminal 70 described by Fig. 7, terminal 70 reads first number of each file before receiving fragment and assessing instruction The document size information and storage region quantity information of each file are obtained according to this, and these information are stored in specific file For reading;Terminal 70 directly reads document size information and storage in the specific file when receiving the fragment and assessing and instruct Region quantity information, and the degree of fragmentation based on this document size information and storage region quantity information assessment file system. In other words, the terminal 70 assesses instruction to during the degree of fragmentation for evaluating file system from the fragment is received, Without reading the metadata of each file one by one, the efficiency for the degree of fragmentation for assessing file system is improved.
In summary, by implementing the embodiment of the present invention, terminal reads each file before receiving fragment and assessing instruction Metadata to obtain the document size information of each file and storage region quantity information, and these information are stored in specific For reading in file;Terminal receive the fragment assess directly read during instruction document size information in the specific file and Storage region quantity information, and the fragmentation journey based on this document size information and storage region quantity information assessment file system Degree.In other words, the terminal assesses instruction to during the degree of fragmentation for evaluating file system from the fragment is received, Without reading the metadata of each file one by one, the efficiency for the degree of fragmentation for assessing file system is improved.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with The hardware of correlation is instructed to complete by computer program, described program can be stored in computer read/write memory medium In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.And foregoing storage medium includes:ROM、 RAM, magnetic disc or CD etc. are various can be with the medium of store program codes.
Above example only discloses preferred embodiment in the present invention, it is impossible to the interest field of the present invention is limited with this, One of ordinary skill in the art will appreciate that all or part of flow of above-described embodiment is realized, and according to the claims in the present invention institute The equivalent variations of work, still fall within and invent covered scope.

Claims (15)

  1. A kind of 1. file fragmentation appraisal procedure, it is characterised in that including:
    Terminal reads the patch information that prestores, and the patch information includes the terminal beforehand through reading itself file system The document size information and storage region quantity letter of each file obtained by the metadata of each file in K file Breath, K are the integer more than 0;
    The terminal assesses the fragmentation of the K file according to the document size information and the storage region quantity information Degree.
  2. 2. according to the method for claim 1, it is characterised in that described before the terminal reads the patch information to prestore Method also includes:
    The file size of each file obtained by metadata of the terminal by reading each file is believed Breath and the storage region quantity information.
  3. 3. method according to claim 1 or 2, it is characterised in that methods described also includes:
    The terminal determines the write operation for having for file destination, and is read according to the result of determination after the write operation terminates The metadata of the file destination is taken, obtains the document size information and storage region quantity letter of the file destination Breath, the file destination are any one file in the K file;
    The terminal updates the first document size information and the first storage region quantity information into the patch information, described First document size information is the document size information of the file destination read after the write operation terminates, described First storage region quantity information is the storage region quantity of the file destination read after the write operation terminates Information.
  4. 4. according to the method for claim 3, it is characterised in that the terminal stores the first document size information and first Region quantity information updating into the patch information, including:
    Determine that first document size information is different from the second document size information, and the first storage region quantity information It is different from the second storage region quantity information, and first document size information is replaced described second according to the result of determination Document size information, and the first storage region quantity information is replaced into the second storage region quantity information;It is described Second document size information is the document size information of the file destination in the patch information, second storage Region quantity information is the storage region quantity information of the file destination in the patch information.
  5. 5. according to the method described in any one of Claims 1 to 4, it is characterised in that the patch information is stored in the terminal External memory same storage region on.
  6. 6. a kind of terminal, it is characterised in that the terminal includes processor, memory and user interface:
    The memory is used for data storage and program;
    The processor calls the program in the memory, for performing following operation:
    The patch information to prestore is read, it is individual beforehand through the K for reading itself file system that the patch information includes the terminal The document size information and storage region quantity information of each file obtained by the metadata of each file in file, K is the integer more than 0;
    The degree of fragmentation of the K file is assessed according to the document size information and the storage region quantity information.
  7. 7. terminal according to claim 6, it is characterised in that the processor is additionally operable to:
    Before the patch information to prestore is read, each file obtained by metadata by reading each file The document size information and the storage region quantity information.
  8. 8. the terminal according to claim 6 or 7, it is characterised in that the processor is additionally operable to:
    It is determined that the write operation for file destination be present, and the mesh is read after the write operation terminates according to the result of determination The metadata of file is marked, obtains the document size information of the file destination and the storage region quantity information, it is described File destination is any one file in the K file;
    By the first document size information and the renewal of the first storage region quantity information into the patch information, first file Size information is the document size information of the file destination read after the write operation terminates, first storage Region quantity information is the storage region quantity information of the file destination read after the write operation terminates.
  9. 9. terminal according to claim 8, it is characterised in that the processor deposits the first document size information and first The quantity information renewal of storage area domain is into the patch information, specially:
    Determine that first document size information is different from the second document size information, and the first storage region quantity information It is different from the second storage region quantity information, and first document size information is replaced described second according to the result of determination Document size information, and the first storage region quantity information is replaced into the second storage region quantity information;It is described Second document size information is the document size information of the file destination in the patch information, second storage Region quantity information is the storage region quantity information of the file destination in the patch information.
  10. 10. according to the terminal described in any one of claim 6~9, it is characterised in that the patch information is stored in the terminal External memory same storage region on.
  11. A kind of 11. terminal, it is characterised in that including:
    First reading unit, for reading the patch information to prestore, the patch information includes the terminal beforehand through reading The document size information of each file obtained by the metadata of each file in K file of own files system and Storage region quantity information, K are the integer more than 0;
    Assessment unit, for assessing the K file according to the document size information and the storage region quantity information Degree of fragmentation.
  12. 12. terminal according to claim 11, it is characterised in that the terminal also includes:
    Second reading unit, it is described every by reading for before first reading unit reads the patch information that prestores The document size information and the storage region quantity information of each file obtained by the metadata of individual file.
  13. 13. the terminal according to claim 11 or 12, it is characterised in that the terminal also includes:
    3rd reading unit, for the write operation for determining to have for file destination, and behaviour is write described according to the result of determination Work reads the metadata of the file destination after terminating, obtain the document size information of the file destination and the storage Region quantity information, the file destination are any one file in the K file;
    Updating block, for the first document size information and the renewal of the first storage region quantity information to be arrived into the patch information In, first document size information is the file size letter of the file destination read after the write operation terminates Breath, the first storage region quantity information are the memory block of the file destination read after the write operation terminates Domain quantity information.
  14. 14. terminal according to claim 13, it is characterised in that the updating block is specifically used for:
    Determine that first document size information is different from the second document size information, and the first storage region quantity information It is different from the second storage region quantity information, and first document size information is replaced described second according to the result of determination Document size information, and the first storage region quantity information is replaced into the second storage region quantity information;It is described Second document size information is the document size information of the file destination in the patch information, second storage Region quantity information is the storage region quantity information of the file destination in the patch information.
  15. 15. according to the terminal described in any one of claim 11~14, it is characterised in that the patch information is stored in the end In the same storage region of the external memory at end.
CN201610692345.7A 2016-08-19 2016-08-19 A kind of file fragmentation appraisal procedure and terminal Pending CN107766370A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610692345.7A CN107766370A (en) 2016-08-19 2016-08-19 A kind of file fragmentation appraisal procedure and terminal
PCT/CN2017/075178 WO2018032743A1 (en) 2016-08-19 2017-02-28 Method for evaluating file fragments, and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610692345.7A CN107766370A (en) 2016-08-19 2016-08-19 A kind of file fragmentation appraisal procedure and terminal

Publications (1)

Publication Number Publication Date
CN107766370A true CN107766370A (en) 2018-03-06

Family

ID=61196305

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610692345.7A Pending CN107766370A (en) 2016-08-19 2016-08-19 A kind of file fragmentation appraisal procedure and terminal

Country Status (2)

Country Link
CN (1) CN107766370A (en)
WO (1) WO2018032743A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111459848A (en) * 2020-03-31 2020-07-28 Oppo广东移动通信有限公司 File fragment sorting method and device, storage medium and electronic equipment
CN112905499A (en) * 2021-02-26 2021-06-04 四川泽字节网络科技有限责任公司 Fragmented content similar storage method

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114461588B (en) * 2021-08-20 2023-01-24 荣耀终端有限公司 Method for adjusting pre-reading window and electronic equipment
WO2024020707A1 (en) * 2022-07-25 2024-02-01 Micron Technology, Inc. Memory performance evaluation using address mapping information

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101576890A (en) * 2008-05-08 2009-11-11 深圳市朗科科技股份有限公司 Novel method and system for sorting fragment
CN102760168A (en) * 2012-06-13 2012-10-31 腾讯科技(深圳)有限公司 Method and device for scanning fragmented files
CN104933169A (en) * 2015-06-29 2015-09-23 南开大学 File system defragmentation method based on hotspot file priority

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1211798C (en) * 2001-12-03 2005-07-20 英业达股份有限公司 Method and system for computing fragment rate of magnetic disc
US8909887B1 (en) * 2012-09-25 2014-12-09 Emc Corporation Selective defragmentation based on IO hot spots
CN102945275B (en) * 2012-11-08 2016-03-02 华为技术有限公司 File defragmentation method, device and equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101576890A (en) * 2008-05-08 2009-11-11 深圳市朗科科技股份有限公司 Novel method and system for sorting fragment
CN102760168A (en) * 2012-06-13 2012-10-31 腾讯科技(深圳)有限公司 Method and device for scanning fragmented files
CN104933169A (en) * 2015-06-29 2015-09-23 南开大学 File system defragmentation method based on hotspot file priority

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111459848A (en) * 2020-03-31 2020-07-28 Oppo广东移动通信有限公司 File fragment sorting method and device, storage medium and electronic equipment
CN111459848B (en) * 2020-03-31 2023-10-31 Oppo广东移动通信有限公司 File fragment sorting method and device, storage medium and electronic equipment
CN112905499A (en) * 2021-02-26 2021-06-04 四川泽字节网络科技有限责任公司 Fragmented content similar storage method
CN112905499B (en) * 2021-02-26 2022-10-04 四川泽字节网络科技有限责任公司 Fragmented content similar storage method

Also Published As

Publication number Publication date
WO2018032743A1 (en) 2018-02-22

Similar Documents

Publication Publication Date Title
US9904409B2 (en) Touch input processing method that adjusts touch sensitivity based on the state of a touch object and electronic device for supporting the same
EP3335214B1 (en) Method and electronic device for playing a virtual musical instrument
CN103279288B (en) Data transmission method, device and terminal unit
CN103699292B (en) Method and device for entering into text selection mode
CN107918563A (en) A kind of method, data processing equipment and user equipment replicated and paste
CN107766370A (en) A kind of file fragmentation appraisal procedure and terminal
CN107493389A (en) Singlehanded mode implementation method, terminal and computer-readable medium
CN107908489A (en) Replicate the method pasted and mobile terminal
KR20150079829A (en) Gesture-based conversation processing method, apparatus, and terminal device
US11609683B2 (en) Method for browsing application folder and electronic device
TW201516845A (en) Target element moving method, device and electronic equipment thereof
CN110008141B (en) Fragment sorting method and electronic equipment
CN106649735A (en) Log data recording method and apparatus
CN110377235B (en) Data processing method and device, mobile terminal and computer readable storage medium
CN107643912A (en) A kind of information sharing method and mobile terminal
CN107368231A (en) A kind of theme processing method and Related product
CN107566624A (en) A kind of power consumption of terminal and the display methods of temperature and terminal
CN109753425A (en) Pop-up processing method and processing device
CN111966491B (en) Method for counting occupied memory and terminal equipment
CN106168905A (en) Text handling method, device and mobile terminal in a kind of mobile terminal
WO2017128986A1 (en) Selection method, device and storage medium for multimedia menu item
CN106407417A (en) An application program data backup method and a mobile terminal
CN105487770B (en) Picture sending method and device
CN106445719A (en) Recovery-mode Recovery instruction reading and writing method and device
CN106055237A (en) Swiping acceleration response method and equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180306