US 20080077637 A9
The invention relates to a display control unit which is used to display a current portion of a document on a screen (15) when an interactive or scrollable page of said document requires a larger display area than that of the screen. The inventive unit consists of: a unit (10) which is connected to a remote server (12), said server (12) delivering interactive documents comprising principal and secondary documents; a display unit (14) which is used to control the display of a current portion of the scrollable interactive page on the screen (15); and a memory control unit (18) comprising (i) a priority level allocation unit (30) which is used to assign a priority level to each secondary document of the scrollable interactive page and (ii) a memory control unit (31) which is used to control the storage of secondary documents with the highest priority levels in the memory (17).
1. A display management unit for displaying on a screen a current portion of a document, when a so-called scrollable interactive page of this document requires a display area of greater dimension than the dimension of said screen, said unit comprising:
a unit for linking to a remote server, said server delivering interactive documents consisting of main documents and of secondary documents,
a display unit for controlling the display on the screen of a current portion of said scrollable interactive page, characterized in that it comprises, furthermore, a memory and a unit for managing this memory which comprises:
a unit for allocating priority levels so as to allocate each secondary document of the scrollable interactive page a priority level which is dependent on the positioning of each secondary document with respect to the current portion displayed on the screen,
a memory control unit for controlling the storage in the memory of the secondary documents having the highest priority levels, possibly in cooperation with the linking unit for accessing certain of the secondary documents having the highest priority levels when the latter are not stored in the memory.
2. The management unit as claimed in
3. The management unit as claimed in
4. The management unit as claimed in
5. The management unit as claimed in
6. The management unit as claimed in
7. A method of managing display on a screen of a current portion of a document, when a so-called scrollable interactive page of this document requires a display area of greater dimension than the dimension of said screen, said method comprising:
a step of downloading the interactive documents consisting of main documents and of secondary documents
a step of displaying on the screen a current portion of said scrollable interactive page, characterized in that it furthermore comprises a step of selective storage in a memory of secondary documents of the scrollable interactive page which are positioned in an area neighboring the current portion displayed on the screen.
8. The method as claimed in
9. The method as claimed in
10. The method as claimed in
11. The method as claimed in
The invention relates to a unit and a method for managing the display of a current portion of an incidentally interactive document on a screen, for example an HTML document.
In an HTML interactive document (see the document referenced  at the end of the description), a set of objects mostly having a graphical representation is described. These objects may be a simple text, a simple image, a hyperlink, a pushbutton, a text entry box, etc. All these objects must be displayed in a window on the screen in the most harmonious fashion, without overlapping and while optimizing the space available. An HTML document does not prescribe the layout of the objects on the screen. This layout will be done as a function of the constraints of the display area and of certain configurable graphics characteristics or at the discretion of the display engine. The operation is called page setup. Nevertheless, general rules of layout of HTML objects must be complied with. Certain HTML elements, such as tables for example, may become unreadable if they are not presented in a form much like the original one.
An HTML document may not be displayed directly. It requires an analysis of the objects of which it is composed before it is possible to do a page setup, for example of the objects relating to one another or of nested objects. Moreover, this HTML document does not always contain sufficient data to shape the document properly, mainly when the latter contains images. The size of the images is not always known. It is necessary to load these images (request regarding a new document) so as to extract the size therefrom and to be able to continue the shaping of the document.
The HTGF (“Hyper Text Graphic Format”) format corresponds to the graphical transcription of HTML documents as a function of the dimensional constraints of the display window, that is to say to the result of the page setup. This format describes mutually independent graphical objects all having an absolute positioning.
AN HTML interactive page consists of a set of files that can be interpreted by a reading program so as to produce a visual output, and possibly audio output, on a computer monitor or on a television screen. An HTML file, that can be dubbed the “main document”, can contain references to external elements, such as in particular files that are visible or can be viewed on the page, which will be called “secondary documents”.
In order to effect the rendition of an HTML page, these secondary documents have to be loaded, stored in memory and processed by a display engine.
The rendition of an HTML page may exceed the space available on the display screen. In this case this screen displays only a part of the HTML page and the user must scroll the display in order to see the remaining parts of the HTML page which has been stored in memory.
In the case where the HTML page contains references to secondary documents, the data loaded may require considerable memory capacity for storage, such as for example an HTML document which contains many images. The memory capacities available in a display device, for example of decoder type, may be insufficient and errors due to memory overflow may occur when rendering certain HTML pages that consume a great deal of memory. The HTML pages may then not be retrieved.
An objective of the invention is to alleviate these drawbacks by proposing a unit and a method for managing the display on a screen of a current portion of an incidentally interactive document.
The invention is aimed at a display management unit for displaying on a screen a current portion of a document, when a so-called scrollable interactive page of this document requires a display area of greater dimension than the dimension of said screen, said unit comprising:
The word “server” is used here to define any type of information storage equipment.
Advantageously, the management unit of the invention furthermore comprises a format conversion unit which allows decompression of images.
Moreover, the linking unit may be linked to the remote server by a monodirectional or bidirectional link. The interactive page may be an HTML page. A keypad and/or a mouse and/or a remote control may be linked to the display unit.
The invention also relates to a method of managing display on a screen of a current portion of a document, when a so-called scrollable interactive page of this document requires a display area of greater dimension than the dimension of said screen, said method comprising:
Advantageously, for each secondary document of the interactive page, a binary value is kept up to date, determining whether or not this component is stored in memory, and its download priority level.
Each secondary document of the interactive page may be allotted a priority level using a model, for example a Gaussian Model, such that the priority of a secondary document depends on its distance with respect to the central point of the new current position to be displayed: the smaller this distance, the higher the priority. The ordinate value of the curve corresponding to the projection of the point of the secondary document which is closest to the current portion displayed on the screen may thus be regarded as priority level.
The display management unit of the invention makes it possible to load elements of an interactive page selectively. The elements selected correspond to parts of the interactive page that the user displays at a given moment on the screen and the closest secondary documents within the limit of the memory capacity available.
The selective loading of these secondary documents avoids loading the content of the complete page into memory and thus significantly decreases the memory capacity requirements.
The invention is especially suited to the environment of a digital television decoder in which the available memory space remains relatively small in comparison with computers.
The invention may be used in other devices having reduced memory capacities, for example in other decoders, but also in cellular telephones, PDA (“personal digital assistant”) type terminals.
The invention relates to a display management unit for displaying on a screen a current portion of an interactive page, for example HTML, when this so-called scrollable interactive page requires a display area of greater dimension than the dimension of said screen.
As illustrated in
This memory management unit 18 comprises:
Exemplary HTML Page
In this example the secondary documents are as follows:
As is known to the person skilled in the art such an HTML page is interpreted linearly by an engine (browser), so as to produce a page 20 of the type illustrated in part A of
Only a current portion of this page 20 can be displayed on a screen 26 when this page requires a display area of greater dimension than the dimension of the screen. The user can then use a keypad 16, a mouse 19 or a remote control 22 move the current portion of display of this HTML page 20.
The reference 27 illustrates the fact that this page 20 is scrollable on command by the user. As illustrated in this
In the case of a decoder (“set-top-box”), for example, the total memory space reserved for the use of the engine does not make it possible to store the whole of a long HTML page. The invention therefore proposes to favor the loading and the storage in the memory of the secondary documents of the scrollable page which are positioned in a limited area around the current portion displayed on the screen. These secondary documents have, in fact, the greatest probability of being visualized on the screen upon a future movement of the current portion of visualization of the HTML page. The other secondary documents will be loaded only as a function of the quantity of free memory remaining with respect to the total memory space reserved for the use of the engine.
Part B of
This model 28 makes it possible to associate a priority level with each secondary document (image, etc.) of the HTML page. It is for example possible to take into consideration the ordinate value of the curve 28 corresponding to the projection of the “point” of the secondary document which is closest to the current portion displayed on the screen.
According to the display management method of the invention, when a user asks for a change (by scrolling) of the current portion displayed on the screen, so as to display a new current portion of the HTML page a command is transmitted to the display unit 14. The unit for allocating priority level 30 updates the priority level of each secondary document using the model 28 illustrated in part B of
The unit for allocating priority levels 30 then instructs the memory control unit 31 to inform it of the secondary documents that can be erased from the memory 17 (potential erasure order) and of the secondary documents that must not be erased. The memory control unit 31 then authorizes the possible erasure of certain secondary documents stored in the memory, with a latching and unlatching facility, and, possibly in cooperation with the linking unit, loads into the memory 17 certain of the secondary documents that have to be loaded into the memory 17 and which are still stored on the remote server 12.
The dynamic manner of operation of said method is as follows:
1. Starting Conditions
2. Loading of the Secondary Document of Priority N-1
3. Loading of the Secondary Document of Priority N-2
The manner of operation is the same as that described in paragraph 2 above . . .
n. Stoppage of the Loading Process
Such stoppage occurs when the memory is saturated. That is to say, all the documents of priority (N-X) could not be loaded into memory and not one more document can be destroyed.
The resumption of the loading process is effected upon a scroll command with:
 Version of the HTML standard “HTML 4.01 specification W3C recommendation 24 Dec. 1999”, which may be found at the following address: http://www.w3.org/TR/1999/TEC-html401-1999 1224.