CN101923579A - File management method based on context flow - Google Patents

File management method based on context flow Download PDF

Info

Publication number
CN101923579A
CN101923579A CN 201010276517 CN201010276517A CN101923579A CN 101923579 A CN101923579 A CN 101923579A CN 201010276517 CN201010276517 CN 201010276517 CN 201010276517 A CN201010276517 A CN 201010276517A CN 101923579 A CN101923579 A CN 101923579A
Authority
CN
China
Prior art keywords
file
user
information
contextual information
context flow
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.)
Granted
Application number
CN 201010276517
Other languages
Chinese (zh)
Other versions
CN101923579B (en
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.)
Zhejiang University ZJU
Original Assignee
Zhejiang University ZJU
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 Zhejiang University ZJU filed Critical Zhejiang University ZJU
Priority to CN2010102765175A priority Critical patent/CN101923579B/en
Publication of CN101923579A publication Critical patent/CN101923579A/en
Application granted granted Critical
Publication of CN101923579B publication Critical patent/CN101923579B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a file management method based on a context flow, which comprises the steps of: (1) installing a context control in a computing device in physical space so as to obtain context information of a user in the physical space; (2) intercepting file operations of the user, and recording into file operation records in a context flow description file so as to form operation historical information of the file; (3) generating a file recommended list; (4) building a virtual directory according to the operation historical information, and providing file browsing service based on context information to the user; and (5) according to the operation historical information, inquiring the file by using context information. By combining with the context information, the method reduces the burden of a user in file management so that the user does not need to remember the file's directory and the complicated directory structure built by file management, and is convenient for the user to search, find and access the file by the user through the context information.

Description

A kind of file management method based on context flow
Technical field
The present invention relates to the file management system field, mainly is a kind of automatic description that utilizes system monitoring to realize going up contextual information, and the method for carrying out file management based on context flow.
Background technology
Ripe gradually rapid development of network along with memory technology, a large amount of information is deposited in the various file system with the form of file, traditional file system adopts simple directory tree to come constituent act, the user need sort out a large amount of files, and choose the guiding that conducts interviews of suitable directory name, numerous and diverse work waste user's experience; On the other hand, the file metadata that traditional file system is supported is not abundant, has substantially just comprised simple metadata such as creation-time, modification time, and these information services provide the effective file polling of user in retrieval service.
Traditional meta file system is introduced extra information and as metadata file is described, the manual description of information only is the retrieval that has made things convenient for file, do not reduce the burden that the user carries out file management, and single, clear and definite descriptor lacks dirigibility, can't support file in a plurality of situation environmental applications.
Summary of the invention
The objective of the invention is to solve the shortcoming that above-mentioned technology exists, the user is broken away from from numerous and diverse file management, propose a kind of file management method, realize the automatic description of contextual information, provide based on the file of situation and recommend, browse and inquire about based on context flow.
The technical scheme that its technical matters of solution of the present invention is used: this file management method based on context flow comprises the steps:
(1) the situation control is installed in the computing equipment in physical space, is utilized the sensing equipment in the space to obtain the contextual information of user in this space;
(2) intercept and capture user's file operation behavior automatically, the contextual information and the file semantic information in space, user place are updated in the context flow description document and global data table that is operated file with operating at that time, the context flow of the historical operation of tissue formation file and the context flow of global operation, the operational history that forms file is write down in the file operation that is recorded in the context flow description document;
(3) according to the current contextual information in the space, user place that obtains in operational history that obtains in the step (2) and the step (1), generate file recommendation list based on the current contextual information of user;
(4) according to the virtual directory of the operational history structure that obtains in the step (2) based on contextual information, be that file system is used contextual information and the file semantic information in the operational history, by the form of virtual directory, provide browsing file service based on situation to the user;
(5), use contextual information to carry out file polling according to the operational history that obtains in the step (2);
Described method, wherein, described step (2) detects the system call of file operation, change in conjunction with the catalogue in the monitoring file system, intercept and capture user's file operation message, and therefrom obtain being operated the object of file, obtain the semantic information and the corresponding description document of file of file by file object;
Described step (2) can be subdivided into:
2.1), obtain the semantic information of file by the object that is operated file, in conjunction with the contextual information in the space, the current place of user that obtains from physical sensing equipment, the situation descriptor that spanned file is operated.
2.2), user's file operation type is judged: if file creation operation is then created the corresponding context flow description document of file, action type, contextual information, file semantic information are added in description document and the global data table; If the file delete operation is then deleted description document.If the file rename is operated, then action type, contextual information are added in description document and the global data table, and revise in the description document and respective file name record in the global data table; If move operation then adds action type, contextual information in description document and the global data table to, and revise in the description document and the routing information of respective file in the global data table; If the file modification visit is then added action type, contextual information in description document and the global data table to.
2.3), find the pairing context flow description document of file by being operated file object, with step 2.1) and step 2.2) the situation descriptor that generates adds in the context flow description document historical operation context flow of the historical operation context flow of updating file and the overall situation to.
Described step 2.3) the historical operation context flow of file is the discrete operation note information that writes down in the context flow description document with the file correspondence in, order according to the time is arranged, organizational form according to character string, various contextual information tissues in the operation note form time-based context flow, have represented the situation sequence of file operation.
The contextual information that obtains space, user place in the described step (2.1) obtains by physical sensing equipment in the space, the file path in the file operation information that the semantic information utilization of file intercepts, and API obtains by calling system.
Described step (3) can be subdivided into:
3.1), according to the user file historical operation information of record in the contextual information in the space, the current place of user that obtains in the step (1) and the step (2), mate by the situation similarity, extract in the historical record and the similar operation note of space, active user place situation, generate result set;
3.2), according to 3.1 result sets that obtain, calculate the contextual information in space, active user place and the correlativity of particular file types, obtain relevance weight;
3.3), according to 3.2 relevance weight that obtain and user's historical operation information, be created on the file recommendation list under the situation of space, active user place;
Described step 3.1) situation similarity coupling is in: based on the level of contextual information value divide with level between similar weight setting; Every class contextual information is divided level, sets the similarity weight between the different layers;
Described step 3.2) correlation calculations of contextual information and file type is: utilize the file operation historical information, extract and the similar user operation records of contextual information in space, active user place, arrange according to the sequencing of time, the time elder generation preceding, after time after, i.e. X 1X 2X n, X 1Expression qualified file operation the earliest, X nWhether, according to the type of operand file and the file type of calculating be of the same type, obtain corresponding operating type arrangement T if representing the last qualified file operation 1T 2T n, T 1Span is 0 and 1, if two file types are similar, and T then iValue is 1, if dissmilarity, then T iValue is 0; By following formula:
W = Σ i = 1 n ( i = T i ) Σ i = 1 n i Formula 1
Obtain the correlativity of contextual information and certain type file;
Described step 3.3) correlativity that calculates according to formula 1 in is extracted the identical file operation record of file type in time file operation of nearest several times from operation history, according to the catalogue that is operated the file object place, generate recommendation list.
Virtual directory construction method in the described step (4) is: use the contextual information of historical operation information and the semantic information of file to make up; Virtual directory uses unified NameSpace, every type contextual information and its value are used unified body title, according to the contextual information in the historical operation record, file is placed in below the virtual route that is made of the contextual information name-value pair sequence independence that the name-value pair that contextual information constitutes in the path is arranged.
In the described step (5) based on the file polling of contextual information, by the retrieves historical record, obtain the optional type and the optional value of contextual information, according to user's selection, the contextual information of selection and the operation note in the global data table are mated, obtain qualified listed files;
Inquiry is based on one type of contextual information with based on the file polling of polytype contextual information in the described step (5), the contextual information value of selecting according to the user based on the file polling of one type of contextual information, directly inquire about, other contextual information kind is defaulted as and meets matching condition; Contextual information kind and the contextual information value selected according to the user based on the file polling of polytype contextual information, ' with ' selected according to the user and ' or ' rule searching are inquired about, and nonoptional contextual information type is defaulted as and meets matching condition; The inquiry the result according to the operation choosing after the order arrange.
The effect that the present invention is useful is: based on the file management method of context flow is a kind ofly to be described as the basis with automatic contextual information, carries out the meta file system that file management is characteristics with context flow; Call and the monitored directory variation by the monitoring file system functions, automatically file is carried out the description of contextual information; The historical information of Study document operation is carried out file according to the contextual information in space, the current place of user and is recommended on this basis, utilizes historical information to make up virtual directory and carries out document presentation, carries out the retrieval and the inquiry of file by contextual information.By in conjunction with contextual information, reduced the burden of user in file management, the user no longer needs to remember file place catalogue and sets up complicated bibliographic structure for file management, utilizes contextual information to make things convenient for user search, search and access file simultaneously.
Description of drawings
Fig. 1 is the structural drawing of situation description of the present invention and the Organization Chart of using based on the file service of context flow;
Fig. 2 is the file description process flow diagram;
Fig. 3 is file recommended flowsheet figure.
Embodiment
The invention will be described further below in conjunction with drawings and Examples:
This file management method based on context flow of the present invention has carried out system's realization on Window XP operating system, as shown in Figure 1, mainly comprised following steps:
(1), utilize sensing equipment in the physical space (infrared, temperature, humidity, illumination, GPS location etc.) to obtain the contextual information (comprising information such as time, position) in space, the current place of user;
(2), automatically intercept and capture the user the file operation behavior (create, deletion, read-write, move, file system basic operation such as rename), be updated to automatically and be operated in corresponding context flow description document of file and the global data table operating the contextual information in space, user place at that time and file semantic information;
(3), according to the operational history of acquisition in the step (2) and the current contextual information in the middle space, user place that obtains of step (1), spanned file recommendation list;
(4), make up virtual directory, promptly file system is used contextual information and the file semantic information in the operational history, by the form of virtual directory, provides browsing file service based on situation to the user according to the operational history that obtains in the step (2);
(5), use contextual information to carry out file polling according to the operational history that obtains in the step (2);
As shown in Figure 1, in the step (2), the user file operation obtains by the system call of monitoring file system and the variation of monitoring file directory; In the Windows system, use the Hook technology to intercept and capture the function call of file system, using system API changes catalogue and monitors, under the situation of not revising existing file system, realization is to the intercepting and capturing of user file operation, the message of intercepting and capturing together sends to generation and renewal that descriptive system carries out the file operation historical information together with the file path that is operated file;
Whether in the step (2), need this operation is judged before describing file being carried out contextual information, be the repeatedly repetitive operation of in a short time identical file being carried out, if then the file operation information of these intercepting and capturing is not done description; If not, then carry out the renewal of operation note to being operated the corresponding context flow description document of file; The identical operations that we will do same file in the same place in 1 hour is classified repetitive operation as;
As shown in Figure 2, in the step (2), file operation type to the user is judged: if file creation operation is then created the corresponding context flow description document of file, action type, contextual information, file semantic information are added in description document and the global data table; If the file delete operation is then deleted description document; If the file rename is operated, then action type, contextual information are added in description document and the global data table, and revise in the description document and respective file name record in the global data table; If move operation then adds action type, contextual information in description document and the global data table to, and revise in the description document and the routing information of respective file in the global data table; If the file modification visit is then added action type, contextual information in description document and the global data table to.
In the step (2), descriptor comprises the contextual information in space, the current place of user and the semantic information of file; The semantic information of file utilizes the API of system to obtain by intercepting and capturing the file handle that file operation obtains, and the contextual information of file is gathered by the sensing equipment in the physical space, through the conversion of semantic layer and, form the understandable contextual information of user;
The description of information is added to respectively in context flow description document and the global data table, the corresponding context flow description document of each user file, this description document is used specific suffix name (.sh), preserve file operation records all in the file life cycle in the context flow description document, comprised contextual information and semantic informations such as file type, path, file place such as action type, running time, operation place; The global data table uses database to realize, has wherein write down the partial information in the historical operation record that is write down in the context flow description document, and has set up index, comes user's query and search is quickened.
The context flow description document uses OWL ontology describing standard to be described the information separated into two parts: the historical operation information of the semantic information of file and file; The file semantic information is because its stability, in description document, only keep a, historical operation information is added when the user operates at every turn, each operation constitutes an independently operation note, the contextual information in space, user place during comprising operations such as action type, running times, a plurality of operation note information are arranged according to the priority of time, the historical operation context flow of configuration file.
As shown in Figure 3, in the step (3), comprise the steps:
3.1, according to the user file historical operation information of record in the contextual information in the space, the current place of user that obtains in the step (1) and the step (2), mate by similarity, extract in the historical record and the similar operation note of space, active user place context information, generate result set;
3.2, according to 3.1 result sets that obtain, calculate the contextual information in space, active user place and the correlativity of particular file types, obtain relevance weight;
3.3, according to 3.2 relevance weight that obtain and user's historical operation information, be created on the file recommendation list under the situation of space, active user place;
In the step (3), for every class contextual information is divided level, set the similarity weight between the different layers, as being the center with the current time, span similarity degree in 30 minutes is 1, and at 30-60 minute, similarity was 0.8; The similar weight combination of multiple contextual information obtains the similarity degree of two contextual information collection.
The correlation calculations of contextual information and file type is utilized the file operation historical information in the step (3), extract and the similar user operation records of contextual information in space, active user place, arrange according to the sequencing of time, the time elder generation preceding, after time after, i.e. X 1X 2X n, X 1Expression qualified file operation the earliest, X nWhether, according to the type of operand file and the file type of calculating be of the same type, obtain corresponding operating type arrangement T if representing the last qualified file operation 1T 2T n, T 1Span is 0 and 1, if two file types are similar, and T then iValue is 1, if dissmilarity, then T iValue is 0; Obtain the correlativity of contextual information and certain type file by following formula 1;
According to the correlativity that formula 1 calculates, from operation history, extract the identical file operation record of file type in nearest three file operations, according to the catalogue that is operated the file object place, generate recommendation list.
Virtual file directory in the step (4) uses unified NameSpace, semantic information based on contextual information in the file operation historical record and file, the kind and the value of information according to descriptor are classified, and make up virtual file directory (Location=' the office ’ ﹠amp based on the name-value pair form; Time=' 12:00-14:00 '), file is kept under the respective virtual catalogue according to descriptor.
In the step (5) based on the file polling of contextual information, by the retrieves historical record, obtain the optional type and the optional value of contextual information, according to user's selection, the contextual information of selection and the operation note in the global data table are mated, obtain qualified listed files.
Inquiry can be based on one type of contextual information with based on the file polling of polytype contextual information, the contextual information value of selecting according to the user based on the file polling of one type of contextual information, directly inquire about, other contextual information kind is defaulted as and meets matching condition; Contextual information literary composition kind and the contextual information value selected according to the user based on the file polling of polytype contextual information, ' with ' selected according to the user and ' or ' rule searching are inquired about, and nonoptional situational type is defaulted as and meets matching condition; The inquiry the result according to the operation choosing after the order arrange.

Claims (8)

1. file management method based on context flow, its step is as follows:
(1) the situation control is installed in the computing equipment in physical space, is utilized the sensing equipment in the space to obtain the contextual information of user in this space;
(2) intercepting and capturing user's file operation behavior, operation contextual information and file semantic information at that time is updated to and is operated in corresponding context flow description document of file and the global data table, the context flow of the historical operation of tissue formation file and the context flow of global history operation, the operational history that forms file is write down in the file operation that is recorded in the context flow description document;
(3) according to the current contextual information in the space, user place that obtains in operational history that obtains in the step (2) and the step (1), generate file recommendation list based on the current contextual information of user;
(4) according to the virtual directory of the operational history structure that obtains in the step (2) based on contextual information, be that file system is used contextual information and the file semantic information in the operational history, by the form of virtual directory, provide browsing file service based on situation to the user;
(5), use contextual information to carry out file polling according to the operational history that obtains in the step (2).
2. the file management method based on context flow according to claim 1, it is characterized in that: the user is to each operation of file in the step (2), and method changes the information that obtains user's file operation behavior automatically and be operated file by call and detect catalogue in conjunction with monitoring system.
3. the file management method based on context flow according to claim 1, it is characterized in that: each user file has a corresponding context flow description document in the step (3), has write down all the historical operation information in the respective file whole life and the semantic information of file in the description document; When creating file, corresponding context flow description document is set up; When deleted file, corresponding context flow description document deletion; When Rename file, corresponding context flow description document rename.
4. the file management method based on context flow according to claim 1, it is characterized in that: intercept and capture in the step (3) after user's the file operation, sensing equipment and filesystem information by physical space, obtain the contextual information in space, active user place and the semantic information of file, be organized into independently file operation record, automatically be updated in the corresponding context flow description document of file the historical operation context flow of updating file.
5. the file management method based on context flow according to claim 1, it is characterized in that: in the step (4), the contextual information in the space, the current place of user that the user who utilizes step (2) record is obtained the historical operation information and the step (1) of file, calculating is in current situation, the file that the user may need carries out file and recommends.
6. the file management method based on context flow according to claim 1 is characterized in that: in the step (5), utilize the user's historical operation information of step (2) record and the contextual information of user's input, carry out the file polling based on contextual information.
7. the file management method based on context flow according to claim 1 is characterized in that: according to user's operational history of step (2) gained, make up virtual directory based on contextual information and file semanteme with the form of name-value pair; Be the information used in the virtual directory as the semantic information of contextual information in user's historical operation and file as directory name, file is shone upon.
8. the file management method based on context flow according to claim 5 is characterized in that: the file recommendation list generates and comprises the steps:
8.1), according to contextual information and the file operation historical information of user in the front space, calculate the similarity of the contextual information of describing in current situation and the historical operation information, according to similar weight extraction historical operation collection, promptly extract the file operation information under the situation similar with current situation;
8.2), according to step 8.1) in the operation note collection that extracts, calculate the correlativity of current situation and all kinds file;
8.3), according to step 8.2) relevance weight and the several times file operation recently that obtain, generate the recommendation list of the file under the current situation.
CN2010102765175A 2010-09-08 2010-09-08 File management method based on context flow Active CN101923579B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010102765175A CN101923579B (en) 2010-09-08 2010-09-08 File management method based on context flow

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010102765175A CN101923579B (en) 2010-09-08 2010-09-08 File management method based on context flow

Publications (2)

Publication Number Publication Date
CN101923579A true CN101923579A (en) 2010-12-22
CN101923579B CN101923579B (en) 2012-01-25

Family

ID=43338512

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010102765175A Active CN101923579B (en) 2010-09-08 2010-09-08 File management method based on context flow

Country Status (1)

Country Link
CN (1) CN101923579B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102929875A (en) * 2011-08-08 2013-02-13 联想(北京)有限公司 File searching method, device and electronic equipment
CN106156129A (en) * 2015-04-08 2016-11-23 联想(北京)有限公司 File management method and device
CN110020027A (en) * 2017-07-31 2019-07-16 北京精密机电控制设备研究所 A kind of file retrieval based on context aware utilizes method and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6212512B1 (en) * 1999-01-06 2001-04-03 Hewlett-Packard Company Integration of a database into file management software for protecting, tracking and retrieving data
CN101334785A (en) * 2008-07-30 2008-12-31 浙江大学 Method for organizing dummy catalog and managing naming space for distributed file systems

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6212512B1 (en) * 1999-01-06 2001-04-03 Hewlett-Packard Company Integration of a database into file management software for protecting, tracking and retrieving data
CN101334785A (en) * 2008-07-30 2008-12-31 浙江大学 Method for organizing dummy catalog and managing naming space for distributed file systems

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《Personal and Ubiquitous Computing》 20031231 Christopher K. Hess,Roy H. Campbell An application of a context-aware file system 第339-352 1-8 第7卷, 第6期 2 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102929875A (en) * 2011-08-08 2013-02-13 联想(北京)有限公司 File searching method, device and electronic equipment
CN106156129A (en) * 2015-04-08 2016-11-23 联想(北京)有限公司 File management method and device
CN110020027A (en) * 2017-07-31 2019-07-16 北京精密机电控制设备研究所 A kind of file retrieval based on context aware utilizes method and system

Also Published As

Publication number Publication date
CN101923579B (en) 2012-01-25

Similar Documents

Publication Publication Date Title
US9262714B2 (en) Frequent pattern extraction apparatus frequent pattern extraction method and program
TWI352904B (en) Method and computer readable medium for controllin
CN100412870C (en) Gateway personalized recommendation service method and system introduced yuan recommendation engine
RU2343537C2 (en) Computer search with help of associative links
EP1921573B1 (en) Knowledge discovery system
CN100483407C (en) Document information management system and document information management method
CN100478944C (en) Automatic task generator method and system
EP1897002B1 (en) Sensing, storing, indexing, and retrieving data leveraging measures of user activity, attention, and interest
JP2012098934A (en) Document management system, method for controlling document management system and program
CN102902800B (en) Agent-based intelligent meta search engine system
US10216862B1 (en) Predictive estimation for ingestion, performance and utilization in a data indexing and query system
JPWO2008149843A1 (en) Information presentation system, information presentation method, and information presentation program
CN103198136A (en) Sequence-association-based query method for personal computer files
CN201654777U (en) Dynamic data acquisition device
CN101923579B (en) File management method based on context flow
JP2011501849A (en) Information map management system and information map management method
WO2019168702A1 (en) Sensor data based query results
JP2010134651A (en) Merchandise id server device, and method for controlling the same
JP2012208565A (en) Log management method, log management device, and program
JP2010244187A (en) Document retrieval system and method
JP2007213564A5 (en)
CN108509438A (en) A kind of ElasticSearch fragments extended method
CN112950293A (en) Enterprise external data acquisition and analysis system
CN102184173A (en) Method for searching Internet data
JP7031232B2 (en) Search system, search method and search program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant