1. Technical Field
Embodiments of the present disclosure relate to data information displaying technology, and more particularly to a file reader and a method of displaying file information.
2. Description of Related Art
When reading an electronic document having related sections spread over many pages, a user must scroll back and forth when the user need to correlate different sections of a document, e.g., textual description with figures. A user could also open two instant of the same document and view them side by side if the display is large enough. Both methods are inconvenient, because one requires tedious scrolling back and forth and the other needs a large expensive display
The present disclosure, including the accompanying drawings, is illustrated by way of examples and not by way of limitation. It should be noted that references to “an” or “one” embodiment in this disclosure are not necessarily to the same embodiment, and such references mean “at least one.”
In general, the word “module”, as used herein, refers to logic embodied in hardware or firmware, or to a collection of software instructions, written in a programming language. One or more software instructions in the modules may be embedded in firmware, such as in an erasable programmable read only memory (EPROM). The modules described herein may be implemented as either software and/or hardware modules and may be stored in any type of non-transitory computer-readable medium or other storage device. Some non-limiting examples of non-transitory computer-readable media include CDs, DVDs, BLU-RAY, flash memory, and hard disk drives.
The client 100 further includes a storage device 20, a display device 30, and a processor 40. The storage device 20 can be a dedicated memory, such as an EPROM, a hard disk driver (HDD), or flash memory. In one embodiment, the storage device 20 stores files created by the client 100 or downloaded from the server 300 via the network 200. For example, the files created or downloaded can be patent publications or patent applications.
As shown in
In step S10, the identification module 11 identifies a drawing part and a text part of a file. In one embodiment, the file is a patent file in a PDF format. The drawing part of the patent file in the PDF format may include one or more figures. Each figure is labeled by a figure label, such as “FIG. 1” or “FIG. 2,” at either bottom or top of the figure. The figure may consist of one or more components distinguished by different component labels, such as “100,” “200.” The text part of the patent file includes several parts, such as a “Technical Field” part, a “Brief Description of The Drawings” part, a “Detailed Description” part, and a “Claims” part.
In step S20, the identification module 11 identifies the figure labels of the one or more figures in the drawing part and the component labels in each figure, and determines a coordinate range of each component label. In this embodiment, an optical character recognition (OCR) technology may be used to identify the character information. The coordinate range is a region enclosing the component label. For example, as shown in
In step S30, the identification module 11 determines if a display direction of each figure in the drawing part is the same as a preset direction (such as a horizontal direction), and adjusts the display direction of the figure to be the same as a preset direction by rotating the figure. In one embodiment, if the display direction of the component label in the figure is not the same as the preset direction, the display direction of the figure is determined as different from the preset direction. For example, as shown in
In step S40, the identification module 11 identifies brief descriptions of the figures, the component labels and component names from the text part. For example, the brief descriptions of the figures can be retrieved from the “Brief Description of The Drawings” part in the text part of the patent file. In one embodiment, the component labels and component names are identified from the text part using OCR technology in combination with grammar rules. For example, the identification module 11 reads a sentence “an LED lighting device 100 includes three LED arrays 110, 120, and 130, each having two terminals” from the “Detailed Description” part, and can identify the numerical component labels “100,” “110,” “120,” and “130” from the sentence, the word “an” is determined as an article, and the word “includes” is determined as a predicate, so the phrase “LED lighting device” between the word “and” and the component label “100” is determined as the component name of the component label “100.” Accordingly, the word “three” is determined as a quantifier, so the phrase “LED arrays” between the word “three” and the component labels “110,” “120,” and “130” is determined to be the component name of the component labels “110,” “120,” and “130.” Furthermore, the identification module 11 identifies the figure labels (such as “FIG. 1”) of the figures from the brief descriptions.
In step S50, the association module 12 creates associations between the one or more figures in the drawing part and the brief descriptions in the text part according to the figure labels. As mentioned above, the figure labels are respectively identified from the drawing part and the brief descriptions in the text part. For example, the brief descriptions in the text part may include a brief description as follows: “
In step S60, the displaying module 13 displays miniatures of the figures in the first area 50 of the user interface module 14, and displays a figure corresponding to a selected miniature in the second area 60 of the user interface module 14 (as shown in
In step S70, the displaying module 13 displays the brief descriptions of the figures in the fourth area 80 of the user interface module 14 (as shown in
In step S80, the displaying module 13 displays control buttons in the third area 70 of the user interface module 14 to control display of the figure displayed in the second area 60. For example, the control buttons may include a page-up button 71, an input box 72, a page-down button 73, and a rotation button 74 as shown in
In step S90, the displaying module 13 displays a brief description associated with the figure displayed in the second area 60 in a preset manner. In one embodiment, the preset manner may be to highlight the brief description associated with the figure displayed in the second area 60 (such as coloring or bolding the characters as shown in
In step S100, when a pointing device is detected as pointing to a coordinate range of a component label in the figure displayed in the second area 60, the displaying module 13 displays a component name corresponding to the component label in the second area 60. As shown in
Although certain disclosed embodiments of the present disclosure have been specifically described, the present disclosure is not to be construed as being limited thereto. Various changes or modifications may be made to the present disclosure without departing from the scope and spirit of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
101134083 | Sep 2012 | TW | national |