Method and system for using vectors of data structures for extracting information from web pages of remotely monitored devices
First Claim
1. In a communication system having one or more monitored devices communicatively coupled to a monitoring system, a method of obtaining status information of a monitored device, comprising:
- creating a communication session using an HTTP protocol with the monitored device;
accessing a web page of the monitored device in order to obtain information in the web page;
parsing a line of the information using first and second data structure vectors in an attempt to obtain the status information of the monitored device, the first and second data structure vectors having a same number of elements;
removing corresponding elements from the first and second data structure vectors when the status information is obtained in the parsing step; and
closing the communication session upon parsing all the lines in the web page or upon obtaining all desired status information.
1 Assignment
0 Petitions
Accused Products
Abstract
In a communication system having one or more monitored devices communicatively coupled to a monitoring system, a method of obtaining status information of a monitored device is described. The method includes creating a communication session using HTTP protocol with the monitored device, ii) accessing a web page of the monitored device in order, to obtain information displayed on the web page, iii) parsing the displayed information using a first and second data structure vectors in order to obtain the status information of the monitored device, and iv) closing the communication session upon parsing all the information displayed on the web page or upon obtaining desired status information.
42 Citations
18 Claims
-
1. In a communication system having one or more monitored devices communicatively coupled to a monitoring system, a method of obtaining status information of a monitored device, comprising:
-
creating a communication session using an HTTP protocol with the monitored device; accessing a web page of the monitored device in order to obtain information in the web page; parsing a line of the information using first and second data structure vectors in an attempt to obtain the status information of the monitored device, the first and second data structure vectors having a same number of elements; removing corresponding elements from the first and second data structure vectors when the status information is obtained in the parsing step; and closing the communication session upon parsing all the lines in the web page or upon obtaining all desired status information. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A method of obtaining information from a web page of a monitored device, comprising:
-
reading information in the web page; parsing the read information; determining a key and corresponding value information, using each element of first and second data structure vectors, for each line of information in the web page, the first and second data structure vectors having a same number of elements; and removing an element from each of said first and second data structure vectors if a key and a corresponding value information are found for the element. - View Dependent Claims (11, 12, 13, 14)
-
-
15. In a communication system having one or more monitored devices communicatively coupled to a monitoring system, a monitoring computer including a processor configured to obtain status information of a monitored device, the monitoring computer comprising:
-
means for creating a communication session using an HTTP protocol with the monitored device; means for accessing a web page of the monitored device in order to obtain information in the web page; means for parsing a line of the information using first and second data structure vectors to attempt to obtain the status information of the monitored device, the first and second data structure vectors having a same number of elements; means for removing corresponding elements from the first and second data structure vectors when the status information is obtained by the means for parsing; and means for closing the communication session upon parsing all the lines in the web page or upon obtaining all desired status information.
-
-
16. A monitoring computer having a processor configured to obtain information from a web page of a monitored device, the monitoring computer comprising:
-
means for reading information in a web page of the monitored device; means for parsing the read information; means for determining a key and corresponding value information, using each element of first and second data structure vectors, for each line of information in the web page, the first and second data structure vectors having a same number of elements; and means for removing an element from each of said first and second data structure vectors if a key and a corresponding value information are found for the element.
-
-
17. A computer program product having a computer readable medium for obtaining information from a monitored device, comprising:
-
instructions for reading information in a web page of the monitored device; instructions for parsing the read information; instructions for determining a key and corresponding value information, using each element of first and second data structure vectors, for each line of information in the web page, the first and second data structure vectors having a same number of elements; and instructions for removing an element from each of said first and second data structure vectors if a key and a corresponding value information are found for the element.
-
-
18. A method of obtaining status information of a device, comprising:
-
creating a communication session using an HTTP protocol with the device; accessing a web page of the device in order to obtain information in a web page of the device; parsing a line of information obtained from the web page using first and second data structure vectors, the first and second data structure vectors having a same number of elements; removing corresponding elements from the first and second data structures when the status information is obtained in the parsing step; and closing the communication session upon parsing all the lines in the web page or upon obtaining all desired status information.
-
Specification