Pattern-matching system
First Claim
1. An apparatus for pattern-matching characters in a stream of received characters, the apparatus comprising:
- a character processing unit comprising means for storing characters, and means for comparing a received input character with at least one stored character; and
a controller for controlling the character processing unit, the controller including means for receiving an input stream of characters of a document to be pattern-matched and means for controlling the character processing unit to compare characters from the input stream with characters stored by the character processing unit, the controller comprising;
means for assessing characters in the received character stream and then selectively controlling and using the character processing unit on the basis of that assessment; and
means for parsing the document,wherein the character processing unit further comprises means for providing feedback to the controller as to whether the characters from the input stream match the characters stored by the character processing unit, the feedback enabling the controller to parse the document.
0 Assignments
0 Petitions
Accused Products
Abstract
An XML parsing system includes a pattern-matching system 1 that receives an input stream 2 of characters corresponding to the XML document to be parsed, and provides an output 3 for subsequent processing in software by a processor 4. The pattern matching system 1 includes two main components, a controller in the form of a programmable state machine 5, which is programmed with an appropriate state transition diagram 6, and a character processing unit 7 in the form of a token and character handler. The programmable state machine 5 controls the character processing unit 7 to, e.g., compare characters in the input character stream 2 with other received or stored characters. The character processing unit 7 then provides feedback to the programmable state machine controller 5, e.g., as to whether the compared characters match, so that the programmable state machine controller 5 can then parse the received document accordingly.
-
Citations
20 Claims
-
1. An apparatus for pattern-matching characters in a stream of received characters, the apparatus comprising:
-
a character processing unit comprising means for storing characters, and means for comparing a received input character with at least one stored character; and a controller for controlling the character processing unit, the controller including means for receiving an input stream of characters of a document to be pattern-matched and means for controlling the character processing unit to compare characters from the input stream with characters stored by the character processing unit, the controller comprising; means for assessing characters in the received character stream and then selectively controlling and using the character processing unit on the basis of that assessment; and means for parsing the document, wherein the character processing unit further comprises means for providing feedback to the controller as to whether the characters from the input stream match the characters stored by the character processing unit, the feedback enabling the controller to parse the document. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A method of pattern-matching characters in a stream of received characters, the method comprising:
-
storing at least one of a plurality of characters in a character processing unit comprising means for storing characters; selectively providing at least one of a plurality of characters from a received input character stream of a document to the character processing unit; controlling the character processing unit to compare a received input character with at least one of the characters stored by the character processing unit; assessing characters in the received input character stream and then selectively controlling and using the character processing unit according to the assessing; receiving feedback from the character processing unit as to whether the characters from the received input character stream match the characters stored by the character processing unit; and parsing the document based on the feedback received. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A method of pattern-matching characters in a stream of received characters, the method comprising:
-
receiving an input character stream of a document at a programmable state machine; the programmable state machine controlling a character processing unit that has stored at least one of a plurality of characters to compare characters in the received input character stream with a character or characters stored by the character processing unit; using the programmable state machine to assess the characters in the received input character stream and then selectively controlling and using the character processing unit according to the assessing; using the programmable state machine to receive feedback from the character processing unit as to whether the characters from the received input character stream match the characters stored by the character processing unit; and using the programmable state machine to parse the document based on the feedback received.
-
-
20. A program storage device readable by a digital processing apparatus and having a program of instructions which are tangibly embodied on the storage device and which are executable by the processing apparatus to perform a method of transporting packets of data, wherein each packet is assigned a number of priorities, the method comprising:
-
storing at least one of a plurality of characters in a character processing unit comprising means for storing characters; selectively providing at least one of a plurality of characters from a received input character stream of a document to the character processing unit; controlling the character processing unit to compare a received input character with at least one of the characters stored by the character processing unit; assessing characters in the received input character stream and then selectively controlling and using the character processing unit according to the assessing; receiving feedback from the character processing unit as to whether the characters from the received input character stream match the characters stored by the character processing unit; and parsing the document based on the feedback received.
-
Specification