This application pertains to the field of digital media, and more particularly, to the field of merging digital content.
Users of electronic devices such as computers sometimes desire to merge digital content such as a web page into another digital content such as a word processing document. This is sometimes accomplished by a user selecting a link (for example, a hypertext link) within a current document, and in response to the selection of the link a software agent retrieves a digital content and merges it with the current document. An example maybe found in U.S. Pat. No. 6,415,278.
The claimed subject matter will be understood more fully from the detailed description given below and from the accompanying drawings of embodiments which should not be taken to limit claimed subject matter to the specific embodiments described, but are for explanation and understanding only.
At block 110, a second digital content is merged into a first digital content. The merge operation may include a wide range of possible techniques for merging the second. digital content into the first digital content. In one embodiment, the second digital content is appended to the end of the first digital content. Further, in one embodiment, the merge operation may include converting the second digital content from one format to another format that is consistent with the first digital content.
Digital content may reside locally within a computer system or may be distributed over a network. For example, digital content may be retrieved from a remote server via the Internet.
At block 120, a determination is made as to whether a request has been received to merge a third digital content into the first digital content. If such a request is received., processing continues at block 130.
A determination is made at block 130 as to whether the second digital content has been merged with the first digital content. If the second digital content merge operation has completed, a merge operation for the third digital content is initiated, as indicated at block 140. However, if the second digital content merge operation has not yet completed, at block 150 the request to merge the third digital content is placed in a queue for later processing. As used herein, the term “completed” in association with merge operation or request is meant to indicate that the associated merge operation or request has progressed at least to a point where a subsequent merge operation may begin
By allowing the third digital content merge request to be paced in a queue for later processing, a user initiating the third digital content merge request does not need to wait for the second digital content merge operation to complete before initiating the third digital content merge request.
As used herein, the term “queue” is meant to include any circuit, device, or technique for maintaining an operation request for later completion.
Although the example embodiment discussed above in connection with
At block 330, a determination is made as to whether one or more previously requested merge operations involving the first document are pending. If not, at block 360 the second document is merged into the first document. If a determination is made that there is one or more pending merge operations involving the first document, at block 340 the current request is placed in a queue.
At block 350, a determination is made as to whether the previously requested. merge operation or operations have completed. If the previously requested merge operation or operations have completed, at block 360 the current request is completed and the second document is merged into the first document.
As mentioned above, for this example embodiment the first document and the second document may comprise differing formats. For example, the first document may comprise a physical markup format and the second document may comprise a semantic markup format. A markup language may be a set of codes or tags which may be embedded within a document to describe how the document should be displayed on a display device. With physical markup document formats, the document layout may be fixed. Some physical markup document formats may have paginated representations that may include pages having a respective physical width and physical height. Also, font sizes may be fixed. Some physical markup document formations may lack pagination. Semantic markup formats may lack fixed document formats. Semantic markup formats may also lack fixed page dimensions and may also lack pagination information, but may identify some characteristics of a document including line spacing or font size. The precise manner in which these characteristics are to be displayed for semantic markup documents may be left to a software agent, such as a web browser.
Many of the documents accessible on the World Wide Web are encoded using a semantic markup language known as the Hypertext Markup Language (HTML). HTML is merely one example of a semantic markup language. Extensible Markup Language (XML) comprises another example of a semantic markup language. One example of a physical markup representation comprises portable document format (PDF) files.
To merge the second document of a second format type into a first document of a first format type, a conversion from one format to the other may take place. For example, one embodiment may convert a semantic markup format document into a physical markup format to be incorporated, into a physical markup document.
For one embodiment, converting from a semantic markup document to a physical markup document may include parsing a semantic markup document and loading the parsed semantic information into data structures that may be stored in a computer memory. The data structures may then be processed with a layout method. The layout method may use a set of rules and/or heuristics to process the data structures that represent the semantic information and produce another set of data structures that represent a physical markup format. For one embodiment, the layout rules may include the page size of the target physical markup document as well as font types and font colors.
For these and other embodiments, a user may select the links that the user desires to download and merge, and the software agent and/or hardware works on them in the order of request. The user may also subsequently adjust the order of requests within the queue.
At block 420, a determination is made as to whether a link has been selected by a user subsequent to the generation of the plurality of requests associated With the multi-level download. If no link has been selected, at block 430 the multi-level download merge requests continue to be serviced. After a link is selected, at block 440 the multi-level download merge requests are interrupted. At block 450 a higher priority merge request is generated. This merge request may seek to retrieve a document referred to by the selected link. Block 460 indicates that once the higher priority merge request has completed, processing returns to block 430 and the multi-level download merge requests are serviced. Thus, a multi-level download may be interrupted in this example embodiment by a user selecting a link indicating that the user desires to retrieve a document associated with the link. The multi-level download resumes when the document referred to by the user-selected link has completed its merge operation.
The physical markup document which is being displayed by physical markup format document viewer 512 may have links to web pages, as well as to internal pages within the physical markup format document. After a user selects a link in the physical markup format document with a mouse 540, if the link refers to a page within the physical markup format document, then that page is displayed by viewer 512. If the link is to a web page, that page is either displayed by browser 514 or merged into the physical markup format document by digital content merge unit 518, depending at least in part on which mode is selected by the user. A web page may comprise a document on the World Wide Web, and a web page may have a unique Uniform Resource Locator (URL).
For the first merge request initiated by the selection of a link, the request may be operated on without significant delay. Subsequent link selections may result in merge requests placed in queue 519 if previous merge requests are pending. In this manner, the user need not wait until one merge request completes before being able to initiate other merge requests via the selection of additional links. This allows the user to work more efficiently.
Digital content merge unit 518 may be implemented as part of viewer 512. In one embodiment, viewer 512 comprises a PDF viewer and browser 514 comprises a web browser. Other embodiments are possible using other computer system configurations.
For this embodiment, when a second document is merged with a first document, the second document may be appended to the end of the first document. Other embodiments may allow the user to specify that the second document be placed at other locations within the first document. Further, other embodiments are possible where the user may rearrange the order of merge requests within the queue when multiple merge requests are pending.
Reference in the specification to “an embodiment,” “one embodiment,” “some embodiments,” or “other embodiments” means that a particular feature, structure, or characteristic described in connection with the embodiments is included in at least some embodiments, but not necessarily all embodiments. The various appearances of “an embodiment,” “one embodiment,” or “some embodiments” are not necessarily all referring to the same embodiments.
In the foregoing specification claimed subject matter has been described with reference to specific example embodiments thereof. It will, however, be evident that various modifications and/or changes may be made thereto without departing from the broader spirit and/or scope of the subject matter as set forth in the appended claims. The specification and/or drawings are, accordingly, to be regarded in an illustrative rather than in a restrictive sense.
This application is a divisional of U.S. application Ser. No. 11/066,976, filed Feb. 25, 2005, which is incorporated by reference herein in its entirety.
Number | Date | Country | |
---|---|---|---|
Parent | 11066976 | Feb 2005 | US |
Child | 13434165 | US |