ebook img

pattern search apparatus PDF

48 Pages·2013·1.76 MB·English
by  
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview pattern search apparatus

US005963942A United States Patent [19] [11] Patent Number: 5,963,942 Igata [45] Date of Patent: Oct. 5, 1999 [54] PATTERN SEARCH APPARATUS AND Alfred V. Aho et al., “Ef?cient String Matching: An Aid to METHOD Bibliographic Search”, Communications of the ACM, vol. [75] Inventor: Nobuyuki Igata, Kawasaki, Japan 18, No. 6, Jun., 1975, pp. 333—340. [73] Assignee: Fujitsu Limited, Kawasaki, Japan Daniel M. Sunday, “A Very Fast Substring Search Algo rithm”, Communications of the ACM, vol. 33, No. 8, Aug., [21] Appl. No.: 08/773,295 1990, pp. 133—143. [22] Filed: Dec. 24, 1996 N. Uratani, “A Fast Algorithm for Matching Multiple Pat [30] Foreign Application Priority Data terns”, Transactions of Information Processing Society of Japan, vol. 30, No. 9, Sep. 1989, pp. 1120—1123. Jan. 16, 1996 [JP] Japan .................................. .. 8-005236 [51] Int. Cl.6 .................................................... .. G06F 17/30 [52] 707/6; 707/3; 707/5; 707/7 Primary Examiner—Thomas G. Black [58] Field of Search .................................. .. 707/3, 6, 7, 5; Assistant Examiner—Diane D. MiZrahi 395/800.19; 345/326 Attorney, Agent, or Firm—Staas & Halsey, LLP [56] References Cited [57] ABSTRACT U.S. PATENT DOCUMENTS A search method selecting unit included in a pattern search 4,916,655 4/1990 Ohsone ..................................... .. 707/6 4,991,087 2/1991 Burkowski 707/3 apparatus can automatically select a search method With the 5,440,482 8/1995 Davis ......... .. 707/6 highest search speed from a plurality of search methods 5,544,049 8/1996 Henderson 707/7 according to the number of search patterns, form, etc., in 5,675,819 10/1997 SchuetZe .... .. .. 707/3 5,680,612 10/1997 Asada ..................................... 707/3 order to ?nd a search pattern in a search target. An optimum OTHER PUBLICATIONS search or replacement can be realized by ?nding or replacing the search pattern using the selected method. Robert S. Boyer et al., “A Fast String Searching Algorithm”, Communications of the ACM, vol. 20, No. 10, Oct., 1977, pp. 762—772. 29 Claims, 35 Drawing Sheets PATTERN SEARCH APPARATUS TCC SEARCH RETITCC SELECTINC UNIT U.S. Patent 0a. 5, 1999 Sheet 1 0f35 5,963,942 FIG. 1ARR|0R ART /' ourpurfl') 2579 {h {5 {his} {hers} FIG. 1B PRIORART 1.0 2O 3O 52 6O 73 8O 93 FIG. 1C PRIOR ART U.S. Patent 0a. 5, 1999 Sheet 2 0f35 5,963,942 STGTQ GOST smart / KEYWORD STOTQ east smart TEXT roomemosseost """"" " FIG. 2 PRIOR ART U.S. Patent 0a. 5, 1999 Sheet 3 0f35 5,963,942 “2:EE2;2:2 : h=E2225:;:::3 m U.S. Patent 0a. 5, 1999 Sheet 4 0f35 5,963,942 262::53253252::: m .3nU\. U.S. Patent 0a. 5, 1999 Sheet 5 0f35 5,963,942 :tz5ts.k l Ni Mi @g5u5t2:: .PXMF w2z_.:_.u5u._:um :EE5ZM.A IIL 1% =1 1'.g.ur5n3x0k.m;?k OEE8:25 53E:2m2: U.S. Patent 0a. 5, 1999 Sheet 6 0f35 5,963,942 "2:m95u6? m0m59“5--2 n“.o3..;. S“.3E... 25: 050: it; :33 2335 3_32. Z.3 3.N R.3 O3Nm. m.Um_m 2335 20m 2335 2mm Z.3 3.N 3.5 E.3 m3 m5 w 2:3 2:3 :3 22.33 :3 $5.3m m.m_ 3.3 E.3 m.m3 5,963,942 U.S. Patent 0a. 5, 1999 Sheet 7 0f35 SET TTF CHARATTEROSTRINGS TU BE SEARCHED ST LENGTH OF SHORTEST NO CHARACTER STRING IS 2 BYTES YES SELECTING \ DETERH T NAT I OH FUNCTION 83 V rST Aho- Corasick V 0 T0 TETTT SEARCH UNIT F | G . 7 U.S. Patent 0a. 5, 1999 Sheet 8 0f35 5,963,942 :VOID : like: := nlll 09 Om OOOwwN 0; m1N m.6 EWLL HOHVEIS U.S. Patent 0a. 5, 1999 Sheet 9 0f35 5,963,942 OO_ AmVomo>>>wx 00mm .m0; mmmzmwmmk0EhqDmZ 0OvN .._...... .._... . M...... . ..m......... . _-n o_ u - h _._.. . .DI;. _ - HINLL HQHVBS

Description:
according to the number of search patterns, form, etc., in order to wz_.u_m 2:5:@52: gut1%. O E 8:25. 5:2: 3Em. :5. tzskl. :5. EZMAIL .PXMF. Ni gunk
See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.