Method and system for vertical acquisition of data from HTML tables

Information

  • Patent Application
  • 20070240032
  • Publication Number
    20070240032
  • Date Filed
    April 07, 2006
    18 years ago
  • Date Published
    October 11, 2007
    17 years ago
Abstract
A method, system and computer program product for performing equivalence checking of a circuit design are disclosed. The method includes receiving the hypertext markup language document to a system and displaying the hypertext markup language document in a display window in a browser. Responsive to a user selecting data within a table of the hypertext markup language document and dragging a cursor of the system in a vertical direction while depressing a button on a user input-output device of the system, content is passed from the table to a DOM interpreter and parsing of the selected data to a formatted data structure is performed. A cursor location of the cursor for an initial selection within the hypertext markup language document is identified and a specific column number of the location is noted. For one or more rows a user selects while dragging the cursor, a location of an entry on the row and the specific column is identified and vertical acquisition of data from tables in a hypertext markup language document is performed by passing the entry to the browser to identify and highlight as selected data.
Description

BRIEF DESCRIPTION OF THE DRAWINGS

The novel features believed characteristic of the invention are set forth in the appended claims. The invention itself, however, as well as a preferred mode of use, further objects and advantages thereof, will best be understood by reference to the following detailed descriptions of an illustrative embodiment when read in conjunction with the accompanying drawings, wherein:



FIG. 1 depicts a block diagram of a general-purpose data processing system with which a preferred embodiment of the present invention of a method, system and computer program product for vertical acquisition of data from tables in a hypertext markup language document may be used;



FIG. 2 is an example of table data illustrating vertical acquisition of data from tables in a hypertext markup language document in accordance with a preferred embodiment of the present invention; and



FIG. 3 is a high-level logical flowchart of a process for vertical acquisition of data from tables in a hypertext markup language document in accordance with a preferred embodiment of the present invention.





DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT

The present invention provides a method, system, and computer program product for performing sequential equivalence checking with multiple initial states. The present invention includes a method for denoting which registers are to have constant and non-constant initial values, for identifying correspondence of initial states of one design to states of the other, and for performing an equivalence check upon the designs with all of their corresponding initial states in parallel. The present invention enables dramatic savings in computational resources for designs with multiple initial states in allowing them to run in parallel, and simplifies the process of specifying nontrivial initial value mappings between the two designs.


With reference now to the figures, and in particular with reference to FIG. 1, a block diagram of a general-purpose data processing system, in accordance with a preferred embodiment of the present invention, is depicted. Data processing system 100 contains a processing storage unit (e.g., RAM 102) and a processor 104. Data processing system 100 also includes non-volatile storage 106 such as a hard disk drive or other direct-access storage device. An Input/Output (I/O) controller 108 provides connectivity to a network 110 through a wired or wireless link, such as a network cable 112. I/O controller 108 also connects to user I/O devices 114 such as a keyboard, a display device, a mouse, or a printer through wired or wireless link 116, such as cables or a radio-frequency connection. System interconnect 118 connects processor 104, RAM 102, storage 106, and I/O controller 108.


Within RAM 102, data processing system 100 stores several items of data and instructions while operating in accordance with a preferred embodiment of the present invention. These include an operating system 130, a copy buffer 144, a browser 120, and applications 128. Browser 120 enables the viewing of a downloaded HTML file 140 containing a table 142. Within browser 120, a controller 122 guides the operation of an HTML interpreter 124, a DOM interpreter 126, driver software 132, and HTTP client 134 and a network interface 138. HTML interpreter 124 interpreter and document object model (DOM) interpreter 124 translate the content of downloaded HTML file 140 and provide output to driver 132 for provision to operating system 130 and direction to user I/O 114 through I/O controller 108 and wired or wireless link 116. HTTP client 134 handles the acquisition of data from network 110 over network cable 112 through the manipulation of operating system 130 under the supervision of network interface 138.


Turning now to FIG. 2, an example of table data illustrating vertical acquisition of data from tables in a hypertext markup language document in accordance with a preferred embodiment of the present invention is illustrated. Downloaded HTML file 140 contains a main table 142 and a subsidiary table 200. Downloaded HTML file 140 starts with a document type identifier 202 followed by an <HTML> tag 204 and a header 206. Body 208 contains main table 142 and a subsidiary table 200. Elements of a single column 210 are selected through use of a preferred embodiment of the present invention. Position indicators 212-220 are provided for clarity in the drawing, but are not part of downloaded HTML file 140.


Referring now to FIG. 3, a high-level logical flowchart of a process for vertical acquisition of data from tables in a hypertext markup language document is depicted. The process starts at step 300 and then proceeds to step 302, which depicts browser 120 displaying downloaded HTML file 140 containing table 142. The process next moves to step 304. Step 304 illustrates a user using user I/O 114 to select text within table 142. The process then proceeds to step 306, which depicts a user using user I/O 114 to drag a cursor while depressing a mouse button upward or downward.


The process then moves to step 308. At step 308, controller 122 passes loaded HTML data from downloaded HTML file 140 to DOM interpreter 126. The process then proceeds to step 310, which depicts DOM interpreter 126 parsing data to navigable XML or other formatted data structures. The process next proceeds to step 312. At step 312 DOM interpreter 126 identifies a cursor location from user I/O 114 of the initial selection within downloaded HTML file 140. The process then proceeds to step 314.


At step 314, DOM interpreter 126 makes note of the specific column number within table 142 of downloaded HTML file 140 indicated by user I/O 114. The process then proceeds to step 316, which illustrates DOM interpreter 126 navigating up two parent nodes within table 142 of downloaded HTML file 140. The process then proceeds to step 318. At step 318, DOM interpreter 126 navigates through each row of table 142. The process next moves to step 320.


At step 320, for each row that a user enters with user I/O 114 while dragging a cursor, controller 122 identifies a value of table 142 in downloaded HTML file 140, passing contents to controller 122 to identify, highlight and treat as selected data. The process then moves to step 322. At step 322, controller 122 uses DOM interpreter 126 to continue through each row, selecting contents of the identified column as selected data. The process then ends at step 324. The user can then copy the data to a copy buffer 144.


While the invention has been particularly shown as described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention. It is also important to note that although the present invention has been described in the context of a fully functional computer system, those skilled in the art will appreciate that the mechanisms of the present invention are capable of being distributed as a program product in a variety of forms, and that the present invention applies equally regardless of the particular type of signal bearing media utilized to actually carry out the distribution. Examples of signal bearing media include, without limitation, recordable type media such as floppy disks or CD ROMs and transmission type media such as analog or digital communication links.

Claims
  • 1. A method for performing vertical acquisition of data from tables in a hypertext markup language document, said method comprising: receiving said hypertext markup language document to a system;displaying said hypertext markup language document in a display window in a browser;responsive to a user selecting data within a table of said hypertext markup language document and dragging a cursor of said system in a vertical direction while depressing a button on a user input-output device of said system, passing content from said table to a DOM interpreter;parsing said selected data to a formatted data structure;identifying a cursor location of said cursor for an initial selection within said hypertext markup language document;noting a specific column number of said location;for one or more rows a user selects while dragging said cursor, identifying a location of an entry on said row and said specific column; andperforming vertical acquisition of data from tables in a hypertext markup language document by passing said entry to said browser to identify and highlight as selected data.
  • 2. The method of claim 1, further comprising copying said data to a copy buffer.
  • 3. The method of claim 1, wherein said step of navigating through one or more rows of said table further comprises said DOM navigating through one or more rows of said table.
  • 4. The method of claim 1, wherein said step of noting a specific column number further comprises said DOM noting a specific column number of said table within said hypertext markup language document.
  • 5. The method of claim 1, wherein said step of parsing data to a formatted data structure further comprises parsing data to an XML-formatted data structure.
  • 6. The method of claim 1, further comprising navigating up two parent nodes from said column number.
  • 7. The method of claim 1, further comprising navigating through one or more rows of said table at said column number.
  • 8. A system for performing vertical acquisition of data from tables in a hypertext markup language document, said system comprising: receiving said hypertext markup language document to a system;displaying said hypertext markup language document in a display window in a browser;responsive to a user selecting data within a table of said hypertext markup language document and dragging a cursor of said system in a vertical direction while depressing a button on a user input-output device of said system, passing content from said table to a DOM interpreter;parsing said selected data to a formatted data structure;identifying a cursor location of said cursor for an initial selection within said hypertext markup language document;noting a specific column number of said location;for one or more rows a user selects while dragging said cursor, identifying a location of an entry on said row and said specific column; andperforming vertical acquisition of data from tables in a hypertext markup language document by passing said entry to said browser to identify and highlight as selected data.
  • 9. The system of claim 8, further comprising copying said data to a copy buffer.
  • 10. The system of claim 8, wherein said step of navigating through one or more rows of said table further comprises said DOM navigating through one or more rows of said table.
  • 11. The system of claim 8, wherein said step of noting a specific column number further comprises said DOM noting a specific column number of said table within said hypertext markup language document.
  • 12. The system of claim 8, wherein said step of parsing data to a formatted data structure further comprises parsing data to an XML-formatted data structure.
  • 13. The system of claim 8, further comprising navigating up two parent nodes from said column number.
  • 14. The system of claim 8, further comprising navigating through one or more rows of said table at said column number.
  • 15. A machine-readable medium having a plurality of instructions processable by a machine embodied therein, wherein said plurality of instructions, when processed by said machine, causes said machine to perform a method, comprising: receiving said hypertext markup language document to a system;displaying said hypertext markup language document in a display window in a browser;responsive to a user selecting data within a table of said hypertext markup language document and dragging a cursor of said system in a vertical direction while depressing a button on a user input-output device of said system, passing content from said table to a DOM interpreter;parsing said selected data to a formatted data structure;identifying a cursor location of said cursor for an initial selection within said hypertext markup language document;noting a specific column number of said location;for one or more rows a user selects while dragging said cursor, identifying a location of an entry on said row and said specific column; andperforming vertical acquisition of data from tables in a hypertext markup language document by passing said entry to said browser to identify and highlight as selected data.
  • 16. The machine-readable medium of claim 15, said method further comprising copying said data to a copy buffer.
  • 17. The machine-readable medium of claim 15, wherein said step of navigating through one or more rows of said table further comprises said DOM navigating through one or more rows of said table.
  • 18. The machine-readable medium of claim 15, wherein said step of noting a specific column number further comprises said DOM noting a specific column number of said table within said hypertext markup language document.
  • 19. The machine-readable medium of claim 15, wherein said step of parsing data to a formatted data structure further comprises parsing data to an XML-formatted data structure.
  • 20. The machine-readable medium of claim 15, said method further comprising navigating up two parent nodes from said column number.