|
(11) | EP 0 658 010 A1 |
(12) | EUROPEAN PATENT APPLICATION |
|
|
|
|
|||||||||||||||||||||||||||
(54) | Communications systems |
(57) A communications system comprises items of equipment connected via a bus capable
of transferring combinations of control signals and AV signals as packets while providing
an environment which is the same as an environment where connections are made using
analog signal lines. A register decided by an address is taken to be a virtual plug
for each item of equipment. A plug enable for an input plug is set to 1 and a synchronous
communication packet for the AV signal from the channel set by the channel number
is received. A plug enable for an output plug is set to one and the synchronous communication
packet for the information signal is sent to the channel set by the channel number
at a transmission speed designated by the DR (Data Rate) at the bandwidth expressed
by "Bandwidth". |
FIG. 1 is a view showing an example of a structure of a communications system to which this invention is applied;
FIG. 2 is a view showing an example of a communications cycle occurring in the communications system in FIG. 1;
FIG. 3 is an example view showing the internal structure of a VTR in FIG. 1 in more detail;
FIG. 4 is a view showing an example of the internal structure of a non-bus compatible device in FIG. 1;
FIG. 5 is a view showing sub-device categorization;
FIG. 6 is a view showing an example of a category which is actually compatible with a sub-device number;
FIG. 7 is a view showing sub-device categorization;
FIG. 8 is a view showing an example of a category/address which is actually compatible with a plug number;
FIG. 9 is a view showing an example of a category/address compatible with an actual plug number for which the name has been changed to that of the specific opposing item of equipment to which it is connected;
FIG. 10 is a view showing the connection control when the output from an MDP using a categorized plug is recorded on a VTR 2;
FIG. 11 is a view showing the connection control when the output from a camera present in a non-bus compatible device connected to the input plug P1 of the VTR 2 which uses a categorized plug is displayed on a TV;
FIG. 12 is a view of an example of a digital plug;
FIG. 13 is a view showing the connection control when the output from an MDP using a digital plug is recorded on the VTR 2;
FIG. 14 is a view showing an example of a structure for a VTR equipped with digital plugs;
FIG. 15 is a view showing a further example structure of a VTR equipped with digital plugs;
FIG. 16 is a view showing an example hard disc structure for a hard disc apparatus equipped with digital plugs;
FIG. 17 is a view showing the structure of a communications system where AV equipment is connected by analog signal lines and digital control signal lines;
FIG. 18 is a view showing an example of the connection control method occurring in the communications system in FIG. 17; and
FIG. 19 is a view showing a further example of the connection control method occurring in the communications system in FIG. 17.
Embodiment
1. a communications system to which this invention is applicable;
2. a sub-device categorizer;
3. a plug categorizer;
4. a specific example of connection control using a categorized plug;
5. a virtual plug set up,
6. a specific example of connection control using a virtual plug; and
7. an example of equipment equipped with a virtual plug, with respect to the embodiments of this invention.
1. The communication system to which this invention is applicable.
FIG. 1 is a view of an example of a system structure of a communications system to
which this invention is applicable. This communication system is equipped with an
MDP, TV, VTR 1, VTR 2 and editor. Connections are made between MDP and VTR 1, VTR
1 and the TV, the TV and VTR 2 and the editor and the MDP using P1394 serial buses.
An non-bus compatible device is also connected at the input plug P1 after the VTR
2.
The input plugs and the output plugs for each of the items of equipment are independently
numbered, with a category being assigned internally for each item of equipment. Each
plug is arranged so as to be an equal distance from the sub-device with respect to
the center of the switchbox. It is usual for these input/output plugs to be connected
to non-bus compatible devices. Intermittent attributes (analog line input, digital
line input) for the plug categories are held as defaults and specific opposing connections
are held as user entries (These will be described in detail later). There are also
cases where AV signal lines for the audio signals and video signals within the equipment
are independent of each other, but in order to keep the description simple, no discrimination
will be made in this case. There is also an AVC sub-device present for controlling
the operation of all the items of equipment, but this is not shown in the diagrams.
Each item of equipment (non-bus compatible items of equipment excluded) is equipped
with a digital interface (hereinafter referred to as digital I/F) for the P1394 serial
buses. This digital I/F is a dedicated communications IC for carrying out the transfer
of control signal and information signal packets.
At the P1394 serial bus, communication is carried out in prescribed communication
cycles (for example, 125 micro seconds), as shown in FIG. 2. The communication of
information signals such as compressed digital video signals is carried out both synchronously,
where communication is carried out serially at a fixed data rate, and asynchronously,
where non-periodical transfers take place in response to the necessary control signals
such as control commands etc.
There is a cycle start packet CSP at the start of the communication cycle, after which
the period for transferring the packet is set up to ensure synchronous communication.
It is possible to carry out a number of synchronous communications by assigning channel
numbers 1, 2, 3, . . . N to the packets for carrying out synchronous communications.
After the transfer of the synchronous communication packets for all of the channels
is completed, the period until the next cycle start packet CSP is used for non-synchronous
communications. The non-synchronous communications packet (packets A and B in FIG.
2) has the physical addresses and logical addresses for the transmission equipment
and receiving equipment. Each item of equipment then takes in the packet which has
its own address attached.
The control signals and information signals can therefore be mixed together and transferred
at the P1394 serial bus. As a result, it is no longer necessary to be aware of the
connection structure while the digital I/F input/output plug for this bus is being
handled.
FIG. 3 shows an example of the details of the internal structure of the VTR 1. The
P1394 serial bus line (hereinafter referred to as the digital bus) in this diagram
represents a bi-directional line consisting of two lines. This may also consist of
one line going in just one direction or items consisting of three lines or more, depending
on the item of equipment. Analog A/D converters and/or D/A converters are set up between
the analog line input plugs and the analog line output plugs, and the switchboxes.
An OSD generator (on screen display) is also connected to the monitor output plug.
Each sub-device and each plug is connected to either or both the AV signal input and
output for the switchbox. Changeovers then can be made using each of the switches
SW1 to SW3 within the switchbox. For example, SW1 changes over between the digital
input plug, analog input plug and tuner sub-device. The switch SW3 then changes over
between these results and the input from the digital I/F. The switch SW2 is then changed
over to output either these results, or the play-back input from the deck sub-device,
from the switchbox. The switch SW2 also changes over whether to output to the deck
sub-device at the time of picture recording. As this alternates with the input from
the deck, this can be expressed virtually as two types of inter-locking switches having
three positions over all. It is also possible to change over whether or not to send
output to the digital I/F at the switch SW3. As this is alternated with the input
from the digital I/F, this can also be expressed by two kinds of inter locking switches
having a total of three positions.
In this way, in this embodiment , the plug and the functional unit may be considered
equal while describing the internal structure of the items of equipment, so that inputs
and outputs going to the switchbox may be distinctly divided. This method of expression
may also be applied to non-bus compatible items of equipment of the kind shown in
FIG. 4.
2. A sub-device categorizer.
FIG. 5 is a view of a sub-device categorizer. The sub-device number and category type
are expressed respectively using ten bit data (B9 to BO). In this way, the decks sub-device
number and category type for the VTR may be shown.
FIG. 6 shows an example of an actual sub-device number and corresponding category.
This diagram shows a double-deck VTR consisting of a VHS/S-VHS VTR deck 1 and a 8
mm/High deck VTR deck 2.
3. A plug categorizer.
FIG. 7 is a view showing a plug categorizer. In this embodiment, the input/output
plug and digital bus channel number for each item of equipment are handled together
as a plug and then categorized. The plug number and the category type are expressed
respectively as ten bit data (B9 to BO).
Numbers from 1 to 64 may be allotted as the plug numbers for input/output. Also, the
input/output plug occurring at the digital bus, i.e. the channel, is selected as one
of the channels 1-64 for input/output, while at the same time making a connection
with only one route.
The category type shows the category of the item of equipment connected to plug number
1 to 64. Connection control is then carried out using this category, rather than the
plug number (refer to the example in FIG. 11). With regards to the digital channel,
as a specific logical address for the opposing item is stored (TV, VTR etc.), this
category type is not used. However, "Digital bus CH?" uses the category designation
command, "output at arbitrary channel" (refer to the practical example in FIG. 10).
FIG. 8 is a view showing an example of an actual plug number and a corresponding category/address.
This diagram shows an item of equipment where plug 1 uses an analog line input and
a monitor output, plug 2 uses an analog line input and an analog line output, and
plug 3 uses a digital line output.
As can be seen from FIG. 8, when the category is based on the default, this category
is expressed by usual plug attributes such as analog input/output and digital line
input. However, if the category is based on user settings etc., the categories can
be replaced with those for other specific connected items of equipment.
This is shown by the example in FIG. 9. This diagram shows an item of equipment where
plug 1 is used for a camera input and a monitor output, plug 2 is used for a CD input
and a video printer output and plug 3 is used for an audio deck output. A digital
bus may also be connected depending on the system specification, and depending on
the plug, this can also be considered to be the same as being connected to the opposing
item of equipment. In this case, the address of the opposing item of equipment on
the digital bus is stored.
As described above, with regards to the digital bus, the logical address for a specific
opposing item of equipment is stored. However, at the same time, as only one channel
is used, even if there is data within the expression this will only occupy one place.
When an item outputs from itself, a number of items of equipment which input to this
channel exist. This means that a number of logical addresses can be stored at one
place within the expression. In FIG. 9, an output for a digital bus channel 2 shows
that the TV and the VTR 2 are being taken as input.
As the plug and the functional unit can be considered to be the same in this embodiment,
the plug can be indirectly indicated using the category while connection control is
being carried out by another item of equipment, and the item of equipment which receives
the commands can make a specific determination with regards to the plug.
4. A specific example of connection control using a categorized plug.
1. The case where recording is carried out with the MDP output going to the VTR 2.
The following is a description with reference to FIG. 10, of the connection control
for the case where the MDP output is recorded at the VTR 2. Here, FIG. 10(a) shows
the communication sequence and FIG. 10(b) shows the commands.
First, the MDP receives a command for outputting the deck output from the command
master (editor) to the digital bus (communication 1). If the MDP can output the output
from the deck to the digital bus, this channel number (here this is channel 1) is
transferred to the command master as an "On command".
Next, the command master receives the channel number sent from the MDP, and sends
an inputted command going from the channel 1 to the deck to the VTR 2 (communication
3). If input is carried out from the channel 1 to the deck, the VTR 2 transmits notification
of completion to the command master.
In this embodiment, connection control can then be carried out rapidly by designating
the plug using the category "Digital bus channel?".
2. When the output for a camera present in the non-bus compatible item of equipment connected to the input plug P1 at the VTR 2 is displayed on a TV.
5. Virtual plug set up.
It is not necessary to divide the digital bus between physical plugs in the same way
as for the analog signal line because in this case compressed digital data is periodically
outputted at time divided channels. However, the effect of deciding a path from one
item of equipment to a different item of equipment is the same as if the connection
were carried out using an analog signal line. Also, when one item of equipment is
handling a number of channels at the same time, it is necessary to be able to discriminate
between these channels. Virtual plugs are therefore set up in this embodiment, so
that channels can be discriminated between during inputting and outputting. Input
and output is also set up separately for these virtual plugs in the same way as for
analog plugs.
FIG. 12 is a view of an example of a virtual plug occurring in the communications
system for this embodiment. In the following description, the virtual plug will be
referred to as the digital plug. Here, the digital plug is a register decided by the
address, with 4 bytes expressing 1 plug. Input plug 1 is represented by the 4 bytes
for addresses 00H to 03H, and input plugs 2, 3 and 4, are represented by addresses
04H to 07H, 0AH to 0BH and OCH to OFH, giving a maximum of 4. Also, output plug 1
is represented by the 4 bytes from addresses 10H to 13H, output plugs 2, 3, and 4
are represented by addresses 14H to 17H, 18H to 1BH and 1CH to 1FH, giving a maximum
of 4. The input/output plugs should only be set at to the number of plugs which the
equipment can use at any one time. For example, with equipment which can only handle
2 input/output systems at a time, the regions in the diagrams [. . . .] become empty
registers. As the addresses for the input/output plugs occurring at each item of equipment
are then the same, each item of equipment is aware of the plug addresses for each
of the other items of equipment. Each item of equipment can therefore read and write
to its own plugs or to plugs for other items of equipment easily.
If the plug enable for the input plug is set to one, the digital I/F receives synchronous
communications packets for information signals from the channel set by the channel
number (However, just completing connections with the outside does not by itself change
the conditions within equipment such as the condition of the input selector etc.,
so that inputting is not actually carried out simply as a result of the conditions
within the equipment). Clearing the plug enable for the input plug to 0 will stop
the digital I/F from receiving signals. Other fields for the plug are also cleared
to O at this time. When the signal connector with the transmitting equipment is being
protected, the LSB for the PC (Protect Counter) for the input plug is set to 1 and
when there is no protection this is cleared to 0.
If the plug enable for the output plug is set to 1, the digital I/F transmits synchronous
communication packets for the information signal to the channel set according to the
channel number, at a transfer speed designated by the data rate (DR) while using the
band expressed by Bandwidth (internal equipment conditions such as the playback output
for the VTR etc. do not change simply as a result of the completion of an external
connection. Actual outputting is therefore not carried out simply depending upon the
conditions within the equipment). If the plug enable for the output plug is cleared
to 0, the digital I/F stops transmitting signals. Other fields for the plug are also
cleared to 0 at this time. The PC for the output plug is incremented by 1 when the
signal connections with the receiving equipment are protected and is decremented by
1 where there is no protection. In this way, equipment making protection requests
can be counted.
These plugs can therefore rewrite themselves or can be rewritten from other items
of equipment. It is, however, necessary when the PC becomes "0" that rewriting should
take place in order to ensure protection. The symbols [--] occurring at each plug
are reserved bits.
An environment which is completely the same as that for the analog plugs can therefore
be provided by keeping the digital plugs separate at input/output in this way. Also,
connections between digital plugs and internal equipment connections are kept independent.
6. A specific example of connection control using a digital plug.
The following is a description, with reference to FIG. 13, of connection control when
the output for the MDP in FIG. 1 is recorded by the VTR 2. Here, FIG. 13(a)shows the
communication sequence and FIG. 13(b) shows the commands.
First, the MDP receives a command so that the deck output from the command master
(editor) is outputted to the digital plug (communication 1). If the MDP outputs the
deck output to a digital plug, the resulting plug number (here this is plug 1 ) is
transferred to the command master (communication 2).
The VTR 2 then receives a command so that a connection is made from the command master
to the digital plug and on to the deck ( communication 3). If the VTR 2 connects the
digital plug to the deck, the resulting plug number (in this case this is digital
plug 1) is transferred to the command master (communication 4).
The connection described above between the sub-device within the equipment and the
digital plug uses the DDB command without modification. In this way, if the digital
plug it is intended use is known, communications can be carried out so that the command
master can actually be connected to its fellow digital plug. In order to set up the
digital plugs for the source equipment and destination equipment, a transaction is
to be transmitted (communication 5) so that a channel number, transmission speed and
band width can be written at the digital output plug 1 for the MDP. A further transaction
is then transmitted (communication 6), to prepare for the writing of the channel number
at the digital input plug 1 for the following VTR 2.
Here, the communications 5 and 6 are not DDB commands. The transaction known as read-write-rock,
for designating the opposing register address and writing the data is provided at
P1394. With regards to DDB commands such as, "exchange command", data is written so
as to be exchanged between command registers, which is achieved by then interpreting
the data. With regards to this, communications 5 and 6 can utilize the transactions
more directly. The instruction, "set up the opposing digital plug" can then be executed
by designating the opposing address as well as the digital plug address and then writing
in. Also, "find out the input/output conditions for the opposing digital plug" can
be executed by designating the digital plug address and then carrying at the reading
operation.
In this embodiment, connections between sub-devices within the equipment and the digital
plugs (communications 1 to 4) use higher order commands present in the DDB commands,
and plug connections between items of equipment (communications 5 and 6) use digital
bus protocol. That is to say, the control system for making connections between digital
plugs and the control system for making connections between sub-devices within the
items of equipment and digital plugs are independent. It follows that matching can
be achieved by digital plugs without having to insert a conception of the digital
bus characteristics to a connection control system within existing equipment, so that
interchangeability with existing command sets can be maintained.
7. An example of equipment equipped with digital plugs.
FIG. 14 is a view showing an example structure for a VTR equipped with digital plugs.
Here, the digital plugs P1 and P2 for input and output are set up in the ram area
within a communications controlling microcomputer. The communications controlling
micro computer (which is equivalent to an AVC sub-device) takes data from the digital
I/F and sends a control signal for controlling the digital I/F or the switchbox sub-device
so as to activate the designated task. For example, when a transaction of the kind
in communication 6 in FIG. 13 going to the digital plug P1 is received, a control
signal is sent so as to control the digital I/F so that an information signal from
the channel number that is written in is inputted. If the kind of command in communication
3 in FIG. 13 is received, a control signal is sent to control the switchbox sub-device
so that the deck sub-device is connected at the digital plug P1.
FIG. 15 is a view showing a further example of a structure for a VTR equipped with
digital plugs. Here, transactions going to the digital plugs access registers within
the digital I/F directly so that the digital plugs P1 and P2 for input and output
may actually exist in the register area within the digital I/F. The digital I/F then
activates the designated path. The micro computer for communication control may then
transmit the conditions at which the digital plugs are set up and actually operating
as data, if necessary.
FIG. 16 is a view showing an example structure for a hard disc equipped with digital
plugs. Here, the digital plug P1 for input and output is set up within the digital
I/F. As the functional unit within the apparatus (sub-device) is a single disc unit,
there is a single digital plug for input/output and a connection is always made with
the sub-device . Connection control such as DDB etc. is therefore not necessary, and
compatibility with a digital bus can be achieved even if there is no microcomputer
for communications control. It is therefore possible to manufacture low cost equipment.
Also, one input/output plug may now be set up for one digital bus channel number.
In this way, it is only necessary to set up digital plugs for the numbers of channels
present in the system and it is no longer necessary to write the channel number at
the digital plug.