CN106293515A - Flash memory device file reading and device - Google Patents

Flash memory device file reading and device Download PDF

Info

Publication number
CN106293515A
CN106293515A CN201610602079.4A CN201610602079A CN106293515A CN 106293515 A CN106293515 A CN 106293515A CN 201610602079 A CN201610602079 A CN 201610602079A CN 106293515 A CN106293515 A CN 106293515A
Authority
CN
China
Prior art keywords
file
reading
read
labelling
equipment
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
CN201610602079.4A
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.)
Huizhou Stanley Technology Co Ltd
Original Assignee
Huizhou Stanley Technology 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 Huizhou Stanley Technology Co Ltd filed Critical Huizhou Stanley Technology Co Ltd
Priority to CN201610602079.4A priority Critical patent/CN106293515A/en
Publication of CN106293515A publication Critical patent/CN106293515A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/061Improving I/O performance
    • G06F3/0611Improving I/O performance in relation to response time
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0653Monitoring storage devices or systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device
    • G06F3/0679Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention relates to a kind of flash memory device file reading and device, the method includes: the access events of detection equipment;Respond described access events, obtain and read labelling;Obtain according to described reading labelling and pre-read file;Eject the preview interface pre-reading file described in comprising.By arranging labelling to pre-reading file, when computer accesses storage device, read and open pre-read file according to reading labelling, and carry out ff without user and click is opened, thus improve the reading speed of file, and improve the file activity of user.

Description

Flash memory device file reading and device
Technical field
The present invention relates to field of computer technology, particularly relate to flash memory device file reading and device.
Background technology
USB flash disk, full name USB flash drive, English name " USB flash disk ", also become movable storage device or flash memory device, It is a kind of miniature high power capacity movable storage device without phisical drive using USB interface, by USB interface and calculating Machine connects, it is achieved plug and play.USB flash disk is very easy to user's process to file, improves user and processes the efficiency of file.
Traditional USB flash disk or movable storage device, after accessing computer, generally require the full content loading USB flash disk, lead Cause computer relatively slow to the file reading speed in USB flash disk, and then affect user's processing speed to file.
Summary of the invention
Based on this, it is necessary to for conventional USB flash drive to the slower defect of file reading speed, it is provided that a kind of flash memory device file Read method and device, be effectively increased the reading speed of file, improves the file activity of user.
A kind of flash memory device file reading, including:
The access events of detection equipment;
Respond described access events, obtain and read labelling;
Obtain according to described reading labelling and pre-read file;
Eject the preview interface pre-reading file described in comprising.
In one embodiment, described ejection comprise described in pre-read file preview interface step after also include:
Operation according to acting on described preview interface obtains the described OPEN pre-reading file.
In one embodiment, described basis act on described preview interface operation obtain the described file that pre-reads is beaten Also include after opening the step of instruction:
Respond described OPEN open described in pre-read file.
In one embodiment, described basis act on described preview interface operation obtain the described file that pre-reads is beaten The step opening instruction includes:
Click commands according to described preview interface obtains the described OPEN pre-reading file.
In one embodiment, described ejection comprise described in pre-read file the step of preview interface include:
Eject comprise multiple described in pre-read the preview interface of file.
A kind of flash memory device document reading apparatus, including:
Access events detection module, for detecting the access events of equipment;
Labelling acquisition module, is used for responding described access events, obtains and reads labelling;
Pre-read file acquisition module, pre-read file for obtaining according to described reading labelling;
Interface pop-up module, for eject comprise described in pre-read the preview interface of file.
Above-mentioned flash memory device file reading and device, by arranging labelling to pre-reading file, access at computer and deposit During storage equipment, read and open pre-read file according to reading labelling, and carry out ff without user and click is opened, thus Improve the reading speed of file, and improve the file activity of user.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of the flash memory device file reading of an embodiment;
Fig. 2 is the schematic flow sheet of the flash memory device file reading of another embodiment;
Fig. 3 is the schematic flow sheet of the flash memory device file reading of another embodiment;
Fig. 4 is the schematic flow sheet of the flash memory device file reading of another embodiment;
Fig. 5 is the schematic flow sheet of the flash memory device file reading of another embodiment;
Fig. 6 is the module frame chart of the flash memory device document reading apparatus of an embodiment.
Detailed description of the invention
For the ease of understanding the present invention, below with reference to relevant drawings, the present invention is described more fully.In accompanying drawing Give the better embodiment of the present invention.But, the present invention can realize in many different forms, however it is not limited to herein Described embodiment.On the contrary, providing the purpose of these embodiments is to make to understand the disclosure more Add thorough comprehensive.
Unless otherwise defined, all of technology used herein and scientific terminology and the technical field belonging to the present invention The implication that technical staff is generally understood that is identical.The term used the most in the description of the invention is intended merely to describe tool The purpose of the embodiment of body, it is not intended that in limiting the present invention.Term as used herein " and/or " include one or more Arbitrary and all of combination of relevant Listed Items.
As it is shown in figure 1, the flash memory device file reading that it is an embodiment, including:
Step 120, the access events of detection equipment.
Specifically, in the present embodiment, equipment is movable storage device or flash memory device, has storage capacity, such as, and should Device memory has stored up multiple file.Access events is that equipment is linked into computer, i.e. equipment is connected with computer, such as, and equipment Insert USB (Universal Serial Bus, the USB (universal serial bus)) interface of computer, in other embodiments, this equipment For having the universal storage device of storage capacity, this equipment is linked into the data-interface of computer, and such as, this data-interface is string Mouthful, and for example, this data-interface is network interface, and this equipment is network memory.Such as, in the present embodiment, detect general serial The equipment of EBI accesses, and such as, whether detection USB has equipment to access, and when equipment accesses, triggers The access events of equipment.
Step 140, responds described access events, obtains and reads labelling.
Specifically, when, after access events equipment being detected, responding this access events, obtain and read labelling, this reading mark Note for distinguishing labeled file and not labeled file, such as, is provided with reading for tab file, this reading labelling The file of labelling is inconsistent with the alternative document attribute in equipment, and such as, this attribute can be file type, or file is read Take priority etc..
One embodiment is, this reading labelling pre-sets and stores to equipment, such as, accesses at equipment and calculates Before machine, this reading labelling pre-sets and stores to equipment, such as, before the access events of the equipment of triggering, preset and read mark Remembering and store to equipment, such as, this reading labelling automatically generates, and and for example, this reading labelling generates according to user instruction.
In the present embodiment, respond this access events, the reading labelling in acquisition equipment, such as, respond this access events, Obtain the reading labelling in movable storage device.
Step 160, obtains according to described reading labelling and pre-reads file.
Specifically, pre-reading file is the file being stored in equipment, and this pre-reads file and is provided with reading labelling, such as, Device memory stored up contain be provided with read labelling pre-read file at interior multiple files, and for example, device memory has been stored up many Individual file, and at least one file with read labelling associate.Associate with reading labelling pre-reads file or is provided with reading mark The file that pre-reads of note has the power that preferentially reads, say, that pre-read file higher more limited than the alternative document in equipment has Read grade.
Due to read that labelling associate pre-read file or be provided with read labelling pre-read in file and equipment its He has different attribute by file, therefore, it is possible to according to this reading labelling, quickly find this multiple files in equipment pre- Read file, this is pre-read file acquisition.
Such as, this reading is labeled as searching labelling, and such as, this reading is labeled as leader label, and such as, this leader label is Guiding file, and for example, this reading is labeled as execution flag, such as, responds access events, obtains and read labelling, at traversal equipment In file time, pre-read file according to searching label lookup, such as, during file in traversal equipment, look into according to guiding file Look for and pre-read file, in general, after equipment inserts computer, calculate and the file in equipment will be traveled through, to obtain equipment The file attribute of interior each file, and in the present embodiment, owing to reading the guiding file being labeled as this equipment, therefore, right Before file in equipment travels through, i.e. after reading guiding file, the index function according to guiding file directly finds Pre-read file, and without carrying out the traversal of All Files in equipment, greatly improve the search efficiency pre-reading file.
Step 180, pre-reads file described in reading, open described in pre-read file.
In the present embodiment, get after pre-reading file, read this and pre-read file, and open this and pre-read file, specifically, According to reading after labelling gets and pre-read file, read this and pre-read file, and directly open and pre-read file, and click on without user Open.
Specifically, for a user, the most important file or open the file that frequency is higher, reading can be set Label taking is remembered, inserts at equipment and opens efficiency after computer improving this document.By arranging labelling to pre-reading file, calculating When machine accesses storage device, read and automatically open up pre-read file according to reading labelling, and carry out ff also without user Click is opened, thus improves the reading speed of file, and improves the file activity of user.
In one embodiment, step 180 includes: pre-read file described in reading;Obtain OPEN;Open described in response Instruction, open described in pre-read file.
Specifically, in the present embodiment, read and pre-read the step of file for pre-reading step, i.e. read this pre-read file and not This is pre-read File Open, but after getting the OPEN of user, just opens this and pre-read file, in such manner, it is possible to make Pre-read file to open according to the control of user, it is to avoid cause information leakage owing to file throws open, and owing to this is pre- Read file to be read, therefore, after user inputs OPEN, it is possible to open rapidly and pre-read file, be effectively improved file Opening speed.
In one embodiment, also include before step 180: by the described file cache that pre-reads in spatial cache.
Although it should be understood that the read or write speed of movable storage device at present is the fastest, but it is limited to general string Channel capacity between row bus and internal memory, therefore directly reads file the speed opened the most relatively from movable storage device Slowly, therefore, in order to improve the opening speed pre-reading file, in the present embodiment, this is pre-read file cache to spatial cache, example As, this is pre-read file cache to the spatial cache in internal memory, so, file cache will be pre-read so that energy in opening procedure From spatial cache, the most directly read data and open, being effectively increased the opening speed pre-reading file.
In one embodiment, step 180 includes: pre-read file described in reading from described spatial cache, opens described Pre-read file.
Specifically, cache to spatial cache owing to pre-reading file, therefore, when opening this and pre-reading file, it is possible to rapidly Open this and pre-read file.
In one embodiment, described from described spatial cache read described in pre-read file, open described in pre-read file Step include: obtain OPEN;Respond described OPEN, from described spatial cache, pre-read file described in reading, beat File is pre-read described in opening.
Specifically, in the present embodiment, pre-read file and cache to spatial cache in advance, and this pre-reads file and is the most directly beaten Open, but after getting the OPEN of user, from spatial cache, pre-read file described in reading and open, so so that Pre-read opening of file more to meet user's request rather than directly open, it is to avoid file automatically opens up and causes information leakage, and On the other hand, owing to pre-reading the spatial cache that file is buffered in internal memory in advance, therefore it is effectively increased and pre-reads opening of file Speed.
As in figure 2 it is shown, the flash memory device file reading that it is an embodiment, including:
Step 220, obtains flag event.
Specifically, flag event is the event triggering and file arranging labelling, and such as, flag event is closed for file for triggering The event of connection labelling, such as, detects flag event, such as, detects triggered mark event, obtain the labelling time.
In the present embodiment, after movable storage device has access to computer, obtain flag event.Such as, detection sets Standby access events, responds described access events, detects flag event, obtains described flag event.
Step 240, responds described flag event, generates and reads labelling.
In the present embodiment, respond this flag event, generate reading labelling according to reading flag event.This reading labelling is used In tab file, this reading labelling, for distinguishing labeled file and not labeled file, such as, is provided with reading labelling File inconsistent with the alternative document attribute in equipment.
Step 260, according to described flag event, associates described reading labelling with pre-reading file foundation.
Specifically, in this step, reading labelling is associated with pre-reading file foundation, such as, reading is set for pre-reading file Labelling, in the present embodiment, pre-reading file is the file in movable storage device, this is pre-read file and sets up and read labelling Association so that this pre-reads the alternative document that file is different from equipment.The file that pre-reads associated being provided with and read labelling has Have limited reading grade more higher than the alternative document in equipment, such as, when equipment accesses computer again, preferential reading is also Open be provided with read labelling pre-read file, such as, detection equipment access events, respond described access events, detection sets Standby interior reading labelling, obtains this reading labelling, obtains according to this reading labelling and pre-reads file, reads and open this and pre-read literary composition Part.
Such as, this pre-reads file and determines according to the instruction of user, and and for example, this pre-reads file according to predetermined registration operation rule really Fixed, such as, the multiple files in equipment determine that one pre-reads file, determines after pre-reading file, by described reading labelling with pre- Read file and set up association.
Step 280, store described reading labelling and described in pre-read file.
Specifically, by this reading labelling with pre-read file association after, store this reading labelling and pre-read file, such as, Labelling and pre-read file association relation is read in storage, such as, by described reading labelling and described in pre-read file and store to equipment In, this equipment is the movable storage device pre-reading file place.It should be understood that movable storage device be can be inserted in arbitrary On computer or terminal, and so that the file that pre-reads in movable storage device can be opened rapidly, therefore, this reading is marked Note with pre-read file and be stored in movable storage device so that this equipment when again accessing on computer or other-end, This reading labelling can be got by this computer or terminal recognition.
In the present embodiment, by the triggering of flag event, thus generate reading labelling, and the file that pre-reads in equipment is entered Line flag associates, so that after equipment inserts computer again, it is possible to quickly open the pre-of correspondence by this reading labelling Read file, it is not necessary to user's manual unlocking this document, thus improve the reading speed of file, and improve the file process effect of user Rate.
In one embodiment, step 220 includes: obtain mark instructions.
In the present embodiment, obtaining flag event is to obtain mark instructions, such as, acquisition mark instructions, triggered mark event, Such as, this mark instructions is inputted acquisition by user, and and for example, this mark instructions automatically generates, and such as, this mark instructions is according to literary composition The operation of part obtains.
In one embodiment, step 240 includes: respond described mark instructions, generates and reads labelling.
In the present embodiment, the mark instructions of response user's input, generate and read labelling, such as, this reading is labeled as character String labelling, such as, this reading is labeled as leader label, and such as, this leader label is for guiding file.Such as, response user input Mark instructions, in the memory space of equipment generate read labelling.
At one described in, step 220 includes: obtain unloading command to equipment.
In the present embodiment, obtaining flag event is to obtain the unloading command to equipment, and such as, the unloading of detection equipment refers to Order, when the unloading command of equipment being detected, triggered mark event.Such as, this unloading command is used for unloading this equipment, such as, This unloading command is for unloading this equipment from computer, and such as, this unloading command is for disconnecting the connection with equipment.Specifically Ground, after getting the unloading command to equipment, i.e. it is believed that this equipment will pull out from the USB of computer Go out.
In one embodiment, step 240 includes: respond described unloading command, generates described reading labelling.
Specifically, in the present embodiment, after unloading command being detected, this equipment will connect from the USB (universal serial bus) of computer When extracting in Kou, then respond this unloading command, generate and read labelling.In the present embodiment, this reading is labeled as automatically generating, and rings The unloading command answering equipment generates, and i.e. at equipment before extracting, generates this reading labelling, and stores this reading labelling to setting Standby.
Such as, respond described unloading command, generate described reading labelling, described reading labelling is set up pass with pre-reading file Connection, store described reading labelling and described in pre-read file in equipment.So, when equipment gets unloading command, setting Before being pulled out, i.e. generate and read labelling and store so that when this equipment accesses computer the most next time, it is possible to quickly search also Reading pre-reads file.
In one embodiment, step 220 includes: obtain the out code to file.
Specifically, in the present embodiment, closing of a file instruction is for closing the file being opened.One embodiment is, should File is opened after equipment is linked into computer, is closed subsequently, now gets the out code to file.
In one embodiment, step 240 includes: respond described out code, generates and reads labelling.
In the present embodiment, respond this out code, generate and read labelling, such as, determine according to out code and pre-read literary composition Part.Specifically, insert a certain computer at equipment, the file in equipment is operated, and when user closes closed file, obtain To reading labelling.When user inserts the device into another computer, can search rapidly by this reading labelling and open this File so that user can accurately and quickly open again to edit this document.
In a further embodiment, step 220 includes obtaining operational order to file, such as, obtain in equipment After operational order once, such as, obtain the last operational order before equipment unloads, such as, this operational order is multiple System instruction, such as, this operational order is for pasting instruction, and such as, this operational order is renamed instructions, in the above-described embodiments, It is that user is the last to this document operation due to obtain, is labeled as pre-reading file by this document, it is simple to user counts at another When the calculation machine transplanting of rice enters equipment, quickly open this and pre-read file.
As it is shown on figure 3, the flash memory device file reading that it is an embodiment, including:
Step 320, obtains the operation of file in equipment.
In the present embodiment, device memory has stored up multiple file, and equipment is connected with computer, and computer can read equipment Interior file.Such as, whether detection USB has equipment to access, and after detecting that equipment accesses, detection is to setting The operation of standby interior file, obtains the operation of file in equipment.Such as, this operation is for replicating operation, and such as, this operation is for opening Operation, such as, this operation is for pasting operation, and such as, this operation is close file operation, and such as, this operation is amendment operation, example As, this operation is edit operation.
Step 340, according to described operation, generates and reads labelling.
Specifically, according to user's operation to file, generate and read labelling.So so that the reading labelling of generation is corresponding Pre-read file and can meet the operation of user, more meet the reading demand of user.
Step 360, associates with described reading labelling the described file that described operation is corresponding.
Specifically, file corresponding to this operation for pre-reading in file, this step, by this document with read labelling and set up and close Connection so that this document is labeled as pre-reading file, after equipment inserts computer again, it is possible to is quickly found and reads.
Step 380, stores described file corresponding to described operation and described reading labelling.
Specifically, after the file association that this reading labelling is corresponding with operation, this reading labelling is stored right with this operation The file answered, such as, the incidence relation of the labelling file corresponding with this operation is read in storage, such as, will reading labelling and with File corresponding to this operation stores to equipment, and this equipment is the movable storage device at the file place corresponding with this operation.Should It should be appreciated that, movable storage device is can be inserted in any computer or terminal, and so that in movable storage device Pre-read file and can open rapidly, therefore, this reading labelling is stored in movable storage device with pre-reading file so that should Equipment is when again accessing on computer or other-end, it is possible to is got this reading by this computer or terminal recognition and marks Note.
In the present embodiment, according to user, labelling is read in the operation generation of file, and to the literary composition operating correspondence in equipment Part is marked association, makes this document be marked as pre-reading file, so that after equipment inserts computer again, it is possible to logical That crosses that this reading labelling quickly opens correspondence pre-reads file, it is not necessary to user's manual unlocking this document, thus improve the reading of file Take speed, and improve the file activity of user.
In one embodiment, step 320 includes: obtain the operational order of file in equipment;Refer to according to described operation Order obtains the number of operations to file each in equipment.
Specifically, the corresponding one or more files of each operational order, in the present embodiment, obtain literary composition each in equipment The number of operations of part, such as, statistics obtains the quantity of operational order corresponding to each file, such as, obtains each single literary composition The number of times of part operation, in such manner, it is possible to get the number of times that each file is operated.
In one embodiment, step 340 includes: according to the number of operations described reading of generation to file each in equipment Labelling.
In the present embodiment, generate corresponding reading labelling according to number of operations, such as, to secondary more than presetting by number of operations The reading labelling that several file generateds is corresponding.So can be configured labelling to operating most files so that it is labeled For pre-reading file, it should be understood that the number of times operated is the most, then show that this document is the most even more important, or The frequency that person user opens is higher, therefore, be provided with this document after labelling can upper once insert computer after beat rapidly Open, thus improve the treatment effeciency of user.
Such as, to different operation setting difference weights, operation each time obtains corresponding weighted value, such as, to being grasped Make the reading labelling that weight is corresponding more than the file generated presetting weighted value with value.So, generate according to weighted value and read labelling, And be provided with this reading labelling pre-read that file more meets user open demand.Preferably, always according to number of operations, behaviour's last time Make the time and operation frequency dynamically adjusts described weighted value, such as, for a certain file, according to its number of operations, operation last time Time and operation frequency dynamically adjust its described weighted value, such as, according to the duration of current time distance operating time last time, by Decrescence lack its described weighted value;And for example, according to this document the behaviour that occurred of duration of current time distance preset reference time Working frequency, dynamically arranges its described weighted value;And for example, according to the number of operations of this document, dynamically increase its described weighted value;With This analogizes.Such as, weighted value weighting weight and the value to each operation, to raw more than the file presetting weighted value by operation weight and value Become corresponding reading labelling.Preferably, default weighted value is further comprised the steps of:.Such as, according to file format and/or the literary composition of file Part size, presets its weighted value.Such as, according to file format and/or the file size of different files, its weighted value is preset.This Sample, can arrange and adjust the weighted value of each file flexibly, and weight and value according to operation file generate described reading labelling.
In one embodiment, equipment is not had the number of operations of each file to generate the step bag reading labelling by described basis Include: obtain the number of operations to file each in equipment;Generate the reading labelling that the file most with number of operations is corresponding.
In the present embodiment, labelling, this reading labelling and number of operations are read according to the file generated that number of operations is most Most files is associated, and i.e. this document is for pre-reading file so that what this reading labelling was corresponding pre-read file more meets user's Operational requirements, it is simple to user can quickly open this when equipment is again insertable into computer and pre-read file.
In one embodiment, step 320 includes: obtain the operational order of file in equipment;Refer to according to described operation Order obtains the operating time to file each in equipment.
Specifically, each operational order corresponding operating time, this operating time is the moment that operational order performs, this reality Execute in example, obtain the operating time of each operational order, such as, obtain the operating time of each operational order, store described behaviour Make the time.
In one embodiment, step 340 includes: according to the operating time described reading of generation to file each in equipment Labelling.
Specifically, according to the reading labelling that the operating time generation to file is corresponding.
In one embodiment, described basis generates the step of described reading labelling to the operating time of file each in equipment Suddenly include: obtain the operating time to file each in equipment;Obtain operating time up-to-date file, generate with the operating time The reading labelling that new file is corresponding.
Specifically, the once-through operation time that up-to-date operating time i.e. this operating time is closest with current time, tool Body ground, there is precedence in user, operation corresponding to up-to-date operating time is in equipment to the operating time of each file The last operation of file, so, this document is the file operated user's the last time, for a user, is again connecing When entering computer, this document has the higher priority opened.
As shown in Figure 4, it is the flash memory device file reading of an embodiment, including:
Step 420, the access events of detection equipment.
Specifically, equipment is movable storage device or flash memory device, has storage capacity, and such as, this device memory is stored up Multiple files.Access events is that equipment is linked into computer, i.e. equipment is connected with computer, and such as, equipment inserts computer USB interface, in other embodiments, this equipment is the universal storage device with storage capacity, and this equipment is linked into computer Data-interface, such as, this data-interface is serial ports, and and for example, this data-interface is network interface, and this equipment is the network storage Device.Such as, in the present embodiment, the equipment of detection USB accesses, and such as, detection USB is No have equipment to access, and when equipment accesses, triggers the access events of equipment.
Step 440, responds described access events, obtains and reads labelling.
Specifically, when, after access events equipment being detected, responding this access events, obtain and read labelling, this reading mark Note is for tab file, and this reading labelling is for distinguishing labeled file and not labeled file.One embodiment is, should Reading labelling to pre-set and store to equipment, such as, before equipment accesses computer, this reading labelling pre-sets And store to equipment, such as, before the access events of the equipment of triggering, preset and read labelling and store to equipment, such as, this reading Label taking note automatically generates, and and for example, this reading labelling generates according to user instruction.
In the present embodiment, respond this access events, the reading labelling in acquisition equipment, such as, respond this access events, Obtain the reading labelling in movable storage device.
Step 460, obtains according to described reading labelling and pre-reads file.
Specifically, pre-reading file is the file being stored in equipment, and this pre-reads file and is provided with reading labelling, such as, Device memory stored up contain be provided with read labelling pre-read file at interior multiple files, and for example, device memory has been stored up many Individual file, and at least one file with read labelling associate.Associate with reading labelling pre-reads file or is provided with reading mark The file that pre-reads of note has the power that preferentially reads, say, that pre-read file higher more limited than the alternative document in equipment has Read grade.
Due to read that labelling associate pre-read file or be provided with read labelling pre-read in file and equipment its He has different attribute by file, therefore, it is possible to according to this reading labelling, quickly find this multiple files in equipment pre- Read file, this is pre-read file acquisition.
Such as, this reading is labeled as searching labelling, and such as, this reading is labeled as leader label, and such as, this leader label is Guiding file, and for example, this reading is labeled as execution flag, such as, responds access events, obtains and read labelling, at traversal equipment In file time, pre-read file according to searching label lookup, such as, during file in traversal equipment, look into according to guiding file Look for and pre-read file, in general, after equipment inserts computer, calculate and the file in equipment will be traveled through, to obtain equipment The file attribute of interior each file, and in the present embodiment, owing to reading the guiding file being labeled as this equipment, therefore, right Before file in equipment travels through, i.e. after reading guiding file, the index function according to guiding file directly finds Pre-read file, and without carrying out the traversal of All Files in equipment, greatly improve the search efficiency pre-reading file.
Step 480, ejects the preview interface pre-reading file described in comprising.
Specifically, this preview interface pre-reads file for preview, such as, and the file interface phase of this preview interface and equipment Different, such as, this pre-reads file is one, and and for example, this pre-reads file is multiple, can quickly be shown by this preview file and pre-read File, such as, display pre-reads the file name of file, and such as, display pre-reads the icon of file, and such as, display pre-reads file Summarized content, such as, this summarized content is the part pre-reading file, and such as, this summarized content is for being pre-set in equipment.
Such as, the file interface of pop-up device Eject preview interface, such as, before the file interface of pop-up device Eject preview interface, such as, Eject preview interface in the file interface of equipment.So, can be quick by preview interface Ground will pre-read file and show, improve user's search efficiency to pre-reading file.
In above-described embodiment, by arranging labelling to pre-reading file, when computer accesses storage device, according to reading mark Note display comprises the preview interface pre-reading file, it is possible to will pre-read file efficiently and show, thus improve pre-reading file Search efficiency, and improve the file activity of user.
In one embodiment, when ejecting the preview interface pre-reading file described in comprising, file cache will be pre-read to internal memory In cushion space.On the one hand so, fast browsing is allowed users to pre-reading file by preview interface, on the other hand, When user's click is opened and pre-read file, cache to internal memory owing to pre-reading file, it is possible to be opened rapidly, thus improve pre- That reads file opens efficiency.
In one embodiment, include after step 480: the operation according to acting on described preview interface obtains described Pre-read the OPEN of file.Such as, also include after step 480: obtain institute according to the click commands of described preview interface State the OPEN pre-reading file.
Such as, also include after step 480: obtain according to the operation acting on described preview interface and pre-read file to described OPEN, respond described OPEN open described in pre-read file.
Such as, this preview interface pre-reads file for display, and such as, this preview interface is for showing the figure of preview file Mark, such as, this icon pre-reading file pre-reads file for opening this according to click commands, specifically, in preview interface, right The click commands pre-reading file, the summarized content pre-reading file or the icon that pre-reads file is this to be pre-read file open finger Order, this OPEN acts on preview interface, in such manner, it is possible to will pre-read File Open rapidly, and without opening the literary composition of equipment Part presss from both sides.
In one embodiment, step 480 includes: eject comprise multiple described in pre-read the preview interface of file.
Specifically, equipment stores and multiple pre-reads file, in order to avoid user searches, improve the treatment effeciency of user, In the present embodiment, eject simultaneously and comprise multiple preview interface pre-reading file, such as, eject a preview interface, this preview Interface comprises and multiple pre-reads file, such as, ejects multiple preview interface simultaneously, and each preview interface shows that one pre-reads file, example As, show multiple preview interface successively according to reading labelling, such as, obtain each weight pre-reading file according to reading labelling Value, shows multiple preview interface successively, such as, shows preview interface according to weighted value with different pixels size according to weighted value, Be proportionate functional relationship, i.e. weighted value of this pixel value and weighted value is the biggest, and the viewing area of the preview interface of display is the biggest.This Sample so that user can quickly find required file.
As it is shown in figure 5, the flash memory device file reading that it is an embodiment, including:
Step 520, the access events of detection equipment.
Specifically, equipment is movable storage device or flash memory device, has storage capacity, and such as, this device memory is stored up Multiple files.Access events is that equipment is linked into computer, i.e. equipment is connected with computer, and such as, equipment inserts computer USB interface, in other embodiments, this equipment is the universal storage device with storage capacity, and this equipment is linked into computer Data-interface, such as, this data-interface is serial ports, and and for example, this data-interface is network interface, and this equipment is the network storage Device.Such as, in the present embodiment, the equipment of detection USB accesses, and such as, detection USB is No have equipment to access, and when equipment accesses, triggers the access events of equipment.
Step 540, responds described access events, obtains and reads labelling.
Specifically, when, after access events equipment being detected, responding this access events, obtain and read labelling, this reading mark Note is for tab file, and this reading labelling is for distinguishing labeled file and not labeled file.One embodiment is, should Reading labelling to pre-set and store to equipment, such as, before equipment accesses computer, this reading labelling pre-sets And store to equipment, such as, before the access events of the equipment of triggering, preset and read labelling and store to equipment, such as, this reading Label taking note automatically generates, and and for example, this reading labelling generates according to user instruction.
In the present embodiment, respond this access events, the reading labelling in acquisition equipment, such as, respond this access events, Obtain the reading labelling in movable storage device.
Step 560, obtains according to described reading labelling and pre-reads file.
Specifically, pre-reading file is the file being stored in equipment, and this pre-reads file and is provided with reading labelling, such as, Device memory stored up contain be provided with read labelling pre-read file at interior multiple files, and for example, device memory has been stored up many Individual file, and at least one file with read labelling associate.Associate with reading labelling pre-reads file or is provided with reading mark The file that pre-reads of note has the power that preferentially reads, say, that pre-read file higher more limited than the alternative document in equipment has Read grade.
Due to read that labelling associate pre-read file or be provided with read labelling pre-read in file and equipment its He has different attribute by file, therefore, it is possible to according to this reading labelling, quickly find this multiple files in equipment pre- Read file, this is pre-read file acquisition.
Such as, this reading is labeled as searching labelling, and such as, this reading is labeled as leader label, and such as, this leader label is Guiding file, and for example, this reading is labeled as execution flag, such as, responds access events, obtains and read labelling, at traversal equipment In file time, pre-read file according to searching label lookup, such as, during file in traversal equipment, look into according to guiding file Look for and pre-read file, in general, after equipment inserts computer, calculate and the file in equipment will be traveled through, to obtain equipment The file attribute of interior each file, and in the present embodiment, owing to reading the guiding file being labeled as this equipment, therefore, right Before file in equipment travels through, i.e. after reading guiding file, the index function according to guiding file directly finds Pre-read file, and without carrying out the traversal of All Files in equipment, greatly improve the search efficiency pre-reading file.
Step 580, distinctly displays the file in equipment with preset mode and pre-reads file.
Specifically, this preset mode, for distinctly displaying file in equipment and pre-reading file, pre-reads file and other literary compositions The display of part is different, such as, shows file in the file of equipment, and Eject preview interface in the file of equipment, this is pre- Look at interface for display pre-read file.
Distinctly displayed by preset mode and pre-read file and alternative document so that user can find pre-rapidly Read file, thus improve the search efficiency pre-reading file.
In above-described embodiment, by arranging labelling to pre-reading file, when computer accesses storage device, according to reading mark Note acquisition pre-reads file, distinctly displays the file in equipment by preset mode and pre-reads file so that pre-reading file can be bright Aobvious ground makes a distinction with alternative document, thus improves user to pre-reading the search efficiency of file, and improves at the file of user Reason efficiency.
In one embodiment, step 580 includes: pre-read the display icon of file described in change.Such as, file is being pre-read Display icon on labelling is set, such as, change pre-read file display icon display pixel, such as, increase pre-read file Display icon, such as, make to pre-read the display icon flicker of file.
In one embodiment, step 580 includes: pre-read the display state of file described in change.Such as, change described pre- Read the Show Color of file.
So, above-described embodiment enables to the display icon pre-reading file and differentiation display in the file in equipment.From And allow users to find quickly and efficiently pre-read file.
In one embodiment, step 580 includes: with the described file that pre-reads for beginning, be ranked up the file in equipment, According to the file in sequencing display equipment.
In the present embodiment, the file in equipment is ranked up, and comes the initial of file in equipment by pre-reading file Position, can quickly be found so that pre-read file.
In one embodiment, open described in pre-read file step after also include: update described reading labelling.
In the present embodiment, it is opened owing to pre-reading file, therefore reading labelling is updated, it is simple to again insert at equipment After entering computer, it is possible to accurately open and pre-read file.Such as, according to the operation renewal reading labelling to the file in equipment, example As, according to the operational order renewal reading labelling to the file in equipment, such as, according to the operation to file each in equipment Number of times updates and reads labelling.It is noted that to reading the rule that labelling updates and generates reading labelling in the present embodiment Can be consistent, so that after equipment inserts computer, can generate or update reading labelling, so that insert every time every time File is pre-read needed for can being accurately obtained user after computer.
As shown in Figure 6, it is a kind of flash memory device document reading apparatus of an embodiment, including:
Access events detection module 620, for detecting the access events of equipment;
Labelling acquisition module 640, is used for responding described access events, obtains and reads labelling;
Pre-read file acquisition module 660, pre-read file for obtaining according to described reading labelling;
Interface pop-up module 680, for eject comprise described in pre-read the preview interface of file.
Should be noted that in above-described embodiment, included modules is to carry out dividing according to function logic, But it is not limited to above-mentioned division, as long as being capable of corresponding function;It addition, the specific name of each functional module is also Only to facilitate mutually distinguish, it is not limited to protection scope of the present invention.
It addition, one of ordinary skill in the art will appreciate that all or part of module realizing in the various embodiments described above method Function can be by program and complete to instruct relevant hardware, corresponding program can be stored in read/write memory medium In.
Each technical characteristic of embodiment described above can combine arbitrarily, for making description succinct, not to above-mentioned reality The all possible combination of each technical characteristic executed in example is all described, but, as long as the combination of these technical characteristics is not deposited In contradiction, all it is considered to be the scope that this specification is recorded.
Embodiment described above only have expressed the several embodiments of the present invention, and it describes more concrete and detailed, but also Can not therefore be construed as limiting the scope of the patent.It should be pointed out that, come for those of ordinary skill in the art Saying, without departing from the inventive concept of the premise, it is also possible to make some deformation and improvement, these broadly fall into the protection of the present invention Scope.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.

Claims (6)

1. a flash memory device file reading, it is characterised in that including:
The access events of detection equipment;
Respond described access events, obtain and read labelling;
Obtain according to described reading labelling and pre-read file;
Eject the preview interface pre-reading file described in comprising.
Flash memory device file reading the most according to claim 1, it is characterised in that described ejection comprise described in pre-read Also include after the preview interface step of file:
Operation according to acting on described preview interface obtains the described OPEN pre-reading file.
Flash memory device file reading the most according to claim 2, it is characterised in that described basis acts on described pre- Look at after the operation at interface obtains step to the described OPEN pre-reading file and also include:
Respond described OPEN open described in pre-read file.
Flash memory device file reading the most according to claim 2, it is characterised in that described basis acts on described pre- The operation at interface look at obtains and includes the step of the described OPEN pre-reading file:
Click commands according to described preview interface obtains the described OPEN pre-reading file.
Flash memory device file reading the most according to claim 1, it is characterised in that described ejection comprise described in pre-read The step of the preview interface of file includes:
Eject comprise multiple described in pre-read the preview interface of file.
6. a flash memory device document reading apparatus, it is characterised in that including:
Access events detection module, for detecting the access events of equipment;
Labelling acquisition module, is used for responding described access events, obtains and reads labelling;
Pre-read file acquisition module, pre-read file for obtaining according to described reading labelling;
Interface pop-up module, for eject comprise described in pre-read the preview interface of file.
CN201610602079.4A 2016-07-26 2016-07-26 Flash memory device file reading and device Pending CN106293515A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610602079.4A CN106293515A (en) 2016-07-26 2016-07-26 Flash memory device file reading and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610602079.4A CN106293515A (en) 2016-07-26 2016-07-26 Flash memory device file reading and device

Publications (1)

Publication Number Publication Date
CN106293515A true CN106293515A (en) 2017-01-04

Family

ID=57662616

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610602079.4A Pending CN106293515A (en) 2016-07-26 2016-07-26 Flash memory device file reading and device

Country Status (1)

Country Link
CN (1) CN106293515A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102999359A (en) * 2012-11-22 2013-03-27 Tcl集团股份有限公司 Mount response method of external storage equipment and electronic equipment
CN103177080A (en) * 2013-02-07 2013-06-26 华为技术有限公司 File pre-reading method and file pre-reading device
CN103902404A (en) * 2012-12-26 2014-07-02 华为终端有限公司 Method and device for media file backup and user equipment
US20150347029A1 (en) * 2014-05-30 2015-12-03 Sandisk Enterprise Ip Llc Identification of Hot Regions to Enhance Performance and Endurance of a Non-Volatile Storage Device
CN105335435A (en) * 2014-08-11 2016-02-17 联想(北京)有限公司 File management method and information processing equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102999359A (en) * 2012-11-22 2013-03-27 Tcl集团股份有限公司 Mount response method of external storage equipment and electronic equipment
CN103902404A (en) * 2012-12-26 2014-07-02 华为终端有限公司 Method and device for media file backup and user equipment
CN103177080A (en) * 2013-02-07 2013-06-26 华为技术有限公司 File pre-reading method and file pre-reading device
US20150347029A1 (en) * 2014-05-30 2015-12-03 Sandisk Enterprise Ip Llc Identification of Hot Regions to Enhance Performance and Endurance of a Non-Volatile Storage Device
CN105335435A (en) * 2014-08-11 2016-02-17 联想(北京)有限公司 File management method and information processing equipment

Similar Documents

Publication Publication Date Title
CN106293513A (en) Movable storage device file reading and device
CN106227468A (en) Document handling method and device
AU2008268413B2 (en) Turbo-scroll mode for rapid data item selection
US20080282190A1 (en) Content display control apparatus and content display control method
US11531457B2 (en) Video display for displaying a series of representative images for video
US20240031668A1 (en) Photographing interface display method and apparatus, electronic device, and medium
US20140149865A1 (en) Information processing apparatus and method, and program
CN106802803A (en) The method and apparatus of application data treatment
CN104067212B (en) The system and method for showing the page on the mobile device
CN104462516B (en) A kind of information cuing method and mobile terminal
CN103970475A (en) Dictionary information displaying apparatus, method, system, and server apparatus and terminal device
CN106354777A (en) Question searching method and device applied to electronic terminal
CN105335052A (en) Information processing method and terminal equipment
CN109582891A (en) Web page picture methods of exhibiting, device, electronic equipment and storage medium
US20120069053A1 (en) Image display apparatus, image display method and recording medium recording an image display program
CN106293514A (en) The document handling method of flash memory device and device
CN106293515A (en) Flash memory device file reading and device
JP4762211B2 (en) VIDEO DISPLAY DEVICE, ITS CONTROL METHOD, PROGRAM, AND RECORDING MEDIUM
CN106250450A (en) The quick deployment method of file and device
JP2000276485A (en) Electronic dictionary device and recording medium where electronic dictionary program is recorded
CN106293331A (en) A kind of method and device of browsing pictures
CN106931602B (en) A kind of air conditioning function localization method, device, air-conditioning display terminal and its air-conditioning
CN107025280A (en) The processing method and mobile terminal of picture
CN101122910A (en) Memory device and method for opening the stored file
CN103577167B (en) The method and apparatus for realizing animation display of page label

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into 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: 20170104