1. Field of the Invention
The present invention relates to a relay for communication.
2. Description of the Prior Art
Provision of contents via the Internet has been spread widely as the Internet has become commonplace recently. Accompanying with this provision of contents, predetermined information is provided. For example, Japanese unexamined patent publication No. 2001-266005 discloses a technique for display a banner advertisement accompanying a Web site in predetermined area on the screen. Using this technique, advertisement can be performed with the provision of contents to users.
Furthermore, Japanese unexamined patent publication 2001-520491 of a PCT application discloses a technique regarding a device for obtaining a multimedia object from a packet that contains data for bidirectional communication such as speech communication without limiting to one-way communication such as a Web site and for displaying the same. For instance, if a communication application that is used by a speaker on the Internet telephone has this device, it is possible to display a graphic such as a banner advertisement on the computer display during the speech communication on the Internet telephone.
However, in order to display a multimedia object during the bidirectional communication as explained above, it is necessary to install the device disclosed in the above-mentioned second patent publication in the communication application that is used for the bidirectional communication. In this case, since communicators usually use different communication applications depending on communication carrier venders, the above-mentioned device has to be customized to the communication application. Therefore, it is difficult for a third party except for the communication carrier vender to add information such as a multimedia object to a communication packet such as the Internet telephone and to perform an advertisement service.
An object of the present invention is to provide a communication relay method and device for adding information to communication data in a communication terminal without depending on a communication application.
According to a first aspect of the present invention, a communication relay method is provided, which is performed by a relay device that relays communication between two computers. The method includes the steps of establishing connection with the two computers, receiving first contents transmitted from one of the two computers to the other as a payload, accumulating first additional data to be added to the first contents, and transmitting second contents containing the first contents and the first additional data as a payload to the computer that is a destination of the first contents. The first contents to be received in the receiving step contain image data and/or audio data.
Since the second contents containing the first contents and the first additional data are generated as a payload, the first additional data can be delivered to the computer that is a destination without depending on a communication application of the computer that is a destination.
According to a second aspect of the present invention, the communication relay method according to the first aspect further includes the step of combining the first contents with the first additional data so as to generate the second contents if each of the first contents and the first additional data contain image data and/or text data.
By this structure, the first contents can be combined with the first additional data without inconsistency, which can be supplied to the computer that is a destination.
According to a third aspect of the present invention, in the communication relay method according to the second aspect, the accumulating step includes further accumulation of output control data for designating a display area of the first additional data, and the combining step includes combining the first contents with the first additional data in accordance with the output control data.
By this structure, the first contents are combined with the first additional data in accordance with the output control data for designating a display area of the first additional data in the first contents. Therefore, the first additional data can be displayed at a desired area in the first contents.
According to a fourth aspect of the present invention, in the communication relay method according to the second aspect, the accumulating step includes further accumulation of output control data for designating a speed of scrolling the first additional data if the first additional data contain text data, and the combining step includes combining the first contents with the first additional data in accordance with the output control data.
By this structure, a scroll speed of e.g., a telop character string of a news flash that is combined with the first contents can be adjusted.
According to a fifth aspect of the present invention, in the communication relay method according to the second aspect, the accumulating step includes further accumulation of output control data for designating an output frequency of the first additional data if the first additional data contain moving image data, and the combining step includes combining the first contents with the first additional data in accordance with the output control data.
By this structure, a display speed of an animation that is combined with the first contents to be displayed can be adjusted.
According to a sixth aspect of the present invention, the communication relay method according to the first aspect further includes the step of mixing the first contents with the first additional data so as to generate mixing data if each of the first contents and the first additional data contain audio data, wherein the transmitting step includes transmitting the mixing data.
By this structure, an announce voice or a BGM for example can be mixed with a speech communication voice, which can be reproduced in the computer that is a destination.
According to a seventh aspect of the present invention, in the communication relay method according to the sixth aspect, the accumulating step includes further accumulation of output control data for designating an output sound level of the first additional data, and the mixing step includes mixing the first contents with the first additional data in accordance with the output control data.
By this structure, a sound level of an announce voice or a BGM that is mixed with a speech communication voice can be adjusted so that it can be heard without interfering the speech communication.
According to a eighth aspect of the present invention, the communication relay method according to the first aspect further includes the step of adjusting quality of image data and/or audio data contained in the first contents, wherein the transmitting step includes transmitting the first additional data and first contents after adjusted in the quality adjusting step.
By this structure, a process such as a contrast adjustment, an edge emphasizing, or a sepia filter process can be performed on the image data contained in the first contents, for instance. In addition, if the image data or the audio data contained in the first contents have a packet loss, an image compensation or a sound compensation can be performed.
According to a ninth aspect of the present invention, a communication relay device for relaying communication between two computers is provided. The device includes unit for establishing connection with the two computers, unit for receiving first contents transmitted from one of the two computers to the other as a payload, unit for accumulating first additional data to be added to the first contents, and unit for transmitting second contents containing the first contents and the first additional data as a payload to the computer that is a destination of the first contents. The first contents to be received by the receiving unit contain image data and/or audio data.
According to a tenth aspect of the present invention, a communication relay program is provided, which is executed by a relay device for relaying communication between two computers. The program functionalizes the relay device as unit for establishing connection with the two computers, unit for receiving first contents transmitted from one of the two computers to the other as a payload, unit for accumulating first additional data to be added to the first contents, and unit for transmitting second contents containing the first contents and the first additional data as a payload to the computer that is a destination of the first contents. The first contents to be received by the receiving unit contain image data and/or audio data.
According to an eleventh aspect of the present invention, a computer-readable recording medium storing a communication relay program is provided, which is executed by a relay device for relaying communication between two computers. The program functionalizes the relay device as unit for establishing connection with the two computers, unit for receiving first contents transmitted from one of the two computers to the other as a payload, unit for accumulating first additional data to be added to the first contents, and unit for transmitting second contents containing the first contents and the first additional data as a payload to the computer that is a destination of the first contents. The first contents to be received by the receiving unit contain image data and/or audio data.
The recording medium storing a program for performing the above-mentioned method of the present invention is in the scope of the present invention. The recording medium can be a flexible disk, a hard disk, a semiconductor memory, a CD-ROM, a DVD, an MO, or others that can be read and written by a computer.
According to a twelfth aspect of the present invention, a communication relay method is provided, which is performed by a relay device that relays communication between two computers. The method includes the steps of establishing connection with the two computers, receiving second contents containing first contents transmitted from one of the two computers to the other and first additional data added to the first contents by the other relay device as a payload, accumulating second additional data to be added to the first contents, reconstructing the first contents by removing the first additional data from the second contents, and transmitting third contents containing the first contents obtained in the reconstructing step and the second additional data as a payload to the computer that is a destination of the first contents.
By this structure, it is prevented that unnecessary additional data are added to the first contents. Furthermore, it is prevented that additional data are added to the first contents in an overlapping manner.
According to a thirteenth aspect of the present invention, a communication relay method is provided, which is performed by a relay device that relays communication between two computers. The method includes the steps of establishing connection with the two computers, receiving first contents transmitted from one of the two computers to the other as a payload, accumulating first additional data to be added to the first contents, deciding whether or not second additional data that was added to the first contents by a relay device except the relay device are contained in the reception data, and transmitting third contents containing the first contents and the second additional data as a payload to the computer that is a destination of the first contents if the reception data contain the second additional data, while transmitting second contents containing the first contents and the first additional data as a payload to the computer that is a destination of the first contents if the reception data does not contain the second additional data. The first contents to be received in the receiving step contain image data and/or audio data.
By this structure, if the second additional data are added to the first contents by another relay device, the first contents can be transmitted to the computer that is a destination without adding the first additional data. Otherwise, if the second additional data are not added to the first contents by another relay device, the first additional data can be added to the first contents, which are transmitted to the computer that is a destination.
Hereinafter, the present invention will be explained more in detail with reference to embodiments and drawings.
The communication terminal 2a performs a bidirectional communication such as an IP telephone with the communication terminal 2b. The communication terminals 2a and 2b are respectively connected to the relay devices 1a and 1b via a public telephone line, LAN (not shown), or the like. The relay devices 1a and 1b are disposed between inner fire walls 4a and 4d and outer fire walls 4b and 4c, so as to ensure security of the relay devices 1a and 1b and the communication terminals 2a and 2b. The fire walls 4a-4d can be constituted by using well-known fire wall servers (not shown) or others. Hereinafter, unless it is particularly mentioned, the relay device 1b, the communication terminal 2b and the fire wall 4b-4d have structures and functions similar to the relay device 1a, the communication terminal 2a and the fire wall 4a, respectively, for representing them by the relay device 1, the communication terminal 2 and the fire wall 4. Furthermore, the present invention can be applied to a structure without a fire wall.
The relay device 1 relays data communication between the communication terminal 2a and the communication terminal 2b.
The relay control portion 13 controls the adder-subtracter portion 15 in accordance with information accumulated in a control information DB 14 that will be explained later. The adder-subtracter portion 15 add the additional data accumulated in the database for addition 16 to the decoded first contents in accordance with a control instruction by the relay control portion 13. It is preferable that the adder-subtracter portion 15 embeds the additional data in the first contents so as to combine them. On the contrary, it is possible that the adder-subtracter portion 15 deletes the additional data from the contents containing the additional data added by another relay device 1 in accordance with a control instruction by the relay control portion 13 so as to reconstruct the first contents to be transmitted and received. In addition, the adder-subtracter portion 15 may further add additional data to the contents containing the additional data added by another relay device 1 in accordance with a control instruction by the relay control portion 13. The relay control portion 13 transfers the second contents obtained by adding the additional data to the first contents to the CODEC portion 12. The CODEC portion 12 compresses and encodes the second contents, are transferred to the RTP control portion 11. The RTP control portion 11 converts the compressed second contents into the RTP packet as a payload and transfers the same to the IP control portion 10. The IP control portion 10 transmits the communication data containing the RTP packet to the communication terminal 2.
The control information DB 14 includes a control information table 141 and an attribution table 142. The control information is information for indicating how to add the additional data to the first contents. For instance, if the first contents and the additional data are image data or text data, the control information can be as follows.
a) Data for designating an area in which the additional data are embedded
b) Data for designating a scroll speed of text data
c) Data for designating an output frequency of a moving image
The data a) can be data for designating a position and a size of an area where the additional data are displayed by pixels. The data b) can be data for designating a moving speed of a text by pixels/sec, i.e., the number of moving pixels per second. The data c) can be data for designating a frequency of displaying a moving image by frames/sec, i.e., the number of displayed frames per second.
Furthermore, if the first contents and the additional data are audio data for instance, the control information can be data like below.
d) Data for designating a sound level of the additional data
e) Data for designating a sound level of a mixed sound of the first contents and the additional data
In the following explanation, it is supposed that the first contents that are static image data or moving image data are combined with the additional data that are character string data, static image data or moving image data.
The attribution table 142 is for accumulating the relationship between the method of adding the additional data and the attribution value. Here, as an example as shown in
The database for addition 16 is for accumulating the additional data. In this example, the database for addition 16 includes a character string table 161, a static image table 162 and a moving image table 163.
Hereinafter, a flow of a process in the entire communication system will be explained with reference to
The call is performed as follows. The communication terminal 2a transmits a first INVITE message to the relay device 1a (#1). The first INVITE message contains contents as shown in
The relay device 1b decides whether or not the second INVITE message contains the designation header (#4). If it is contained, the designation header 40 is removed from the second INVITE message so that the third INVITE message is generated (#5). The relay device 1b transmits a third INVITE message to the communication terminal 2b (#6). The third INVITE message contains the contents as shown in
When the call between the communication terminal 2a and the communication terminal 2b is established, the bidirectional communication is started between the communication terminal 2a and the communication terminal 2b. In order to simplify the description, it is assumed that the moving image data are transmitted from the communication terminal 2a to the communication terminal 2b. First, a part of the first contents (hereinafter simply referred to as first contents) is transmitted from the communication terminal 2a to the relay device 1a (#13).
The adder-subtracter portion 15 of the relay device 1a adds first additional data to the first contents in accordance with the instruction of the relay control portion 13 so as to generate the second contents (#14). A type of the added data and a method of embedding the additional data are based on the designation header 40 of the second INVITE message. For example, the relay control portion 13 of the relay device 1a instructs the adder-subtracter portion 15 to combine the first contents with the text data accumulated in the database for addition 16 as the additional data in accordance with the attribution table 142 and the attribution value “01” that is indicated in the designation header 40 as shown in
The relay control portion 13 of the relay device 1b that received the second contents containing the first contents and the first additional data recognizes that the first additional data is contained in the second contents in accordance with the designation header of the second INVITE message. Accordingly, e.g., the relay control portion 13 of the relay device 1b can instruct the adder-subtracter portion 15 to delete the first additional data from the second contents (#16). In this way, the first contents that are the original moving image data are reconstructed.
Next, the relay control portion 13 instructs the adder-subtracter portion 15 to add the second additional data stored in the database for addition 16 thereof to the first contents, so as to generate third contents (#17). The output control data for designating a type of the second additional data and a method of embedding the same can be determined in accordance with the designation header 40 in the second INVITE message from the relay device 2a, for example. In addition, it is possible to decide which additional data are added and how the second additional data are embedded in accordance with the data of the control information DB 14 stored in the relay device 2b. After that, the relay device 1b transmits the generated third contents to the communication terminal 2b (#18).
The process explained above can be also applied to the case where the communication terminal 2b transmits data to the communication terminal 2a. In this case, roles of the relay devices 1a and 1b are exchanged. In addition, the relay device 1 can have both functions of relay devices 1a and 1b. Since this relay device 1 generates new contents by adding additional data such as an advertisement to contents and transmits the new contents as a payload, the additional data can be delivered in a terminal at the reception side without depending on a communication application of the terminal at the reception side. In addition, if it is not desired to deliver the additional data in the terminal at the reception side, the additional data can be erased by the relay device 1. Furthermore, it is prevented that the additional data are added to the original contents in an overlapping manner.
In the first embodiment as shown in
The process flow of the communication system in this case will be explained with reference to
In the above-explained first embodiment as shown in
The process flow of the communication system in this case will be explained with reference to
In this way, the relay device 1 can add the additional data to the first contents in a superimposing manner.
(A) The first contents of the first embodiment explained above can be data except for an image. For example, they can be speech communication audio data. Furthermore, the additional data of the first embodiment can be data except for a character string. For example, they can be a static image, a moving image or audio data. If the first contents are a moving image and the additional data are a static image for example, the adder-subtracter portion 15 produces bitmapped data (RGB data) of the static image with the first contents as a background by picture in picture. It is possible to produce the first contents with the bitmapped data of the static image as a background by picture in picture. Alternatively, if the first contents and the additional data are moving images, the adder-subtracter portion 15 combines the additional data that are bitmapped data (RGB data) of continuous static images constituting a moving image with the first contents continuously. Alternatively, if the first contents and the additional data are audio data, the adder-subtracter portion 15 mixes the first contents with the additional data.
(B) The relay device 1a or the relay device 1b in the first embodiment explained above may perform a process for compensating quality deterioration of the first contents, the first additional data, the second contents, the second additional data and the third contents, a process for compensating a packet loss, a process for adjusting a contrast of an image and a process for adjusting a gain of the audio data. In addition, information indicating whether or not to perform the above-mentioned processes may be accumulated in the control information DB 14, and the above-mentioned processes may be performed in accordance with the information.
(C) In the first embodiment explained above, the relay device 1 adds the additional data stored in itself to the contents. However, it is possible that relay device 1 obtains a resource existing in the other relay device 1 or on the network 3 and adds it as the additional data to the contents.
(D) It is possible that a user of the relay device 1 of the first embodiment explained above may adds the additional data such as a character string, an image or a sound indicating an advertisement of a product or a service to the first contents, so as to collect an advertisement fee from a person who asked the advertisement. In addition, it is possible that when a person uses the communication terminal 2 for receiving the second contents with an advertisement and purchasing a product or a service indicated by the advertisement contained in the second contents via a well-known electronic commerce, the person can be given a discount of a communication fee of the communication terminal 2 via the relay device 1 or a price of the product. Here, the product or the service indicated by the advertisement that is added to the first contents can be distinguished by inserting a key in the additional data for discriminating the product or the service. In this way, a profit may circulate among the user of the relay device 1, a person who asks the advertisement and the user of the communication terminal 2b.
(E) The recording medium storing the program for performing the method of the present invention explained above is included in the scope of the present invention. Here, the recording medium can be a flexible disk, a hard disk, a semiconductor memory, a CD-ROM, a DVD, a MO and other media that can be read and written by a computer.
According to the present invention, since the data obtained by adding additional data to contents are transmitted as new contents, it is possible to add data without depending on a communication application of a computer that is a destination.
While the presently preferred embodiments of the present invention have been shown and described, it will be understood that the present invention is not limited thereto, and that various changes and modifications may be made by those skilled in the art without departing from the scope of the invention as set forth in the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
2003-021072 | Jan 2003 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
6379251 | Auxier et al. | Apr 2002 | B1 |
6459682 | Ellesson et al. | Oct 2002 | B1 |
6957190 | Sakayori et al. | Oct 2005 | B1 |
7143169 | Champagne et al. | Nov 2006 | B1 |
7194761 | Champagne | Mar 2007 | B1 |
7290057 | Saunders et al. | Oct 2007 | B2 |
7313596 | Tani et al. | Dec 2007 | B2 |
20020169833 | Tani et al. | Nov 2002 | A1 |
20030023598 | Janakiraman et al. | Jan 2003 | A1 |
20030074413 | Nielsen et al. | Apr 2003 | A1 |
20030106070 | Saam | Jun 2003 | A1 |
20040213204 | Yang | Oct 2004 | A1 |
Number | Date | Country |
---|---|---|
2001-266005 | Sep 2001 | JP |
2002-222368 | Aug 2002 | JP |
2001-047171 | Sep 2002 | JP |
2002-252841 | Sep 2002 | JP |
WO 9920049 | Apr 1999 | WO |
Number | Date | Country | |
---|---|---|---|
20040158645 A1 | Aug 2004 | US |