Method and system for script processing in script implementation of HTTP to obtain information from devices
First Claim
1. A method of extracting status information from within a script of a web page stored on a monitored device communicatively coupled to a network using an HTTP communication protocol, comprising:
- obtaining, based on vendor and model information, an identification of the web page and at least one parameter string used to extract the status information from within the script of the web page;
accessing the web page using the identification of the web page and the HTTP protocol to obtain a line of the web page within the script;
parsing the obtained line of the web page to determine if a parameter string of the at least one parameter string is located within the obtained line;
if the parsing step determines that the parameter string is not located within the obtained line, repeating the accessing and parsing steps until the parameter string is located;
if the parsing step determines that the parameter string is located within the obtained line, determining whether all parameter strings in the at least one parameter string have been located;
if the determining step determines that all parameter strings in the at least one parameter string have not been located, repeating the accessing, parsing, repeating, and determining steps until all parameter strings in the at least one parameter string have been located; and
if the determining step determines that all parameter strings have been located within the script, extracting the status information from the web page based on the location of a last located parameter string.
1 Assignment
0 Petitions
Accused Products
Abstract
A method, system, and computer program product for extracting status information from within a script of a web page stored on a monitored device communicatively coupled to a network using an HTTP communication protocol. The method includes the steps of obtaining, based on vendor and model information, an identification of the web page and at least one parameter string used to extract the status information from within the script of the web page; accessing the web page using the identification of the web page and the HTTP protocol to obtain a line of the web page within the script; and parsing the obtained line of the web page to determine if a parameter string of the at least one parameter string is located within the obtained line. If the parsing step determines that the parameter string is not located within the obtained line, the method repeats the accessing and parsing steps until the parameter string is located. If the parsing step determines that the parameter string is located within the obtained line, the method determines whether all parameter strings in the at least one parameter string have been located. If the determining step determines that all parameter strings in the at least one parameter string have not been located, the method repeats the accessing, parsing, repeating, and determining steps until all parameter strings in the at least one parameter string have been located. However, if the determining step determines that all parameter strings have been located within the script, the method extracts the status information from the web page based on the location of a last located parameter string.
73 Citations
15 Claims
-
1. A method of extracting status information from within a script of a web page stored on a monitored device communicatively coupled to a network using an HTTP communication protocol, comprising:
-
obtaining, based on vendor and model information, an identification of the web page and at least one parameter string used to extract the status information from within the script of the web page;
accessing the web page using the identification of the web page and the HTTP protocol to obtain a line of the web page within the script;
parsing the obtained line of the web page to determine if a parameter string of the at least one parameter string is located within the obtained line;
if the parsing step determines that the parameter string is not located within the obtained line, repeating the accessing and parsing steps until the parameter string is located;
if the parsing step determines that the parameter string is located within the obtained line, determining whether all parameter strings in the at least one parameter string have been located;
if the determining step determines that all parameter strings in the at least one parameter string have not been located, repeating the accessing, parsing, repeating, and determining steps until all parameter strings in the at least one parameter string have been located; and
if the determining step determines that all parameter strings have been located within the script, extracting the status information from the web page based on the location of a last located parameter string. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A computer-implemented system for extracting status information from within a script of a web page stored on a monitored device communicatively coupled to a network using an HTTP communication protocol, comprising:
-
means for obtaining, based on vendor and model information, an identification of the web page and at least one parameter string used to extract the status information from within the script of the web page;
means for accessing the web page using the identification of the web page and the HTTP protocol to obtain a line of the web page within the script;
means for parsing the obtained line of the web page to determine if a parameter string of the at least one parameter string is located within the obtained line;
means for causing the repeated execution of the means for accessing and the means for parsing until the parameter string is located, if the means for parsing determines that the parameter string is not located within the obtained line;
means for determining whether all parameter strings in the at least one parameter string have been located, if the means for parsing determines that the parameter string is located within the obtained line;
means for causing the repeated execution of the means for accessing, the means for parsing, the means for causing, and the means for determining until all parameter strings in the at least one parameter string have been located, if the means for determining determines that all parameter strings in the at least one parameter string have not been located; and
means for extracting the status information from the web page based on the location of a last located parameter string, if the means for determining determines that all parameter strings have been located within the script. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A computer program product storing instructions for execution on a computer system, which when executed by the computer system, causes the computer system to extract status information from within a script of a web page stored on a monitored device communicatively coupled to a network using an HTTP communication protocol, comprising:
-
instructions for obtaining, based on vendor and model information, an identification of the web page and at least one parameter string used to extract the status information from within the script of the web page;
instructions for accessing the web page using the identification of the web page and the HTTP protocol to obtain a line of the web page within the script;
instructions for parsing the obtained line of the web page to determine if a parameter string of the at least one parameter string is located within the obtained line;
instructions for causing the repeated execution of the instructions for accessing and the instructions for parsing until the parameter string is located, if the instructions for parsing determines that the parameter string is not located within the obtained line;
instructions for determining whether all parameter strings in the at least one parameter string have been located, if the instructions for parsing determines that the parameter string is located within the obtained line;
instructions for causing the repeated execution of the instructions for accessing, the instructions for parsing, the instructions for causing, and the instructions for determining until all parameter strings in the at least one parameter string have been located, if the instructions for determining determines that all parameter strings in the at least one parameter string have not been located; and
instructions for extracting the status information from the web page based on the location of a last located parameter string, if the instructions for determining determines that all parameter strings have been located within the script. - View Dependent Claims (12, 13, 14, 15)
-
Specification