Extensible markup language pattern matching method

Huo Hongwei,Guo Haitao,Gao Pei,Zhang Yipu,Yu Qiang,Sun Chunxiao,Guo Hongzhi
2013-01-01
Abstract:The invention discloses an extensible markup language pattern machining method, aiming to solve the problems of the prior art in pattern expression form, complex match discovery, matching efficiency and the like. The method includes the following steps: inputting extensible markup language patterns; establishing a pattern tree; constructing a sequential structure; performing name, data type and cardinal number matching on all elements to acquire language similarity values of all element pairs; performing child similarity, leaf similarity, brother similarity and ancestor similarity matching on complex elements to acquire structural and overall similarity values of complex element pairs, and filtering and finding out matched complex element pairs; as for each matched complex element, finding out an atom set corresponding to each element pair; as for atom-centralized elements, applying an uncomplicated element structural matching method to calculating structural and overall similarity values of atom elements, filtering and finding out matched element pairs, and outputting all the matched element pairs. Automation is realized during the whole process of the method, and matching efficiency is improved on the premise that matching quality is guaranteed.
What problem does this paper attempt to address?