Style-sheet output apparatus and method, and style-sheet output system

Style sheets indicating layouts of a plurality of types are stored in a server. The user of a client computer selects the style sheet having the desired layout. When the user of the client computer subsequently accesses the server for the purpose of conducting a search, the results of the search are displayed on the selected style sheet. The user need not select the desired style sheet whenever the server is accessed.

BACKGROUND OF THE INVENTION

1. Field of the Invention

This invention relates to an apparatus, method and system for outputting data representing a style sheet which stipulates the layout of images inclusive of a plurality of items such as images and text.

2. Description of the Related Art

In general, images obtained by searching an image database or the like are displayed on a display unit in accordance with a predetermined layout. However, since the users of image databases are involved in a variety of businesses, there are instances where displaying the results of a search in a fixed layout at all times will provide a display in a layout that is not in accordance with user preference.

DISCLOSURE OF THE INVENTION

For this reason, consideration has been given to providing a variety of layouts and allowing the user to select the layout that is desired.

However, since the user must select the desired layout whenever the image database is utilized, the user is compelled to perform a very troublesome operation. In particular, the larger the number of layouts available, the more troublesome the selection of the layout becomes.

Accordingly, an object of the present invention is to reduce the amount of labor required of a user when selecting a layout.

According to a first aspect of the present invention, the foregoing object is attained by providing a style-sheet output apparatus comprising: a style-sheet designating unit (style-sheet designating means) for designating a desired style sheet from among a plurality of style sheets, wherein there have been stored a plurality of types of data representing style sheets stipulating layouts of images which include a plurality of items such as images and text; a storage unit for storing, in association with a user, data identifying a style sheet designated by the style-sheet designating unit; an identification-data input unit for inputting data which identifies a user; a read-out command input unit (a unit for giving a trigger to read out a style sheet is included) for inputting a style-sheet read-out command; and a style-sheet output unit for outputting, in accordance with a style-sheet read-out command that has been input from the read-out command input unit, and on the basis of a relationship that has been stored in the storage unit, data representing a style sheet corresponding to a user identified by identification data that has been input from the identification-data input unit.

The first aspect of the present invention provides also a method suited to the apparatus described above. Specifically, according to the first aspect of the present invention, there is provided a style-sheet output method comprising the steps of: designating a desired style sheet from among a plurality of style sheets, wherein a plurality of types of data representing style sheets stipulating layouts of images which include a plurality of items such as images and text have been stored; storing, in association with a user, data identifying a style sheet that has been designated; inputting data which identifies a user as well as a style-sheet read-out command; and outputting data, which represents a style sheet corresponding to a user identified by identification data, in accordance with a style-sheet read-out command.

In accordance with the first aspect of the present invention, a plurality of types of data representing style sheets stipulating layouts of images which include a plurality of items such as images and text are stored. A user designates the desired style sheet from among the plurality of style sheets. When the style sheet is designated, the relationship between the data identifying the designated style sheet and the user who designated this style sheet is stored.

Data identifying a user and a style-sheet read-out command are thenceforth entered. When this is done, data representing the style sheet corresponding to this user is outputted. The data representing the style sheet is applied to a display unit, for example, whereby the style sheet having the layout desired by the user is displayed.

Thus, once a user designates a style sheet, it is unnecessary for the user to designate the style sheet subsequently. Data representing the style sheet that was designated by the user will be output subsequently as well and the desired style sheet will be displayed on a display unit or the like.

A relationship between data identifying a prescribed style sheet and a user may be stored. When a designation is made by the user in such case, the stored data identifying the prescribed style sheet is rewritten to data identifying the designated style sheet. The prescribed style sheet may be different for each user or may be the same for all users.

In a case where the style-sheet output apparatus is applied to a retrieval system, the apparatus would be further provided with a search-condition input unit (search-condition input means) for inputting a search condition; a search unit (search means) for searching an image database for data representing an image based upon a search condition that has been input from the search-condition input unit; and a unit (means) for merging an image represented by image data found by the search conducted by the search unit with a style sheet represented by data that has been output from the style-sheet output unit.

Thus, an image retrieved through a search is merged with a layout stipulated by a desired style sheet.

A second aspect of the present invention is a style-sheet output system comprising a server and a client computer that are capable of communicating data with each other.

A plurality of types of data representing style sheets stipulating layouts of images which include a plurality of items such as images and text are stored in the system. The client computer in this system designates a desired style sheet from among a plurality of style sheets and transmits data identifying the designated style sheet to the server. The server stores the data identifying the designated style sheet in association with the user.

The client computer is provided with an identification-data input unit for inputting user identification data which identifies a user; a read-out command input unit for inputting a style-sheet read-out command; and a transmitting unit for transmitting, to the server, user identification data that has been input by the identification-data input unit and a read-out command that has been input by the read-out command input unit.

The server is provided with a receiving unit for receiving the user identification data and the read-out command that have been transmitted from the transmitting unit of the client computer, and with a style-sheet output unit for outputting, in accordance with a style-sheet read-out command that has been received by the receiving unit, data representing a style sheet corresponding to a user identified by the user identification data.

Thus, a style sheet having a layout desired by a user is obtained even in a system in which a server and a client computer are capable of communicating data with each other.

Furthermore, once a user designates a style sheet, it is unnecessary for the user to designate the style sheet subsequently. Data representing the style sheet that was designated by the user will be output subsequently as well and the desired style sheet will be displayed on a display unit or the like.

DESCRIPTION OF THE PREFERRED EMBODIMENT

FIG. 1is a block diagram illustrating the electrical construction of an image database search system.

The image database search system according to this embodiment comprises a client computer1and a server10capable of communicating data with each other (via a network, for example).

Search conditions are entered in the client computer1and data indicating the entered search conditions is transmitted from the client computer1to the server10. The server10conducts a search of image data and transmits image data found by the search to the client computer1. The image data transmitted from the server10is received by the client computer1, which has a display unit on which the images representing the search results are displayed.

The image database system according to this embodiment is such that a user is capable of previously selecting the layout of the images that represent the search results. The images that have been found by the search are displayed in the selected layout. The details will be described later.

The overall operation of the client computer1is controlled by a CPU2.

The client computer1includes a RAM3for storing data temporarily and a network interface8for the purpose of communication. The client computer1further includes an image storage unit7for storing image data and other data, and an input unit (mouse, keyboard, etc.)6operated by the user of the client computer1. Image data that has been stored in the image storage unit7is applied to a display unit5via a display interface4, whereby an image is displayed.

The overall operation of the server10is controlled by a CPU11.

The server10also includes a RAM12for storing data temporarily, a network interface15for the purpose of communication and an operating interface (keyboard, mouse)16. Image data and other data is applied to a display unit17via a display interface14, whereby an image and other data are displayed on the display screen of the display unit17.

The server10includes a layout controller20by which images found by a search are displayed in the desired format in the manner described above.

The server10further includes a database22and a database controller21for controlling a database search of the database22; an image file unit24for storing image data (image files); and an image-file controller23for storing image data in the image file unit24and for reading out image data that has been stored in the image file unit24.

The server10further includes a user-information storage unit26storing information concerning users capable of accessing the server10; a user-information controller25for reading out user information that has been stored in the user-information storage unit26and for storing user information in the user-information storage unit26; a style-sheet storage unit28which stores style sheets for stipulating layouts; and a style-sheet controller27for reading out style sheets that have been stored in the style-sheet storage unit28and for storing style sheets in the style-sheet storage unit28.

Through the server10inFIG. 1is shown to include the database22, image file unit24, user-information storage unit26and style-sheet storage unit28, these may be provided externally.

FIG. 2illustrates an example of user information that has been stored in the user-information storage unit26.

The following user information is stored in the user-information storage unit26for every user capable of accessing the server10:

This is data for identifying the user.

This is the name which the user employs on the network.

This is for verifying whether the user has the privilege to access the server10.

Full name of user:

Here the real name of the user is indicated in full.

This indicates whether the user is an administrator, an assistant administrator or a general user.

This indicates whether the user has the right to rewrite user information (here information other than the style sheet).

This indicates whether user has the right to rewrite data that has been stored in the image file unit24and data that has been stored in the database22.

This identifies the style sheet which the user has selected in a manner described later. When a style sheet has not been selected by the user, data representing a prescribed style sheet is stored here.

FIG. 3is a flowchart illustrating processing for selecting a style sheet.

The flowchart ofFIG. 3presupposes that the system10has been accessed by a user having the right to do so based upon the user ID and password.

An image for selecting a setting mode is being displayed on the display unit5of the client computer1. There are a variety of setting modes, one of which is a style-sheet selection mode.

When a setting mode is selected by the user of the client computer1(“YES” at step31), a setting-image request is generated (step32) and data indicative of this mode is transmitted from the client computer1to the server10. If a setting mode has not been selected (“NO” at step31), the mode is changed.

When data indicative of the setting-image request is received by the server10(step51), the server reads the image data representing the images used in the setting image out of the image file unit24and applies the image data to the layout controller20. Further, the server reads a style sheet indicating the setting image out of the style-sheet storage unit28and applies the style sheet to the layout controller20. The style-sheet storage unit28merges the images with the style sheet and generates data representing the setting image (step53). The data representing the generated setting image is transmitted from the server10to the client computer1.

The client computer1receives the image data representing the setting image transmitted from the server10and applies this image data to the display unit5so that the setting image is displayed on the display screen of the display unit5(step33).

Various settings can be chosen on the setting image. If selection of a style sheet is chosen (“YES” at step34), a request for a style-sheet selection image is generated (step35). The generated request for the style-sheet selection image is transmitted from the client computer1to the server10.

When the request for the style-sheet selection image transmitted from the client computer1is received by the server10(step54), the server10reads the image data for generating the style-sheet selection image out of the image file unit24(step55) and applies this image data to the layout controller20. Further, the server10reads the style sheet for generating the style-sheet selection image out of the style-sheet storage unit28. The style sheet that has been read out is applied to the layout controller20. The latter generates data representing the style-sheet selection image (step56). Data representing the generated style-sheet selection image is transmitted from the server10to the client computer1.

When the data representing the style-sheet selection image is received by the client computer1, this data is applied to the display unit5so that the style-sheet selection image is displayed on the display screen of the display unit5(step36).

FIG. 4shows an example of a style-sheet selection image.

In this embodiment, there are four types of style sheets. Of course, a greater number or a smaller number of style sheets may be stipulated.

A style sheet of type A is represented in an area61. An area62is one checked by the user of the client computer1when the style sheet of type A is to be selected.

A style sheet of type B is represented in an area63. An area64is one checked by the user of the client computer1when the style sheet of type B is to be selected.

A style sheet of type C is represented in an area65. An area66is one checked by the user of the client computer1when the style sheet of type C is to be selected.

A style sheet of type D is represented in an area67. An area68is one checked by the user of the client computer1when the style sheet of type D is to be selected.

The style-sheet selection image further includes a confirmation area71clicked by the user when a checked style sheet is finalized, and a cancel area72clicked by the user when the checked style sheet is canceled.

A desired style sheet is selected by checking any one of the areas62,64,66and68(step37). If the confirmation area71is then clicked by the user (“YES” at step38), data for identifying the style sheet that has been selected by the user is transmitted from the client computer1to the server10(step39).

When the data representing the selected style sheet transmitted from the client computer1is received by the server10(step57), data for identifying the selected style sheet is stored in user information in association with the user (step58).

The result of a search obtained by searching the image database is subsequently displayed in the layout of the selected style sheet. Thus, the result of an image search can be displayed in a layout desired by the user. Moreover, since the style sheet selected by the user is registered as user information, it is unnecessary for the user to select the style sheet again the next time the system is accessed.

FIG. 5is a flowchart illustrating image database search processing, andFIGS. 6 and 7illustrate examples in which images are displayed on the display screen of the display unit of the client computer1as the result of searching the image database.

The ID and password of a user are transmitted from the client computer1to the server10and the client computer1logs onto the server10(step81).

The server10refers to the user information that has been stored in the user-information storage unit26and checks to see whether the user of the accessing client computer1has access privilege (step91). If the user does have access privilege, the user information corresponding to the user who has accessed the server10is read out (step92) and stored temporarily in the RAM12.

If the client computer1is to conduct a database search (“YES” at step82), the search image is displayed on the display screen of the display unit5of the client computer1(step83). The user enters search conditions in accordance with the search image (step84). If a search execution area contained in the search image is clicked by the user (“YES” at step85), data representing the entered search conditions (which data serves also as a style-sheet read-out command described below) is transmitted from the client computer1to the server10.

The server10receives the data representing the search conditions. The server generates an SQL (Structured Query Language) statement from the received search conditions and executes processing for searching the database22(step93). The server10reads the user information out of the user-information storage unit26and reads the style sheet selected by the user out of the style-sheet storage unit28. Using the style sheet that has been read out, the server generates an HTML (HyperText Markup Language) file for expressing the search results (step95). The generated HTML file is transmitted from the server10to the client computer1.

When the HTML file is received by the client computer1, images that are the results of the search represented by the received HTML files are displayed on the display screen of the display unit5(step86). As a result, images obtained by the search are displayed in a layout of the kind shown inFIGS. 6 and 7in accordance with the selection made by the user. Of course, data representing a style sheet and data representing the images found by the search may be transmitted separately from the server10to the client computer1and the client computer1may merge the images with the style sheet.

By way of example, if the users have user IDs “0” and “2”, the selected style sheet will be the style sheet of type A. The style sheet shown inFIG. 6, therefore, will be displayed on the display screen of display unit5. The style sheet of type A shown inFIG. 6has three vertically arranged areas101.

Each area101is formed to include an area102on its left side for displaying an image. Areas103,104,105and106for displaying image information are formed on the right side of the image display area102. The area103displays the date of photography of the image being displayed in the image area102, the area104displays the location where the image being displayed in the image area102was photographed, the area105displays the content of the image being displayed in the image area102, and the area106displays remarks regarding the image being displayed in the image area102. A comment area107is displayed at the bottom of the column of areas101. Also included are an area108clicked by the user to go back to the preceding image and an area109clicked by the user to go to the next image.

If the user has a user ID “3”, the selected style sheet will be the style sheet of type B. The style sheet shown inFIG. 7, therefore, will be displayed on the display screen of the display unit5. The style sheet of type B shown inFIG. 7has areas120arranged in three rows and three columns.

Each area120is formed to include an upper area121for displaying an image. Formed below the image display area121are areas122,123and124for displaying image information. The area122displays the location where the image being displayed in the image area121was photographed, the area123displays the content of the image being displayed in the image area121, and the area124displays the date of photography of the image being displayed in the image area121.

When the result of a search is such that there are so many relevant images that they cannot be displayed in an image of a single frame, the user can go back to the preceding image or forward to the next image. To accomplish this, there are also included an area126clicked by the user to go back to the preceding image and an area127clicked by the user to go forward to the next image.

If the area109or127which allows the user of the client computer1to display the next image is clicked by the user, succeeding images satisfying the search conditions will be displayed in the layout of the selected style sheet (“YES” at step87).

The processing of steps83to87is repeated until the database search ends (step88).

Thus, it is so arranged that images resulting from a search can be displayed in a layout desired by the user. Since the user need not select the desired style sheet whenever the server10is accessed, the user is not inconvenienced.

Though the foregoing embodiment is such that image search processing is executed while the server10and client computer1are communicating data with each other, data communication is not necessarily required.