Communication Apparatus, Communication Method, and Recording Medium Storing Program
When a communication apparatus (server device) that includes wireless access means and can send content data by using the wireless access means starts sending content data, it calculates a communication band that remains available for the server device to perform communication, so that any content that has a rate equal to or greater than the remaining communication band may not be publicized open to and may not hence be sent to a client device.
Latest Casio Patents:
- INVENTORY MANAGEMENT METHOD, RECORDING MEDIUM, AND INVENTORY MANAGEMENT DEVICE
- ELECTRONIC DEVICE AND ANTENNA CHARACTERISTIC ADJUSTING METHOD
- Biological information detection device with sensor and contact portions to bring sensor into contact with portion of ear
- WEB APPLICATION SERVER, STORAGE MEDIUM STORING WEB APPLICATION PROGRAM, AND WEB APPLICATION PROVIDING METHOD
- ELECTRONIC DEVICE, DISPLAY METHOD, AND STORAGE MEDIUM
1. Field of the Invention
The present invention relates to a communication apparatus and communication method for transmitting a content, and a recording medium storing a program.
2. Description of the Related Art
With the spread of network data communications over the Internet, a Local Area Network (LAN), etc., many households connect their electric appliances, computers, and other peripheral devices installed in their home to a network to use a home network that allows the devices to communicate.
For example, the Digital Living Network Alliance (DLNA) advocates a seamless network system that provides interoperability among any variety of electric appliances to enable one to enjoy a content from any of the appliances easily and conveniently at any place in the home. This system allows information such as an Audio Visual (AV) content that is stored on any device on the network to be received from any of the devices on the network. Accordingly, there is no need of caring about where a content is stored, and it is possible to view or listen to a content stored on a device that is installed in a separate room while staying in a different room. Therefore, usefulness is increased.
Further, as an extended version of the DLNA, a system that enables a domestic DLNA environment to be used un-domestically is also being studied. According to this technique, a plurality of devices are connected via the Internet according to a Session Initiation Protocol (SIP), and a router that functions as gateware that intermediates between the DLNA and the SIP is installed in the home. Hence, once the router in the home is authenticated successfully, it becomes a virtual DLNA device, which can be controlled by the real DLNA device in a remote place.
As more devices become DLNA-enabled and networking-enabled in the future, it is presumed that plural pieces of communication data may jam the network. In particular, in a case where many unidentified users access home-equipped DLNA devices from outside to send or receive a content, plural pieces of communication data compete for and thus run short of the communication band, and cause problems such as a delay in the distribution of streaming data that allows no delay.
As a method for solving such a problem, Unexamined Japanese Patent Application KOKAI Publication No. 2005-130150 discloses a method that allocates more resources to priority data to improve the communication quality of the priority data based on a priority Quality of Service (QoS) technique. The DLNA guideline also provides wired LAN 802.1D, which is a QoS scheme based on band reservation, and wireless LAN Wi-Fi Multimedia (WMM) as options to propose a system that can prevent a collapse of streaming data distribution that might occur due to a lack of the communication band.
Even the method described in Unexamined Japanese Patent Application KOKAI Publication No. 2005-130150 may be neither able to guarantee the communication quality nor hence able to maintain a fine communication environment when a plurality of streaming distribution sessions are held in parallel. For example, in a case where a plurality of (“n” number of) contents that are set to the same priority degree are streaming-distributed in parallel, if there is no sufficient network band available for transmitting the “n” sequences of streaming data, none of the “n” sequences of streaming data can be maintained at a transfer rate sufficient for them to be reproduced on the client side in real time, causing communication failures on the client device, such as disorders in the reproduced images, sound interruptions, etc.
SUMMARY OF THE INVENTIONOne aspect of the present invention is a communication apparatus that sends content data to another communication apparatus via a network, and includes:
a content candidate information storage unit that retains content candidate information that specifies content data candidates that may be sent by the communication apparatus to another communication apparatus;
a remaining communication band information obtaining unit that obtains remaining communication band information that indicates a communication band, of a total communication band available for use by the communication apparatus, that can be used at a time concerned;
a content sending unit that sends any content data specified in the content candidate information to another communication apparatus; and
a communication control unit that controls sending of content data by the content sending unit, based on the content candidate information retained by the content candidate information storage unit and the remaining communication band information obtained by the remaining communication band information obtaining unit.
Another aspect of the present invention is a communication method that includes:
storing content candidate information that specifies content data candidates that may be sent to another communication apparatus;
obtaining a remaining communication band that indicates a communication band, of a total communication band that is available for sending contents, that can be used at a time concerned and
controlling sending of content data based on the content candidate information and the remaining communication band.
Another aspect of the present invention is a recording medium that stores a computer-readable program which controls a computer to function, in a communication apparatus that sends content data to another communication apparatus via a network, as:
a content candidate information storage unit that retains content candidate information that specifies content data candidates that may be sent by the communication apparatus to the another communication apparatus;
a remaining communication band information obtaining unit that obtains remaining communication band information that indicates a communication band, of a total communication band available for use by the communication apparatus, that can be used at a time concerned;
a content sending unit that sends any content data specified in the content candidate information to another communication apparatus; and
a communication control unit that controls sending of content data by the content sending unit, based on the content candidate information retained by the content candidate information storage unit and the remaining communication band information obtained by the remaining communication band information obtaining unit.
In the present invention, it is possible to prevent a collapse of streaming data distribution that might occur due to a lack of the communication band. It is possible to maintain a fine communication environment.
These objects and other objects and advantages of the present invention will become more apparent upon reading of the following detailed description and the accompanying drawings in which:
With references to
As shown in
The UPnP specifications provide a technique for connecting devices in one's home such as personal computers and peripheral devices, AV equipment, telephone sets, electric appliances to each other via a network for them to mutually provide a functional aid. The UPnP specifications name device, service, and control point as the basic elements of a network. A “device” is one that supports UPnP. A “service” is the minimum unit that expresses a function provided by a device. A “control point” is where a service held by a device is controlled and used. Each device holds at least one service, but one device may not necessarily hold only one function. One device may hold a plurality of device functions. Further, a function may be an integration of a control point and a device.
In the communication system according to the present embodiment, the client devices 13 and 14 constitute control points as described above. The server device 12 is a device that holds a service of a media server, which is prescribed by Universal Plug and Play Audio Visual (UPnP AV: a version of the UPnP specifications that is specialized for AV contents). The server device 12 stores content data and provides them to the client devices 13 and 14.
As shown in detail in
The communication unit 21 is a communication interface for performing IP communications on the network 10. A modem circuit and a communication protocol (hereinafter they will be referred to as wireless access means) that support a wireless communication scheme (or a wireless communication standard) such as wireless LAN, Code Division Multiple Access (CDMA), etc. are implemented on the communication unit 21. The communication unit 21 receives and sends data of various kinds. The communication unit 21 receives various requests from, for example, the client devices 13 and 14, for example, a request to retrieve device information or a request to retrieve content information, and sends device information, content information, and further content data, etc.
The control unit 22 is constituted by, for example, a Central Processing Unit (CPU) or the like, and executes a predetermined control program to control the operation of the whole server device 12. The control program executed by the control unit 22 enables the server device 12 to demonstrate its functions as a device and functions as a media server prescribed by the UPnP AV mentioned above.
More specifically, the control unit 22 includes, as shown in
The communication process control unit 220 instructs the communication unit 21 to change the operation status of its communication function thereby to control (change) the operation status to, for example, acquisition of a wireless signal, sending, receiving, standby for receiving, etc. Together, the communication process control unit 220 manages the operation status of the communication function (to be detailed later) held by the communication unit 21.
The device presence notification process control unit 221 sends such notifications as
(1) a device presence notification for when the server device 12, in which the device presence notification process control unit 221 is included, is connected to the network 10, to advertise that the server device 12 is present on the network, and
(2) a device separation notification for when the server device 12 is disconnected from the network 10, to advertise that the server device 12 is separated from the network. The device presence notification process control unit 221 sends such notifications and controls sending of them. The device presence notification process control unit 221 also receives, among requests from the client devices 13 and 14, a device presence notification request (i.e., a command for requesting a device presence notification) and controls receiving of such a request.
The device information sending process control unit 222 receives, among requests from the client devices 13 and 14, a detailed device information sending request, and controls receiving of such a request. The device information sending process control unit 222 also sends detailed device information to the client devices 13 and 14 and controls sending of such information. Detailed device information includes, for example, maker information indicating a fabrication serial number, a maker name, etc., and a list of services provided by the device, etc.
The content information sending process control unit 223 receives, among requests from the client devices 13 and 14, a content information sending request, and controls receiving of such a request. The content information sending process control unit 223 sends content information to the client devices 13 and 14, and controls sending of such information. Content information is stored in the server device 12 in the form of, for example, digital data. The content information includes information indicating the attributes and tiers of contents that can be provided to the client devices 13 and 14.
The content sending process control unit 224 receives, among requests from the client devices 13 and 14, a content data sending request, and controls receiving of such a request. The content sending process control unit 224 sends content data to the client devices 13 and 14, and controls sending of such data. When the content sending process control unit 224 starts sending a content to any of the client devices 13 and 14, it sends a notification to that effect (an event notification) to the open content information management processing unit 24 (to be more specific, to an open content information management control unit 540 shown in
The storage unit 23 in the server device 12 roughly includes, as shown in
The communication band information stored in the total communication band information storage unit 231 includes total communication band information. The total communication band information indicates a communication band that is available for performing a communication such as sending of a content, when the server device 12 is not performing any communication. The total communication band information may be expressed as a transfer rate CBT (an arbitrary value) as shown in
The content list information stored in the open content information storage unit 232 includes information about a data communication band, which is a communication band required for transmission of content data of each content data candidate.
For example, the content list information mentioned above is in the form of a transmission load calculation table as shown in
This transmission load calculation tables tells that in a case where the transmission load is “100” as shown in
The data communication band information may be of any kind and in any format, as long as it can specify the band and the communication rate required for sending a content. For example, the data communication band information may be a table that associates a content data candidate with a transfer rate that indicates a communication amount per unit time period required for sending the content.
The total communication band information may be expressed as the number of contents that can be sent simultaneously, other than being expressed as exemplified in
The method for storing the total communication band information (for example, the information shown in
The open content information management processing unit 24 (
The communication band management processing unit 25
More specifically, in the case of the total communication band information shown in
The remaining communication band calculating unit 550 uses the communication band in use information obtained by the communication band in sue calculating unit 552 and subtracts this communication band in use information from the total communication band information retrieved by the total communication band retrieving unit 551 to calculate remaining communication band information.
An example operation of the communication apparatus (server device 12) according to the first embodiment having the above configuration for generating (updating) content list information stored in the open content information storage unit 232 will now be explained. The server device 12 performs a process as shown in
In the process of
When it is determined at step S600 that an event notification is received (step S600; Yes), retrieval of the total communication band information is performed at the next step S601. At this retrieval of the total communication band information, the open content information management control unit 540 requests the remaining communication band calculating unit 550 to calculate remaining communication band information. At this request, the remaining communication band calculating unit 550 instructs (requests) the total communication band retrieving unit 551 to retrieve the total communication band information. In response to this instruction (request), the total communication band retrieving unit 551 refers to the total communication band information storage unit 231 and retrieves the total communication band information.
At the next step S602, the communication band in use calculating unit 552, which is at the request of the remaining communication band calculating unit 550, calculates communication band in use information by referring to a content data sending status managed by the content sending process control unit 224 and the content list information stored in the open content information storage unit 232. To calculate communication band in use information, the communication band in use calculating unit 552 may calculate a transmission load that indicates communication band in use information, by referring to the transmission load translation table (
At the next step S603, the remaining communication band calculating unit 550 calculates remaining communication band information based on the total communication band information and the communication band in use information that have been retrieved and calculated at the step S601 and step S602. Then, the remaining communication band calculating unit 550 sends the calculated remaining communication band information to the open content information management control unit 540.
At the next step S604, the open content information management control unit 540 requests the un-sendable content extracting unit 542 to extract any content data that has a transfer rate equal to or greater than the remaining communication band. At this request, the un-sendable content extracting unit 542 extracts any content data that has a transfer rate equal to or greater than the remaining communication band, i.e., content data that cannot be sent to the client device (requesting client), based on the remaining communication band information calculated at step S603.
At the next step S605, the open content information management control unit 540 requests the un-sendable content possession determining unit 543 to perform determination. At this request, the un-sendable content possession determining unit 543 determines whether or not there is any content data that cannot be sent to the client device by using the result of extraction at step S604, and sends the result of determination to the open content information management control unit 540. In a case where the un-sendable content possession determining unit 543 determines in the determination at step S605 that there is not content data that cannot be sent (step S605; No), the process of
At this step S606, the open content information management control unit 540 requests the open content information updating unit 541 to update the content list information. At this request, the open content information updating unit 541 updates the content list information in the open content information storage unit 232 based on the information extracted at step S604. In this updating of the content list information, the open content information updating unit 541 excludes any content that has been extracted by the un-sendable content extracting unit 542 from the content list information in the open content information storage unit 232 so that a request from the client device 13 or 14 for that content data to be streaming-sent thereto may not be received. By being excluded from the content list information, any content data whose data communication band is equal to or greater than the communication band will not be publicized open to the client devices 13 and 14.
As has been explained, the communication apparatus according to the first embodiment can achieve the following effects.
(1) The communication apparatus (server device 12) according to the present embodiment includes: access means (communication unit 21) that accesses the network 10; content information storage means (open content information storage unit 232) that retains content candidate information (content list information) that indicate content data candidates that may be sent to the client device 13 or 14 from the server device 12, which is a communication apparatus for sending predetermined content data to any other communication apparatuses (client devices 13 or 14) via the network 10; remaining communication band calculating means (remaining communication band calculating unit 550, step S603 in
(2) In the server device 12, the open content information management processing unit 24 prohibits sending of one or more of the content data candidates indicated in the content list information, based on the content list information retained by the open content information storage unit 232 and the remaining communication band information calculated by the remaining communication band calculating unit 550. By prohibiting sending of content data based on the remaining communication band information, it is possible to send only such data that suit the remaining communication band information among the candidates indicated in the content list information.
(3) In the server device 12, the content list information retained by the open content information storage unit 232 indicates, for each content data candidate, a data communication band (e.g., transfer rate, transmission load, or the like), which is a communication band required for transmitting the content data (
(4) The server device 12 includes: total communication band information storage means (total communication band information storage unit 231) that retains total communication band information that indicates a total communication band that can be used by the server device 12 to perform communications; and communication band in use calculating means (communication band in use calculating unit 552) that calculates communication band in use information that indicates a communication band, out of the total communication band, that is used for sending content data at the time concerned, based on the content list information retained by the open content information storage unit 232 (steps S601 and S602 in
(5) The server device 12 includes content sending start determining means (open content information management control unit 540) that determines whether or not the content sending process control unit 224 has started sending content data to the client device 13 or 14 (step S600 in
Next, with reference to
The communication apparatus (server device 12) according to the present embodiment includes a content sending determination control processing unit 70 shown in
As shown in
To be more specific, the content sending determination control unit 700 receives a notification about a request from a client from the content sending process control unit 224, and requests the remaining communication band calculating unit 550 to calculate remaining communication band information. Then, the content sending determination control unit 700 obtains the remaining communication band information calculated by the remaining communication band calculating unit 550 (calculated in the same manner as in the first embodiment), and notifies the remaining communication band information to the content sending determining unit 701. Note that the notification from the content sending process control unit 224 about a request from a client is sent by the content sending process control unit 224 when any of the client devices 13 and 14 (requesting client) has given a request for content data to be sent thereto by streaming.
The content sending determining unit 701 determines whether or not there is a communication band left enough to streaming-send data to the client device, by comparing the remaining communication band information notified (sent) by the content sending determination control unit 700 with the transfer rate (retrieved from the content list information, for example) of the content data that the client device (requesting client) has requested to be streaming-sent thereto, and sends the result of the determination to the content sending determination control unit 700.
Next, an example of an operation of the communication apparatus (server device 12) according to the second embodiment having the above-described configuration for generating a response to a request from a client device (requesting client) for content data to be sent thereto will be explained. That is, the server device 12 performs a process as shown in
In the process of
Then, when it is determined at step S800 that an event notification has been received (step S800; Yes), the same processes as those at steps S601 to S603 (first embodiment) described above are performed at the subsequent steps S801 to S803. However, it should be noted that the communication band management processing unit 25 of the present embodiment is controlled by the content sending determination control unit 700 as shown in
After remaining communication band information is calculated at step S803, the content sending determination control unit 700 requests the content sending determining unit 701 to perform determination at the succeeding step S804. At this request, the content sending determining unit 701 determines whether or not the transfer rate of the content data that the client device (requesting client) has requested to be streaming-sent thereto is equal to or smaller than the remaining communication band.
In a case where the content sending determining unit 701 determines in the determination process at step S804 that the transfer rate of the content data that the client device (requesting client) has requested to be streaming-sent thereto is equal to or greater than the remaining communication band, i.e., in a case where it is determined that the streaming-sending is impossible (step S804; No), the content sending determination control unit 700 notifies the content sending process control unit 224 at the next step S806 that streaming-sending is impossible. After this, the content sending process control unit 224 sends a response to the streaming-sending request, to which response an appropriate HTTP status code is set, to the client device (requesting client) via the communication unit 21 (
On the other hand, in a case where the content sending determining unit 701 determines in the determination process at step S804 that the transfer rate of the content data is equal to or smaller than the remaining communication band, i.e., in a case where it is determined that streaming-sending is possible (step S804; Yes), the content sending determination control unit 700 notifies the content sending process control unit 224 at the next step S805 that streaming-sending is possible. After this, the content sending process control unit 224 sends the requested content data to the client device (requesting client) via the communication unit 21.
As explained above, the communication apparatus according to the second embodiment can achieve the following effect in addition to the above-described effects (1), (2), and (4).
(6) The communication apparatus (server device 12) according to the present embodiment includes streaming-sending request determining means (content sending determination control unit 700) that determines whether or not streaming-sending request for any content data candidate indicated in the content list information has been given from the client device 13 or 14 (step S800 in
Next, with reference to
The communication apparatus (server device 12) according to the present embodiment includes a transcode or transrate control processing unit 90 as shown in
As shown in
The un-sendable content extracting unit 903 and the un-sendable content possession determining unit 904 have similar functions to those of the un-sendable content extracting unit 542 and the un-sendable content possession determining unit 543 (
The open content information updating unit 902 updates the content list information by excluding the content data extracted by the un-sendable content extracting unit 903 from the content list information and instead adding the content data that has been transcoded by the transcode or transrate processing unit 901 so that it has a transfer rate equal to or smaller than the remaining communication band to the content list information as new content data.
Next, an example of an operation of the communication apparatus (server device 12) according to the third embodiment having the above-described configuration for generating (updating) content list information stored in the open content information storage unit 232 will be explained. That is, the server device 12 performs a process as shown in
In the process of
In a case where the un-sendable content possession determining unit 904 determines in the determination process at step S1005 that there is no content data that cannot be sent (step S1005; No), the process of
At step S1006, the transcode or transrate control unit 900 receives a determination result from the un-sendable content possession determining unit 904. Then, in accordance with an instruction from the transcode or transrate control unit 900, the transcode or transrate processing unit 901 transcodes the content data that has been extracted at step S1004 by the un-sendable content extracting unit 903 so that it may have a transfer rate equal to or smaller than the remaining communication band.
Then, at step S1007, the transcode or transrate control unit 900 requests the open content formation updating unit 902 to update the content list information. Then, in response to this request (instruction), the open content information updating unit 902 updates the content list information in the open content information storage unit 232, based on the information transcoded at step S1006. In this updating of the content list information, the content data extracted by the un-sendable content extracting unit 903 is excluded from the content list information. Then, the content data that has been newly generated at step S1006 by transcoding that provides a transfer rate equal to or smaller than the remaining communication band is added to the content list information.
As explained above, the communication apparatus according to the third embodiment can achieve the following effects in addition to the above-described effects (1), (4), and (5).
(7) The communication apparatus (server device 12) according to the present embodiment includes the transcode or transrate control processing unit 90 that processes one or more of the content data candidates indicated in the content candidate information, based on the content list information retained by the open content information storage unit 232 and the remaining communication band information calculated by the remaining communication band calculating unit 550. Therefore, of the candidates indicated in the content candidate information, any content data that is not desirable in terms of the communication band can be translated into data that suits the remaining communication band information, by the processing by the transcode or transrate control processing unit 90.
(8) In the server device 12, the content list information retained by the open content information storage unit 232 includes, for each content data candidate, data communication band information that indicates a communication band required for transmitting the content data. The transcode or transrate control processing unit 90 includes: the un-sendable content extracting unit 903 that extracts any content data that has a data communication band equal to or greater than the remaining communication band, based on the content list information retained by the open content information storage unit 232 and the remaining communication band information calculated by the remaining communication band calculating unit 550 (step S1004 in
(9) In the server device 12, in a case where the un-sendable content possession determining unit 904 determines that there is any content data that has a data communication band equal to or greater than the remaining communication band, the transcode or transrate processing unit 901 transcodes all such data so that the data may have a data communication band equal to or smaller than the remaining communication band. And the server device 12 includes content candidate information updating means (open content information updating unit 902) that, after the transcoding process by the transcode or transrate processing unit 901, excludes the content data that has a data communication band equal to or greater than the remaining communication band from the content list information retained by the open content information storage unit 232 and newly includes the content data that has been transcoded to the content list information (step S1007 in
Another compression process may be performed instead of transcoding. That is, anything will do as long as it can data-process content data so that it may have a data communication band equal to or smaller than the remaining communication band.
Fourth EmbodimentNext, with reference to
The communication apparatus (server device 12) according to the present embodiment includes a streaming mode information updating processing unit 110 as shown in
As shown in
The un-sendable content extracting unit 1102 and the un-sendable content possession determining unit 1103 have similar functions to those of the un-sendable content extracting unit 542 and the un-sendable content possession determining unit 543 (
The streaming mode flag information updating unit 1101 updates the content list information in the open content information storage unit 232 by setting the streaming mode flag to “FALSE (un-sendable)” for any content, in the content list information stored in the open content information storage unit 232, that has been extracted by the un-sendable content extracting unit 1102.
Next, an example of an operation of the communication apparatus (server device 12) according to the fourth embodiment having the above-described configuration for generating (updating) content list information stored in the open content information storage unit 232 will be explained. That is, the server device 12 performs a process as shown in
In the process of
In a case where the un-sendable content possession determining unit 1103 determines at step S1205 that there is no content that cannot be sent (step S1205; No), the process of
At step S1206, the streaming mode flag information updating control unit 1100 receives the determination result from the un-sendable content possession determining unit 1103. Then, at the request of the streaming mode flag information updating control unit 1100, the streaming mode flag information updating unit 1101 updates the content list information in the open content information storage unit 232, based on the information extracted at step S1204 by the un-sendable content extracting unit 1102. In this updating of the content list information, the streaming mode flag information updating unit 1101 sets the streaming mode flag of any content extracted by the un-sendable content extracting unit 1102 to “FALSE”. As a result, any content that is set to “FALSE” is disabled for streaming distribution, and a streaming-sending request for such a content from the client device 13 or 14 will not be accepted.
As explained above, the communication apparatus according to the fourth embodiment can achieve the following effect in addition to the above-described effects (1), (2), (4), and (5).
(10) In the communication apparatus (server device 12) according to the present embodiment, the content list information retained by the open content information storage unit 232 indicates, for each content data candidate, a data communication band, which is a communication band required for transmitting the content data, and also includes a streaming mode flag that indicates whether it is possible or not to streaming-send the content data. The server device 12 includes the streaming mode information updating processing unit 110 that prohibits sending of one or more of the content data candidates indicated in the content list information, based on the content list information and the remaining communication band information. This streaming mode information updating processing unit 110 includes: the un-sendable content extracting unit 1102 that extracts any content data that has a data communication band equal to or greater than the remaining communication band, based on the content list information retained by the open content information storage unit 232 and the remaining communication band information calculated by the remaining communication band calculating unit 550 (step S1204 in
Next, with reference to
The communication apparatus (server device 12) according to the present embodiment includes a device separation notification sending processing unit 130 as shown in
The device separation notification sending process control unit 1300 controls the process of the whole device separation notification sending processing unit 130. In a case where the un-sendable content possession determining unit 1302 determines that there is any content that cannot be sent to the client devices, the device separation notification sending process control unit 1300 sends a request for disconnection of network connection to the communication process control unit 220 (
As explained above, the communication apparatus according to the fifth embodiment can achieve the following effect in addition to the above-described effects (1), (2), (4), and (5).
(11) In the communication apparatus (server device 12) according to the present embodiment, the content list information retained by the open content information storage unit 232 indicates, for each content data candidate, a data communication band, which is a communication band required for transmitting the content data. The server device 12 includes the device separation notification sending processing unit 130 that prohibits sending of one or more of the content data candidates indicated in the content list information, based on the content list information and the remaining communication band information. This device separation notification sending processing unit 130 includes: the un-sendable content extracting unit 1301 that extracts any content data that has a data communication band equal to or greater than the remaining communication band, based on the content list information retained by the open content information storage unit 232 and the remaining communication band information calculated by the remaining communication band calculating unit 550; the un-sendable content possession determining unit 1302 that determines whether or not there is any content data that has a data communication band equal to or greater than the remaining communication band, based on any content data that is extracted by the un-sendable content extracting unit 1301; and separation notification means (device separation notification sending process control unit 1300) that, in a case where the un-sendable content possession determining unit 1302 determines that there is any content data that has a data communication band equal to or greater than the remaining communication band, disconnects the server device 12 from the network 10 and notifies the client devices 13 and 14 that the server device 12 is separated from the network 10. Hence, in a case where there is any content data that has a data communication band equal to or greater than the remaining communication band, all the content data are prohibited from being sent and thus communication disturbance attributable to a lack of the communication band will be suppressed.
In a case where the un-sendable content possession determining units 543, 904, and 1103 determine that there is any content data that cannot be sent at step S605 in
Next, with references to
The communication unit 21
The communication apparatus (server device 12) according to the present embodiment includes a storage unit 23a as shown in
As shown in
The content storage unit 1502 and the open content information storage unit 1503 have similar functions to those of the content storage unit 230 and the open content information storage unit 232 (
The total communication band table storage unit 1500 is a memory area for storing the wireless access means installed on the communication unit 21, and a table (hereinafter referred to as total communication band table) that associates total communication band information with each wireless access means. The total communication band table storage unit 1500 stores a total communication band table as shown in, for example,
To be more specific, the total communication band table shown in
Meanwhile, the total communication band table shown in
The communication means selection table storage unit 1501 is a memory area for storing communication applications (applications that involve communication) installed on the server device 12, and table information (hereinafter referred to as communication means selection table) that associates each communication application with wireless access means used in that application. The communication means selection table storage unit 1501 stores such a communication means selection table as shown in
As shown in
Further, the communication apparatus (server device 12) according to the present embodiment includes a communication band management processing unit 180 as shown in
As shown in
The communication unit operation status information obtaining unit 1800 obtains the operation status of each wireless access means installed on the communication unit 21 from the communication process control unit 220 (
Next, an example of an operation of the communication apparatus (server device 12) according to the sixth embodiment having the above-described configuration for, as a communication terminal that supports a plurality of wireless access means, generating (updating) content list information stored in the open content information storage unit 232 and sending a response to a streaming-sending request for content data will be explained. That is, the server device 12 performs a process as shown in
In the process of
When it is determined at step S1900 that such a notification is received (step S1900; Yes), the remaining communication band calculating unit 1802 sends at the next step S1901, a notification to the effect that operation status information of the communication unit 21 is requested, to the communication unit operation status information obtaining unit 1800. At this request, the communication unit operation status information obtaining unit 1800 obtains from the communication process control unit 220, the operation status (access means-to-be-used information) of each wireless access means installed on the communication unit 21, and notifies the operation status to the remaining communication band calculating unit 1802. In a case where a plurality of wireless access means can be used at the same time, the communication unit operation status information obtaining unit 1800 determines the wireless access means (access means to be used) that is to be used at that time based on the operation status information of each wireless access means and the communication means selection table (
At the next step S1902, the remaining communication band calculating unit 1802 sends to the total communication band determining/calculating unit 1801, a request for total communication band information to be sent thereto. At this request, the total communication band determining/calculating unit 1801 obtains total communication band information (the sum of the total communication bands of the wireless access means that are determined at step S1901 as can be used) that can be used by the server device 12 to perform communication such as sending of a content, etc. based on the operation status information of each wireless access means obtained by the communication unit operation status information obtaining unit 1800 at step S1901 and the total communication band table (
At the next step S1903, the communication band in use calculating unit 1803 calculates communication band in use information and notifies the communication band in use information to the remaining communication band calculating unit 1802.
At the next step S1904, the remaining communication band calculating unit 1802 calculates remaining communication band information that can be used by the server device 12, based on the total communication band information and the communication band in use information obtained at step S1902 and step S1903. Then, the remaining communication band calculating unit 1802 sends the calculated communication band information to the open content information management processing unit 24.
As explained above, the communication apparatus according to the sixth embodiment can achieve the following effects in addition to the above-described effects (1) to (5).
(12) The communication apparatus (server device 12) according to the present embodiment includes plural kinds of access means (the first communication unit 1400 and the second communication unit 1401), and access means-to-be-used information obtaining means (communication unit operation status information obtaining unit 1800) that obtains access means-to-be-used information that indicates access means to be used, which is access means, of the plural kinds of access means, that should be used at that time concerned (step S1902 in
(13) The server device 12 includes access means associating means (communication means selection table storage unit 1501,
(14) The server device 12 includes usable access means information obtaining means (communication unit operation status information obtaining unit 1800) that obtains operation status information (usable access means information) of each wireless access means, which information indicates access means, of the plural kinds of access means, that can be used at the time concerned. Then, in the server device 12, the communication unit operation status information obtaining unit 1800 determines access means to be used, based on the usable access means information obtained by the communication unit operation status information obtaining unit 1800 and the communication means selection table storage unit 1501, i.e., obtains the access means-to-be-used information described above. Hence, access means that is appropriate as the access means to be used at the time concerned can be selected.
In the sixth embodiment described above, the communication unit 21, on which two communication units 1400 and 1401 are mounted, is shown as an example, but the present invention can likewise be applied to a case where three or more communication units are mounted. In such a case, it is preferable that the communication means selection table storage unit 1501 stores total communication band information for each of these wireless access means in the total communication band table. For example, in a case where the number of wireless access means is “n”, it is preferable that “n” pieces of wireless access means-to-be-used information that are given priority orders be stored.
In the sixth embodiment described above, an example where the present invention is applied to the open content information management processing unit 24 is shown as an example. However, instead of the processing unit 24, any of the content sending determination control processing unit 70 (
In each of the embodiments described above, content candidate information (content list information) is updated when sending of content data is started (while content data is sent). This is not the only case, but content candidate information may be updated after sending of content data is completed, e.g., when the remaining communication band increases. For example, the open content information management control unit 540 (or the transcode or transrate control unit 900, or the streaming mode flag information updating control unit 1100) may be configured as a unit (remaining communication band determining means) that determines whether the remaining communication band has changed (e.g., increased or decreased), and the remaining communication band calculating unit 550 may calculate remaining communication band information (or determine the remaining communication band) in a case where the open content information management control unit 540 (or the transcode or transrate control unit 900 or the streaming mode flag information updating control unit 1100) determines that the remaining communication band has changed. Even with such a configuration, an effect similar to the above-described effect (5) can be achieved.
The device separation notification sending process control unit 1300 may determine whether the remaining communication band has increased or not, so that when the remaining communication band increases, the server device that has been disconnected from the network may again be connected to the network and advertise via the device presence notification process control unit 221 that it is present on the network.
In each of the embodiments described above, in a case where the communication apparatus (server device 12) cannot perform streaming-sending, the server device 12 and the client devices 13 and 14 may exchange information for performing display using commands according to, for example, HTTP protocol or the like, so that a screen for, e.g., an “error display” as shown in
The retry timing on the display screen of
Transfer rate of content C≧remaining communication bandT (expression 0)
Assuming that the times at which the distribution of the contents A and B is finished are EndTime A and EndTime B respectively and that both are in the relationship of “EndTimeA<EndTimeB”, the remaining communication band when the distribution of the content A is finished can be expressed by a relational expression (expression 1).
Remaining communication bandT+1=remaining communication bandT+transfer rate of content A (expression 1)
At this time, if a relational expression (expression 2), which is
Transfer rate of content C≦remaining communication bandT+1 (expression 2)
is satisfied, distribution of the content C becomes possible when the distribution of the content A is finished. Hence, the time “EndTime A” is displayed on the above display screen.
On the other hand, if (expression 2) is not satisfied, distribution of the content C is not possible when the distribution of the content A is finished, and will therefore be postponed until the distribution of the content B is finished. In this case, the remaining communication band when the distribution of the content B is finished can be expressed by a relational expression (expression 3).
Remaining communication bandT+2=remaining communication bandT+1+transfer rate of content B (expression 3).
At this time, if a relational expression (expression 4), which is
Transfer rate of content C≧remaining communication band T+2 (expression 4)
is satisfied, distribution of the content C becomes possible when the distribution of the content B is finished. Hence, the time “EndTime B” is displayed on the above display screen. If (expression 4) is not satisfied either, the content C cannot originally be distributed. Hence, it is preferred that not the “retry suggestion display” as shown in
In the “status report” screen shown in
By performing such displays (
In each of the embodiments described above, it has been described that the server device 12 and the client devices 13 and 14 communicate with each other wirelessly, but they may be configured to communicate via wired connection. In such a case, wired access means via an x Digital Subscriber Line (xDSL), a fiber optic, etc. (standard for wired connection) may be used.
In each of the embodiments described above, any content data that has a data communication band equal to or greater than the remaining communication band is prohibited from sending or subjected to data processing. However, this is not the only case. For example, even such content data that is smaller than the remaining communication band but close to the remaining communication band may be prohibited from sending or subjected to data processing (transcoding) in the manner described above. For example, a predetermined margin band may be set, and any content data that does not satisfy “data communication band+margin band<remaining communication band” may be prohibited from sending or subjected to data processing in the manner described above.
The communication unit 21 that performs communication according to a plurality of communication protocols has been shown as plural kinds of wireless access means. However, communication means that employ different communication schemes to each other, such as communication units that use different frequency bands to each other, or communication units that communicate with a portable base station and with a wireless LAN base station respectively, may be employed as wireless access means that are different from each other. The communication unit may physically be constituted by a plurality of communication units.
Various embodiments and changes may be made thereunto without departing from the broad spirit and scope of the invention. The above-described embodiments are intended to illustrate the present invention, not to limit the scope of the present invention. The scope of the present invention is shown by the attached claims rather than the embodiments. Various modifications made within the meaning of an equivalent of the claims of the invention and within the claims are to be regarded to be in the scope of the present invention.
This application is based on Japanese Patent Application No. 2008-94341 filed on Mar. 31, 2008 and including specification, claims, drawings and summary. The disclosure of the above Japanese Patent Application is incorporated herein by reference in its entirety.
Claims
1. A communication apparatus that sends content data to another communication apparatus via a network, comprising:
- a content candidate information storage unit that retains content candidate information that specifies content data candidates that may be sent by the communication apparatus to another communication apparatus;
- a remaining communication band information obtaining unit that obtains remaining communication band information that indicates a communication band, of a total communication band available for use by the communication apparatus, that can be used at a time concerned;
- a content sending unit that sends any content data specified in the content candidate information to another communication apparatus; and
- a communication control unit that controls sending of content data by the content sending unit, based on the content candidate information retained by the content candidate information storage unit and the remaining communication band information obtained by the remaining communication band information obtaining unit.
2. The communication apparatus according to claim 1,
- wherein the communication control unit prohibits sending of one or more of the content data indicated in the content candidate information, based on the content candidate information retained by the content candidate information storage unit and the remaining communication band information calculated by the remaining communication band information calculating unit.
3. The communication apparatus according to claim 2,
- wherein the content candidate information retained by the content candidate information storage unit includes, for each of the content data candidates, required band information that indicates a communication band required to transmit the content data, and
- the communication control unit includes:
- an un-sendable content extracting unit that extracts any content data that requires a communication band equal to or greater than a remaining communication band as an un-sendable content, based on the remaining communication band information obtained by the remaining communication band information obtaining unit and the content candidate information retained by the content candidate information storage unit; and
- a content candidate updating unit that prohibits sending of the content data extracted by the un-sendable content extracting unit, by excluding the content candidate information about the content data from the content candidate information retained by the content candidate information storage unit.
4. The communication apparatus according to claim 2, comprising a streaming-sending request determining unit that determines whether or not another communication apparatus has given a streaming-sending request for any content data specified in the content candidate information,
- wherein the content candidate information retained by the content candidate information storage unit includes, for each content data candidate, information that indicates a communication band required for transmitting the content data, and
- the communication control unit includes:
- a content sending determining unit that determines, for any content data for which the streaming-sending request determining unit determines that a streaming-sending request has been given, whether a communication band of the content data, for which the streaming-sending request has been given, is equal to or smaller than a remaining communication band or not, based on the remaining communication band information obtained by the remaining communication band information obtaining unit and the content candidate information retained by the content candidate information storage unit; and
- a streaming-sending prohibiting unit that prohibits sending of the content data for which the streaming-sending request has been given, in a case where the content sending determining unit determines that the communication band required for transmitting the content data for which the streaming-sending request has been given is neither equal to nor smaller than the remaining communication band.
5. The communication apparatus according to claim 2,
- wherein the content candidate information retained by the content candidate information storage unit indicates, for each content data, a communication band necessary for transmitting the content data, and includes, for each content data, a streaming mode flag that indicates whether it is possible or not to streaming-send the content data, and
- the communication control unit includes:
- an un-sendable content extracting unit that extracts any content data that requires, for the content data to be sent, a communication band equal to or greater than a remaining communication band, based on the remaining communication band information obtained by the remaining communication band information obtaining unit and the content candidate information retained by the content candidate information storage unit; and
- a flag setting unit that sets, for any content data extracted by the un-sendable content extracting unit, the streaming-mode flag in the content candidate information retained by the content candidate information storage unit to “FALSE”.
6. The communication apparatus according to claim 1,
- wherein the communication control unit includes a processing unit that processes one or more content data specified in the content candidate information, based on the content candidate information retained by the content candidate information storage unit and the remaining communication band information obtained by the remaining communication band information obtaining unit.
7. The communication apparatus according to claim 6,
- wherein the content candidate information retained by the content candidate information storage unit includes, for each content data candidate, information that indicates a communication band necessary for transmitting the content data, and
- the communication control unit includes an un-sendable content extracting unit that extracts any content data that requires, for the content data to be sent, a communication band equal to or greater than a remaining communication band, based on the remaining communication band information obtained by the remaining communication band information obtaining unit and the content candidate information retained by the content candidate information storage unit, and
- the processing unit includes a data processing unit that data-processes any content data that is determined by the un-sendable content extracting unit as requiring a communication band equal to or greater than the remaining communication band, such that the content data requires, for the content data to be sent, a communication band equal to or smaller than the remaining communication band.
8. The communication apparatus according to claim 7,
- wherein the data processing unit includes means that transcodes content data extracted by the un-sendable content extracting unit as requiring a communication band equal to or greater than the remaining communication band for the content data to be sent, such that all such data require a communication band equal to or smaller than the remaining communication band, and
- the communication apparatus includes a content candidate information updating unit that, after the transcoding by the data processing unit, excludes the content candidate information about the content data that requires a communication band equal to or greater than the remaining communication band for the content data to be sent from the content candidate information retained by the content candidate information storage unit, and stores content candidate information about the transcoded content data in the content candidate information storage unit.
9. The communication apparatus according to claim 2,
- wherein the content candidate information retained by the content candidate information storage unit includes, for each content data candidate, information that indicates a communication band required for transmitting the content data, and
- the communication control unit includes:
- an un-sendable content extracting unit that extracts any content data that requires a communication band equal to or greater than a remaining communication band for the content data to be sent, based on the remaining communication band information obtained by the remaining communication band information obtaining unit and the content candidate information retained by the content candidate information storage unit; and
- a separation notifying unit that, in a case where the un-sendable content extracting unit extracts any content data that requires a communication band equal to or greater than the remaining communication band for the content data to be sent, disconnects the communication apparatus from the network and notifies another communication apparatus that the communication apparatus is separated from the network.
10. The communication apparatus according to claim 1,
- wherein the content candidate information retained by the content candidate information storage unit includes, for each content data candidate, information that indicates a communication band required for sending the content data,
- the communication apparatus includes: a total communication band information storage unit that retains total communication band information that indicates a total communication band available for use by the communication apparatus to perform communication; and a communication band in use obtaining unit that obtains communication band in use information that indicates a communication band, of the total communication band, that is used at a time concerned for performing sending, based on the content candidate information retained by the content candidate information storage unit, and
- the remaining communication band information obtaining unit obtains the remaining communication band information based on the total communication band information retained by the total communication band information storage unit and the communication band in use information obtained by the communication band in use obtaining unit.
11. The communication apparatus according to claim 10, comprising: plural kinds of access means that gain access to the network; and access means-to-be-used information obtaining unit that obtains access means-to-be-used information that indicates access means-to-be-used, which is access means, of the plural kinds of access means, that is to be used at a time concerned,
- wherein the total communication band information storage unit retains the total communication band information in association with the access means of each kind, and
- the remaining communication band information obtaining unit calculates the remaining communication band information based on the total communication band information, of the total communication band information retained by the total communication band information storage unit, that is associated with the access means-to-be-used indicated in the access means-to-be-used information obtained by the access means-to-be-used information obtaining unit and based on the communication band in use information obtained by the communication band in use obtaining unit.
12. The communication apparatus according to claim 11, comprising an access means associating unit that associates any application, of applications installed on the communication apparatus, that involves communication, with any one of the plural kinds of access means or with two or more of the plural kinds of access means to which priority orders are given.
13. The communication apparatus according to claim 12, comprising a usable access means information obtaining unit that obtains usable access means information that indicates access means, of the plural kinds of access means, that can be used at a time concerned,
- wherein the access means-to-be-used information obtaining unit obtains the access means-to-be-used information based on the usable access means information obtained by the usable access means information obtaining unit and the access means associating unit.
14. The communication apparatus according to claim 1, comprising a content sending start determining unit that determines whether or not the content sending unit has started sending content data to another communication apparatus,
- wherein in a case where the content sending start determining unit determines that sending of content data has been started, the remaining communication band information obtaining unit updates the remaining communication band information.
15. The communication apparatus according to claim 1, comprising a remaining communication band determining unit that determines whether a remaining communication band has changed or not,
- wherein in a case where the remaining communication band determining unit determines that the remaining communication band has changed, the remaining communication band information obtaining unit updates the remaining communication band information.
16. A communication method, comprising:
- storing content candidate information that specifies content data candidates that may be sent to another communication apparatus;
- obtaining a remaining communication band that indicates a communication band, of a total communication band that is available for sending contents, that can be used at a time concerned and
- controlling sending of content data based on the content candidate information and the remaining communication band.
17. A recording medium that stores a program for controlling a computer to function, in a communication apparatus that sends content data to another communication apparatus via a network, as:
- a content candidate information storage unit that retains content candidate information that specifies content data candidates that may be sent by the communication apparatus to another communication apparatus;
- a remaining communication band information obtaining unit that obtains remaining communication band information that indicates a communication band, of a total communication band available for use by the communication apparatus, that can be used at a time concerned;
- a content sending unit that sends any content data specified in the content candidate information to another communication apparatus; and
- a communication control unit that controls sending of content data by the content sending unit, based on the content candidate information retained by the content candidate information storage unit and the remaining communication band information obtained by the remaining communication band information obtaining unit.
Type: Application
Filed: Mar 30, 2009
Publication Date: Oct 1, 2009
Patent Grant number: 8284659
Applicant: Casio Hitachi Mobile Communication Co., Ltd. (Tokyo)
Inventor: Mitsuhiro KITANI (Yokohama-shi)
Application Number: 12/414,173
International Classification: H04L 12/26 (20060101);