CN104268231B - A kind of file access method, device and Intelligent File System - Google Patents
A kind of file access method, device and Intelligent File System Download PDFInfo
- Publication number
- CN104268231B CN104268231B CN201410504911.8A CN201410504911A CN104268231B CN 104268231 B CN104268231 B CN 104268231B CN 201410504911 A CN201410504911 A CN 201410504911A CN 104268231 B CN104268231 B CN 104268231B
- Authority
- CN
- China
- Prior art keywords
- file
- attribute
- access
- history
- behavioural information
- 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.)
- Expired - Fee Related
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/13—File access structures, e.g. distributed indices
Abstract
The embodiment of the invention discloses a kind of file access method, device and Intelligent File System.This method includes:Obtain default file access triggering command;According to the instruction of this document access triggers, operating system file destination to be visited is determined;Detect whether the file destination is previously provided with file attribute, if it is, according to default file attribute and the corresponding relation of access mode, it is determined that the target access mode corresponding to detected file attribute;Guiding operating system accesses the file destination according to the target access mode.Compared with prior art, characteristic of this programme based on file itself determines access mode of the operating system to this document, to meet the operating system requirements for access different to each file, so as to improve the intelligence degree of file management.
Description
Technical field
The present invention relates to field of filesystems, more particularly to a kind of file access method, device and Intelligent File System.
Background technology
Called file system, it is that the software mechanism with storage file information is responsible in operating system.Wherein, file
System is made up of three parts:Software relevant with file management, it is managed file and implements data structure needed for file management.
In the prior art, for assuring data security, file system being directed to of receiving that operating system sends by
Manage file file access instruction after, search this document access instruction corresponding to file peripheral hardware storage device (such as:Firmly
Disk, storage card etc.) storage region and storage organization, guiding operating system access be stored in corresponding peripheral hardware storage device should
File.
But operating system is relatively low to the access rate of peripheral hardware storage device, for some access rates require it is higher and
For Information Security requirement can be with relatively low file, directly accessing the mechanism of peripheral hardware storage device obviously can not meet to access need
Ask.
The content of the invention
Based on above mentioned problem, the embodiment of the invention discloses a kind of file access method, device and intelligence system, to meet
The operating system requirements for access different to each file, so as to improve the intelligence degree of file management.Technical scheme is as follows:
In a first aspect, the embodiments of the invention provide a kind of file access method, applied to Intelligent File System;The side
Method includes:
Obtain default file access triggering command;
According to the file access triggering command, operating system file destination to be visited is determined;
Detect whether the file destination is previously provided with file attribute, if it is, according to default file attribute with visiting
The corresponding relation of mode is asked, it is determined that the target access mode corresponding to detected file attribute;Wherein, the text of any file
Part attribute is accessed set by behavioural information based on the history related to this document;Wherein, the target access mode is:Directly exist
File destination described in read/write in the peripheral hardware storage device of the file destination is stored with, or, the mesh described in read/write in internal memory
File is marked, and the content for indicating to preserve is saved in the file destination in peripheral hardware storage device after read/write;
Guiding operating system accesses the file destination according to the target access mode.
Optionally, the file access triggering command is:The file access for carrying file identification that operating system is sent
Instruction, or, carry application identities applies enabled instruction;
Wherein, the file identification is the file identification of the file beyond the associated files of application program.Optionally, when
When the file access triggering command is the file access for the carrying file identification instruction that operating system is sent,
It is described to determine the current file destination to be visited of operating system according to the file access triggering command, including:
File with the entrained file identification of file access instruction is current to be visited as operating system
File destination;
When the file access triggering command is the application enabled instruction for carrying application identities,
It is described to determine the current file destination to be visited of operating system according to the file access triggering command, including:
Using the associated files of the application program with the application identities using entrained by enabled instruction as operation
The current file destination to be visited of system.
Optionally, the setting up procedure of the file attribute of any file, including:
Obtain the operating system listened in advance and behavioural information is accessed to the history of current file;
Determine that the related history of the current file accesses file attribute corresponding to behavioural information;
The file attribute determined is arranged to the file attribute of the current file.
Optionally, the history for determining that the current file is related accesses file attribute corresponding to behavioural information, including:
The related history of the current file is accessed into behavioural information and reports server, to cause the server connecing
After receiving the related history access behavioural information of the current file, behavioural information and file are accessed according to the history built in advance
The corresponding relation of attribute, determine that the related history of the current file accesses file attribute corresponding to behavioural information, and by really
File attribute corresponding to the history access behavioural information for the current file correlation made feeds back to the Intelligent File System;
The history for receiving the current file correlation of the server feedback accesses file attribute corresponding to behavioural information.
Optionally, server accesses the corresponding relation of behavioural information and file attribute according to the history built in advance, it is determined that
The related history of the current file accesses file attribute corresponding to behavioural information, including:
Server accesses the corresponding relation of behavioural information and file attribute according to the history built in advance, determines described current
The related history of file accesses alternative file attribute corresponding to behavioural information;
Using access of the analog machine simulated operating system to the current file, obtain simulation history and access behavioural information,
And then judge that the simulation history accesses the behavioural information history access behavioural information related to received current file and is
No matching, if it is, the alternative file attribute history related as the current file is accessed corresponding to behavioural information
File attribute;
If not, accessing the corresponding relation of behavioural information and file attribute according to the history built in advance, the mould is determined
Intend history access behavioural information corresponding to file attribute, using it is described simulation history access behavioural information corresponding to file attribute as
The related history of the current file accesses file attribute corresponding to behavioural information.
Optionally, the setting up procedure of the file attribute of any file, including:
After the file attribute on current file of server active push is received, by received file attribute
It is arranged to the file attribute of the current file;
Or
To server send the file attribute request of current file and after obtaining the file attribute of the current file, by institute
Obtained file attribute is arranged to the file attribute of the current file;
Wherein, server determines that the mode of the file attribute of current file is:Receive the transmission of other Intelligent File Systems
The related history of the current goal file accesses behavioural information, and behavioural information and file category are accessed according to the history built in advance
Property corresponding relation, determine that the related history of the current file accesses file attribute corresponding to behavioural information.
Optionally, according to default file attribute and the corresponding relation of access mode, it is determined that detected file attribute
Corresponding target access mode, including:
It is determined that detected file attribute is corresponding in default file attribute and the corresponding relation of access mode
Target access mode;Wherein, when the file attribute of the file destination is executable file or vital document, target access side
Formula is:The file destination described in read/write directly in the peripheral hardware storage device for be stored with the file destination;When the text of file destination
When part attribute is temporary file or frequent read/write file, target access mode is:The file destination described in read/write in internal memory, and
The content for indicating to preserve is saved in the file destination in peripheral hardware storage device after read/write;
Also, when the file attribute of file destination is temporary file or frequent read/write file, by file destination from peripheral hardware
Storage device is redirected in internal memory, wherein, the file destination is in the storage organization of internal memory and in peripheral hardware storage device
Storage organization is identical;
Wherein, file attribute is that the file of executable file is:Fileinfo includes the distinctive mark letter of executable file
The file of breath;
Wherein, file attribute is that the file of vital document is:By read/write number in the special time period of operating system access
The file of peripheral hardware storage device is saved to after no more than preset times and read/write;
Wherein, file attribute is that the file of temporary file is:Produced simultaneously during operating system access alternative document
The file of peripheral hardware storage device is saved in after access;
Wherein, file attribute is that the file of frequent read/write file is:Read in the special time period of operating system access/
The file of peripheral hardware storage device is saved to after number is write more than preset times and read/write.
Second aspect, the embodiment of the present invention additionally provides a kind of file access device, applied to Intelligent File System;It is described
Device includes:
Triggering command obtains module, for obtaining default file access triggering command;
File destination determining module, for according to the file access triggering command, determining operating system mesh to be visited
Mark file;
Detection module, for detecting whether the file destination is previously provided with file attribute, if it is, triggering access side
Formula determining module;Wherein, the file attribute of any file is accessed set by behavioural information based on the history related to this document;
The access mode determining module, for the corresponding relation according to default file attribute and access mode, it is determined that
Target access mode corresponding to detected file attribute;Wherein, the target access mode is:Directly in storage
File destination described in read/write in the peripheral hardware storage device of file destination is stated, or, the file destination described in read/write in internal memory, and
The content for indicating to preserve is saved in the file destination in peripheral hardware storage device after read/write;
Access modules are guided, for guiding operating system to access the file destination according to the target access mode.
Optionally, the file access triggering command is:The file access for carrying file identification that operating system is sent
Instruction, or, carry application identities applies enabled instruction;
Wherein, the file identification is the file identification of the file beyond the associated files of application program.
Optionally, the file destination determining module, including:
First object document determining unit, for being carrying for operating system transmission when the file access triggering command
During the file access instruction of file identification, the file of entrained file identification will be instructed with the file access as operation
The current file destination to be visited of system;
Second file destination determining unit, for being to carry the application of application identities when the file access triggering command
During enabled instruction, using the associated files of the application program with the application identities using entrained by enabled instruction as behaviour
Make the current file destination to be visited of system.
Optionally, the file attribute of any file is set by the first file attribute setup module;
Wherein, the first file attribute setup module, including:
Obtaining unit, behavioural information is accessed to the history of current file for obtaining the operating system listened in advance;
File attribute determining unit, for determining that the related history of the current file accesses file corresponding to behavioural information
Attribute;
File attribute setting unit, for the file attribute determined to be arranged to the file category of the current file
Property.
Optionally, file attribute determining unit, it is specifically used for:
The related history of the current file is accessed into behavioural information and reports server, to cause the server connecing
After receiving the related history access behavioural information of the current file, behavioural information and file are accessed according to the history built in advance
The corresponding relation of attribute, determine that the related history of the current file accesses file attribute corresponding to behavioural information, and by really
File attribute corresponding to the history access behavioural information for the current file correlation made feeds back to the Intelligent File System;
The history for receiving the current file correlation of the server feedback accesses file attribute corresponding to behavioural information.
Optionally, server accesses the corresponding relation of behavioural information and file attribute according to the history built in advance, it is determined that
The related history of the current file accesses file attribute corresponding to behavioural information, including:
Server accesses the corresponding relation of behavioural information and file attribute according to the history built in advance, determines described current
The related history of file accesses alternative file attribute corresponding to behavioural information;
Using access of the analog machine simulated operating system to the current file, obtain simulation history and access behavioural information,
And then judge that the simulation history accesses the behavioural information history access behavioural information related to received current file and is
No matching, if it is, the alternative file attribute history related as the current file is accessed corresponding to behavioural information
File attribute;
If not, accessing the corresponding relation of behavioural information and file attribute according to the history built in advance, the mould is determined
Intend history access behavioural information corresponding to file attribute, using it is described simulation history access behavioural information corresponding to file attribute as
The related history of the current file accesses file attribute corresponding to behavioural information.
Optionally, the file attribute of any file is set by the second file attribute setup module;
Wherein, the second file attribute setup module, including:
First setting unit, for after the file attribute on current file of server active push is received, inciting somebody to action
Received file attribute is arranged to the file attribute of the current file;
Or
Second setting unit, the file attribute for sending current file to server are asked and obtain the current file
File attribute after, resulting file attribute is arranged to the file attribute of the current file;
Wherein, server determines that the mode of the file attribute of current file is:Receive the transmission of other Intelligent File Systems
The related history of the current goal file accesses behavioural information, and behavioural information and file category are accessed according to the history built in advance
Property corresponding relation, determine that the related history of the current file accesses file attribute corresponding to behavioural information.
Optionally, the access mode determining module, including:Access mode determining unit and redirection unit;
The access mode determining unit, for determining detected file attribute in default file attribute with accessing
Corresponding target access mode in the corresponding relation of mode;Wherein, when the file attribute of the file destination is executable text
When part or vital document, target access mode is:The read/write institute directly in the peripheral hardware storage device for be stored with the file destination
State file destination;When the file attribute of file destination is temporary file or frequent read/write file, target access mode is:
File destination described in read/write in internal memory, and the content for indicating to preserve is saved in peripheral hardware storage device after read/write
The file destination;
The redirection unit, for when the file attribute of file destination is temporary file or frequent read/write file, inciting somebody to action
File destination is redirected in internal memory from peripheral hardware storage device, wherein, the file destination internal memory storage organization with outside
If the storage organization in storage device is identical;
Wherein, file attribute is that the file of executable file is:Fileinfo includes the distinctive mark letter of executable file
The file of breath;
Wherein, file attribute is that the file of vital document is:By read/write number in the special time period of operating system access
The file of peripheral hardware storage device is saved to after no more than preset times and read/write;
Wherein, file attribute is that the file of temporary file is:Produced simultaneously during operating system access alternative document
The file of peripheral hardware storage device is saved in after access;
Wherein, file attribute is that the file of frequent read/write file is:Read in the special time period of operating system access/
The file of peripheral hardware storage device is saved to after number is write more than preset times and read/write.
The third aspect, the embodiments of the invention provide a kind of Intelligent File System, including:File access device;
The file access device includes:
Triggering command obtains module, for obtaining default file access triggering command;
File destination determining module, for according to the file access triggering command, determining operating system mesh to be visited
Mark file;
Detection module, for detecting whether the file destination is previously provided with file attribute, if it is, triggering access side
Formula determining module;Wherein, the file attribute of any file is accessed set by behavioural information based on the history related to this document;
The access mode determining module, for the corresponding relation according to default file attribute and access mode, it is determined that
Target access mode corresponding to detected file attribute;Wherein, the target access mode is:Directly in storage
File destination described in read/write in the peripheral hardware storage device of file destination is stated, or, the file destination described in read/write in internal memory, and
The content for indicating to preserve is saved in the file destination in peripheral hardware storage device after read/write;
Access modules are guided, for guiding operating system to access the file destination according to the target access mode.
In the embodiment of the present invention, default file access triggering command is obtained;According to the instruction of this document access triggers, it is determined that
Operating system file destination to be visited;Detect whether the file destination is previously provided with file attribute, if it is, according to default
File attribute and access mode corresponding relation, it is determined that the target access mode corresponding to detected file attribute;Its
In, the file attribute of any file is accessed set by behavioural information based on the history related to this document;Wherein, the target access
Mode is:Read/write file destination directly in the peripheral hardware storage device for be stored with the file destination, or, read in internal memory/
Write the file destination, and the content for indicating to preserve is saved in the file destination in peripheral hardware storage device after read/write;
Guiding operating system accesses the file destination according to the target access mode.Compared with prior art, this programme is based on file
The characteristic of itself determines access mode of the operating system to this document, to meet the operating system access need different to each file
Ask, so as to improve the intelligence degree of file management.
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, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
A kind of flow chart for file access method that Fig. 1 is provided by the embodiment of the present invention;
A kind of structural representation for file access device that Fig. 2 is provided by the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made
Embodiment, belong to the scope of protection of the invention.
The embodiment of the invention discloses a kind of file access method, device and intelligence system, the characteristic based on file itself
Access mode of the operating system to this document is determined, to meet the operating system requirements for access different to each file, so as to carry
The high intelligence degree of file management.
A kind of file access method provided first below the embodiment of the present invention is introduced.
Wherein, this document access method is applied to Intelligent File System.In actual applications, the Intelligent File System can be with
For the file system being installed in the terminals such as smart mobile phone, tablet personal computer, notebook computer or desktop computer.Also, realize this
A kind of functional software for file access method that inventive embodiments are provided can be special Intelligent File System software, also may be used
Think the plug-in unit applied to existing file system, this is all rational.
As shown in figure 1, a kind of file access method that the embodiment of the present invention is provided, may include steps of:
S101, obtain default file access triggering command;
Wherein, in actual applications, the instruction of this document access triggers can carry files-designated for what operating system was sent
The file access instruction of knowledge, wherein, this document is identified as the file identification of the file beyond the associated files of application program, i.e.,
Execution the present embodiment is just triggered when opening any one file scheme is provided, and any one file is the correlation of application program
Join the file beyond file;Or the instruction of this document access triggers can be to carry the application enabled instruction of application identities, i.e.,
The execution embodiment of the present invention is just triggered when starting any one application program scheme is provided.
S102, according to the instruction of this document access triggers, determine operating system file destination to be visited;
After the instruction of this document access triggers is obtained, it can be instructed according to this document access triggers, determine operating system
File destination to be visited.Wherein, different types of file access triggering command, operating system file destination to be visited is really
Determine mode difference.
Specifically, when file access triggering command is the file access for the carrying file identification instruction that operating system is sent
When, it is described according to the instruction of this document access triggers, the current file destination to be visited of operating system is determined, can be included:
Using the file with the file identification entrained by this document access instruction as the current mesh to be visited of operating system
Mark file.
Specifically, when the instruction of this document access triggers is carries the application enabled instruction of application identities, the foundation
This document access triggers instruct, and determine the current file destination to be visited of operating system, can include:
It is as operation using the associated files of the application program of the application identities entrained by enabled instruction using with this
The current file destination to be visited of system.
Wherein, the associated files of application program should by the file and subsequent access established during the installation application program
The file for being generated and being preserved with program.
It is emphasized that after being activated due to application program, the file accessed needed for operating system generally has determined;
Also, follow-up pointed temporary file or frequent read/write file are there may be in the associated files of application program, and it is interim
File or frequent read/write file, in order to improve access rate, can be redirected in internal memory in advance before accessed.It is based on
Above-mentioned consideration, carry application identities can be used as file access triggering command using enabled instruction, to cause application program
When being activated, namely before the associated files of operating system access application program, the associated text of application program is determined
The target access mode of part, and then guide operating system to access associated files according to corresponding target access mode.Further,
It should be noted that after responding as the application enabled instruction of file access triggering command, due to the correlation of application program
The target access mode of connection file has been determined, for the operating system access application program associated files when produced
Raw file access instruction will be responded no longer.
S103, detects whether the file destination is previously provided with file attribute;
Wherein, the file attribute of any file is accessed set by behavioural information based on the history related to this document.Also,
Intelligent File System sets file attribute for some files for being managed in advance, also, the file attribute of any file based on
The related history of this document is accessed set by behavioural information;So-called some files can be the file that non-user is established manually, i.e.,
File with versatility, it can specifically include:Text associated by the associated files and/or operating system of application program itself
Part.
After operating system file destination to be visited is determined according to the instruction of this document access triggers, this can be detected and wait to visit
Whether the file destination asked is previously provided with file attribute, and different operations is performed according to different judged results.Wherein, when
When detecting that the file destination is not previously provided with file attribute, the target can be accessed according to existing file access mode
File;And when detecting that the file destination is previously provided with file attribute, S104 can be performed.Also, the file destination is not pre-
When being first provided with file attribute, if the file destination belongs to associated by associated files or the operating system itself of application program
File, can be with access of the snoop-operations system to the file destination, and then obtain the operating system listened in advance to the mesh
The history for marking file accesses behavioural information, the file attribute of the file destination is determined based on history access behavioural information, so as under
It is secondary to guide the operating system access file destination according to target access mode corresponding to file attribute.
In actual applications, the file attribute of file can include:Executable file, vital document, temporary file and frequency
Numerous read/write file;
Wherein, file attribute is that the file of executable file is:Fileinfo includes the distinctive mark letter of executable file
The file of breath;
Wherein, file attribute is that the file of vital document is:By read/write number in the special time period of operating system access
The file of peripheral hardware storage device is saved to after no more than preset times and read/write;
Wherein, file attribute is that the file of temporary file is:Produced simultaneously during operating system access alternative document
The file of peripheral hardware storage device is saved in after access;
Wherein, file attribute is that the file of frequent read/write file is:Read in the special time period of operating system access/
The file of peripheral hardware storage device is saved to after number is write more than preset times and read/write.
It is emphasized that the file attribute of any file is accessed set by behavioural information based on the history related to this document
Put, for the sake of clarity, subsequently will be described in detail the setting up procedure of the file attribute of any file.
S104, when detecting that file destination to be visited is previously provided with file attribute, according to default file attribute
With the corresponding relation of access mode, it is determined that the target access mode corresponding to detected file attribute;
When detecting that file destination to be visited is previously provided with file attribute, can according to default file attribute with
The corresponding relation of access mode, it is determined that the target access mode corresponding to detected file attribute.
Specifically, according to default file attribute and the corresponding relation of access mode, it is determined that detected file attribute
Corresponding target access mode, can include:
It is determined that detected file attribute is corresponding in default file attribute and the corresponding relation of access mode
Target access mode;Wherein, when the file attribute of the file destination is executable file or vital document, target access mode
For:Read/write file destination directly in the peripheral hardware storage device for be stored with the file destination;When the file attribute of file destination
For temporary file or frequent read/write file when, target access mode is:Read/write file destination in internal memory, and in read/write
After the content for indicating to preserve is saved in the file destination in peripheral hardware storage device;
Also, when the file attribute of file destination is temporary file or frequent read/write file, by file destination from peripheral hardware
Storage device is redirected in internal memory, wherein, the file destination is in the storage organization of internal memory and depositing in peripheral hardware storage device
Storage structure is identical.
It is understood that when the file attribute of the file destination is executable file or vital document, due to now
File destination Information Security require it is higher, therefore, corresponding target access mode can be directly be stored with the mesh
The read/write file destination in the peripheral hardware storage device of file is marked, is avoided with this several after power down that internal memory read/write may bring
According to the problem of loss.
And when the file attribute of file destination is temporary file or frequent read/write file, due to temporary file and frequently
The requirement of the usual access rate of read/write file is higher than security request data, therefore, can be before file is accessed, by file weight
It is directed in internal memory, so that operating system is directly to internal memory read/write, also, is protected if existed after read/write
Demand is deposited, file destination that the content for indicating to preserve can be saved in peripheral hardware storage device, so that access rate
It is improved and ensures to change the security of data.
S105, guiding operating system access the file destination according to the target access mode.
After the target access mode corresponding to detected file attribute is determined, can guide operating system according to
The file destination access mode accesses the file destination.It will be appreciated by persons skilled in the art that Intelligent File System guides
Operating system can be with file system of the prior art in the way of the file destination access mode accesses the file destination
Guide the mode of operating system access file similar, will not be described here.
In the embodiment of the present invention, default file access triggering command is obtained;According to the instruction of this document access triggers, it is determined that
Operating system file destination to be visited;Detect whether the file destination is previously provided with file attribute, if it is, according to default
File attribute and access mode corresponding relation, it is determined that the target access mode corresponding to detected file attribute;Its
In, the file attribute of any file is accessed set by behavioural information based on the history related to this document;Wherein, the target access
Mode is:Read/write file destination directly in the peripheral hardware storage device for be stored with the file destination, or, read in internal memory/
Write the file destination, and the content for indicating to preserve is saved in the file destination in peripheral hardware storage device after read/write;
Guiding operating system accesses the file destination according to the target access mode.Compared with prior art, this programme is based on file
The characteristic of itself determines access mode of the operating system to this document, to meet the operating system access need different to each file
Ask, so as to improve the intelligence degree of file management.
It is once more emphasized that the file for being provided with file attribute is the file that non-user is established manually, i.e., with versatility
File, can specifically include:File associated by the associated files and/or operating system of application program itself.
It is pre- that the setting of the file attribute of any file in Intelligent File System can be based on the Intelligent File System itself
The operating system first listened to accesses behavioural information to the history of this document, can also be monitored based on other Intelligent File Systems
The operating system arrived accesses behavioural information to the history of this document.It is understood that in actual applications, for same intelligence
For file system, any one in above two set-up mode can be used, above two set-up mode can also be combined,
This is all rational.
Setting for the file attribute of any file in Intelligent File System is based on the Intelligent File System itself institute
The history listened to is accessed for the situation of behavioural information:
The setting up procedure of the file attribute of any file, it can include:
Obtain the operating system listened in advance and behavioural information is accessed to the history of current file;
Determine that the related history of the current file accesses file attribute corresponding to behavioural information;
The file attribute determined is arranged to the file attribute of the current file.
In a kind of specific implementation, the history for the advance structure that Intelligent File System can be stored according to itself is visited
The corresponding relation of behavioural information and file attribute is asked, determines that the related history of the current file accesses text corresponding to behavioural information
Part attribute.For example:History accesses behavioural information and the corresponding relation of file attribute:Show the fileinfo of file
History comprising the distinctive identification information of executable file accesses behavioural information and corresponds to executable file;Show that file is operated
Read/write number is saved to peripheral hardware storage after being no more than preset times and read/write and set in the special time period that system accesses
Standby history accesses behavioural information and corresponds to vital document;Show that file produces during operating system access alternative document
And the history that peripheral hardware storage device is saved in after access accesses behavioural information and corresponds to temporary file;Show that file is grasped
Make read/write number in the special time period of system access and be saved to peripheral hardware storage after exceeding preset times and read/write to set
Standby history accesses behavioural information and corresponds to frequent read/write file.It is described to determine that this is current in another specific implementation
File attribute corresponding to the related history access behavioural information of file, can include:
The related history of the current file is accessed into behavioural information and reports server, to cause the server receiving
After the related history of the current file accesses behavioural information, according to the history access behavioural information and file attribute built in advance
Corresponding relation, determine that the related history of the current file accesses file attribute corresponding to behavioural information, and should by what is determined
File attribute corresponding to the related history access behavioural information of current file feeds back to the Intelligent File System;
The history for receiving the current file correlation of the server feedback accesses file attribute corresponding to behavioural information.
Wherein, server accesses the corresponding relation of behavioural information and file attribute according to the history built in advance, determines institute
File attribute corresponding to stating the related history access behavioural information of current file, can include:
Server accesses the corresponding relation of behavioural information and file attribute according to the history built in advance, it is determined that should be above
The related history of part accesses alternative file attribute corresponding to behavioural information;
Using access of the analog machine simulated operating system to the current file, obtain simulation history and access behavioural information, enter
And judge the simulation history access behavioural information it is related to received current file history access behavioural information whether
Match somebody with somebody, if it is, the alternative file attribute history related as the current file is accessed into file category corresponding to behavioural information
Property;
If not, accessing the corresponding relation of behavioural information and file attribute according to the history built in advance, the simulation is determined
History access behavioural information corresponding to file attribute, using the simulation history access behavioural information corresponding to file attribute as should
The related history of preceding document accesses file attribute corresponding to behavioural information.
Certainly, the corresponding relation of behavioural information and file attribute is accessed to determine according to the history that builds in advance in server
, can be directly by the alternative file category after going out alternative file attribute corresponding to the related history access behavioural information of the current file
Property the history related as the current file access file attribute final corresponding to behavioural information, this is also rational.
Setting for the file attribute of any file in Intelligent File System is supervised based on other Intelligent File Systems
The history heard is accessed for the situation of behavioural information:
The setting up procedure of the file attribute of any file, it can include:
After the file attribute on current file of server active push is received, by received file attribute
It is arranged to the file attribute of the current file;
Or
To server send the file attribute request of current file and after obtaining the file attribute of the current file, by gained
To file attribute be arranged to the file attribute of the current file;
Wherein, server determines that the mode of the file attribute of current file is:Receive the transmission of other Intelligent File Systems
The related history of the current file destination accesses behavioural information, and behavioural information and file attribute are accessed according to the history built in advance
Corresponding relation, determine that the related history of the current file accesses file attribute corresponding to behavioural information.
It will be appreciated by persons skilled in the art that this programme can also be applied in the identification of virus document, such as:Certain
One Intelligent File System can access the history in behavioural information after the history for listening to virus document accesses behavioural information
Server is passed to, determines that the file attribute of this document is virus text so as to which server can access behavioural information according to the history
Part, and then the file attribute of this document can be handed down to each Intelligent File System by the server, to receive this article
The Intelligent File System of part attribute can set the file attribute of this document itself stored, corresponding so as to be carried out to this document
Processing, such as:Directly delete, or, warning message of virus document etc. is sent in operating system access.
Corresponding to above method embodiment, the embodiment of the present invention additionally provides a kind of file access device, applied to intelligence
File system;As shown in Fig. 2 described device can include:
Triggering command obtains module 210, for obtaining default file access triggering command;
File destination determining module 220, for according to the file access triggering command, determining that operating system is to be visited
File destination;
Detection module 230, for detecting whether the file destination is previously provided with file attribute, if it is, triggering is visited
Ask mode determining module;Wherein, the file attribute of any file is accessed set by behavioural information based on the history related to this document
Put;
The access mode determining module 240, for the corresponding relation according to default file attribute and access mode, really
Target access mode corresponding to fixed detected file attribute;Wherein, the target access mode is:Directly it is being stored with
File destination described in read/write in the peripheral hardware storage device of the file destination, or, the file destination described in read/write in internal memory,
And the content for indicating to preserve is saved in the file destination in peripheral hardware storage device after read/write;
Access modules 250 are guided, for guiding operating system to access the file destination according to the target access mode.
In the embodiment of the present invention, default file access triggering command is obtained;According to the instruction of this document access triggers, it is determined that
Operating system file destination to be visited;Detect whether the file destination is previously provided with file attribute, if it is, according to default
File attribute and access mode corresponding relation, it is determined that the target access mode corresponding to detected file attribute;Its
In, the file attribute of any file is accessed set by behavioural information based on the history related to this document;Wherein, the target access
Mode is:Read/write file destination directly in the peripheral hardware storage device for be stored with the file destination, or, read in internal memory/
Write the file destination, and the content for indicating to preserve is saved in the file destination in peripheral hardware storage device after read/write;
Guiding operating system accesses the file destination according to the target access mode.Compared with prior art, this programme is based on file
The characteristic of itself determines access mode of the operating system to this document, to meet the operating system access need different to each file
Ask, so as to improve the intelligence degree of file management.
Specifically, the file access triggering command can be:The file for carrying file identification that operating system is sent
Access instruction, or, carry application identities applies enabled instruction;
Wherein, the file identification is the file identification of the file beyond the associated files of application program.
Specifically, the file destination determining module 220, can include:
First object document determining unit, for being carrying for operating system transmission when the file access triggering command
During the file access instruction of file identification, the file of entrained file identification will be instructed with the file access as operation
The current file destination to be visited of system;
Second file destination determining unit, for being to carry the application of application identities when the file access triggering command
During enabled instruction, using the associated files of the application program with the application identities using entrained by enabled instruction as behaviour
Make the current file destination to be visited of system.
Wherein, the file attribute of any file is set by the first file attribute setup module;
The first file attribute setup module, can include:
Obtaining unit, behavioural information is accessed to the history of current file for obtaining the operating system listened in advance;
File attribute determining unit, for determining that the related history of the current file accesses file corresponding to behavioural information
Attribute;
File attribute setting unit, for the file attribute determined to be arranged to the file category of the current file
Property.
Specifically, file attribute determining unit, is specifically used for:
The related history of the current file is accessed into behavioural information and reports server, to cause the server connecing
After receiving the related history access behavioural information of the current file, behavioural information and file are accessed according to the history built in advance
The corresponding relation of attribute, determine that the related history of the current file accesses file attribute corresponding to behavioural information, and by really
File attribute corresponding to the history access behavioural information for the current file correlation made feeds back to the Intelligent File System;
The history for receiving the current file correlation of the server feedback accesses file attribute corresponding to behavioural information.
Specifically, server accesses the corresponding relation of behavioural information and file attribute according to the history built in advance, it is determined that
File attribute corresponding to the related history access behavioural information of the current file, can include:
Server accesses the corresponding relation of behavioural information and file attribute according to the history built in advance, determines described current
The related history of file accesses alternative file attribute corresponding to behavioural information;
Using access of the analog machine simulated operating system to the current file, obtain simulation history and access behavioural information,
And then judge that the simulation history accesses the behavioural information history access behavioural information related to received current file and is
No matching, if it is, the alternative file attribute history related as the current file is accessed corresponding to behavioural information
File attribute;
If not, accessing the corresponding relation of behavioural information and file attribute according to the history built in advance, the mould is determined
Intend history access behavioural information corresponding to file attribute, using it is described simulation history access behavioural information corresponding to file attribute as
The related history of the current file accesses file attribute corresponding to behavioural information.
Wherein, the file attribute of any file is set by the second file attribute setup module;
The second file attribute setup module, can include:
First setting unit, for after the file attribute on current file of server active push is received, inciting somebody to action
Received file attribute is arranged to the file attribute of the current file;
Or
Second setting unit, the file attribute for sending current file to server are asked and obtain the current file
File attribute after, resulting file attribute is arranged to the file attribute of the current file;
Wherein, server determines that the mode of the file attribute of current file is:Receive the transmission of other Intelligent File Systems
The related history of the current goal file accesses behavioural information, and behavioural information and file category are accessed according to the history built in advance
Property corresponding relation, determine that the related history of the current file accesses file attribute corresponding to behavioural information.
Specifically, the access mode determining module 240, can include:Access mode determining unit and redirection unit;
The access mode determining unit, for determining detected file attribute in default file attribute with accessing
Corresponding target access mode in the corresponding relation of mode;Wherein, when the file attribute of the file destination is executable text
When part or vital document, target access mode is:The read/write institute directly in the peripheral hardware storage device for be stored with the file destination
State file destination;When the file attribute of file destination is temporary file or frequent read/write file, target access mode is:
File destination described in read/write in internal memory, and the content for indicating to preserve is saved in peripheral hardware storage device after read/write
The file destination;
The redirection unit, for when the file attribute of file destination is temporary file or frequent read/write file, inciting somebody to action
File destination is redirected in internal memory from peripheral hardware storage device, wherein, the file destination internal memory storage organization with outside
If the storage organization in storage device is identical;
Wherein, file attribute is that the file of executable file is:Fileinfo includes the distinctive mark letter of executable file
The file of breath;
Wherein, file attribute is that the file of vital document is:By read/write number in the special time period of operating system access
The file of peripheral hardware storage device is saved to after no more than preset times and read/write;
Wherein, file attribute is that the file of temporary file is:Produced simultaneously during operating system access alternative document
The file of peripheral hardware storage device is saved in after access;
Wherein, file attribute is that the file of frequent read/write file is:Read in the special time period of operating system access/
The file of peripheral hardware storage device is saved to after number is write more than preset times and read/write.
Further, the embodiment of the present invention additionally provides a kind of Intelligent File System, can include:File access device;
The file access device can include:
Triggering command obtains module, for obtaining default file access triggering command;
File destination determining module, for according to the file access triggering command, determining operating system mesh to be visited
Mark file;
Detection module, for detecting whether the file destination is previously provided with file attribute, if it is, triggering access side
Formula determining module;Wherein, the file attribute of any file is accessed set by behavioural information based on the history related to this document
The access mode determining module, for the corresponding relation according to default file attribute and access mode, it is determined that
Target access mode corresponding to detected file attribute;Wherein, the target access mode is:Directly in storage
File destination described in read/write in the peripheral hardware storage device of file destination is stated, or, the file destination described in read/write in internal memory, and
The content for indicating to preserve is saved in the file destination in peripheral hardware storage device after read/write;
Access modules are guided, for guiding operating system to access the file destination according to the target access mode.
Compared with prior art, characteristic of this programme based on file itself determines access side of the operating system to this document
Formula, to meet the operating system requirements for access different to each file, so as to improve the intelligence degree of file management.
Specifically, the file access triggering command can be:The file for carrying file identification that operating system is sent
Access instruction, or, carry application identities applies enabled instruction;
Wherein, the file identification is the file identification of the file beyond the associated files of application program.
Specifically, the file destination determining module, can include:
First object document determining unit, for being carrying for operating system transmission when the file access triggering command
During the file access instruction of file identification, the file of entrained file identification will be instructed with the file access as operation
The current file destination to be visited of system;
Second file destination determining unit, for being to carry the application of application identities when the file access triggering command
During enabled instruction, using the associated files of the application program with the application identities using entrained by enabled instruction as behaviour
Make the current file destination to be visited of system.
Wherein, the file attribute of any file is set by the first file attribute setup module;
The first file attribute setup module, can include:
Obtaining unit, behavioural information is accessed to the history of current file for obtaining the operating system listened in advance;
File attribute determining unit, for determining that the related history of the current file accesses file corresponding to behavioural information
Attribute;
File attribute setting unit, for the file attribute determined to be arranged to the file category of the current file
Property.
Specifically, file attribute determining unit, is specifically used for:
The related history of the current file is accessed into behavioural information and reports server, to cause the server connecing
After receiving the related history access behavioural information of the current file, behavioural information and file are accessed according to the history built in advance
The corresponding relation of attribute, determine that the related history of the current file accesses file attribute corresponding to behavioural information, and by really
File attribute corresponding to the history access behavioural information for the current file correlation made feeds back to the Intelligent File System;
The history for receiving the current file correlation of the server feedback accesses file attribute corresponding to behavioural information.
Specifically, server accesses the corresponding relation of behavioural information and file attribute according to the history built in advance, it is determined that
The related history of the current file accesses file attribute corresponding to behavioural information, including:
Server accesses the corresponding relation of behavioural information and file attribute according to the history built in advance, determines described current
The related history of file accesses alternative file attribute corresponding to behavioural information;
Using access of the analog machine simulated operating system to the current file, obtain simulation history and access behavioural information,
And then judge that the simulation history accesses the behavioural information history access behavioural information related to received current file and is
No matching, if it is, the alternative file attribute history related as the current file is accessed corresponding to behavioural information
File attribute;
If not, accessing the corresponding relation of behavioural information and file attribute according to the history built in advance, the mould is determined
Intend history access behavioural information corresponding to file attribute, using it is described simulation history access behavioural information corresponding to file attribute as
The related history of the current file accesses file attribute corresponding to behavioural information.
Wherein, the file attribute of any file is set by the second file attribute setup module;
The second file attribute setup module, can include:
First setting unit, for after the file attribute on current file of server active push is received, inciting somebody to action
Received file attribute is arranged to the file attribute of the current file;
Or
Second setting unit, the file attribute for sending current file to server are asked and obtain the current file
File attribute after, resulting file attribute is arranged to the file attribute of the current file;
Wherein, server determines that the mode of the file attribute of current file is:Receive the transmission of other Intelligent File Systems
The related history of the current goal file accesses behavioural information, and behavioural information and file category are accessed according to the history built in advance
Property corresponding relation, determine that the related history of the current file accesses file attribute corresponding to behavioural information.
The access mode determining module, including:Access mode determining unit and redirection unit;
The access mode determining unit, for determining detected file attribute in default file attribute with accessing
Corresponding target access mode in the corresponding relation of mode;Wherein, when the file attribute of the file destination is executable text
When part or vital document, target access mode is:The read/write institute directly in the peripheral hardware storage device for be stored with the file destination
State file destination;When the file attribute of file destination is temporary file or frequent read/write file, target access mode is:
File destination described in read/write in internal memory, and the content for indicating to preserve is saved in peripheral hardware storage device after read/write
The file destination;
The redirection unit, for when the file attribute of file destination is temporary file or frequent read/write file, inciting somebody to action
File destination is redirected in internal memory from peripheral hardware storage device, wherein, the file destination internal memory storage organization with outside
If the storage organization in storage device is identical;
Wherein, file attribute is that the file of executable file is:Fileinfo includes the distinctive mark letter of executable file
The file of breath;
Wherein, file attribute is that the file of vital document is:By read/write number in the special time period of operating system access
The file of peripheral hardware storage device is saved to after no more than preset times and read/write;
Wherein, file attribute is that the file of temporary file is:Produced simultaneously during operating system access alternative document
The file of peripheral hardware storage device is saved in after access;
Wherein, file attribute is that the file of frequent read/write file is:Read in the special time period of operating system access/
The file of peripheral hardware storage device is saved to after number is write more than preset times and read/write.
For system or device embodiment, because it is substantially similar to embodiment of the method, so the comparison of description is simple
Single, the relevent part can refer to the partial explaination of embodiments of method.
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality
Body or operation make a distinction with another entity or operation, and not necessarily require or imply and deposited between these entities or operation
In any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to
Nonexcludability includes, so that process, method, article or equipment including a series of elements not only will including those
Element, but also the other element including being not expressly set out, or it is this process, method, article or equipment also to include
Intrinsic key element.In the absence of more restrictions, the key element limited by sentence " including one ... ", it is not excluded that
Other identical element in the process including the key element, method, article or equipment also be present.
Can one of ordinary skill in the art will appreciate that realizing that all or part of step in above method embodiment is
To instruct the hardware of correlation to complete by program, described program can be stored in computer read/write memory medium,
The storage medium designated herein obtained, such as:ROM/RAM, magnetic disc, CD etc..
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all
Any modification, equivalent substitution and improvements made within the spirit and principles in the present invention etc., are all contained in protection scope of the present invention
It is interior.
Claims (17)
1. a kind of file access method, it is characterised in that applied to Intelligent File System;Methods described includes:
Obtain default file access triggering command;
According to the file access triggering command, operating system file destination to be visited is determined;
Detect whether the file destination is previously provided with file attribute, if it is, according to default file attribute and access side
The corresponding relation of formula, it is determined that the target access mode corresponding to detected file attribute;Wherein, the file category of any file
Property accessed based on the history related to this document set by behavioural information;Wherein, the target access mode is:Directly storing
There is file destination described in read/write in the peripheral hardware storage device of the file destination, or, the target text described in read/write in internal memory
Part, and the content for indicating to preserve is saved in the file destination in peripheral hardware storage device after read/write;
When the file attribute of file destination is temporary file or frequent read/write file, by file destination from peripheral hardware storage device
It is redirected in internal memory, wherein, storage organization of the file destination in internal memory and the storage organization phase in peripheral hardware storage device
Together;
Guiding operating system accesses the file destination according to the target access mode.
2. according to the method for claim 1, it is characterised in that the file access triggering command is:Operating system is sent
Carry file identification file access instruction, or, carry application identities apply enabled instruction;
Wherein, the file identification is the file identification of the file beyond the associated files of application program.
3. according to the method for claim 2, it is characterised in that when the file access triggering command sends for operating system
Carry file identification file access instruction when,
It is described to determine the current file destination to be visited of operating system according to the file access triggering command, including:
Using the file with the entrained file identification of file access instruction as the current target to be visited of operating system
File;
When the file access triggering command is the application enabled instruction for carrying application identities,
It is described to determine the current file destination to be visited of operating system according to the file access triggering command, including:
Using the associated files of the application program with the application identities using entrained by enabled instruction as operating system
Current file destination to be visited.
4. according to the method for claim 1, it is characterised in that the setting up procedure of the file attribute of any file, including:
Obtain the operating system listened in advance and behavioural information is accessed to the history of current file;
Determine that the related history of the current file accesses file attribute corresponding to behavioural information;
The file attribute determined is arranged to the file attribute of the current file.
5. according to the method for claim 4, it is characterised in that the history for determining that the current file is related accesses row
For file attribute corresponding to information, including:
The related history of the current file is accessed into behavioural information and reports server, to cause the server receiving
After the related history of the current file accesses behavioural information, behavioural information and file attribute are accessed according to the history built in advance
Corresponding relation, determine that the related history of the current file accesses file attribute corresponding to behavioural information, and will be determined
The related history of the current file access behavioural information corresponding to file attribute feed back to the Intelligent File System;
The history for receiving the current file correlation of the server feedback accesses file attribute corresponding to behavioural information.
6. according to the method for claim 5, it is characterised in that server accesses behavioural information according to the history built in advance
With the corresponding relation of file attribute, determine that the related history of the current file accesses file attribute corresponding to behavioural information, bag
Include:
Server accesses the corresponding relation of behavioural information and file attribute according to the history built in advance, determines the current file
Related history accesses alternative file attribute corresponding to behavioural information;
Using access of the analog machine simulated operating system to the current file, obtain simulation history and access behavioural information, and then
Judge it is described simulation history access behavioural information it is related to received current file history access behavioural information whether
Match somebody with somebody, if it is, the alternative file attribute history related as the current file is accessed into file corresponding to behavioural information
Attribute;
If not, accessing the corresponding relation of behavioural information and file attribute according to the history built in advance, determine that the simulation is gone through
History accesses file attribute corresponding to behavioural information, and the simulation history is accessed into file attribute corresponding to behavioural information as described in
The related history of current file accesses file attribute corresponding to behavioural information.
7. according to the method for claim 1, it is characterised in that the setting up procedure of the file attribute of any file, including:
After the file attribute on current file of server active push is received, received file attribute is set
For the file attribute of the current file;
Or
To server send the file attribute request of current file and after obtaining the file attribute of the current file, will obtained by
File attribute be arranged to the file attribute of the current file;
Wherein, server determines that the mode of the file attribute of current file is:Receive the described of other Intelligent File Systems transmission
The related history of current goal file accesses behavioural information, according to the history access behavioural information and file attribute built in advance
Corresponding relation, determine that the related history of the current file accesses file attribute corresponding to behavioural information.
8. according to the method for claim 1, it is characterised in that according to default file attribute pass corresponding with access mode
System, it is determined that the target access mode corresponding to detected file attribute, including:
It is determined that the target that detected file attribute is corresponding in default file attribute and the corresponding relation of access mode
Access mode;Wherein, when the file attribute of the file destination is executable file or vital document, target access mode
For:The file destination described in read/write directly in the peripheral hardware storage device for be stored with the file destination;When the file of file destination
When attribute is temporary file or frequent read/write file, target access mode is:The file destination described in read/write in internal memory, and
The content for indicating to preserve is saved in the file destination in peripheral hardware storage device after read/write;
Wherein, file attribute is that the file of executable file is:Fileinfo includes the distinctive identification information of executable file
File;
Wherein, file attribute is that the file of vital document is:Do not surpassed by read/write number in the special time period of operating system access
The file of peripheral hardware storage device is saved to after crossing preset times and read/write;
Wherein, file attribute is that the file of temporary file is:Produce and visiting during operating system access alternative document
The file of peripheral hardware storage device is saved in after asking;
Wherein, file attribute is that the file of frequent read/write file is:By read/write in the special time period of operating system access time
Number is saved to the file of peripheral hardware storage device after exceeding preset times and read/write.
9. a kind of file access device, it is characterised in that applied to Intelligent File System;Described device includes:
Triggering command obtains module, for obtaining default file access triggering command;
File destination determining module, for according to the file access triggering command, determining operating system target text to be visited
Part;
Detection module, for detecting whether the file destination is previously provided with file attribute, if it is, triggering access mode is true
Cover half block;Wherein, the file attribute of any file is accessed set by behavioural information based on the history related to this document;
The access mode determining module, for the corresponding relation according to default file attribute and access mode, it is determined that being examined
Target access mode corresponding to the file attribute measured;Wherein, the target access mode is:Directly it is being stored with the mesh
File destination described in read/write in the peripheral hardware storage device of file is marked, or, the file destination described in read/write in internal memory, and
The content for indicating to preserve is saved in the file destination in peripheral hardware storage device after read/write;
The access mode determining module includes redirecting unit, for being temporary file or frequency when the file attribute of file destination
During numerous read/write file, file destination is redirected in internal memory from peripheral hardware storage device, wherein, the file destination is in internal memory
Storage organization is identical with the storage organization in peripheral hardware storage device;
Access modules are guided, for guiding operating system to access the file destination according to the target access mode.
10. device according to claim 9, it is characterised in that the file access triggering command is:Operating system is sent
Carry file identification file access instruction, or, carry application identities apply enabled instruction;
Wherein, the file identification is the file identification of the file beyond the associated files of application program.
11. device according to claim 10, it is characterised in that the file destination determining module, including:
First object document determining unit, for carrying file when the file access triggering command for what operating system was sent
During the file access instruction of mark, the file of entrained file identification will be instructed with the file access as operating system
Current file destination to be visited;
Second file destination determining unit, for being that the application for carrying application identities starts when the file access triggering command
During instruction, it is using the associated files of the application program with the application identities using entrained by enabled instruction as operation
The current file destination to be visited of system.
12. device according to claim 9, it is characterised in that the file attribute of any file is set by the first file attribute
Put module setting;
Wherein, the first file attribute setup module, including:
Obtaining unit, behavioural information is accessed to the history of current file for obtaining the operating system listened in advance;
File attribute determining unit, for determining that the related history of the current file accesses file category corresponding to behavioural information
Property;
File attribute setting unit, for the file attribute determined to be arranged to the file attribute of the current file.
13. device according to claim 12, it is characterised in that file attribute determining unit, be specifically used for:
The related history of the current file is accessed into behavioural information and reports server, to cause the server receiving
After the related history of the current file accesses behavioural information, behavioural information and file attribute are accessed according to the history built in advance
Corresponding relation, determine that the related history of the current file accesses file attribute corresponding to behavioural information, and will be determined
The related history of the current file access behavioural information corresponding to file attribute feed back to the Intelligent File System;
The history for receiving the current file correlation of the server feedback accesses file attribute corresponding to behavioural information.
14. device according to claim 13, it is characterised in that server accesses behavior according to the history built in advance
The corresponding relation of information and file attribute, determine that the related history of the current file accesses file category corresponding to behavioural information
Property, including:
Server accesses the corresponding relation of behavioural information and file attribute according to the history built in advance, determines the current file
Related history accesses alternative file attribute corresponding to behavioural information;
Using access of the analog machine simulated operating system to the current file, obtain simulation history and access behavioural information, and then
Judge it is described simulation history access behavioural information it is related to received current file history access behavioural information whether
Match somebody with somebody, if it is, the alternative file attribute history related as the current file is accessed into file corresponding to behavioural information
Attribute;
If not, accessing the corresponding relation of behavioural information and file attribute according to the history built in advance, determine that the simulation is gone through
History accesses file attribute corresponding to behavioural information, and the simulation history is accessed into file attribute corresponding to behavioural information as described in
The related history of current file accesses file attribute corresponding to behavioural information.
15. device according to claim 9, it is characterised in that the file attribute of any file is set by the second file attribute
Put module setting;
Wherein, the second file attribute setup module, including:
First setting unit, for after the file attribute on current file of server active push is received, will be connect
The file attribute received is arranged to the file attribute of the current file;
Or
Second setting unit, the file attribute for sending current file to server are asked and obtain the text of the current file
After part attribute, resulting file attribute is arranged to the file attribute of the current file;
Wherein, server determines that the mode of the file attribute of current file is:Receive the described of other Intelligent File Systems transmission
The related history of current goal file accesses behavioural information, according to the history access behavioural information and file attribute built in advance
Corresponding relation, determine that the related history of the current file accesses file attribute corresponding to behavioural information.
16. device according to claim 9, it is characterised in that the access mode determining module, including:Access mode
Determining unit;
The access mode determining unit, for determining detected file attribute in default file attribute and access mode
Corresponding relation in corresponding target access mode;Wherein, when the file destination file attribute for executable file or
During vital document, target access mode is:The mesh described in read/write directly in the peripheral hardware storage device for be stored with the file destination
Mark file;When the file attribute of file destination is temporary file or frequent read/write file, target access mode is:In internal memory
File destination described in middle read/write, and described in the content for indicating to preserve is saved in peripheral hardware storage device after the read/write
File destination;
Wherein, file attribute is that the file of executable file is:Fileinfo includes the distinctive identification information of executable file
File;
Wherein, file attribute is that the file of vital document is:Do not surpassed by read/write number in the special time period of operating system access
The file of peripheral hardware storage device is saved to after crossing preset times and read/write;
Wherein, file attribute is that the file of temporary file is:Produce and visiting during operating system access alternative document
The file of peripheral hardware storage device is saved in after asking;
Wherein, file attribute is that the file of frequent read/write file is:By read/write in the special time period of operating system access time
Number is saved to the file of peripheral hardware storage device after exceeding preset times and read/write.
A kind of 17. Intelligent File System, it is characterised in that including:File access device;
The file access device includes:
Triggering command obtains module, for obtaining default file access triggering command;
File destination determining module, for according to the file access triggering command, determining operating system target text to be visited
Part;
Detection module, for detecting whether the file destination is previously provided with file attribute, if it is, triggering access mode is true
Cover half block;Wherein, the file attribute of any file is accessed set by behavioural information based on the history related to this document;
The access mode determining module, for the corresponding relation according to default file attribute and access mode, it is determined that being examined
Target access mode corresponding to the file attribute measured;Wherein, the target access mode is:Directly it is being stored with the mesh
File destination described in read/write in the peripheral hardware storage device of file is marked, or, the file destination described in read/write in internal memory, and
The content for indicating to preserve is saved in the file destination in peripheral hardware storage device after read/write;
The access mode determining module includes redirecting unit, for being temporary file or frequency when the file attribute of file destination
During numerous read/write file, file destination is redirected in internal memory from peripheral hardware storage device, wherein, the file destination is in internal memory
Storage organization is identical with the storage organization in peripheral hardware storage device;
Access modules are guided, for guiding operating system to access the file destination according to the target access mode.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410504911.8A CN104268231B (en) | 2014-09-26 | 2014-09-26 | A kind of file access method, device and Intelligent File System |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410504911.8A CN104268231B (en) | 2014-09-26 | 2014-09-26 | A kind of file access method, device and Intelligent File System |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104268231A CN104268231A (en) | 2015-01-07 |
CN104268231B true CN104268231B (en) | 2018-03-06 |
Family
ID=52159753
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410504911.8A Expired - Fee Related CN104268231B (en) | 2014-09-26 | 2014-09-26 | A kind of file access method, device and Intelligent File System |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104268231B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106293514A (en) * | 2016-07-26 | 2017-01-04 | 惠州市斯坦利科技有限公司 | The document handling method of flash memory device and device |
CN106227468A (en) * | 2016-07-26 | 2016-12-14 | 惠州市斯坦利科技有限公司 | Document handling method and device |
CN108449417A (en) * | 2018-03-29 | 2018-08-24 | 国信优易数据有限公司 | A kind of service data visitation method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101819589A (en) * | 2010-04-02 | 2010-09-01 | 中兴通讯股份有限公司 | Method and device for controlling file to be input into/output from cache |
CN101968795A (en) * | 2010-09-03 | 2011-02-09 | 清华大学 | Cache method for file system with changeable data block length |
CN102147711A (en) * | 2010-12-31 | 2011-08-10 | 成都市华为赛门铁克科技有限公司 | Storage method and device based on data content identification |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140074834A1 (en) * | 2012-09-13 | 2014-03-13 | Transparent Io, Inc. | Storage Block Metadata Tagger |
US9183246B2 (en) * | 2013-01-15 | 2015-11-10 | Microsoft Technology Licensing, Llc | File system with per-file selectable integrity |
-
2014
- 2014-09-26 CN CN201410504911.8A patent/CN104268231B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101819589A (en) * | 2010-04-02 | 2010-09-01 | 中兴通讯股份有限公司 | Method and device for controlling file to be input into/output from cache |
CN101968795A (en) * | 2010-09-03 | 2011-02-09 | 清华大学 | Cache method for file system with changeable data block length |
CN102147711A (en) * | 2010-12-31 | 2011-08-10 | 成都市华为赛门铁克科技有限公司 | Storage method and device based on data content identification |
Also Published As
Publication number | Publication date |
---|---|
CN104268231A (en) | 2015-01-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104268055B (en) | The monitoring method and device of a kind of program exception | |
US20170142549A1 (en) | System and method for tracking items within a defined area | |
CN102999716B (en) | virtual machine monitoring system and method | |
CN110266505B (en) | Method and equipment for managing session group | |
CN102917425A (en) | Operator network switching method and device | |
CN103514075B (en) | The method and apparatus that monitoring api function is called in the terminal | |
CN105607986A (en) | Acquisition method and device of user behavior log data | |
CN106201468A (en) | Screen capture processing method and device and electronic equipment | |
CN111625383B (en) | Process exception event processing method and device, electronic equipment and storage medium | |
CN104268231B (en) | A kind of file access method, device and Intelligent File System | |
CN104915599A (en) | Application program monitoring method and terminal | |
CN103780450A (en) | Browser access web address detection method and system | |
CN111414614B (en) | Override detection method and auxiliary device | |
CN104809046A (en) | Application program networking control method and application program networking control device | |
CN104123496A (en) | Rogue software interception method, device and terminal | |
CN106980647A (en) | A kind of Distributed File System Data location mode and device | |
CN104346410A (en) | Method and equipment for monitoring terminal equipment | |
CN105101259A (en) | WIFI identification method and intelligent terminal | |
CN103366115B (en) | Safety detecting method and device | |
CN105512144B (en) | A kind of file access method, device and Intelligent File System | |
CN108920305B (en) | USB device access risk detection method and device based on distributed accounting | |
CN103294565A (en) | Method, device and equipment for detecting installed application | |
CN104243604A (en) | File disabling method and device | |
CN114285657A (en) | Firewall security policy change verification method and device | |
CN103051608A (en) | Access monitoring method and device of movable equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180306 |
|
CF01 | Termination of patent right due to non-payment of annual fee |