1. Field of the Invention
The present invention relates to an information processing system for retrieving information stored in a plurality of apparatuses that are mutually connected via a network.
2. Description of the Related Art
In recent years, with the development of computers and networks, electronic information is accumulated in information processing apparatuses that include a storage device that stores a database and are distributed over a network. In this situation, a demand for development of information retrieval technology has been increasing.
Conventionally, there is an information retrieval technology for transmitting a retrieval request to all information processing apparatuses on a network. In addition, in a case where all of the information processing apparatuses on the network are recognized, the retrieval request is transmitted only to information processing apparatuses that are capable of retrieving information.
In addition, information indicating a processing capacity of the information processing apparatus is managed. For example, Japanese Patent Application Laid-Open No. 10-301864 discusses a technology for managing attribute information of a terminal apparatus indicating the processing capacity of each terminal apparatus under a network environment in which various kinds of information processing apparatuses exist. With this technology, an applied service can be provided in accordance with the processing capacity of each of the information processing apparatuses.
However, in the above conventional technology, in retrieving information with respect to electronic information in the information processing apparatuses distributed over the network, the retrieval request is transmitted to all of the information processing apparatuses, and accordingly, the traffic of the network increases. Especially when the retrieval request is issued and transmitted in relation to large size data such as image information, a flow in the network becomes substantially slow.
In addition, there are some information processing apparatuses among the information processing apparatuses on the network that cannot respond to the retrieval request. In such cases, an unnecessary retrieval request is transmitted.
Besides, in the conventional technology, the capability of responding to the retrieval request of the information processing apparatuses on the network is not managed in accordance with a connection/disconnection status of the information processing apparatuses.
The present invention is directed to reducing the traffic of a network and reducing transmitting unnecessary retrieval requests to information processing apparatuses that are not provided with an information retrieving function.
In one aspect of the present invention, an information processing apparatus that is connected to a network includes a live status confirmation message output unit configured to output a live status confirmation message to a plurality of information processing apparatuses on the network, a management unit configured to manage attribute information of an information processing apparatus that has responded to the live status confirmation message output by the live status confirmation message output unit, a determination unit configured to determine an information processing apparatus to which to transmit an information retrieval request based on the attribute information of the information processing apparatus managed by the management unit, and a retrieval processing unit configured to transmit the information retrieval request to the information processing apparatus determined by the determination unit and to receive a retrieval result from the information processing apparatus determined by the determination unit.
In another aspect of the present invention, a retrieval processing method for an information processing apparatus connected to a network includes a live status confirmation message outputting step of outputting a live status confirmation message to a plurality of information processing apparatuses on the network, a determination step of determining an information processing apparatus to which to transmit an information retrieval request based on attribute information of an information processing apparatus that has responded to the live status confirmation message output in the live status confirmation message outputting step, an information retrieval request transmission step of transmitting the information retrieval request to the information processing apparatus determined in the determination step; and an information retrieval result receiving step of receiving a retrieval result from the information processing apparatus determined in the determination step.
In another aspect of the present invention, a computer-readable medium includes a program that executes a retrieval processing method for an information processing apparatus connected to a network. The retrieval processing method includes a live status confirmation message outputting step of outputting a live status confirmation message to a plurality of information processing apparatuses on the network, a determination step of determining an information processing apparatus to which to transmit an information retrieval request based on attribute information of an information processing apparatus that has responded to the live status confirmation message output in the live status confirmation message outputting step, an information retrieval request transmission step of transmitting the information retrieval request to the information processing apparatus determined in the determination step; and an information retrieval result receiving step of receiving a retrieval result from the information processing apparatus determined in the determination step.
Further features of the present invention will become apparent from the following detailed description of exemplary embodiments with reference to the attached drawings.
The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.
Exemplary embodiments of the invention will be described in detail below with reference to the drawings.
In
The CPU 1 is a microprocessor that controls the information processing apparatus. The CPU 1 controls each component connected to the bus 9 and carries out arithmetic operations, logical determinations and the like for information retrieval processing. The CPU 1 also serves as a unit that sends and receives data on a network. In addition, the CPU 1 carries out processing as shown in
The RAM 3 is a random access memory into which data can be written, and is used for temporarily storing various kinds of data from each component. The ROM 2 is a read-only static memory and stores a boot program executed by the CPU 1. The boot program loads a control program stored in the hard disk 6 into the RAM 3 at the time of activation of the apparatus and allows the CPU 1 to execute the control program. The control program is explained below in detail with reference to the flow charts of
The input device 4 includes a keyboard, a mouse, and the like, and is used for inputting data and an instruction. The display device 5 is configured by a cathode ray tube (CRT) display, a liquid crystal display (LCD), and the like, and displays a screen, such as that shown in
The removable external storage device 7 includes a drive used to access an external storage device, such as a floppy disk, a compact disk (CD), and a digital versatile disk (DVD). The removable external storage device 7 can be used in the same manner as the hard disk 6, and interchanges data with another information processing apparatus through the external storage device. Note that the control program 6a to be stored in the hard disk 6 can be copied into the hard disk 6 from the external storage device if needed. The network device 8 is a network controller that interchanges data with a plurality of information processing apparatuses via a network.
The information processing apparatus according to this embodiment is operated in accordance with various kinds of inputs from the input device 4. When the information processing apparatus receives a predetermined input from the input device 4, an interruption signal is transmitted to the CPU 1. In accordance with this signal, the CPU 1 reads various kinds of commands stored in the ROM 2 or the RAM 3. Then, the various kinds of commands are executed, and various kinds of control are carried out.
In
The periodic attribute information transmission unit 16 transmits, upon every elapse of a predetermined period of time, attribute information of an information processing apparatus in response to the live status confirmation message of an information processing apparatus received by the live status confirmation message receiving unit 15 upon every elapse of the predetermined period of time. The periodic attribute information receiving unit 17, upon every elapse of the predetermined period of time, receives attribute information of an information processing apparatus transmitted by the periodic attribute information transmission unit 16 upon every elapse of the predetermined period of time. The attribute information updating unit 18 updates attribute information of an information processing apparatus received by the periodic attribute information receiving unit 17, from the attribute information of the information processing apparatus managed by the attribute information managing unit 13. The information retrieval unit 19 executes information retrieval processing corresponding to the attribute information of an information processing apparatus.
In
Information processing apparatus (1) 21 (host name: “host1”);
Information processing apparatus (2) 22 (host name: “host2”);
Information processing apparatus (3) 23 (host name: “host3”);
Information processing apparatus (4) 24 (host name: “host4”);
Information processing apparatus (5) 25 (host name: “host5”); . . . and
Information processing apparatus (n) 26 (host name: “hostn”).
Types of information (data) in each of the information processing apparatuses that can be retrieved during information retrieval are as described below. In addition,
The Types of Retrieval in Each Information Processing Apparatus before the Elapse of a Predetermined Time in the example shown in
Information processing apparatus 21 (1) (host name: “host1”): Type of Retrieval “Document”;
Information processing apparatus 22 (2) (host name: “host2”): Type of Retrieval “Document and Image”;
Information processing apparatus 23 (3) (host name: “host3”): Type of Retrieval “Document”;
Information processing apparatus 24 (4) (host name: “host4”): Type of Retrieval “Document”;
Information processing apparatus 25 (5) (host name: “host5”): Type of Retrieval “Document and Image”; . . . and
Information processing apparatus 26 (n) (host name: “hostn”): Type of Retrieval “Document”.
The Types of Retrieval Information in Each Information Processing Apparatus after the Elapse of the Predetermined Time in the example shown in
Information processing apparatus (1) 21 (host name: “host1”): Type of Retrieval “Document and Image”;
Information processing apparatus (2) 22 (host name: “host2”): Type of Retrieval “Document and Image”;
Information processing apparatus (3) 23 (host name: “host3”): Type of Retrieval “Document”;
Information processing apparatus (4) 24 (host name: “host4”): Type of Retrieval “Document and Image”;
Information processing apparatus (5) 25 (host name: “host5”): Type of Retrieval “Document”; . . . and
Information processing apparatus (n) 26 (host name: “hostn”): Type of Retrieval “Document”.
In
Next, an explanation is made in detail as to an operation of information retrieval processing according to this embodiment.
In step S21 in
In step S22, the live status confirmation message receiving unit 15 waits for receiving the live status confirmation message of an information processing apparatus transmitted by the live status confirmation message transmission unit 14 of an external information processing apparatus upon every elapse of a predetermined period of time. In step S23, the live status confirmation message receiving unit 15 determines whether the live status confirmation message is received. If the live status confirmation message is not received, processing returns to step S22. If the live status confirmation message is received, processing proceeds to step S24.
In step S24, the live status confirmation message receiving unit 15 receives the live status confirmation message of an information processing apparatus that is transmitted by the live status confirmation message transmission unit 14 in step S22 upon every elapse of the predetermined period time. For example, as shown in
In step S25, the periodic attribute information transmission unit 16 transmits, upon every elapse of the predetermined period of time, the attribute information of the information processing apparatus with respect to the live status confirmation message of the information processing apparatus received in step S24 upon every elapse of the predetermined time. For example, as shown in
In step S26, the periodic attribute information transmission unit 16 determines whether processing is terminated. If processing is continued (i.e., not terminated) processing returns to step S22.
In step S31 in
In step S32, the attribute information managing unit 13 of the information processing apparatus (host1) manages the attribute information of an information processing apparatus received by the attribute information receiving unit 12 in step S31. For example, the attribute information managing unit 13 of the information processing apparatus (host1) manages the attribute information of the types of retrieval of the information processing apparatus (1) (host name: “host1”) through the information processing apparatus (n) (host name: “hostn”) by using the attribute information management table shown in
In step S33, the live status confirmation message transmission unit 14 of the information processing apparatus (host1) transmits a message for confirming the live status of the external information processing apparatuses (host2 through hostn) upon every elapse of a predetermined time. For example, the live status confirmation message transmission unit 14 transmits the message for confirming the live status “Live Status Confirmation Message (0xfefe)” of an external information processing apparatus, as shown in
In step S34, the periodic attribute information receiving unit 17 of the information processing apparatus (host1) receives attribute information of the type of retrieval of an information processing apparatus that is transmitted by the periodic attribute information transmission unit 16. For example, as shown in
In step S35, the attribute information updating unit 18 of the information processing apparatus (host1) updates the attribute information of the type of retrieval of an information processing apparatus managed using the attribute information management table shown in
In step S36, the attribute information updating unit 18 of the information processing apparatus (host1) determines whether the predetermined period of time has elapsed. If the predetermined period of time has elapsed, processing returns to step S33. If the predetermined period of time has not elapsed, processing proceeds to step S37. For example, in this embodiment, the predetermined period of time is one hour.
In step S37, the information retrieval unit 19 detects an instruction from a user to determine whether to carry out information retrieval. If information retrieval is not to be carried out, processing returns to step S33. If information retrieval is to be carried out, processing proceeds to step S38.
In step S38, the information retrieval unit 19 executes information retrieval corresponding to the attribute information of the type of retrieval of an information processing apparatus. For example, as shown in
Here, “Image” is selected as the type of retrieval 32. In addition, in carrying out information retrieval by inputting an image shown in
In step S39, the information retrieval unit 19 determines whether processing is terminated. If processing is continued (i.e., not terminated), processing returns to step S33.
As described above, according to this embodiment, the information processing apparatus (host1) that outputs a retrieval request can issue a request for information retrieval only to information processing apparatuses that correspond to the attribute information (type of retrieval) of the retrieval target. Accordingly, the traffic of a network can be reduced in transmitting a retrieval result to the information processing apparatus (host1). Especially in the case of a request for information retrieval with respect to large-capacity information such as image information, it is not necessary to transfer image data as a retrieval query to each information processing apparatus on the network. Thus, an effectiveness of reducing the network traffic can be improved. In addition, transmitting unnecessary retrieval request can be reduced.
In addition, each of the information processing apparatuses connected to the network updates the attribute information management table based on the attribute information of an information processing apparatus upon every elapse of the predetermined period of time. Therefore, a request for information retrieval to information processing apparatuses can be readily changed.
The second exemplary embodiment of the present invention differs from the first exemplary embodiment in points as described below. Other constituent elements of the second exemplary embodiment are similar to the corresponding constituent elements of the first exemplary embodiment (
In the example shown in
Information processing apparatus (1) 41 (host name: “host1”);
Information processing apparatus (2) 42 (host name: “host2”);
Information processing apparatus (3) 43 (host name: “host3”);
Information processing apparatus (4) 44 (host name: “host4”);
Information processing apparatus (5) 45 (host name: “host5”); . . . and
Information processing apparatus (n) 46 (host name: “hostn”).
The types of retrieval of content that can be retrieved by each information processing apparatus at a certain timing are as described below.
Information processing apparatus (1) 41 (host name: “host1”): Type of Content “Text and Image”;
Information processing apparatus (2) 42 (host name: “host2”): Type of Content “Text, Image, and Moving Image”;
Information processing apparatus (3) 43 (host name: “host3”): Type of Content “Text”;
Information processing apparatus (4) 44 (host name: “host4”): Type of Content “Image and Moving Image”;
Information processing apparatus (5) 45 (host name: “host5”): Type of Content “Text and Image”; . . . and
Information processing apparatus (n) 46 (host name: “hostn”): Type of Content “Text”.
The types of content of each information processing apparatus that can be retrieved by the information processing apparatus after the predetermined time elapses are as described below.
Information processing apparatus (1) 41 (host name: “host1”): Type of Content “Text, Image, and Moving Image”;
Information processing apparatus (2) 42 (host name: “host2”): Type of Content “Text, Image, and Moving Image”;
Information processing apparatus (3) 43 (host name: “host3”): Type of Content “Text and Moving Image”;
Information processing apparatus (4) 44 (host name: “host4”): Type of Content “Image and Moving Image”;
Information processing apparatus (5) 45 (host name: “host5”): Type of Content “Text”; . . . and
Information processing apparatus (n) 46 (host name: “hostn”): Type of Content “Text”.
The information processing apparatus that actually executes retrieval processing periodically updates the type of content that can be retrieved by information processing apparatuses on the network including the information processing apparatus itself, in the same manner as in the first exemplary embodiment, and manages the type of content by using the tables shown in
While the exemplary embodiments described above use “Document”, “Image” and “Moving Image” as attribute types in determining recipients of the data, it will be appreciated that other attribute types may be used, for example, “audio”. It will also be appreciated that “attribute type” may also be something other than content type. For example, the attribute type may be the size of the data to be transmitted, a combination of the type of data and the size of the data, etc.
While the present invention has been described with reference to exemplary embodiments, it is to be understood that the invention is not limited to the disclosed exemplary embodiments. The scope of the following claims is to be accorded the broadest interpretation so as to encompass all modifications, equivalent structures, and functions.
This application claims priority from Japanese Patent Application No. 2005-037749 filed Feb. 15, 2005, which is hereby incorporated by reference herein in its entirety.
Number | Date | Country | Kind |
---|---|---|---|
2005-037749 | Feb 2005 | JP | national |