CN104077110A - File scheduling method based on system behaviors - Google Patents

File scheduling method based on system behaviors Download PDF

Info

Publication number
CN104077110A
CN104077110A CN201410323672.6A CN201410323672A CN104077110A CN 104077110 A CN104077110 A CN 104077110A CN 201410323672 A CN201410323672 A CN 201410323672A CN 104077110 A CN104077110 A CN 104077110A
Authority
CN
China
Prior art keywords
file
carried out
operational order
opening
operations
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
CN201410323672.6A
Other languages
Chinese (zh)
Other versions
CN104077110B (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.)
Beijing Lianshan Polytron Technologies Inc
Original Assignee
BEIJING CHERILEAD TECH Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BEIJING CHERILEAD TECH Co Ltd filed Critical BEIJING CHERILEAD TECH Co Ltd
Priority to CN201410323672.6A priority Critical patent/CN104077110B/en
Priority claimed from CN201410323672.6A external-priority patent/CN104077110B/en
Publication of CN104077110A publication Critical patent/CN104077110A/en
Application granted granted Critical
Publication of CN104077110B publication Critical patent/CN104077110B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention belongs to computer file operation techniques and particularly relates to a file operation instruction scheduling method. The file scheduling method based on system behaviors includes the following steps that (1) key APIs are monitored in a HOOK or filtering method, and operation instructions of files are collected; (2) all the collected operation instructions are classified, multiple identical operations are merged into one, sequencing is carried out according to the priority that opening is prior to closing and closing is prior to deletion, and an operation sequence is formed; (3) file operations are sequentially carried out according to the operation sequence so that a user can be quickly responded to; (4) when the file operations are carried out and a new operation instruction occurs, a scheduling rule is carried out; (5) after the operation sequence is carried out, the operation sequence is deleted so that operations carried out to the file next time cannot be influenced. By means of the method, response time of the file operations can be shortened when a large quantity of overlapped and crossed file operations occur and user experience is improved.

Description

A kind of file dispatching method based on system action
Technical field
The invention belongs to computer documents operative technique, particularly a kind of file operation instruction scheduling method.
Background technology
In now widely used operating system, file operation is to be undertaken by time series according to the request of operating system.In operating system, send continuously comprise in a large number repetition or intersect request in the situation that, for example, when user's continuous several times is clicked file or folder, or while intersecting continuously at short notice operations such as doing " opening file ", " close file ", " deleted file "; Order execute file operation requests will have a strong impact on the efficiency of file processing.
Summary of the invention
The object of the invention is: the file operation of a kind of effectively processing overlapping and intersection is provided, thereby improves the method for file activity.
Technical scheme of the present invention is: a kind of file dispatching method based on system action, comprises the following steps:
A, by HOOK or filter type, monitor crucial API, collect the operational order to file;
B, all operations were instruction of collecting is classified, a plurality of identical operations are merged into one, and close the priority orders that > deletes and sort according to opening >, form the sequence of operation;
C, according to the described sequence of operation successively execute file operation, user can be responded fast;
D, in execute file operation, run into newly when identical with current operation to operational order, cancel described new operational order, guarantee to operate equally Exactly-once; Run into new when different from current operation to operational order, by following rule execution:
Current operation is for opening, and new operational order is when closing, and cancellation shutoff operation is only carried out opening operation;
Current operation is for closing, and new operational order is when opening, and cancellation shutoff operation is only carried out opening operation;
Current operation, for opening, when new operational order is deletion, is cancelled opening operation and is directly carried out deletion action;
Current operation, for closing, when new operational order is deletion, is cancelled shutoff operation and is directly carried out deletion action;
After E, the sequence of operation are finished, deleted, do not affected the operation of next time to this document.
Utilize the present invention, can occur a large amount of overlapping and intersect file operation time, shorten the file operation response time, improve user's experience.
Accompanying drawing explanation
Accompanying drawing 1 is process flow diagram of the present invention.
Embodiment
Referring to accompanying drawing 1, a kind of file dispatching method based on system action, comprises the following steps:
A, by HOOK or filter type, monitor crucial API, collect the operational order to file;
B, all operations were instruction of collecting is classified, a plurality of identical operations are merged into one, and close the priority orders that > deletes and sort according to opening >, form the sequence of operation;
C, according to the described sequence of operation successively execute file operation, user can be responded fast;
D, in execute file operation, run into newly when identical with current operation to operational order, cancel described new operational order, guarantee to operate equally Exactly-once; Run into new when different from current operation to operational order, by following rule execution:
Current operation is for opening, and new operational order is when closing, and cancellation shutoff operation is only carried out opening operation;
Current operation is for closing, and new operational order is when opening, and cancellation shutoff operation is only carried out opening operation;
Current operation, for opening, when new operational order is deletion, is cancelled opening operation and is directly carried out deletion action;
Current operation, for closing, when new operational order is deletion, is cancelled shutoff operation and is directly carried out deletion action;
After E, the sequence of operation are finished, deleted, do not affected the operation of next time to this document.

Claims (1)

1. the file dispatching method based on system action, comprises the following steps:
A, by HOOK or filter type, monitor crucial API, collect the operational order to file;
B, all operations were instruction of collecting is classified, a plurality of identical operations are merged into one, and close the priority orders that > deletes and sort according to opening >, form the sequence of operation;
C, according to the described sequence of operation successively execute file operation, user can be responded fast;
D, in execute file operation, run into newly when identical with current operation to operational order, cancel described new operational order, guarantee to operate equally Exactly-once; Run into new when different from current operation to operational order, by following rule execution:
Current operation is for opening, and new operational order is when closing, and cancellation shutoff operation is only carried out opening operation;
Current operation is for closing, and new operational order is when opening, and cancellation shutoff operation is only carried out opening operation;
Current operation, for opening, when new operational order is deletion, is cancelled opening operation and is directly carried out deletion action;
Current operation, for closing, when new operational order is deletion, is cancelled shutoff operation and is directly carried out deletion action;
After E, the sequence of operation are finished, deleted, do not affected the operation of next time to this document.
CN201410323672.6A 2014-07-09 A kind of file dispatching method based on system action Active CN104077110B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410323672.6A CN104077110B (en) 2014-07-09 A kind of file dispatching method based on system action

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410323672.6A CN104077110B (en) 2014-07-09 A kind of file dispatching method based on system action

Publications (2)

Publication Number Publication Date
CN104077110A true CN104077110A (en) 2014-10-01
CN104077110B CN104077110B (en) 2016-11-30

Family

ID=

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107943676A (en) * 2016-10-12 2018-04-20 腾讯科技(深圳)有限公司 The performance test data treating method and apparatus of application operating nonvolatile memory

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0749063A2 (en) * 1995-06-07 1996-12-18 International Business Machines Corporation Method and apparatus for suspend/resume operation in a computer
EP1082662A1 (en) * 1999-03-31 2001-03-14 Koninklijke Philips Electronics N.V. A method of scheduling garbage collection
CN1877534A (en) * 2006-06-30 2006-12-13 浙江大学 Accomplishing method for embedded real-time file system task scheduling
CN101013461A (en) * 2007-02-14 2007-08-08 白杰 Method of computer protection based on program behavior analysis
CN101496010A (en) * 2006-07-31 2009-07-29 微软公司 Ranking functions using an incrementally-updatable, modified naive Bayesian query classifier
US8412856B2 (en) * 2009-10-26 2013-04-02 Sony Computer Entertainment America Llc. File input/output scheduler using immediate data chunking
CN103123575A (en) * 2011-11-18 2013-05-29 北京兴宇中科科技开发股份有限公司 Data write-in method
CN103514031A (en) * 2012-11-26 2014-01-15 Tcl集团股份有限公司 Method and system for processing file name conflict in multi-terminal concurrent operation

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0749063A2 (en) * 1995-06-07 1996-12-18 International Business Machines Corporation Method and apparatus for suspend/resume operation in a computer
EP1082662A1 (en) * 1999-03-31 2001-03-14 Koninklijke Philips Electronics N.V. A method of scheduling garbage collection
CN1877534A (en) * 2006-06-30 2006-12-13 浙江大学 Accomplishing method for embedded real-time file system task scheduling
CN101496010A (en) * 2006-07-31 2009-07-29 微软公司 Ranking functions using an incrementally-updatable, modified naive Bayesian query classifier
CN101013461A (en) * 2007-02-14 2007-08-08 白杰 Method of computer protection based on program behavior analysis
US8412856B2 (en) * 2009-10-26 2013-04-02 Sony Computer Entertainment America Llc. File input/output scheduler using immediate data chunking
CN103123575A (en) * 2011-11-18 2013-05-29 北京兴宇中科科技开发股份有限公司 Data write-in method
CN103514031A (en) * 2012-11-26 2014-01-15 Tcl集团股份有限公司 Method and system for processing file name conflict in multi-terminal concurrent operation

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107943676A (en) * 2016-10-12 2018-04-20 腾讯科技(深圳)有限公司 The performance test data treating method and apparatus of application operating nonvolatile memory
CN107943676B (en) * 2016-10-12 2020-10-30 腾讯科技(深圳)有限公司 Performance test data processing method and device for operating nonvolatile memory by application

Similar Documents

Publication Publication Date Title
HK1224402A1 (en) Automated system for generative multimodel multiclass classification and similarity analysis using machine learning
CN104615658B (en) A kind of method for determining user identity
JP2016095834A5 (en)
IL258568A (en) Method of remediating a program and system thereof by undoing operations
JP2017517796A5 (en)
CN104468282B (en) cluster monitoring processing system and method
MX389371B (en) SYSTEMS AND METHODS FOR ANALYSING MANUFACTURING PARAMETERS.
CN109376393B (en) Nuclear Power Plant Piping Mechanical Analysis Method and System
JP2016525016A5 (en)
CN104461551A (en) Parallel data processing based big data processing system
CN102664961A (en) Method for anomaly detection in MapReduce environment
RU2015134855A (en) METHOD AND DEVICE FOR OPTIMIZATION OF RESOURCE ALLOCATION PLAN
CN104536681A (en) Method and system for simultaneously starting a plurality of applications on basis of touch screen
EP2690587A3 (en) Apparatus for controlling execution of software, method for controlling thereof, and computer-readable recording medium having computer program for controlling thereof
CN105117430B (en) A kind of iterative task process discovery method based on equivalence class
WO2019061999A1 (en) Breakpoint call method, electronic device and computer-readable storage medium
CN104731891A (en) Method for extracting mass data in ETL (extract transform load)
CN106201835A (en) Method for implementing early warning automatic management
CN105701004B (en) Application testing method and device
CN104077110A (en) File scheduling method based on system behaviors
CN104077110B (en) A kind of file dispatching method based on system action
RU2017106225A (en) COMPUTERIZED DYNAMIC DIVISION OF INTERACTIONS BY MULTIPLE CONTENT Fragments
CN104299038A (en) Method for periodic inspection and management of relay protection device
CN104683106A (en) Assessment method for security state of operation behavior-based power terminal
JP2014241009A5 (en)

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 100094 No. 109 North Qing Road, Beijing, Haidian District

Applicant after: Xiao Longxu

Applicant after: Caroline control (Beijing) Information Technology Co., Ltd.

Address before: 100094 No. 109 North Qing Road, Beijing, Haidian District

Applicant before: Xiao Longxu

Applicant before: Beijing Cherilead Tech Co., Ltd.

COR Change of bibliographic data
C14 Grant of patent or utility model
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: No. 109 Beiqing Road, Haidian District, Beijing

Co-patentee after: Beijing Lianshan Polytron Technologies Inc

Patentee after: Xiao Longxu

Address before: No. 109 Beiqing Road, Haidian District, Beijing

Co-patentee before: Caroline control (Beijing) Information Technology Co., Ltd.

Patentee before: Xiao Longxu

CP01 Change in the name or title of a patent holder
TR01 Transfer of patent right

Effective date of registration: 20190219

Address after: 100094 Beijing Haidian District Beiqing Road 68 Courtyard North District 17 Floor 3

Patentee after: Beijing Lianshan Polytron Technologies Inc

Address before: No. 109 Beiqing Road, Haidian District, Beijing

Co-patentee before: Beijing Lianshan Polytron Technologies Inc

Patentee before: Xiao Longxu

TR01 Transfer of patent right