Systems and method for optimizing tag based protocol stream parsing
First Claim
1. A method for optimizing tag based protocol stream parsing, using a reference tag table comprising at least one tag and a corresponding function name, said method comprising, each time a tag is read from said tag based protocol stream, the steps of:
- comparing said read tag and the tags of said reference tag table and, if said read tag belongs to said reference tag table, determining if a function name is associated to said tag belonging to said reference tag table and, if a function name is associated to said tag belonging to said reference tag table, executing the function corresponding to said function name associated to said tag belonging to said reference tag table.
0 Assignments
0 Petitions
Accused Products
Abstract
A method to optimize tag based protocol parsing adapted to execute functions according to tags of a tag based protocol stream is disclosed. A reference tag table, associated to the document type definition of the tag based protocol stream, comprises tags and corresponding attribute and function names. When the optimized tag based protocol parser gets a tag from the tag based protocol stream, it determines whether or not the tag is present in the reference tag table. If the tag is not found in this table, normal parsing continues. Else, if the tag is found in this table and if there is at least one associated the attribute names from the reference tag table and from the tag based protocol stream. If the attribute names match, the parser gets the attribute values from the tag based protocol stream before getting the name of the function associated to the tag and attribute names combination. Then, the parser executes the function.
29 Citations
10 Claims
-
1. A method for optimizing tag based protocol stream parsing, using a reference tag table comprising at least one tag and a corresponding function name, said method comprising, each time a tag is read from said tag based protocol stream, the steps of:
-
comparing said read tag and the tags of said reference tag table and, if said read tag belongs to said reference tag table, determining if a function name is associated to said tag belonging to said reference tag table and, if a function name is associated to said tag belonging to said reference tag table, executing the function corresponding to said function name associated to said tag belonging to said reference tag table. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
Specification