1. Field of the Invention
This invention relates to a suspend packet transmitter for transmitting suspend packets, specified in IEEE.
2. Description of the Related Art
IEEE in the United States of America has IEEE1394-1995 standard for packet communication since long ago and has IEEE1394a-2000 standard, revised above standard.
IEEE1394a-2000 standard specifies suspend function for setting a port in stand-by state to reduce electric power consumption and resume function for resetting a port from stand-by state. Other IEEE1394-1995 standard does not specify suspend and resume function.
In case of devices #1-#5, fulfilling IEEE1394a-2000 standard, connected together through port P3 and port P1 respectively as shown in
When the device #1 sends a suspend packet for port P3 of the device #2 as shown in FIG. 4B2, the port P3 of the device #2 sends a suspend signal to device #3 and is set from active state to suspend state. Thereafter, respective device sends a suspend signal in sequence and when the last device #5 receives a suspend signal, port P1 of the device #5 is set from active state to suspend state.
When the device #1 sends a resume packet for port P3 of the device #3 as shown in
Objects to be Solved
If devices #3 shown in
When device #1 sets device #4 in resume state, the device #1 sends a resume packet to port P3 of device #3. However, device #3 does not fulfill suspend and resume function, so that device #3 can not set device #4 in resume state when the device #3 receives the packet. Therefore, device #1 can set device #4 in suspend state, but can not set device #4 in resume state.
There may be such problem when a device without suspend and resume function is connected between a device transmitting a suspend and a resume packet, and a device receiving the packet.
Therefore, an object of the invention is to provide a suspend packet transmitter for executing suspend and resume setting securely.
How to Attain the Object
In order to attain the objects, a suspend packet transmitter, according to an aspect of the invention, includes a device status checking unit for checking whether or not a device connected with a communication network fulfills suspend and resume function; a judging unit for judging with reference to data in said device status checking unit whether or not a device without suspend and resume function exists in a domain set in suspend state by means of inputted suspend device number and port number; and a packet transmitting unit for transmitting a suspend packet with said inputted suspend device number and port number when all devices are judged as devices with suspend and resume function in said judging unit.
The suspend packet transmitter, according to other aspect of the invention, includes the suspend packet transmitter as referred to above, wherein when the inputted port number of the inputted suspend device number corresponds to a port to output the relaying suspend packet, the suspend packet is outputted even if there is included in a domain to be suspended a device other than a device with suspend and resume function.
The suspend packet transmitter, according to yet other aspect of the invention, includes the suspend packet transmitter as referred to above, wherein said device status checking unit checks whether or not each device is in active, wherein said judging unit judges whether or not any active device exists in the domain set in suspend state, and wherein said packet transmitting unit stops to transmit a suspend packet when it is judged that an active device exists in the domain.
The suspend packet transmitter, according to further aspect of the invention, includes the suspend packet transmitter as referred to above, wherein when it is judged at said judging unit that a device other than a device with suspend and resume function exists in the domain, it is informed that there is included the device other than the device with suspend and resume function exists in the domain.
The suspend packet transmitter, according to further aspect of the invention, includes the suspend packet transmitter as referred to above, wherein when it is judged at said judging unit that an active device exists in the domain, it is informed that there is the active device being in the domain.
The suspend packet transmitter, according to further aspect of the invention, includes the suspend packet transmitter as referred to above all, wherein said device with suspend and resume function fulfills IEEE1394a-2000 standard.
As mentioned above, a suspend packet transmitter includes a device status checking unit for checking whether or not a device connected with a communication network fulfills IEEE1394a standard; a judging unit for judging with reference to data in said device status checking unit whether or not a device other than a device fulfilling IEEE1394a standard exists in a domain set in suspend state by means of inputted suspend device number and port number; and a packet transmitting unit for transmitting a suspend packet with said inputted suspend device number and port number when all devices are judged as a devices fulfilling IEEE1394a at said judging unit, so that setting in suspend state and resume state can be done securely.
Although the present invention has been fully described by way of examples with reference to the accompanying drawings, it is to be noted that various change and modifications can be made with the scope of the present invention. Incidentally, the content of Japanese Patent Application No. 2001-13333 is hereby incorporated by reference.
FIGS. 4B1, 4B2 and 4C are device status charts for describing operations of suspend and resume.
A suspend packet transmitter according to an embodiment of this invention will now be described with reference to
In
Operation of a suspend packet transmitter according to an embodiment of this invention will now be described with reference to
In step S1, a suspend device number (#A) and a port number (PB) are inputted by an operator.
In step S2, a device status checking unit 2 transmits a packet for getting reply of a device type and current device status to all devices connected with a communication network and, proceeding to step S3, the device status checking unit stores the data of a device type and device status replied by respective devices.
In step S4, a judging unit 3 judges whether or not an active device is in a domain set in suspend state by suspend device number (#A) and port number (#B) inputted in step S1. If an active device is in the domain, proceeding to step S5, and a control unit 6 sends a command to a informing unit 4 to inform an active device existing in a domain in suspend state to an operator and the process finishes.
Regarding a domain set in suspend state in step S4, it is judged whether the inputted port number (PB) of the inputted suspend device number (#A) in step S1 corresponds to an input port or an output port for relaying the suspend packet, later described. All devices, connected between the device transmitting the suspend packet and a device by the suspend device number (#A) inputted instep S1, makes a domain in suspend state when the port is an input port. All devices connected behind a device by the suspend device number (#A) inputted in step S1 makes a domain in suspend state when the port is an output port.
When no active device exists in the domain in step S4, proceeding to step S6, the judging unit 3 judges whether the port number (PB) inputted in step S1 corresponds to an input port or an output port for relaying the suspend packet. When the port is an output port, proceeding to step S7, the packet transmitting unit 5 transmits a suspend packet to the device corresponding to the suspend device number (#A) inputted through I/O 7 into the network in step S1 for setting the port (PB) in suspend state and the process finishes.
When the port is an input port in step S6, proceeding to step S8, the judging unit judges whether or not all devices in the domain set in suspend state fulfills IEEE1394a-2000 standard. If the judgement is Yes, proceeding to step S7, the packet transmitting unit 5 transmits a suspend packet to the device corresponding to the suspend device number (#A) inputted through I/O 7 into the network in step S3 for setting the port (PB) in suspend state and the process finishes.
When a device other than a device fulfilled IEEE1394a-2000 standard, such as a device fulfilled IEEE1394-1995 standard, exists in the domain set in suspend state in step S8, proceeding to step S9, the informing unit 4 informs an operator to change a connecting condition and the process finishes.
In other words, when devices are connected as shown in
When the device #1 tries to set the device #3 (P3) in suspend state, the port P3 of the device #3 is an output port for relaying a packet transmitted by the device #1 so that the domain set in suspend state is from the device #4 to the device #6 and the device #4 does not fulfill IEEE1394a-2000 standard and then transmitting a suspend packet sets only the port P3 of the device #3 in suspend state.
When the device #1 tries to set the device #3 (P1) in suspend state, the port P1 of the device #3 is an input port for receiving a packet transmitted by the device #1 so that the domain set in suspend state is from the device #1 to the device #2 and all devices in the domain fulfills IEEE1394a-2000 standard and then respective port P1 of the devices #1, #2 and #3 is set in suspend state as shown in
When the device #1 tries to set the device #5 (P3) in suspend state, the port P3 of the device #5 is an output port for relaying a packet transmitted by the device #1 so that respective port P3 of the devices #5 and #6 is set in suspend state as shown in
Number | Date | Country | Kind |
---|---|---|---|
2001-013333 | Jan 2001 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
5170471 | Bonevento et al. | Dec 1992 | A |
5940861 | Brown et al. | Aug 1999 | A |
6105097 | Larky et al. | Aug 2000 | A |
6363085 | Samuels | Mar 2002 | B1 |
6628607 | Hauck et al. | Sep 2003 | B1 |
6795450 | Mills et al. | Sep 2004 | B1 |
Number | Date | Country | |
---|---|---|---|
20020097676 A1 | Jul 2002 | US |