JP6154960B2 - ファイルをスキャンする方法及び装置 - Google Patents
ファイルをスキャンする方法及び装置 Download PDFInfo
- Publication number
- JP6154960B2 JP6154960B2 JP2016544706A JP2016544706A JP6154960B2 JP 6154960 B2 JP6154960 B2 JP 6154960B2 JP 2016544706 A JP2016544706 A JP 2016544706A JP 2016544706 A JP2016544706 A JP 2016544706A JP 6154960 B2 JP6154960 B2 JP 6154960B2
- Authority
- JP
- Japan
- Prior art keywords
- file
- scanned
- scan
- storage unit
- scanned file
- 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
Links
- 238000000034 method Methods 0.000 title claims description 74
- 238000004590 computer program Methods 0.000 claims description 10
- 238000005192 partition Methods 0.000 description 15
- 238000010586 diagram Methods 0.000 description 14
- 238000005516 engineering process Methods 0.000 description 4
- 241000700605 Viruses Species 0.000 description 3
- 238000009434 installation Methods 0.000 description 3
- 239000003550 marker Substances 0.000 description 3
- 230000001960 triggered effect Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/13—File access structures, e.g. distributed indices
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/14—Details of searching files based on file metadata
- G06F16/148—File search processing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/17—Details of further file system functions
- G06F16/172—Caching, prefetching or hoarding of files
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0638—Organizing or formatting or addressing of data
- G06F3/0643—Management of files
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- Library & Information Science (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Document Processing Apparatus (AREA)
Description
本出願は2014年8月25日に中国専利局に提出し、出願番号が201410421430.0で、発明名称が「ファイルをスキャンする方法及び装置」の中国特許出願の優先権を主張し、そのすべての内容は参照として本出願に組み込まれている。
前記ファイル識別標識と前記スキャン結果を保存する記憶ユニットと、
前記被スキャンファイルのハードリンク数が1より大きい場合、前記被スキャンファイルを初めてスキャン対象とするとき、スキャンエンジンを呼び出して前記被スキャンファイルをスキャンして前記被スキャンファイルのスキャン結果を取得し、前記被スキャンファイルを一意的に識別するファイル識別標識及び対応する前記被スキャンファイルのスキャン結果を記憶ユニットに保存する第一処理ユニットと、
前記被スキャンファイルのハードリンク数が1より大きい場合、前記被スキャンファイルを再びスキャン対象とするとき、前記ファイル識別標識に基づいて前記記憶ユニットから前記被スキャンファイルのスキャン結果を照会して取得する第二処理ユニットとを含む。
前記第一処理ユニットは、前記ファイル識別標識に基づいて前記記憶ユニットを照会し、前記記憶ユニットに前記ファイル識別標識が保存されていないと確認したとき、スキャンエンジンに対する呼び出しをトリガーする第一トリガーモジュールを含む。
Claims (17)
- スキャン対象となる被スキャンファイルのハードリンク数を取得するステップと、
前記被スキャンファイルのハードリンク数が1より大きい場合、前記被スキャンファイルを初めてスキャン対象とするとき、スキャンエンジンを呼び出して前記被スキャンファイルをスキャンして前記被スキャンファイルのスキャン結果を取得し、前記被スキャンファイルを一意的に識別するファイル識別標識及び前記被スキャンファイルのスキャン結果を記憶ユニットに保存するステップと、
前記被スキャンファイルのハードリンク数が1より大きい場合、前記被スキャンファイルを再びスキャン対象とするとき、前記ファイル識別標識に基づいて前記記憶ユニットから前記被スキャンファイルのスキャン結果を照会して取得するステップとを含む
ことを特徴とするファイルをスキャンする方法。 - メモリにおける前記被スキャンファイルの記憶位置に基づいて前記ファイル識別標識を決定するステップを更に含む
ことを特徴とする請求項1に記載の方法。 - 前記メモリにおける前記被スキャンファイルの記憶位置に基づいて前記ファイル識別標識を決定するステップは、
ディスクにおける前記被スキャンファイルの記憶位置を取得し前記ファイル識別標識とするステップ、又は、
前記被スキャンファイルが記憶されるディスクのディスク標識及びディスクにおける前記被スキャンファイルの記憶位置を取得し、前記被スキャンファイルが記憶されるディスクのディスク標識及びディスクにおける前記被スキャンファイルの記憶位置に基づいて前記ファイル識別標識を決定するステップを含む
ことを特徴とする請求項2に記載の方法。 - 前記被スキャンファイルを初めてスキャン対象とするとき、スキャンエンジンを呼び出して前記被スキャンファイルをスキャンして前記被スキャンファイルのスキャン結果を取得することは、
前記ファイル識別標識に基づいて前記記憶ユニットを照会し、前記記憶ユニットに前記ファイル識別標識が保存されていない場合、スキャンエンジンを呼び出して前記被スキャンファイルをスキャンして前記被スキャンファイルのスキャン結果を取得するステップを含む
ことを特徴とする請求項1〜3のいずれか1項に記載の方法。 - 前記被スキャンファイルを一意的に識別するファイル識別標識及び対応する前記被スキャンファイルのスキャン結果を記憶ユニットに保存することは、
前記記憶ユニットに前記ファイル識別標識が保存されていないと確認した後、前記ファイル識別標識を前記記憶ユニットに保存するステップと、
スキャンエンジンを呼び出して前記被スキャンファイルのスキャン結果を取得した後、前記スキャン結果を前記記憶ユニットに保存するステップとを含む
ことを特徴とする請求項4に記載の方法。 - 前記被スキャンファイルを再びスキャン対象とするとき、前記ファイル識別標識に基づいて前記記憶ユニットから前記被スキャンファイルのスキャン結果を照会して取得するステップは、
前記ファイル識別標識に基づいて前記記憶ユニットを照会し、前記記憶ユニットに前記ファイル識別標識が保存されている場合、前記ファイル識別標識に基づいて前記記憶ユニットから前記被スキャンファイルのスキャン結果を照会して取得するステップを含む
ことを特徴とする請求項1〜3のいずれか1項に記載の方法。 - 前記被スキャンファイルのハードリンク数が1である場合、スキャンエンジンを呼び出して前記被スキャンファイルをスキャンして前記被スキャンファイルのスキャン結果を取得するステップを更に含む
ことを特徴とする請求項1〜3のいずれか1項に記載の方法。 - スキャン対象となる被スキャンファイルのハードリンク数を取得するハードリンク数取得ユニットと、
前記被スキャンファイルのハードリンク数が1より大きい場合、前記被スキャンファイルを初めてスキャン対象とするとき、スキャンエンジンを呼び出して前記被スキャンファイルをスキャンして前記被スキャンファイルのスキャン結果を取得し、前記被スキャンファイルを一意的に識別するファイル識別標識及び対応する前記被スキャンファイルのスキャン結果を記憶ユニットに保存する第一処理ユニットと、
前記ファイル識別標識と前記スキャン結果を保存する記憶ユニットと、
前記被スキャンファイルのハードリンク数が1より大きい場合、前記被スキャンファイルを再びスキャン対象とするとき、前記ファイル識別標識に基づいて前記記憶ユニットから前記被スキャンファイルのスキャン結果を照会して取得する第二処理ユニットとを含む
ことを特徴とするファイルをスキャンする装置。 - メモリにおける前記被スキャンファイルの記憶位置に基づいて前記ファイル識別標識を決定する標識決定ユニットを更に含む
ことを特徴とする請求項8に記載の装置。 - 前記標識決定ユニットは、
ディスクにおける前記被スキャンファイルの記憶位置を取得し前記ファイル識別標識とする第一取得モジュールを含み、又は、
前記標識決定ユニットは、
前記被スキャンファイルが記憶されるディスクのディスク標識及びディスクにおける前記被スキャンファイルの記憶位置を取得する第二取得モジュールと、
前記被スキャンファイルが記憶されるディスクのディスク標識及びディスクにおける前記被スキャンファイルの記憶位置に基づいて前記ファイル識別標識を決定する標識決定モジュールとを含む
ことを特徴とする請求項9に記載の装置。 - 前記第一処理ユニットは、
前記ファイル識別標識に基づいて前記記憶ユニットを照会し、前記記憶ユニットに前記ファイル識別標識が保存されていないと確認したとき、スキャンエンジンに対する呼び出しをトリガーする第一トリガーモジュールを含む
ことを特徴とする請求項8〜10のいずれか1項に記載の装置。 - 前記第一処理ユニットは、
前記ファイル識別標識を前記記憶ユニットに保存する標識保存モジュールと、
前記第一処理ユニットによって前記被スキャンファイルのスキャン結果を取得した後、前記スキャン結果を前記記憶ユニットに保存する結果保存モジュールとを更に含み、
前記第一トリガーモジュールは、更に、前記記憶ユニットに前記ファイル識別標識が保存されていないと確認したとき、前記標識保存モジュールをトリガーするように構成されていることを特徴とする請求項11に記載の装置。 - 前記第二処理ユニットは、
前記ファイル識別標識に基づいて前記記憶ユニットから前記被スキャンファイルのスキャン結果を照会して取得する結果取得モジュールと、
前記ファイル識別標識に基づいて前記記憶ユニットを照会し、前記記憶ユニットに前記ファイル識別標識が保存されていると確認したとき、結果取得モジュールをトリガーする第二トリガーモジュールとを含む
ことを特徴とする請求項8〜10のいずれか1項に記載の装置。 - 前記被スキャンファイルのハードリンク数が1である場合、スキャンエンジンを呼び出して前記被スキャンファイルをスキャンして前記被スキャンファイルのスキャン結果を取得する第三処理ユニットを更に含む
ことを特徴とする請求項8〜10のいずれか1項に記載の装置。 - コンピュータプログラムを含むコンピュータ記憶媒体であって、前記コンピュータプログラムが一つ又は複数のコンピュータによって実行されるとき、前記一つ又は複数のコンピュータは、請求項1〜7のいずれか一項に記載のファイルをスキャンする方法を実行するように構成されている
ことを特徴とするコンピュータ記憶媒体。 - 少なくとも一つのプロセッサと、メモリと、少なくとも一つのコンピュータプログラムとを含む機器において、
少なくとも一つのコンピュータプログラムは、前記メモリに記憶されており、前記少なくとも一つのプロセッサによって実行される場合には、
請求項1〜7のいずれか一項に記載のファイルをスキャンする方法を実行するように構成されている
ことを特徴とする機器。 - コンピュータで実行されると、前記コンピュータに、請求項1〜7のいずれか1項に記載のファイルをスキャンする方法を実行させるコンピュータプログラム。
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410421430.0 | 2014-08-25 | ||
CN201410421430.0A CN104182519B (zh) | 2014-08-25 | 2014-08-25 | 一种文件扫描方法及装置 |
PCT/CN2014/085545 WO2016029441A1 (zh) | 2014-08-25 | 2014-08-29 | 一种文件扫描方法及装置 |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2017511515A JP2017511515A (ja) | 2017-04-20 |
JP6154960B2 true JP6154960B2 (ja) | 2017-06-28 |
Family
ID=51963558
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2016544706A Active JP6154960B2 (ja) | 2014-08-25 | 2014-08-29 | ファイルをスキャンする方法及び装置 |
Country Status (5)
Country | Link |
---|---|
US (1) | US10049113B2 (ja) |
JP (1) | JP6154960B2 (ja) |
KR (1) | KR101738078B1 (ja) |
CN (1) | CN104182519B (ja) |
WO (1) | WO2016029441A1 (ja) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104268288B (zh) * | 2014-10-21 | 2018-06-19 | 福州瑞芯微电子股份有限公司 | 一种基于ntfs的媒体库扫描方法及装置 |
CN106469049B (zh) * | 2015-08-19 | 2020-09-29 | 腾讯科技(深圳)有限公司 | 一种文件扫描的方法及装置 |
CN105718800A (zh) * | 2016-01-18 | 2016-06-29 | 北京金山安全管理系统技术有限公司 | 一种快速病毒扫描查杀方法和装置 |
CN111400004B (zh) * | 2020-03-12 | 2023-10-31 | Oppo广东移动通信有限公司 | 视频扫描中断处理方法及装置、存储介质和电子设备 |
CN114860656A (zh) * | 2022-04-12 | 2022-08-05 | 深圳市绿联科技股份有限公司 | 一种文件扫描方法、装置、电子设备以及存储介质 |
CN116719559B (zh) * | 2022-07-20 | 2024-06-11 | 广州众远智慧科技有限公司 | 红外扫描的方法以及其装置 |
Family Cites Families (27)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6389433B1 (en) * | 1999-07-16 | 2002-05-14 | Microsoft Corporation | Method and system for automatically merging files into a single instance store |
JP2003022206A (ja) * | 2001-07-06 | 2003-01-24 | Fujitsu Ltd | ファイル管理プログラムおよびファイル管理装置 |
US7444317B2 (en) * | 2002-06-28 | 2008-10-28 | Microsoft Corporation | System and method for managing file names for file system filter drivers |
US7260847B2 (en) | 2002-10-24 | 2007-08-21 | Symantec Corporation | Antivirus scanning in a hard-linked environment |
US7516422B2 (en) * | 2005-07-21 | 2009-04-07 | International Business Machines Corporation | Graphical display of hierarchical hardlinks to files in a file system |
US7401089B2 (en) * | 2005-08-17 | 2008-07-15 | Microsoft Corporation | Storage reports file system scanner |
JP4755244B2 (ja) * | 2006-03-02 | 2011-08-24 | 富士通株式会社 | 情報生成方法、情報生成プログラム及び情報生成装置 |
US8082227B2 (en) * | 2006-10-10 | 2011-12-20 | Emc Corporation | Session sensitive data backups and restores |
US7814077B2 (en) * | 2007-04-03 | 2010-10-12 | International Business Machines Corporation | Restoring a source file referenced by multiple file names to a restore file |
CN101370002A (zh) * | 2007-08-17 | 2009-02-18 | 万能 | 利用互联网发布与空间位置信息相关联的其它信息的方法 |
JP2009163367A (ja) | 2007-12-28 | 2009-07-23 | Nec Corp | ファイルシステム、プログラム及びファイルの管理方法 |
CN101196932B (zh) * | 2008-01-04 | 2011-04-06 | 中国农业大学 | 一种建立图纸数据库的方法及装置 |
US9342528B2 (en) * | 2010-04-01 | 2016-05-17 | Avere Systems, Inc. | Method and apparatus for tiered storage |
US8015221B1 (en) * | 2008-11-10 | 2011-09-06 | Symantec Corporation | Systems and methods for maintaining file-type information |
JP2011203939A (ja) | 2010-03-25 | 2011-10-13 | Nec Corp | ファイル管理装置、ファイル管理方法、およびファイル管理プログラム |
JP5652220B2 (ja) | 2011-01-20 | 2015-01-14 | 富士ゼロックス株式会社 | ファイル管理装置及びプログラム |
US8943595B2 (en) * | 2011-07-15 | 2015-01-27 | International Business Machines Corporation | Granular virus detection |
US8756249B1 (en) * | 2011-08-23 | 2014-06-17 | Emc Corporation | Method and apparatus for efficiently searching data in a storage system |
US8972466B1 (en) * | 2011-12-15 | 2015-03-03 | Symantec Corporation | Efficient reverse name lookup in a file system |
CN102750463A (zh) * | 2011-12-16 | 2012-10-24 | 北京安天电子设备有限公司 | 一种提高重复扫描文件速度的系统及方法 |
US9104675B1 (en) * | 2012-05-01 | 2015-08-11 | Emc Corporation | Inode to pathname support with a hard link database |
CN103473240A (zh) * | 2012-06-08 | 2013-12-25 | Tcl集团股份有限公司 | 一种基于存储设备的文件扫描方法及装置 |
CN102982121B (zh) * | 2012-11-12 | 2015-11-11 | 北京奇虎科技有限公司 | 一种文件扫描方法、文件扫描装置及文件检测系统 |
US20140201177A1 (en) * | 2013-01-11 | 2014-07-17 | Red Hat, Inc. | Accessing a file system using a hard link mapped to a file handle |
JP2014182417A (ja) * | 2013-03-18 | 2014-09-29 | Fujitsu Ltd | ファイルシステム検証方法、ファイルシステム検証プログラム、および情報処理装置 |
CN103473350B (zh) | 2013-09-24 | 2016-10-05 | 北京奇虎科技有限公司 | 文件处理方法及设备 |
CN104536961A (zh) * | 2014-11-04 | 2015-04-22 | 深圳创维数字技术有限公司 | 一种本地媒体文件的扫描方法及系统 |
-
2014
- 2014-08-25 CN CN201410421430.0A patent/CN104182519B/zh active Active
- 2014-08-29 KR KR1020157037224A patent/KR101738078B1/ko active IP Right Grant
- 2014-08-29 JP JP2016544706A patent/JP6154960B2/ja active Active
- 2014-08-29 US US14/777,155 patent/US10049113B2/en active Active
- 2014-08-29 WO PCT/CN2014/085545 patent/WO2016029441A1/zh active Application Filing
Also Published As
Publication number | Publication date |
---|---|
US10049113B2 (en) | 2018-08-14 |
CN104182519A (zh) | 2014-12-03 |
US20160203149A1 (en) | 2016-07-14 |
JP2017511515A (ja) | 2017-04-20 |
WO2016029441A1 (zh) | 2016-03-03 |
KR20160034858A (ko) | 2016-03-30 |
KR101738078B1 (ko) | 2017-05-19 |
CN104182519B (zh) | 2018-03-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6154960B2 (ja) | ファイルをスキャンする方法及び装置 | |
JP4979934B2 (ja) | 拡張ファイルシステム | |
CN106897072B (zh) | 业务工程调用方法、装置及电子设备 | |
CN103119551B (zh) | 优化的恢复 | |
CN109032803B (zh) | 数据处理方法和装置、客户端 | |
CN107391632B (zh) | 数据库存储处理方法、装置、计算设备及计算机存储介质 | |
JP6870466B2 (ja) | 制御プログラム、制御方法、制御装置、及びデータベースサーバ | |
US9063980B2 (en) | Log consolidation | |
US20190273772A1 (en) | Data processing method and apparatus in service-oriented architecture system, and the service-oriented architecture system | |
EP3058481A1 (en) | Acceleration based on cached flows | |
CN109145053B (zh) | 数据处理方法和装置、客户端、服务器 | |
US9684668B1 (en) | Systems and methods for performing lookups on distributed deduplicated data systems | |
CN107844360B (zh) | 一种硬盘执行应用代码的方法及装置 | |
US9639577B1 (en) | Systems and methods for determining membership of an element within a set using a minimum of resources | |
CN110837499B (zh) | 数据访问处理方法、装置、电子设备和存储介质 | |
WO2012171363A1 (zh) | 分布式缓存系统中的数据操作方法和装置 | |
CN106446080B (zh) | 数据查询的方法、查询服务设备、客户端设备和数据系统 | |
JP5494817B2 (ja) | ストレージシステム、データ管理装置、方法及びプログラム | |
US11340964B2 (en) | Systems and methods for efficient management of advanced functions in software defined storage systems | |
CN111225075A (zh) | 物联网定向访问业务的配置方法及装置 | |
CN110275863A (zh) | 文件移动方法、装置及存储介质 | |
CN111177478A (zh) | 一种查询方法、装置及系统 | |
US10248411B2 (en) | Dynamic data ingestion | |
JP6481355B2 (ja) | プロセス管理装置、方法及びプログラム | |
WO2024017100A1 (zh) | 获取代码片段的方法、装置及存储介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20170131 |
|
A975 | Report on accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A971005 Effective date: 20161219 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20170428 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20170516 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20170602 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6154960 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313113 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |