CN104077110B - 一种基于系统行为的文件调度方法 - Google Patents

一种基于系统行为的文件调度方法 Download PDF

Info

Publication number
CN104077110B
CN104077110B CN201410323672.6A CN201410323672A CN104077110B CN 104077110 B CN104077110 B CN 104077110B CN 201410323672 A CN201410323672 A CN 201410323672A CN 104077110 B CN104077110 B CN 104077110B
Authority
CN
China
Prior art keywords
file
operational order
opening
sequence
new operational
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
CN201410323672.6A
Other languages
English (en)
Other versions
CN104077110A (zh
Inventor
肖龙旭
张凯
丁凯
陈炫
岳翔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Caroline Control (beijing) Information Technology Co Ltd
Original Assignee
Caroline Control (beijing) Information Technology Co Ltd
Filing date
Publication date
Application filed by Caroline Control (beijing) Information Technology Co Ltd filed Critical Caroline Control (beijing) Information Technology Co Ltd
Priority to CN201410323672.6A priority Critical patent/CN104077110B/zh
Publication of CN104077110A publication Critical patent/CN104077110A/zh
Application granted granted Critical
Publication of CN104077110B publication Critical patent/CN104077110B/zh
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

本发明属于计算机文件操作技术,特别涉及一种文件操作指令调度方法。基于系统行为的文件调度方法,包括以下步骤:A、通过HOOK或过滤方式监控关键API,收集对文件的操作指令;B、对收集到的全部操作指令进行分类,将多个相同的操作合并为一个,并按照打开>关闭>删除的优先级顺序进行排序,形成操作序列;C、按照所述操作序列依次执行文件操作,使用户能得到快速响应;D、在执行文件操作中,遇到新到操作指令时,执行调度规则;E、操作序列执行完毕后将其删除,不影响下次对该文件的操作。利用本发明,可以在出现大量重叠和交叉的文件操作时,缩短文件操作响应时间,改善用户体验。

Description

一种基于系统行为的文件调度方法
技术领域
本发明属于计算机文件操作技术,特别涉及一种文件操作指令调度方法。
背景技术
在目前广泛使用的操作系统中,文件操作是根据操作系统的请求按时间序列进行的。在操作系统连续发出大量包含重复或交叉请求的情况下,例如,当用户连续多次点击文件或文件夹,或者在短时间内连续交叉做“打开文件”、“关闭文件”、“删除文件”等操作时;顺序执行文件操作请求将严重影响了文件处理的效率。
发明内容
本发明的目的是:提供一种能够有效处理重叠和交叉的文件操作,从而提高文件处理效率的方法。
本发明的技术方案是:一种基于系统行为的文件调度方法,包括以下步骤:
A、通过HOOK或过滤方式监控关键API,收集对文件的操作指令;
B、对收集到的全部操作指令进行分类,将多个相同的操作合并为一个,并按照打开>关闭>删除的优先级顺序进行排序,形成操作序列;
C、按照所述操作序列依次执行文件操作,使用户能得到快速响应;
D、在执行文件操作中,遇到新到操作指令与当前操作相同时,取消所述新的操作指令,保证同样操作只执行一次;遇到新到操作指令与当前操作不同时,按以下规则执行:
当前操作为打开,新操作指令为关闭时,取消关闭操作仅执行打开操作;
当前操作为关闭,新操作指令为打开时,取消关闭操作仅执行打开操作;
当前操作为打开,新操作指令为删除时,取消打开操作直接执行删除操作;
当前操作为关闭,新操作指令为删除时,取消关闭操作直接执行删除操作;
E、操作序列执行完毕后将其删除,不影响下次对该文件的操作。
利用本发明,可以在出现大量重叠和交叉的文件操作时,缩短文件操作响应时间,改善用户体验。
附图说明
附图1为本发明流程图。
具体实施方式
参见附图1,一种基于系统行为的文件调度方法,包括以下步骤:
A、通过HOOK或过滤方式监控关键API,收集对文件的操作指令;
B、对收集到的全部操作指令进行分类,将多个相同的操作合并为一个,并按照打开>关闭>删除的优先级顺序进行排序,形成操作序列;
C、按照所述操作序列依次执行文件操作,使用户能得到快速响应;
D、在执行文件操作中,遇到新到操作指令与当前操作相同时,取消所述新的操作指令,保证同样操作只执行一次;遇到新到操作指令与当前操作不同时,按以下规则执行:
当前操作为打开,新操作指令为关闭时,取消关闭操作仅执行打开操作;
当前操作为关闭,新操作指令为打开时,取消关闭操作仅执行打开操作;
当前操作为打开,新操作指令为删除时,取消打开操作直接执行删除操作;
当前操作为关闭,新操作指令为删除时,取消关闭操作直接执行删除操作;
E、操作序列执行完毕后将其删除,不影响下次对该文件的操作。

Claims (1)

1.一种基于系统行为的文件调度方法,包括以下步骤:
A、通过HOOK或过滤方式监控关键API,收集对文件的操作指令;
B、对收集到的全部操作指令进行分类,将多个相同的操作合并为一个,并按照打开>关闭>删除的优先级顺序进行排序,形成操作序列;
C、按照所述操作序列依次执行文件操作,使用户能得到快速响应;
D、在执行文件操作中,遇到新操作指令与当前操作相同时,取消所述新操作指令,保证同样操作只执行一次;遇到新操作指令与当前操作不同时,按以下规则执行:
当前操作为打开,新操作指令的操作类别为关闭时,取消关闭操作仅执行打开操作;
当前操作为关闭,新操作指令的操作类别为打开时,取消关闭操作仅执行打开操作;
当前操作为打开,新操作指令的操作类别为删除时,取消打开操作直接执行删除操作;
当前操作为关闭,新操作指令的操作类别为删除时,取消关闭操作直接执行删除操作;
E、操作序列执行完毕后将其删除,不影响下次对该文件的操作。
CN201410323672.6A 2014-07-09 一种基于系统行为的文件调度方法 Active CN104077110B (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410323672.6A CN104077110B (zh) 2014-07-09 一种基于系统行为的文件调度方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410323672.6A CN104077110B (zh) 2014-07-09 一种基于系统行为的文件调度方法

Publications (2)

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

Family

ID=

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 (zh) * 2006-06-30 2006-12-13 浙江大学 一种嵌入式实时文件系统任务调度的实现方法
CN101013461A (zh) * 2007-02-14 2007-08-08 白杰 基于程序行为分析的计算机防护方法
CN101496010A (zh) * 2006-07-31 2009-07-29 微软公司 使用可增量式更新的、经修改的朴素贝叶斯查询分类器的排序功能
US8412856B2 (en) * 2009-10-26 2013-04-02 Sony Computer Entertainment America Llc. File input/output scheduler using immediate data chunking
CN103123575A (zh) * 2011-11-18 2013-05-29 北京兴宇中科科技开发股份有限公司 一种数据写入方法
CN103514031A (zh) * 2012-11-26 2014-01-15 Tcl集团股份有限公司 多终端并发操作时文件名冲突的处理方法及系统

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 (zh) * 2006-06-30 2006-12-13 浙江大学 一种嵌入式实时文件系统任务调度的实现方法
CN101496010A (zh) * 2006-07-31 2009-07-29 微软公司 使用可增量式更新的、经修改的朴素贝叶斯查询分类器的排序功能
CN101013461A (zh) * 2007-02-14 2007-08-08 白杰 基于程序行为分析的计算机防护方法
US8412856B2 (en) * 2009-10-26 2013-04-02 Sony Computer Entertainment America Llc. File input/output scheduler using immediate data chunking
CN103123575A (zh) * 2011-11-18 2013-05-29 北京兴宇中科科技开发股份有限公司 一种数据写入方法
CN103514031A (zh) * 2012-11-26 2014-01-15 Tcl集团股份有限公司 多终端并发操作时文件名冲突的处理方法及系统

Similar Documents

Publication Publication Date Title
Merigo Probabilities in the OWA operator
JP2016536939A5 (zh)
CN103019589A (zh) 一种滑动删除列表条目的方法
Aitkin et al. Statistical modelling of the group structure of social networks
Pande The right to know, the right to live: Grassroots struggle for information and work in India
CN104077110B (zh) 一种基于系统行为的文件调度方法
Galpin Hybrid semantics for Bio-PEPA
CN104077110A (zh) 一种基于系统行为的文件调度方法
Pryet et al. Flexible environmental modeling with python and open-gis
Swann et al. A threshold continuum for aeolian sand transport
Chawanda et al. Baseflow Separation Tools; What do they really do?
Li et al. Pitfalls of Validating Extreme Event Flood Models: The experience of RIFT for Hurricane Florence
Kunz et al. Forensic disaster analysis in near-real time
Nadeau et al. Cloud-Enabled Climate Analytics-as-a-Service using Reanalysis data: A case study.
Yaduvanshi et al. A Fuzzy Time Series based Model for Rainfall Prediction over Eastern India
Solonen et al. On closure parameter estimation in chaotic systems
Hamed Alemohammad et al. A Framework for Modelling Probabilistic Uncertainty in Rainfall Scenario Analysis
Stefanescu et al. Sparse Representation and Multiscale Methods-Application to Digital Elevation Models
Ficklin et al. A tool to estimate the palmer drought severity index using Penman-Monteith potential evapotranspiration at any spatial scale
Liu et al. An improved model calibration framework by incorporating data uncertainty
McAdams EAGER: A Quantitative Theory for Technology Evolution and Innovation
Clark et al. Applying MODE time-domain for diagnosis and visualization of simulated supercells
Chadwick et al. Contribution of General Circulation Models and climate change scenarios to the uncertainty in Reservoir Operation. The case of the Limarí Basin reservoir, Chile.
Abera Worku et al. Spatial Interpolation of hourly precipitation data and rainfall-runoff modeling in JGrass-NewAGE system
Wang et al. The groundwater flow into fully penetrating well with moving interface of the Darcian flow and Forchheimer flow region

Legal Events

Date Code Title Description
PB01 Publication
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.

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

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