1. Field of the Invention
The present invention relates to a packet communication device in a network that supports reservation of a network resource.
2. Description of the Related Art
In a network environment represented by the Internet, contents of information are divided into a plurality of packets, and communication is performed by transmitting these packets. Generally, transmission of packets is performed in a best effort mode. This means that communication of multimedia, such as audio and video, that requires real time processing, and communication of non-multimedia, such as an ftp, that does not require real time processing, are treated identically. As a result, when the network is crowded with the communication of non-multimedia such as the ftp, some packets are delayed to arrive or lost in the communication of multimedia such as the audio and the video, thereby causing breaks in the audio sound or quality deterioration of the video image.
In order to provide the communication of multimedia such as audio and video without quality deterioration, a network resource on a network path needs to be reserved and communication quality needs to be guaranteed.
IETF (Internet Engineering Task Force) provides a resource management protocol, such as RSVP (Resource Reservation Protocol), standardized as a reservation method for network resources in the Internet.
According to RSVP, before starting the multimedia communication, a network resource necessary for the multimedia communication is reserved on relay devices that constitute a network path to a communication partner. Therefore, when RSVP is used, communication quality is guaranteed.
The network resource is reserved by priority control in the relay devices and bandwidth allocation with priority in a wireless network. Such bandwidth allocation has been performed in power-line communication (PLC) and a wireless LAN. For example, in IEEE802.11e that can be applied to the wireless LAN, a contention access period by a distributed control type and a contention-free access period by a central control type are provided. In the contention access period, transmission opportunity can be acquired based on priority. In the contention-free access period, the transmission opportunity can be monopolistically acquired.
In the multimedia communication, when an allocation request of the network resource is made to the wireless network in advance and the contention-free access period is reserved for a definite period of time necessary for the multimedia communication, communication quality can be guaranteed.
On the other hand, all the terminals that perform the multimedia communication that needs resource reservation do not necessarily support such network resource reservation as mentioned above. In such a case, if a communication device is provided on a network path to issue, before the multimedia communication starts, an allocation request of a network resource that is necessary for the multimedia communication, instead of a terminal reserving the network resource in advance, then communication quality can be guaranteed.
When the terminal that does not support the network resource reservation starts communication that needs the network resource reservation, the communication device on the network path detects the communication and controls to allot the network resource necessary for the communication. According to the above method, even when the terminal does not reserve the network resource in advance, bandwidth allocation can be performed according to importance and other properties of packets, and communication quality can be guaranteed.
In resource reservation by RSVP, before a terminal starts the multimedia communication, a network resource needs to be reserved by a relay device in a network on a communication path. The network resource is necessary for performing the multimedia communication without quality deterioration. Therefore, the multimedia communication needs to start after completing the network resource reservation on the path, this may cause time lag by the time of the start of the multimedia communication.
Such time lag leads to a problem in multimedia communication in a home network, for example, in image viewing and listening that uses AV equipment, such as TV and VTR, connected to the home network. In short, there is a social common idea that these equipments in the home network can be used immediately, and a user does not allow such time lag. In order to get rid of such time lag, the terminal may start the multimedia communication before completing the reservation of the network resource. However, since the reservation of the network resource is not completed, the multimedia communication, which should be, in nature, guaranteed in communication quality, is treated same as other communications in best effort mode. Eventually, the communication quality of the multimedia communication is not guaranteed.
When the communication device on the path detects a multimedia communication to reserve a network resource in place of the terminal, the multimedia communication has already started at the moment when the communication device starts the reservation of the network resource. Therefore, the multimedia communication is treated as communication in the best effort mode and communication quality deteriorates during a period after the multimedia communication starts and until the reservation of the network resource is completed.
Since such deterioration of the communication quality leads to deterioration of quality in audio sound and video image, a user is not generous enough to allow such deterioration in communication quality.
As described above, an art performing the multimedia communication immediately without time lag with communication quality maintained is in need.
Since reservation of a network resource is an issue that is hard for a general user to understand, necessary communication control is desirable to be performed even when the user does not perform a setup.
An object of the present invention is to provide a packet communication device that can guarantee communication quality of communication that needs reservation of a network resource before and after the reservation of the network resource is completed.
A first aspect of the present invention provides a packet communication device operable to compose a network substantially supporting a first communication period in which communications may be controlled at least by packet priority and may be carried out without reservation of network resources, and a second communication period in which communications may not be carried out without reservation of the network resources, the packet communication device comprising: a packet receiver operable to receive packets; a resource reservation information storage unit operable to store information on the reservation of the network resources; a resource allocation request unit operable to refer to the information stored in the resource reservation information storage unit and also operable to issue resource allocation request to the network to transmit the packets in the second communication period when the packets received by the packet receiver are judged to need reserving the network resources; a communication period selecting unit operable to select either of the first communication period and the second communication period to transmit the packets; and a packet transmitter operable to transmit the packets using the communication period selected by the communication period selecting unit. The communication period selecting unit is operable to select the first communication period before completion of reserving the network resources in response to the resource allocation request issued by the resource allocation request unit. The communication period selecting unit is operable to select the second communication period after the completion of reserving the network resources.
According to the construction described above, for the packets that need reservation of a network resource, communication is performed in the first communication period based on the priority during reserving the network resource, and communication is performed in the second communication period after completing the reservation. Therefore, communication quality of the packets that needs resource reservation can be guaranteed.
A second aspect of the present invention provides the packet communication device as defined in the first aspect, wherein the packet receiver comprises a plurality of packet receiving units, and wherein priority of a packet that needs reserving the network resources is determined depending on which of the packet receiving units receives the packet that needs reserving the network resources.
According to the construction described above, priority of the packets that is necessary in the first communication period can be set up individually for every packet receiving units of the packet communication device, therefore the setup of the priority can be performed easily, even when a user does not perform a special setup.
A third aspect of the present invention provides the packet communication device as defined in the first aspect, wherein the packet communication device further comprises a resource measuring unit operable to measure reservation parameters currently necessary for packets that need reserving the network resources according to the information stored in the resource reservation information storage unit.
According to the construction described above, a user does not have to set up reservation parameters necessary for reservation; thereby the setup of the reservation parameters can be simply made.
A fourth aspect of the present invention provides the packet communication device as defined in the third aspect, wherein the packet communication device further comprises a resource monitoring unit operable to judge whether re-reservation of the network resources is necessary for packets that need reserving the network resources according to the information stored in the resource reservation information storage unit, by comparing the reservation parameters included in the resource allocation request issued by the resource allocation request unit and the currently necessary reservation parameters determined by the resource measuring unit, and wherein when the resource monitoring unit judges that the re-reservation of the network resources is necessary, the resource allocation request unit is operable to issue resource allocation request based on the currently necessary reservation parameters.
The above-described construction can deal with communication in which the reservation parameters (traffic characteristics) are changeable, and can guarantee communication quality of the packets that need the resource reservation.
A fifth aspect of the present invention provides the packet communication device as defined in the fourth aspect, wherein, before completion of reserving the network resources in response to the resource allocation request based on the currently necessary reservation parameters issued by the resource allocation request unit, the packet communication device is operable to transmit the packets that need reserving the network resources using both of the first communication period and the second communication period only when the packets cannot be transmitted in the second communication period alone.
According to the construction described above, even when more traffic occurred than reserved, packets exceeding what is defined by the reserved parameters are transmitted in the first communication period with priority, thereby guaranteeing communication quality of the corresponding packets.
A sixth aspect of the present invention provides a packet communication device operable to compose a network substantially supporting a first communication period in which communications may be controlled at least by packet priority and may be carried out without reservation of network resources, and a second communication period in which communications may not be carried out without reservation of the network resources, the packet communication device comprising: a packet receiver operable to receive packets; a packet transmitter operable to transmit the packets received by the packet receiver in either of the first communication period and the second communication period in accordance with kinds of the packets; and a resource allocation request unit operable to issue resource allocation request to the network, thereby transmitting packets that needs reserving the network resources in the second communication period, wherein the packet transmitter is operable, according to the progress of the resource allocation request, to select either of the first and second communication periods to transmit the packets that need reserving the network resources.
According to the construction described above, for packets that needs reserving the network resource, an optimal communication period can be selected according to the reservation status of the network resource, therefore, communication quality of the packets can be guaranteed.
The above, and other objects, features and advantages of the present invention will become apparent from the following description read in conjunction with the accompanying drawings, in which like reference numerals designate the same elements.
Hereafter, embodiments of the present invention are now described with reference to the accompanying drawings.
(First Embodiment)
A packet communication device 10 of the present embodiment comprises a resource reservation management table 2, a packet receiver 3, a resource allocation request unit 4, a communication period selecting unit 5, a packet transmitter 6, and a reservation controlling unit 9.
The resource reservation management table 2 is equivalent to a resource reservation information storage unit, and stores resource reservation information of packets. In the present embodiment, the resource reservation management table 2 manages resource reservation information as a set of a reservation rule shown in
A value of a “definition information” field is for classifying packets, and includes an MAC address value of a transmitting source and a TCP port value of a transmitting source. The “definition information” field describes the rule for classifying packets. The value of the “definition information” field can be arbitrarily determined as long as the value is included in each packet header, such as an MAC header, an IPv4 header, an IPv6 header, a TCP header, and a UDP header, which are used in the Internet.
A value of a “priority” field shows a level of the priority. In the present embodiment, eight steps of priority defined by IEEE802.1p are used as the level of the priority. A value “7” is the highest priority, and the packet, whose priority is a value “0”, is treated in a “best effort mode.” The priority of the packet whose reservation rule entry does not exist shall be treated as the value “0”, and the first communication period 16 shall be used as the communication period.
A value of a “reserved flag” field (“ON” or “OFF”) shows whether the reservation is made or not. When the value of the “reserved flag” field is “OFF”, the reservation of the network resource regarding the corresponding reservation rule has not been completed, and when the value is “ON”, the reservation has been completed.
A value of a “reserving flag” field (“ON” or “OFF”) shows whether the reservation is in progress or not.
A value of a “communication period” field shows whether the reservation rule entry corresponds to the first communication period (an period that communication without reservation is permissible, such as a CSMA period) or the second communication period (an period that communication without reservation is not permissible, such as a TDMA period).
A value of a “reservation parameter” field is a value to be designated to a network at the time of reservation of a network resource. In the present embodiment, an average bit rate shall be used as the value of the “reservation parameter” field.
The values of the fields of “definition information”, “priority”, and “reservation parameter” may be beforehand set in the packet communication device, may be designated by a user via GUI etc., and may be set up via networks.
The packet receiver 3 receives packets that are sent from the other communication devices.
The resource allocation request unit 4 detects packets corresponding to the reservation rule, which the resource reservation management table 2 possesses, and issues a resource allocation request to the network.
The communication period selecting unit 5 selects either the first communication period or the second communication period as the communication period to transmit corresponding packets, according to the progress of state in the resource allocation request to the network, for example, whether the resource allocation request has completed or not.
The packet transmitter 6 transmits the packets using the communication period which the communication period selecting unit 5 has selected.
The reservation controlling unit 9 mediates the processing of the resource reservation management table 2, the resource allocation request unit 4, and the communication period selecting unit 5, bringing these elements under control. In particular, the reservation controlling unit 9 operates the reservation rule entry of the resource reservation management table 2 according to the situation.
A network 1 supports two communication periods, the second communication period 15 and the first communication period 16, as communication periods to transmit packets. These communication periods in the present embodiment are described in the following. The transmission opportunity according to the priority of packets is allotted in the first communication period 16. In short, the communication can be performed without reservation in the first communication period 16. In the second communication period 15, the communication, whose bandwidth is guaranteed based on the reservation of the network resource, is performed. In short, the communication can not be performed without reservation in the second communication period 15.
Terminals 20, 21, 22, and 23 transmit and receive packets, respectively. A packet 201 is transmitted to the terminal 22 from the terminal 20, and a packet 211 is transmitted to the terminal 23 from the terminal 21.
The terminal 20 is connected to the packet communication device 10, the terminal 21 is connected to a packet communication device 11, the terminal 22 is connected to a packet communication device 12, and the terminal 23 is connected to a packet communication device 13. The packet communication devices 10, 11, 12, and 13 are connected each other via the network 1. Packet communication devices 10, 11, 12, and 13 transfer packets, which have been transmitted by the terminals 20, 21, 22, and 23, to terminals that receive the packets.
Since the packet communication devices 11-13 are structured as same as the communication device 10 is structured, the explanation for the packet communication devices 11-13 is omitted.
A storing area required by the CPU 30 for the processing and a storing area used for the resource reservation management table 2 are secured in the RAM31. The packet receiver 3 and the packet transmitter 7 are realized when network interfaces 34 and 35 output to and input from the network 1 under the control of the CPU 30.
In the present embodiment, the terminal 20 is a transmitting terminal to transmit packets that require reservation, and the terminal 22 is a receiving terminal to receive the packets from the terminal 20. The terminal 21 is a transmitting terminal to transmit packets that do not require reservation, and the terminal 23 is a terminal to receive the packets from the terminal 21.
(1) Transmission steps of a packet that is transmitted to the terminal 23 from the terminal 21
A step which the packet communication device 11 processes the packet 211 to transmit from the terminal 22 to the terminal 23 is explained by using
First, the terminals 21 and 23 establish socket communication and the terminal 21 starts transmission of the packet 211.
The packet receiver 3 of the packet communication device 11 receives the packet 211 from the terminal 21, and the packet 211 is outputted to the resource allocation request unit 4. The resource allocation request unit 4 accesses the resource reservation management table 2 via the reservation controlling unit 9. In
In
In
Through the above-mentioned processing, the priority “0” is given for the packet 211 to be sent from the terminal 21 to the terminal 23 in the network 1, and the packet is transmitted in the first communication period 16.
(2) Transmission steps of a packet that is transmitted to the terminal 22 from the terminal 20 (before the reservation completed)
The transmission step of the packet 201 from the terminal 20 to the terminal 22 is explained, using
It is supposed that the reservation rule entry shown in
First, the terminals 20 and 22 establish socket communication. It is supposed that the terminal 20, a transmitting source, transmits the packet 201 having the transmitting source MAC address of “00:01:02:03:04:05” and the transmitting source TCP port number of “80”.
The packet receiver 3 of the packet communication device 10 receives the packet 201 from the terminal 20, and the packet 201 is outputted to the resource allocation request unit 4.
Next, operation of the resource allocation request unit 4 is explained using
In
Therefore, in
Therefore, the resource allocation request unit 4 acquires a value “average bit rate 6 Mbps” from the “reservation parameter” field of the resource reservation management table 2 as a network resource (Step 23).
The resource allocation request unit 4 executes resource reservation to the network 1 by the acquired network resource (Step 24). After the resource reservation execution, the reservation controlling unit 9 updates the value of the “reserving flag” field of the resource reservation management table 2 from “OFF” to “ON” (Step 25). Thereby, the resource reservation management table 2 becomes in the state of
Next, operation of the communication period selecting unit 5 is explained using
In
For the packet whose reservation rule entry is possessed, the communication period selecting unit 5 accesses the resource reservation management table 2 via the reservation controlling unit 9, and confirms whether or not the “reserved flag” field of the resource reservation management table 2 is “ON” (Step 42). In the present resource reservation management table 2, since the value of the “reserved flag” field is “OFF” as shown in
Thus, the resource reservation management table 2 becomes as shown in
In the following, operation of the packet transmitter 6 is explained using
First, in
As shown in
As shown in
Therefore, in the packet communication device 10, the packet from the terminal 20 to the terminal 22 is transmitted by using the first communication period 16 with the priority “7” (Step 55).
As shown in
Therefore, the packet 201 is protected by the high priority and is not easily abandoned even in a period when the reservation has not been established. As a result, the communication quality related to the packet 201 can be improved.
(3) Transmission steps of a packet that is transmitted from the terminal 20 to the terminal 22 (after the reservation completed)
The transmission steps are explained for the packet from the terminal 20 to the terminal 22, after the packet communication device 10 completes reservation of the network resource related to the communication from the terminal 20 to the terminal 22.
Since operation of the packet receiver 3 is as same as the above-mentioned operation, the explanation is omitted.
The resource allocation request unit 4 acquires the result of the resource allocation request from the network 1 (Step 31). Here, it is supposed that reservation of the resource is succeeded and a result of the completion is received. At that moment, the resource allocation request unit 4 judges the resource reservation is completed (Step 32), and confirms whether or not the “reserved flag” field of the reservation rule entry of the resource reservation management table 2 is “ON”, via the reservation controlling unit 9 (Step 33).
As shown in
In the following, operation of the communication period selecting unit 5 after the completion of the network resource reservation is explained using
The communication period selecting unit 5 accesses the resource reservation management table 2 via the reservation controlling unit 9, and confirms whether or not the packet to be transmitted corresponds to the reservation rule entry that is possessed by the resource reservation management table 2 (Step 41).
For the packet whose reservation rule entry is possessed, the communication period selecting unit 5 confirms whether or not the “reserved flag” field of the resource reservation management table 2 is “ON” (Step 42). As shown in
Thus, the resource reservation management table 2 becomes as shown in
In the following, operation of the packet transmitter 6 after the completion of the network resource reservation is explained using
First, the packet transmitter 6 accesses the resource reservation management table 2 via the reservation controlling unit 9, and confirms whether or not the packet to be transmitted corresponds to the reservation rule entry that is possessed by the resource reservation management table 2 (Step 51).
For the packet whose reservation rule entry is possessed, the packet transmitter 6 accesses the resource reservation management table 2 via the reservation controlling unit 9, acquires the communication period to transmits the packet from the “communication period” field of the resource reservation management table 2 (Step 52), then acquires the priority from the “priority” field (Step 53), and confirms whether or not the acquired communication period is the “first communication period” (Step 54).
As shown in
In the packet communication device 10, the packet from the terminal 20 to the terminal 22 is transmitted by using the second communication period 15 whose network resource is already reserved for the packet.
In case where the packet requiring the reservation of the network resource is transmitted, the packet is transmitted in the first communication period 16 with higher priority than others, until the reservation of the network resource is completed. After the reservation of the network resource is completed, the packet is transmitted in the second communication period 15, which uses the reservation allocated to the packet. Therefore, the deterioration in communication quality can be suppressed.
In the present embodiment, the terminal and the packet communication device are illustrated as different bodies; however, the terminal and the packet communication device may be formed as one body.
Although there are two selectable communication periods in the present embodiment, the communication periods may be more than three in number, and the same effect can be obtained. In the present embodiment, the selection of the communication periods is decided by either one of the two states, one is the state where the reservation of the network resource is completed and the other is the state where the reservation of the network resource is not completed. However, the number of the communication periods can be increased according to the number of states (for example, “reserving network resource”, “reservation is in hold because of lack of bandwidth”, “reservation is completed”, and others), and one of the communication periods may be selected.
In the first communication period 16, the initial value of the “priority” field does not have to be “0”, and may be a different value. The initial value does not always have to be fixed. The initial value may be updated based on the state, for example, assigning the highest priority for the initial value for one second after the reservation of the network resource is made, and assigning the lowest priority after ten seconds have passed.
The priority may be set based on the packet receiver 3, which has received the packet indicated in the reservation rule entry. For example, as shown in
In the present embodiment, transmission by the second communication period 15 that can acquire the transmission opportunity monopolistically, and the first communication period 16 that can acquire the transmission opportunity, are described as an example. It should be understood that the present invention is applicable to a wireless LAN and a power line communication that can provide a plural communication periods as mentioned above.
Even when the network (for example: Ethernet (registered trademark)) does not support the first communication period 16 and the second communication period 15, it is sufficient enough as long as the packet communication device performs the bandwidth guarantee control based on the resource reservation and the transfer control based on the priority of the packet, and the packet is transferred under the priority control until the reservation is completed, and is transferred under the bandwidth guarantee control after the reservation is completed. In this case, the network substantially supports the first communication period and the second communication period in relation to the present invention. Therefore, the case described above is included in the range of the present invention and exhibits the same effect as the present invention.
The example of transmission using the first communication period, which can acquire the transmission opportunity based on the priority, is described in the present embodiment. The transmission may be alternatively performed in a tentative reservation period instead of the first communication period until the resource reservation is completed, and the transmission may be performed in the second communication period after the resource reservation is completed. The tentative reservation period is like an period that Intelligent TDMA, which is disclosed in the non-patent reference 2, reserves a tentative reservation bandwidth (for example, approximately 1 Mbps).
According to the alternative structure described above, the bandwidth is guaranteed when the bandwidth of the packet requiring the reservation is less than the tentative reservation bandwidth, and even when the bandwidth is greater than the tentative reservation bandwidth, the most available bandwidth can be allocated by the Intelligent TDMA. Therefore, the same effect as in the present invention can be obtained before the reservation of the network resources is completed.
(Second Embodiment)
In the second embodiment, a packet communication device further comprises a resource measuring unit 7 and a resource monitoring unit 8 in addition to the structure of the first embodiment.
As shown in
In the present embodiment, when the reservation rule entry regarding the packet requiring the resource reservation, that is, when the definition information and the priority are specified, the value of the “tentative reservation parameter” is set to “0”, and the value of the “re-reservation flag” is set to “OFF”. The value “OFF” of the “re-reservation flag” indicates that the reservation of the network resource does not need to be made again, and the value “ON” of the “re-reservation flag” indicates that the reservation has to be made again.
The resource measuring unit 7 measures a necessary reservation parameter at present regarding the packet corresponding to the reservation rule entry, which the resource reservation management table 2 possesses. Then, the resource measuring unit 7 stores the measured result on the “reservation parameter” field or the “tentative reservation parameter” field of the reservation rule entry via the reservation controlling unit 9.
The resource monitoring unit 8 compares the value of the “reservation parameter” and the value of the “tentative reservation parameter” which the resource reservation management table 2 possesses. When the comparison result is larger than the fixed value (10% difference in the present embodiment), the resource monitoring unit 8 records that the re-reservation is necessary on the reservation rule entry. More specifically, the record can be practiced by changing the value of the “re-reservation flag” field from the value “OFF” to the value “ON”.
The present embodiment is explained for operation after the series of processing (1), (2), and (3) of the first embodiment are completed. In
The resource reservation management table 2 is as shown in
The value of the “re-reservation flag” field is “OFF”, and the value of the “tentative reservation parameter” field is “0.”
Differences between the present embodiment and the first embodiment are mainly explained in the following.
(4) Transmission steps of a packet that is transmitted from the terminal 20 to the terminal 22 (before the re-reservation completed)
Regarding the transmission from the terminal 20 to the terminal 22, steps to transmit a packet from the terminal 20 to the terminal 22 in the present embodiment are explained. The steps are processed between the time when the packet communication device 10 issues the re-reservation request with a new reservation parameter and the time when the re-reservation is completed.
The packet receiver 3 receives the packet, and outputs the received packet to the resource measuring unit 7.
Next, operation of the resource measuring unit 7 is explained referring to
After the measurement, the resource measuring unit 7 confirms whether or not the value of the “reserved flag” field of the reservation rule entry is “ON” via the reservation controlling unit 9 (Step 63). When the value is “OFF” (with no reservation), the resource measuring unit 7 records the measured result on the “reservation parameter” field via the reservation controlling unit 9 (Step 64).
On the other hand, when the value of the “reserved flag” field is “ON” (reservation is completed), the resource measuring unit 7 records the measured result on the “tentative reservation parameter” field via the reservation controlling unit 9, and sets the value of the “re-reservation flag” field to “ON” (Step 66).
In the present embodiment, as shown in
Next, operation of the resource monitoring unit 8 is explained referring to
The resource monitoring unit 8 confirms whether or not the resource reservation management table 2 possesses the reservation rule entry corresponding to the packet via the reservation controlling unit 9 (Step 71). When the resource reservation management table 2 does not possess the reservation rule entry, the resource monitoring unit 8 ends the processing.
Since the reservation rule entry corresponding to the packet exists as shown in
The resource monitoring unit 8 judges whether or not the difference of the values of the “reservation parameter” and the “tentative reservation parameter” are larger than the fixed value (for example, a 10% increase in the average bit rate) at Step 73. When the difference of the values are larger than the fixed value, the resource monitoring unit 8 sets the value of the “re-reservation flag” field to “ON” via the reservation controlling unit 9 (Step 74).
In the present embodiment, the value of the “reservation parameter” has changed to the value of the “tentative reservation parameter” by more than 10% of the fixed value, or specifically from “6 Mbps” to “8 Mbps”, therefore, the resource monitoring unit 8 sets the value of the “re-reservation flag” field to “ON” via the reservation controlling unit 9. As a result, the resource reservation management table 2 becomes as shown in
Operation of the resource allocation request unit 4 is explained referring to
The resource allocation request unit 4 confirms whether or not the resource reservation management table 2 possesses the reservation rule entry regarding the packet via the reservation controlling unit 9 (Step 21). When the resource reservation management table 2 possesses the reservation rule entry, the resource allocation request unit 4 confirms whether or not the value of the “reserved flag” field is “ON” (Step 22).
In the present embodiment, the value of the “reserved flag” field is set to “ON” as shown in
Since operation of the communication period selecting unit 5 is the same as that of the first embodiment, explanation is omitted.
Then, operation of the packet transmitter 6 is explained using
First, the packet transmitter 6 confirms whether or not the resource reservation management table 2 possesses the reservation rule entry regarding the packet via the reservation controlling unit 9 (Step 51). Since the resource reservation management table 2 possesses the reservation rule entry, the packet transmitter 6 acquires the value of the “communication period” field and the value of the “priority” field of the reservation rule entry via the reservation controlling unit 9 (Steps 52 and 53).
Next, the packet transmitter 6 confirms whether or not the value of the “communication period” field of the reservation rule entry is the “first communication period” via the reservation controlling unit 9 (Step 54). Since the value of the “communication period” field is the “second communication period” as shown in
The packet transmitter 6 further confirms whether or not the value of the “re-reservation flag” field is “ON” via the reservation controlling unit 9 (Step 58). When the value is “ON”, it means that the packet, which is already held in the reservation rule entry, can not be transmitted in the second communication period 15. In this case, the packet transmitter 6 transmits the packet in the first communication period 16 based on the priority that is set in the reservation rule entry (Step 59).
When the traffic is streaming at the value larger than the value of the reservation parameter which the resource allocation request unit 4 has requested to the network, packet that can not be transmitted in the second communication period 15 is transmitted in the first communication period 16. More specifically, the current traffic has the average bit rate of 8 Mbps, in the present embodiment, and the reserved parameter is the average bit rate of 6 Mbps, the packet of 2 Mbps in the average bit rate, which is the difference between 8 Mbps and 6 Mbps, is transmitted in the first communication period 16.
(5) Transmission steps of a packet that is transmitted from the terminal 20 to the terminal 22 (after the re-reservation completed)
Steps are explained for communication device 10 to transmit a packet from the terminal 20 to the terminal 22 after the resource re-reservation is completed using a new reservation parameter.
Operation of the resource request allocation unit 4 is explained referring to
It is supposed that the resource allocation request unit 4 acquires the result of the resource allocation request from the network (Step 31), and the reservation is completed (Step 32). Since the value of the “reserved flag” field of the corresponding reservation rule entry is “ON” as shown in
The resource reservation management table 2 is updated as shown in
When the reservation using the new reservation parameter is completed, the packet transmitter 6 not only can communicate using the resource that is reserved by the latest reservation parameter, but also can communicate by using the second communication period 15 not using the first communication period 16.
Thus, the communication quality can be secured by acquiring the reservation parameter of the packet requiring the reservation of the network resource by the measurement without the set up by a user.
Even in a case where a reservation parameter necessary for the packet changes after the resource reservation, re-reservation of the resource using the reservation parameter set after the change leads to securing communication quality.
While the re-reservation of the resource is being made, in addition to the second communication period, the first communication period is used for communication based on the priority. Thereby deterioration of the communication quality can be suppressed.
In the present embodiment, the average bit rate is used as the reservation parameter. Alternatively, a maximum bit rate, average frame size, maximum frame size, a jitter, and delay time may be used. The parameter that measuring unit 7 measures may be changed to corresponding parameters.
The resource measuring unit 7, which measures the network resource, is provided in the present embodiment. The resource measuring unit 7 may also be added to the first embodiment.
In the second embodiment, it is supposed that the reserved traffic composed of a collective set of packets exists. When the network resource required by the traffic is increased for some reason, the network resource necessary of the change can be adaptively reserved again. This is because the resource measuring unit 7 always measures the network resource that is necessary for the traffic.
Furthermore, until when the re-reservation is completed, the network resource reserved for the traffic is less than the currently necessary network resource. Even in such a case, communication quality can be secured not only using the second communication period but also using the first communication period as well.
After re-reservation is completed, the communication quality, which is guaranteed by the reservation, can be secured by using the second communication period alone.
According to the packet communication device of the present invention, communication quality of the communication requiring the reservation of the network resource can be guaranteed before the reservation of the network resource is completed. Therefore, a user can use any desired multimedia communication with secured communication quality and without time lag.
Having described preferred embodiments of the invention with reference to the accompanying drawings, it is to be understood that the invention is not limited to those precise embodiments, and that various changes and modifications may be effected therein by one skilled in the art without departing from the scope or spirit of the invention as defined in the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
2004-041084 | Feb 2004 | JP | national |