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

File management method based on context flow Download PDF

Info

Publication number
CN101923579B
CN101923579B CN2010102765175A CN201010276517A CN101923579B CN 101923579 B CN101923579 B CN 101923579B CN 2010102765175 A CN2010102765175 A CN 2010102765175A CN 201010276517 A CN201010276517 A CN 201010276517A CN 101923579 B CN101923579 B CN 101923579B
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.)
Active
Application number
CN2010102765175A
Other languages
Chinese (zh)
Other versions
CN101923579A (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 carries out the method for file management based on context flow.
Background technology
Ripe gradually rapid development of network along with memory technology; Great deal of information is deposited in the various file system with the form of file; The traditional document system adopts simple directory tree to come constituent act; The user need sort out a large amount of files, and chooses 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 the traditional document system is supported is not abundant, has basically 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; Be updated to by in the context flow description document of operation file and the global data table operating contextual information and the file semantic information that user at that time belongs to the space; 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) belong to the current contextual information in space according to the user who obtains in the operational history that obtains in the step (2) and the step (1), generation is based on the file recommendation list of the current contextual information of user;
(4) make up virtual directory based on the operational history 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; Through the form of virtual directory, the browsing file service based on situation is provided 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, Said step (2) detects the system call of file operation, changes in conjunction with the catalogue in the monitoring file system, intercepts and captures user's file operation message; And therefrom obtain by the object of operation file, obtain the semantic information and the corresponding description document of file of file through file object;
Said step (2) can be subdivided into:
2.1), through obtained the semantic information of file by the object of operation file, combine from the contextual information in the space, the current place of user that physical sensing equipment obtains 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 with the global data table in the routing information of respective file; If the file modification visit is then added action type, contextual information in description document and the global data table to.
2.3), through found the pairing context flow description document of file by the operation 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; 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 the middle user of acquisition of described step (2.1) belongs to the space obtains through physical sensing equipment in the space, the file path in the file operation information that the semantic information utilization of file is intercepted and captured, and API obtains through calling system.
Said step (3) can be subdivided into:
3.1), based on the user file historical operation information that writes down in the contextual information in the space, the current place of user that obtains in the step (1) and the step (2); Mate through the situation similitude; Extract in the historical record and belong to the similar operation note of space situation, generate result set with the active user;
3.2), according to 3.1 result sets that obtain, calculate the active user and belong to the contextual information in space and the correlativity of particular file types, the acquisition relevance weight;
3.3), according to 3.2 relevance weight that obtain and user's historical operation information, be created on the active user and belong to the file recommendation list under the situation of space;
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 type of contextual information is divided level, sets the similarity weight between the different layers;
Said step 3.2) correlation calculations of contextual information and file type is: utilize the file operation historical information; Extract the similar user operation records of contextual information that belongs to the space with the active user, arrange according to the sequencing of time, the time first 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; Through 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;
Said step 3.3) correlativity that calculates according to formula 1 in is extracted the nearest several times time identical file operation record of file operation file type from operation history, according to by the catalogue at operation 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 up 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; Through the retrieves historical record, obtain the optional type and the optional value of contextual information, based on 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 are inquired about according to ' with ' of user's selection and ' or ' rule searching, 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 through 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 through contextual information.Through combining contextual information, reduced the burden of user in file management, the user no longer need remember file place catalogue and set up complicated bibliographic structure for file management, utilize 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
Below in conjunction with accompanying drawing and embodiment the present invention is done further introduction:
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, has 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 by in corresponding context flow description document of operation file and the global data table operating contextual information and the file semantic information that user at that time belongs to the space;
(3), belong to the current contextual information in space, spanned file recommendation list according to the user of acquisition in the operational history that obtains in the step (2) and the step (1);
(4), make up virtual directory, promptly file system is used contextual information and the file semantic information in the operational history, through the form of virtual directory, to the user browsing file service based on situation is provided 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 through 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, and under the situation of not revising existing file system, realizes the intercepting and capturing to the 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 by the file path of operation file;
Whether in the step (2), need judge this operation 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 to carried out the renewal of operation note by the corresponding context flow description document of operation 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 with the global data table in the routing information of respective file; 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 through intercepting and capturing the file handle that file operation obtains, and the contextual information of file is gathered through the sensing equipment in the physical space, through the conversion of semantic layer with, 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 describe 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, and each operation constitutes an independently operation note, and the user belongs to the contextual information in space 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, based on the user file historical operation information that writes down in the contextual information in the space, the current place of user that obtains in the step (1) and the step (2); Mate through similitude; Extract in the historical record and belong to the similar operation note of space context information, generate result set with the active user;
3.2, according to 3.1 result sets that obtain, calculate the active user and belong to the contextual information in space and the correlativity of particular file types, the acquisition relevance weight;
3.3, according to 3.2 relevance weight that obtain and user's historical operation information, be created on the active user and belong to the file recommendation list under the situation of space;
In the step (3), for every type of 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 of multiple contextual information combines, and 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 the similar user operation records of contextual information that belongs to the space with the active user, arrange according to the sequencing of time, the time first 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 through following formula 1;
According to the correlativity that formula 1 calculates, from operation history, extract nearest three identical file operation records of file operation file type, according to by the catalogue at operation 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; Structure is based on the virtual file directory of name-value pair form (Location=' office ’ &Time=' 12:00-14:00 '), and file is kept under the respective virtual catalogue according to descriptor.
In the step (5) based on the file polling of contextual information; Through the retrieves historical record, obtain the optional type and the optional value of contextual information, according to user's selection; Contextual information of selecting 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; The contextual information literary composition kind and contextual information value selected according to the user based on the file polling of polytype contextual information are inquired about according to ' with ' of user's selection and ' or ' rule searching, 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 following:
(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 by in corresponding context flow description document of operation 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) belong to the current contextual information in space according to the user who obtains in the operational history that obtains in the step (2) and the step (1), generation is based on the file recommendation list of the current contextual information of user;
(4) make up virtual directory based on the operational history 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; Through the form of virtual directory, the browsing file service based on situation is provided 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 is characterized in that: in the step (2) user to each method of operating of file for changing and obtain user's file operation behavior automatically and by the information of operation file through combining monitoring system to call and detect catalogue.
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 (2), has write down all historical operation information and the semantic information of file in the respective file whole life 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 (2) after user's the file operation; Through the sensing equipment and the filesystem information of physical space, obtain the active user and belong to the contextual information in space 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, and the file that the user possibly 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 based on the virtual directory of contextual information with the 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 CN101923579A (en) 2010-12-22
CN101923579B true 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)

Families Citing this family (3)

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

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
Christopher K. Hess,Roy H. Campbell.An application of a context-aware file system.《Personal and Ubiquitous Computing》.2003,第7卷(第6期),第339-352. *

Also Published As

Publication number Publication date
CN101923579A (en) 2010-12-22

Similar Documents

Publication Publication Date Title
US9262714B2 (en) Frequent pattern extraction apparatus frequent pattern extraction method and program
RU2343537C2 (en) Computer search with help of associative links
TWI352904B (en) Method and computer readable medium for controllin
EP1921573B1 (en) Knowledge discovery system
CN100535896C (en) Context association diagram for computer system architecture
CN104115139B (en) Configurable workflow ability is provided
CN100478944C (en) Automatic task generator method and system
JP2012098934A (en) Document management system, method for controlling document management system and program
JP2008508575A (en) Aggregation and search methods using ecosystems and related technologies
CN102769781A (en) Method and device for recommending television program
CN102902800B (en) Agent-based intelligent meta search engine system
CN101739407A (en) Method and system for automatically constructing information organization structure used for related information browse
CN106445894A (en) New media intelligent online editing method and apparatus, and network information release platform
CN103198136A (en) Sequence-association-based query method for personal computer files
CN105893636A (en) Historical sharing recording method and device
CN201654777U (en) Dynamic data acquisition device
CN106055546A (en) Optical disk library full-text retrieval system based on Lucene
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
CN103226501A (en) Logic backup method and logic backup system for database
CN101571826B (en) Information source correlation method based on user operation records
JP2012208565A (en) Log management method, log management device, and program
JP2007213564A5 (en)
CN108509438A (en) A kind of ElasticSearch fragments extended method

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