Specification
DESCRIPTION
[Title of Invention]
RESPONSE DEVICE, INTEGRATED CIRCUIT OF SAME, RESPONSE
METHOD, AND RESPONSE SYSTEM
[Technical Field]
[0001]
The present invention relates to inter-device communication technology
used to access a data storage unit included in another device, and in particular to
improvement in a device including a data storage unit accessed by another device.
[Background Art]
[0002]
In recent years, a device coordination use case in which a recording device,
such as a BD (Blu-ray Disc) recorder, and a mobile terminal, such as a mobile phone,
are connected with each other by a USB cable and recorded content within the BD
recorder is transferred to the mobile terminal has become popular. A resolution
provided by a display screen of a mobile terminal is expected to become higher, and
thus quality of transferred content is expected to become higher. As a result, volume
of transferred data is expected to become larger.
[0003]
In the device coordination use case, it is desirable to shorten time required
for transfer as much as possible and to enhance convenience at the time of
connecting devices, in terms of usability. In order to respond to higher quality of
content and larger volume of data, a recording medium for a high-speed I/F with
transfer performance of a few Gbps, such as an SDXC memory card, and high-speed
wireless transmission technology with communication performance of a few Gbps,
such as WiGig (Wireless Gigabit), are required.
[0004]
Also, in order to increase throughput by making use of features of such
super high-speed transmission path technology, a transfer system with a low CPU
load pertaining to transfer is necessary.
[0005]
As an example of a conventional transfer system with a low CPU load
pertaining to transfer, Patent Literature 1 discloses a method and a system for
implementing iSCSI (internet Small Computer System Interface) with a low load by
RNIC (RDMA-enabled Network Interface Controller) mechanisms used for RDMA
(Remote Direct Memory Access) functions.
[0006]
In this method, by utilizing the RNIC mechanisms used for the RDMA
functions, overhead attributable to TCP/IP in data transfer using iSCSI is reduced.
More specifically, by processing data movement using iSCSI as direct transfer to a
memory using RNIC, overhead attributable to iSCSI and TCP/IP protocol
processing necessary for the above-mentioned processing is avoided.
[Citation List]
[Patent Literature]
[0007]
[Patent Literature 1 ]
Japanese Patent Application Publication No. 2008-529109
[Summary of Invention]
[Technical Problem]
[0008]
A recording device, such as a BD recorder, and a mobile terminal, such as a
mobile phone, each include at least a communication unit configured to perform
communication, a data storage unit configured to store data therein and a control
unit configured to control the communication unit and the data storage unit. Given
that these devices are computers in each of which a control unit including a CPU
performs overall control over a device, technology disclosed in Patent Literature 1 is
applicable to these devices by applying RNIC to the communication unit.
[0009]
When data transfer is performed based on the technology disclosed in Patent
Literature 1, however, RNIC directly reads and writes data from and to a memory to
avoid a CPU load. In order to prevent memory loss caused by a CPU accessing the
memory without detecting memory modification, it becomes necessary to reserve a
memory area tied to a tag called STag for each data transfer processing, and to share
the information. In addition, since RNIC cannot directly read and write data from
and to the data storage unit even though the data is to be recorded on the data
storage unit, it becomes necessary to directly transfer the data to the memory, and
then to cause the CPU and device driver software to write the data to the data
storage unit. As a result, processing overhead is incurred before and after data
transfer, preventing an increase in throughput.
[0010]
In addition, iSCSI uses TCP/IP layer protocol to perform communication
between devices. Therefore, if processing of a TCP/IP layer is performed in software,
processing overhead is incurred due to an operation of the device driver software
and use of the memory. In order to avoid the processing overhead, hardware
implementation for TCP/IP processing or similar implementation becomes necessary.
In Patent Literature 1, the processing overhead is avoided by assuming RNIC being
hardware implementation for TCP/IP processing. This, however, results in an
increase in cost of devices for RDMA.
[0011]
The present invention has been conceived in view of the above problem. A
purpose of the present invention is to provide a response device, an integrated circuit
of the same, a response method and a response system which do not assume specific
protocol so that the processing overhead and a cost increase caused by hardware
implementation are avoided and which achieve data transfer that does not require
prior reservation of a memory area.
[Solution to Problem]
[0012]
One aspect of the present invention is a response device that responds to a
request from a request device, comprising: a communication unit configured to
perform communication with the request device; a data storage unit configured to
store data therein; a control unit configured to control the communication unit and
the data storage unit; and a request determination unit configured to determine
whether or not the request from the request device is a direct transfer request to
directly transfer data to or from the data storage unit, wherein when the request
determination unit determines affirmatively, the control unit assigns a right to access
the data storage unit to the communication unit, and the communication unit directly
transfers, to the data storage unit, an access command and data pertaining to the
access command issued from the request device to the data storage unit.
[Advantageous Effects of Invention]
[0013]
According to the above-mentioned configuration, when the direct transfer
request to directly transfer data to or from the data storage unit is received from the
request device, the response device performs a simple control operation so that data
is directly transferred between the communication unit and the data storage unit.
Such an operation allows the request device to transparently and directly access the
data storage unit included in the response device, eliminates the need to reserve a
memory area for access each time the request device accesses the data storage unit
as the control unit does not have to perform transfer, reduces processing overhead
pertaining to transfer between the request device and the response device, and
increases throughput of data transfer.
[0014]
Also, according to the above-mentioned configuration, as for
communication performed between the request device and the response device, the
control unit does not perform transfer. Therefore, the iSCSI technology is not used
and the TCP/IP layer protocol is not necessarily assumed. Since there is no need to
implement TCP/IP layer processing in hardware or a similar system, the
implementation cost can be reduced.
[0015]
In the response device pertaining to the present invention, when the request
determination unit determines negatively, the control unit may not assign the right to
access the data storage unit to the communication unit.
[0016]
According to this configuration, when the direct transfer request to directly
transfer data to or from the data storage unit is not received from the request device,
the control unit has the right to access the data storage unit, and thus the response
device is allowed to access the data storage unit. Therefore, the data storage unit is
efficiently shared between the request device and the response device.
[0017]
Also, in the response device pertaining to the present invention, the control
unit may have a right to access the communication unit and the data storage unit
when the direct transfer is not performed.
[0018]
According to this configuration, since the request device is allowed to
perform direct control over the data storage unit via the communication unit while
the request device accesses the data storage unit via the communication unit, the
request device can efficiently access the data storage unit. Since the response device
is allowed to access the data storage unit via the control unit when the direct transfer
is not performed, it is possible to avoid the request and response devices competing
against each other to access the communication unit and the data storage unit.
[0019]
Also, in the response device pertaining to present invention, the
communication unit may include a direct transfer judgment unit configured to judge
whether or not data received from the request device is to be transferred to the data
storage unit, and, when the direct transfer judgment unit judges affirmatively, the
communication unit may directly transfer the received data to the data storage unit,
and, when the direct transfer judgment unit judges negatively, the communication
unit may not directly transfer the received data to the data storage unit.
[0020]
According to this configuration, it is possible to judge whether the
communication unit should dynamically transfer each data received from the request
device to the data storage unit. Therefore, it is possible to prevent such malfunction
that data that should not be transferred to the data storage unit and data that does not
have to be transferred to the data storage unit are transferred to the data storage unit.
[0021]
Also, in the response device pertaining to present invention, the
communication unit may include a received data formatting unit configured to
format data received from the request device according to a data format recognizable
by the data storage unit.
[0022]
According to this configuration, it is possible to prevent such malfunction
that the communication unit transfers the data received from the request device in a
format unrecognizable by the data storage unit.
[0023]
Also, in the response device pertaining to the present invention, the
communication unit may include a transmitted data formatting unit configured to
format data directly transferred from the data storage unit so that the directly
transferred data is in a data format suitable for transmission to the request device.
[0024]
According to this configuration, it is possible to prevent such malfunction
that the communication unit transfers the data directly transferred from the data
storage unit in a format unrecognizable by the request device.
[0025]
Also, in the response device pertaining to the present invention, the control
unit may include a condition set unit configured to provide setting of a condition for
continuing the direct transfer for one of the communication unit and the data storage
unit, and, when the request determination unit determines affirmatively, the
condition set unit may set the condition for continuing the direct transfer, and, when
the condition for continuing the direct transfer is not met, the one of the
communication unit and the data storage unit may terminate the direct transfer.
[0026]
According to this configuration, since the condition set unit appropriately
sets the condition for continuing the direct transfer according to the direct transfer
request from the request device each time the direct transfer is performed, it is
possible to prevent waste of time during the direct transfer.
[0027]
Also, in the response device pertaining to the present invention, the
condition for continuing the direct transfer may be that a period of the direct transfer
is equal to or shorter than a predetermined period.
[0028]
According to this configuration, since the period of the direct transfer is
managed using a transfer elapsed time according to the direct transfer request from
the request device each time the direct transfer is performed, the response device is
allowed to access the data storage unit after the period has elapsed.
[0029]
Also, in the response device pertaining to the present invention, the
condition for continuing the direct transfer may be that a size of directly transferred
data is equal to or smaller than a predetermined size.
[0030]
According to this configuration, since the period of the direct transfer is
managed using the size of transferred data according to the direct transfer request
from the request device each time the direct transfer is performed, it is possible to
terminate the direct transfer immediately after data of a required size is directly
transferred.
[0031]
Also, in the response device pertaining to the present invention, the
condition for continuing the direct transfer may be that a predetermined token is not
detected from transferred data.
[0032]
According to this configuration, since the direct transfer is managed so as to
be continued until the predetermined token is detected according to the direct
transfer request from the request device each time the direct transfer is performed, it
is possible to terminate the direct transfer in accordance with a timing suitable for
the request device.
[0033]
Also, in the response device pertaining to the present invention, the
communication unit may include a direct transfer termination unit configured to
terminate the direct transfer according to a predetermined condition for terminating
the direct transfer, and the predetermined condition may be set before the control
unit receives the direct transfer request.
[0034]
According to this configuration, since there is no need to control the period
of the direct transfer according to the direct transfer request from the request device
each time the direct transfer is performed, processing overhead pertaining to the
control over the period is reduced.
[0035]
Also, in the response device pertaining to the present invention, the
predetermined condition may be that a period of the direct transfer exceeds a
predetermined period.
[0036]
According to this configuration, the period of the direct transfer is managed
using the predetermined period, regardless of the direct transfer request from the
request device.
[0037]
Also, in the response device pertaining to the present invention, the
predetermined condition may be that a size of directly transferred data exceeds a
predetermined size.
[0038]
According to this configuration, the period of the direct transfer is managed
so that the direct transfer is performed until the size of directly transferred data
exceeds the predetermined size, regardless of the direct transfer request from the
request device.
[0039]
Also, in the response device pertaining to the present invention, the
predetermined condition may be that a predetermined token is detected from
transferred data.
[0040]
According to this configuration, the period of the direct transfer is managed
so that the direct transfer is performed until the predetermined token is detected,
regardless of the direct transfer request from the request device.
[0041]
Also, in the response device pertaining to the present invention, the request
determination unit may include a validity determination unit configured to determine
whether or not the direct transfer request is valid, and, only when the request
determination unit determines affirmatively and the validity determination unit
determines affirmatively, the control unit may perform control so that data is
directly transferred between the communication unit and the data storage unit.
[0042]
According to this configuration, since a wrong request such as a direct
transfer request to directly transfer data to or from a data storage unit not included in
the response device and a malicious direct transfer request are rejected, it is possible
to ensure robustness and safety for access to the data storage unit.
[0043]
Also, in the response device pertaining to the present invention, the control
unit, the communication unit and the data storage unit may be connected with one
another so as to form a ring.
[0044]
According to this configuration, when the control unit, the communication
unit and the data storage unit are connected with one another, the cost pertaining to
the connection is reduced, compared to the cost required when a hub and star
topology, or daisy chain topology is used.
[0045]
Also, in the response device pertaining to the present invention, the request
device may include an access request issuing unit configured to issue the access
command according to an access format defined by the data storage unit.
[0046]
According to this configuration, since the request device issues the access
command in advance according to the access format defined by the data storage unit,
processing overhead pertaining to the formatting of the access command performed
by the response device according to the access format defined by the data storage
unit is reduced.
[0047]
Also, in the response device pertaining to the present invention, the request
device may include a storage format determination unit configured to determine a
storage format used in the data storage unit.
[0048]
According to this configuration, since the request device determines the
storage format defined by the data storage unit, processing overhead pertaining to
the determination of the storage format defined by the data storage unit is reduced.
[0049]
Another aspect of the present invention is an integrated circuit that responds
to a request from a request device, comprising: a request determination unit
configured to determine the request from the request device; a communication unit
configured to perform communication with the request device; a data storage unit
configured to store data therein; and a control unit configured to control the
communication unit and the data storage unit, and, when the request determination
unit determines that the request from the request device is a direct transfer request to
directly transfer data to or from the data storage unit, the control unit assigns a right
to access the data storage unit to the communication unit, and the communication
unit directly transfers, to the data storage unit, an access command and data
pertaining to the access command issued from the request device to the data storage
unit.
[0050]
According to this configuration, miniaturization is achieved using the
integrated circuit.
[0051]
Yet another aspect of the present invention is a response method used in a
response device that responds to a request from a request device, the response device
including: a communication unit configured to perform communication with the
request device; a data storage unit configured to store data therein; and a control unit
configured to control the communication unit and the data storage unit, the response
method comprising: a request determination step of determining the request from the
request device, wherein when the request determination step determines that the
request from the request device is a direct transfer request to directly transfer data to
or from the data storage unit, the control unit assigns a right to access the data
storage unit to the communication unit, and the communication unit directly
transfers, to the data storage unit, an access command and data pertaining to the
access command issued from the request device to the data storage unit.
[0052]
According to this configuration, the present invention is implemented in
software such as a program.
[0053]
Yet another aspect of the present invention is a response system composed
of a request device and a response device that responds to a request from the request
device, wherein the response device includes: a communication unit configured to
perform communication with the request device; a data storage unit configured to
store data therein; a control unit configured to control the communication unit and
the data storage unit; and a request determination unit configured to determine
whether or not the request from the request device is a direct transfer request to
directly transfer data to or from the data storage unit, and, when the request
determination unit determines affirmatively, the control unit assigns a right to access
the data storage unit to the communication unit, and the communication unit directly
transfers, to the data storage unit, an access command and data pertaining to the
access command issued from the request device to the data storage unit, and the
request device includes an access request issuing unit configured to issue the access
command according to an access format defined by the data storage unit.
[0054]
According to this configuration, since the request device issues the access
command in advance according to the access format defined by the data storage unit,
and the response device performs a simple control operation so that data is directly
transferred between the communication unit and the data storage unit when the
direct transfer request to directly transfer data to or from the data storage unit is
received from the request device, the request device can transparently and directly
access the data storage unit.
[Brief Description of Drawings]
[0055]
FIG. 1 illustrates an overall system including a response device pertaining
to the present embodiment.
FIG. 2 is a block diagram of the response device pertaining to the present
embodiment.
FIG. 3 is a block diagram of a request device pertaining to the present
embodiment.
FIG. 4 illustrates a series of operations performed between the request
device and the response device pertaining to the present embodiment.
FIG. 5 is a flow chart relating to an outline of an operation of the response
' device pertaining to the present embodiment.
FIG. 6 is a flow chart relating to an operation of a communication unit
pertaining to the present embodiment during direct transfer.
FIG. 7 is a block diagram of the response device pertaining to the present
embodiment as an integrated circuit.
FIG. 8 is a block diagram of the response device pertaining to the present
embodiment as a set.
FIG. 9 is a conceptual diagram of an example in which the response device
pertaining to the present embodiment is adapted to set products.
FIG. 10 is a block diagram of the request device pertaining to the present
embodiment as an integrated circuit.
FIG. 11 is a block diagram of the request device pertaining to the present
embodiment as a set.
FIG. 12 is a conceptual diagram of an example in which the request device
pertaining to the present embodiment is adapted to set products.
[Description of Embodiments]
[0056]
The following describes an embodiment of the present invention in detail,
with reference to the drawings. Note that the same reference signs are assigned to
components having the same function in the present description and the drawings,
and description of overlapping portions is omitted.
(1) Overall configuration of system
FIG. 1 is a block diagram illustrating main components of an overall system
including a response device pertaining to the present embodiment.
[0057]
A response device 2 includes a request determination unit 21, a control unit
22, a communication unit 23 and a data storage unit 24.
[0058]
The control unit 22, the communication unit 23 and the data storage unit 24
are connected with one another via a serial link so as to form a ring. The control unit
22 is further connected with the request determination unit 21.
[0059]
A request device 1 includes an access request issuing unit 12.
[0060]
The request device 1 and the response device 2 are capable of
communicating with each other via the access request issuing unit 12 and the
communication unit 23.
(2) Response device 2
FIG. 2 illustrates a detailed configuration of the response device 2.
[0061]
The response device 2 pertaining to the present embodiment is embodied as
a part of a mobile terminal such as a smart phone and a tablet terminal.
[0062]
In the present embodiment, the control unit 22, the communication unit 23
and the data storage unit 24 included in the response device 2 are connected with
one another via a serial link so as to form a ring as illustrated in FIG. 2, and each
have a unique node ID. Here, node IDs unique to the control unit 22, the
communication unit 23 and the data storage unit 24 are respectively NID01, NID02
and NID03. A transfer direction on the serial link is fixed to a clockwise direction in
FIG. 2. Therefore, for example, when the communication unit 23 transmits data to
the data storage unit 24, the data is transferred via the control unit 22. In this case,
however, the control unit 22 is only part of a path. Therefore, the control unit 22
does not have to functionally operate, and have only to function as a transmission
path from the communication unit 23 to the data storage unit 24. In addition, in a
case where a direct transfer mode is not set, access to the communication unit 23 and
the data storage unit 24 is provided via the control unit 22 at any time, similarly to a
conventional device. In this case, the control unit 22 performs processing such as
determination of data transmission destination at all times, and the communication
unit 23 and the data storage unit 24 each have direct access only to the control unit
22.
[0063]
The request determination unit 21 determines whether or not a request
received from the request device 1 via the communication unit 23 is a direct transfer
request to directly transfer data to or from the data storage unit. When determining
that the request is the direct transfer request to directly transfer data to or from the
data storage unit 24, the request determination unit 21 instructs the control unit 22 to
set a direct transfer mode between the communication unit 23 and the data storage
unit 24. The request determination unit 21 determines whether or not the request is
the direct transfer request to directly transfer data to or from the data storage unit 24
by determining whether or not transferred data is direct transfer request data
including a device ID of the request device 1 and specifying the data storage unit 24
as an access target.
[0064]
The request determination unit 21 is embodied, for example, as a CPU, a
main memory and software operating using the CPU and the main memory.
[0065]
Here, the request determination unit 21 includes a validity determination
unit 210.
[0066]
The validity determination unit 21 determines validity of the request
received from the request device 1. Therefore, when the request received from the
request device 1 is the direct transfer request to directly transfer data to or from the
data storage unit 24, the control unit 22 is instructed to set the direct transfer mode if
the validity determination unit 210 determines that the request is valid, and the
control unit 22 is not instructed to set the direct transfer mode if the validity
determination unit 210 determines that the request is invalid.
[0067]
Here, the validity is determined by checking a device ID registered in
advance. For example, when a device ID of the request device 1 is TID01, the
validity is determined by checking whether or not the device ID is registered with
the validity determination unit 210. That is to say, the request is determined to be
valid if TID01 is registered with the validity determination unit 210, and is
determined to be invalid if TID01 is not registered with the validity determination
unit 210.
[0068]
The control unit 22 is provided to control the communication unit 23 and
the data storage unit 24, and is embodied, for example, as an SDXC host controller
and device driver software corresponding to each of the communication unit 23 and
the data storage unit 24. Furthermore, the control unit 22 provides setting of the
direct transfer mode between the communication unit 23 and the data storage unit 24
for the communication unit 23 and the data storage unit 24, according to the
instructions from the request determination unit 21. In a state where the direct
transfer mode is not initiated, any resources within the response device 2 are allowed
to access resources such as the communication unit 23 and the data storage unit 24
only via the control unit 22. In the present embodiment, however, while a resource
within the response device 2 such as a CPU accesses the data storage unit 24, the
control unit 22 waits for the end of the access processing and then sets the direct
transfer mode. Once the direct transfer mode is set, resources other than the request
device 1 are not allowed to access the data storage unit 24 until the direct transfer
mode ends because the control unit 22 stops relaying the access processing.
[0069]
Here, the control unit 22 includes a condition set unit 220.
[0070]
The condition set unit 220 sets a condition for continuing the direct transfer
mode when the direct transfer mode is set. In the present embodiment, a size of data
to be directly transferred is included in the direct transfer request data, and this value
is set as the condition for continuing the direct transfer mode.
[0071]
The communication unit 23 is provided in order for the response device 2 to
perform communication with another device such as a request device, and is, for
example, an NIC (Network Interface Card). Specifically, the communication unit 23
is embodied as a WiGig communication device having an SDXC interface.
[0072]
Here, the communication unit 23 includes a reception unit 231, a received
data formatting unit 232, a direct transfer judgment unit 233, a transmitted data
formatting unit 234 and a transmission unit 235.
[0073]
The reception unit 231 receives a communication frame transmitted from
another terminal to the response device.
[0074]
The received data formatting unit 232 removes an information portion
necessary for communication, such as an MAC header, from the communication
frame received by the reception unit 231 to extract a data portion.
[0075]
The direct transfer judgment unit 233 analyzes the data portion extracted by
the received data formatting unit 232, and judges whether the data portion is to be
directly transferred to the data storage unit 24 or is to be transferred to the control
unit 22.
[0076]
Here, the judgment pertaining to the present embodiment is made based on
an ID of a transmission source and a data type. That is to say, in a case where the ID
of a transmission source is the request device 1 (TID01) and the data type is an
access command or data to be transferred to the data storage unit 24, the data portion
is judged to be directly transferred. In other cases, the data portion is not judged to
be directly transferred. Examples of the other cases are a case where the data portion
is a message requesting the control unit 22 to terminate the direct transfer or a
message notifying the communication unit 23 of the completion of the direct transfer
and a case where the data portion is received after the condition for continuing the
direct transfer mode is not met.
[0077]
A node ID of a transfer destination is inserted into the data portion
according to the result of the judgment, and resulting data is transferred to the
transfer destination. The node ID of the transfer destination has been acquired at the
time of setting pertaining to the direct transfer. Details thereof are described later.
For example, when the result of the judgment indicates direct transfer to the data
storage unit 24, NID03 is set as the node ID of the transfer destination. On the other
hand, when the result of the judgment indicates transfer to the control unit 22,
NID01 is set as the node ID of the transfer destination.
[0078]
The transmitted data formatting unit 234 adds an information portion
necessary for communication with another terminal, such as an MAC header, to data
transferred from the control unit 22 or the data storage unit 24 to the communication
unit 23 to generate a communication frame.
[0079]
The transmission unit 235 transmits the communication frame generated by
the transmitted data formatting unit 234 to another device.
[0080]
The data storage unit 24 is a non-volatile recording medium which is to be
accessed via the control unit 22 or the communication unit 23 and is writable and
readable. The data storage unit 24 is embodied, for example, as an SDXC memory
card.
(3) Request device 1
FIG. 3 illustrates a detailed configuration of the request device 1.
[0081]
The request device 1 pertaining to the present embodiment is embodied, for
example, as a part of a recording device such as a BD recorder.
[0082]
The request device 1 includes a storage format determination unit 11 and
the access request issuing unit 12.
[0083]
When the request device 1 accesses the data storage unit 24 included in the
response device 2, the storage format determination unit 11 determines, from a first
access command, a storage format used in the data storage unit 24, and performs
control to read desired data stored in the data storage unit 24 or to write desired data
to the data storage unit 24. The determined storage format is used by application
software of the request device 1 to access the data storage unit. Here, the storage
format is, for example, a file system, and is more specifically exFAT in a case where
the data storage unit 24 is an SDXC memory card.
[0084]
The access request issuing unit 12 issues, to the response device 2, the direct
transfer request to directly transfer data to or from the data storage unit 24, and an
access command to access the data storage unit 24.
[0085]
Here, the access request issuing unit 12 includes a remote control unit 121
and a remote access unit 122.
[0086]
The remote control unit 121 generates the direct transfer request data for the
data storage unit 24, and the access command to access the data storage unit 24 to be
transmitted to the response device 2.
[0087]
In order to generate the access command to access the data storage unit 24,
it is desirable that the remote control unit 121 directly function as a host controller
for the data storage unit 24. Therefore, for example, when the data storage unit 24 is
an SDXC memory card, it is desirable that the remote control unit 121 include an
SDXC host controller and software for controlling the SDXC host controller, such
as a device driver.
[0088]
The remote access unit 122 transmits the direct transfer request data and the
access command generated by the remote control unit 121 to the response device 2,
and transmits and receives data to and from the response device 2 in accordance
with a transaction conducted due to issuing of a command.
[0089]
The remote access unit 122 also functions as a communication unit
configured to perform communication with the response device 2. Therefore, the
remote access unit 122 is required to perform communication according to the same
standards as the communication unit 23 included in the response device 2.
Accordingly, for example, when the communication unit 23 is a device supporting
WiGig communication, the remote access unit 122 is required to include a device
function supporting WiGig communication.
The following describes a series of operations performed between the
request device 1 and the response device 2 pertaining to the present embodiment,
based on a configuration example described above.
(1) Overview of operation of overall system
FIG. 4 illustrates an overview of an operation of an overall system
pertaining to the present embodiment.
[0090]
The following describes the operation of the overall system pertaining to the
present embodiment based on FIG. 4.
[0091]
In order for the access request issuing unit 12 included in the request device
1 to request access to the data storage unit 24 included in the response device 2 to
perform direct transfer, the remote control unit 121 generates the direct transfer
request (SI).
[0092]
The direct transfer request may include a device ID of the request device 1,
information concerning the transfer, the condition for continuing the direct transfer
and the like.
[0093]
Once the direct transfer request is generated, the remote access unit 122
included in the access request issuing unit 12 performs transmission processing such
as addition of an MAC header and the like, and transmits the direct transfer request
to the response device 2 as a communication frame (S2).
[0094]
The direct transfer request is received by the communication unit 23
included in the response device 2, and reception processing such as a check and
removal of the MAC header included in the communication frame is performed
(S3).
[0095]
The communication unit 23 transfers data resulting from the reception
processing to the control unit 22 (S4).
[0096]
The control unit 22 further transfers the data to the request determination
unit 21 to check whether or not the direct transfer setting is necessary (S5).
[0097]
The request determination unit 21 checks the transferred data to determine
the request. Here, when the request determination unit 21 determines that the request
is the direct transfer request to directly transfer data to or from the data storage unit
24, the validity determination unit 210 determines the validity of the request. The
device ID of the request device 1 is registered in advance with the validity
determination unit 210, and the validity determination unit 210 determines the
validity of the request by checking whether or not the device ID included in the
transferred data matches the registered device ID (S6).
[0098]
In the present embodiment, the request is determined to be valid, and the
request determination unit 21 instructs the control unit 22 to initiate the direct
transfer (S7).
[0099]
The control unit 22 instructed to initiate the direct transfer provides setting
pertaining to the direct transfer for the communication unit 23 (S8).
The setting pertaining to the direct transfer is provided by notifying, to the
communication unit 23, a node ID of the data storage unit 24 as a partner for direct
transfer, namely NID03, and similarly notifying, to the data storage unit 24, a node
ID of the communication unit 23 as a partner for direct transfer, namely NID02.
Until the communication unit 23 notifies the control unit 22 that the condition for
continuing the direct transfer (described later) is not met, the control unit 22 assigns
a right to access the data storage unit 24 to the communication unit 23, so that the
control unit 22 does not access the communication unit 23 and the data storage unit
24 and does not allow other nodes and devices to access the communication unit 23
and the data storage unit 24 via the control unit 22.
[0100]
The access request issuing unit 12 included in the request device 1 generates
the access command to access the data storage unit 24 (S9).
[0101]
The access request issuing unit 12 transmits the generated access command
to the response device 2 as a communication frame (S10).
[0102]
The communication unit 23 performs the reception processing with respect
to the received data, and checks whether or not the received data is to be transferred
to the data storage unit 24 (SI 1).
[0103]
When the received data is judged to be transferred as a result of the check,
the received data is transferred to the data storage unit 24 (S12).
[0104]
When the transferred access command is a write command, a series of
processes in a step S30 are performed.
[0105]
That is to say, the storage format determination unit 11 transfers, to the
access request issuing unit 12, write data according to the storage format used in the
data storage unit 24 (S31), the access request issuing unit 12 transfers the write data
to the communication unit 23 as a communication frame (S32), the communication
unit 23 performs the reception processing with respect to the received write data
(S33) and transfers the write data resulting from the reception processing to the data
storage unit 24 (S34), and the data storage unit 24 writes thereto the write data
(S35).
[0106]
When the transferred access command is a read command, a series of
processes in a step S40 are performed.
[0107]
That is to say, the data storage unit 24 reads therefrom data (S41) and
transfers the read data to the communication unit 23 (S42), the communication unit
23 performs the transmission processing with respect to the transferred data (S43)
and transmits generated data to be transmitted to the request device 1 as a
communication frame (S44), and the access request issuing unit 12 performs the
reception processing with respect to the received data and transfers extracted data to
the storage format determination unit 11 (S45).
[0108]
When the series of processes in a step S30 or S40 are completed, the
communication unit 23 checks whether or not the condition for continuing the direct
transfer is met (SI3).
[0109]
When the condition for continuing the direct transfer is not met, the
communication unit 23 notifies the control unit 22 accordingly to return the right to
access the data storage unit 24 (S14). The notification is made, for example, by
assertion of an interrupt signal. By receiving the notification, the control unit 22
acquires the right to access the data storage unit 24.
[0110]
When the condition for continuing the direct transfer is met, the series of
processes in a step S30 or S40 are repeatedly performed in accordance with a type of
a transfer direction of the access command.
[0111]
In the above-mentioned manner, the request device 1 transparently and
directly accesses the data storage unit 24 included in the response device 2.
(2) Operation of response device 2
FIG. 5 is a flow chart showing an operation of the response device 2
pertaining to the present embodiment.
[0112]
The following describes the operation of the response device 2 pertaining to
the present embodiment in detail based on FIG. 5.
[0113]
As a first step, the response device 2 waits for reception of data transmitted
from the request device 1 (S51). Unless data is received, processing remains in this
step.
[0114]
When reception of data is confirmed, the request determination unit 21
checks the received data (S52). The received data is checked according to the
operations in the above-mentioned steps S4 to S6. When the received data is not the
direct transfer request to directly transfer data to or from the data storage unit 24,
processing returns to the step S51. Here, examples of the case where the received
data is not the direct transfer request to directly transfer data to or from the data
storage unit 24 are a case where the received data is a request not including
necessary information such as an ID of the request device 1, a case where the
received data is an access request to access a device other than the data storage unit
24, and a case where the received data is an access request to access the data storage
unit 24 via the control unit 22.
[0115]
When the received data is the direct transfer request to directly transfer data
to or from the data storage unit, the validity of the request is checked in the next step
(S53). The method to check the validity of the request is as described in the step S6.
When the request is determined to be invalid as a result of the check, processing
returns to the step S51.
[0116]
When the request is determined to be valid as a result of the check, the
control unit 22 checks whether or not there are any resources being accessing the
data storage unit 24 in the next step (S54). When it is determined that there are any
resources being accessing the data storage unit 24 as a result of the check,
processing remains in this step until the access is completed.
[0117]
When it is determined that there are no resources being accessing the data
storage unit 24 as a result of the check, the condition set unit 220 provides setting of
a condition for continuing the direct transfer mode for the communication unit 23
(S55). In the present embodiment, assume that the condition for continuing the
direct transfer mode is that a size of directly transferred data is smaller than a
predetermined size.
[0118]
After the condition for continuing the direct transfer mode is set, the control
unit 22 initiates the direct transfer mode performed between the communication unit
23 and the data storage unit 24 (S56). Operations performed in the direct transfer
mode are as described in the above-mentioned step S8, and thus description thereof
is omitted here. In the above-mentioned manner, the communication unit 23 and the
data storage unit 24 recognize each other as partners for the direct transfer.
[0119]
When the direct transfer is initiated, it becomes possible to perform the
direct transfer between the communication unit 23 and the data storage unit 24. The
request device 1 transparently and directly accesses the data storage unit 24 using
the mode (S57). Since details of the direct transfer are described in the
above-mentioned steps S9 to S12 and the step S30 or S40, description thereof is
omitted here. Note that, in the present embodiment, in order to avoid competition to
access the data storage unit 24, assume that the control unit 22 is not allowed to
access the data storage unit 24 after initiation of the direct transfer until the direct
transfer is completed.
[0120]
During the direct transfer, the communication unit 23 monitors a timing at
which the condition for continuing the direct transfer is not met (S58). Since the
condition for continuing the direct transfer is that a size of directly transferred data is
smaller than the predetermined size in the present embodiments, the communication
unit 23 monitors the size of directly transferred data. Until a fact that the condition
for continuing the direct transfer is not met is detected, processing in the steps S57
to S58 is repeated. When the fact that the condition for continuing the direct transfer
is not met is detected, the control unit 22 is notified accordingly. Since details of the
notification are as described in the above-mention step S14, description thereof is
omitted here.
[0121]
In the above-mentioned manner, the response device 2 pertaining to the
present embodiment responds to the direct transfer request to directly transfer data to
or from the data storage unit 24 from the request device 1, and operates accordingly.
(3) Operation of communication unit 23 during direct transfer
FIG. 6 is a flow chart showing an operation of the communication unit 23
pertaining to the present embodiment during the direct transfer.
[0122]
The following describes the operation of the communication unit 23
pertaining to the present embodiment during the direct transfer in detail based on
FIG. 6.
[0123]
When the direct transfer mode is initiated, the reception unit 231 included in
the communication unit 23 checks whether or not there are any frames received from
the request device 1 (S61).
[0124]
When it is confirmed that there is no received frame, whether or not there is
any data transferred from the data storage unit 24 is checked (S65). When there is no
data transferred from the data storage unit 24, processing returns to the step S61.
When it is confirmed that there is any data transferred from the data storage unit 24,
the transmitted data formatting unit 234 generates a frame to be transmitted to the
request device 1 based on the transferred data (S66). Here, the generation of data to
be transmitted principally indicates transmission processing of a data link layer.
Specifically, examples of the transmission processing are addition of an MAC
header and calculation of a CRC checksum.
[0125]
When the frame to be transmitted is generated, the transmission unit 235
transmits the generated frame to the request device 1 (S67).
[0126]
On the other hand, when the reception unit 231 confirms reception of a
frame, the received data formatting unit 232 performs reception processing with
respect to the received frame (S62). Here, the reception processing principally
indicates reception processing of a data link layer. Specifically, examples of the
reception processing are removal of an MAC header and confirmation of a CRC
checksum.
[0127]
When the reception processing with respect to the received frame is
completed, the direct transfer judgment unit 233 judges, regarding extracted data,
whether the received data is to be directly transferred to the data storage unit 24
(S63).
[0128]
When the received data is judged not to be directly transferred, the received
data is transferred to the control unit 22 or subjected to internal processing within
the communication unit 23 in accordance with a type of the received data, and
processing returns to the step S61.
[0129]
When the received data is judged to be directly transferred, the received
data is transferred to the data storage unit 24 (S64).
[0130]
When processing in the step S64 or S67 is completed, whether or not a total
size of directly transferred data is smaller than a size of transferred data set by the
control unit 22 as the condition for continuing the direct transfer is checked. When
the total size of directly transferred data is smaller than the size of transferred data
set by the control unit 22 as the condition for continuing the direct transfer,
processing returns to the step S61. When the total size of directly transferred data is
equal to or larger than the size of transferred data set as the condition for continuing
the direct transfer, the control unit 22 is notified accordingly by assertion of an
interrupt signal and the like.
[0131]
The communication unit 23 operates in the above-mentioned manner during
the direct transfer.
According to the present embodiment described above, the response device
2 pertaining to the present invention includes the request determination unit 21, the
validity determination unit 210, the control unit 22, the condition set unit 220, the
communication unit 23, the reception unit 231, the received data formatting unit 232,
the direct transfer judgment unit 233, the transmitted data formatting unit 234, the
transmission unit 235 and the data storage unit 24.
[0132]
In particular, the control unit 22, the communication unit 23 and the data
storage unit 24 are connected with one another via a serial link so as to form a ring.
[0133]
The request device 1 pertaining to the present invention includes the storage
format determination unit 11, the access request issuing unit 12, the remote control
unit 121 and the remote access unit 122.
[0134]
The access command and data pertaining to the command transmitted from
the request device 1 pertaining to the present invention to the data storage unit 24
are transferred between the communication unit 23 and the data storage unit 24
within the response device 2 so as to be directly recognizable by the data storage
unit 24, and are transferred between the remote access unit 122 and the
communication unit 23 as a communication frame including the above-mentioned
access command and data pertaining to the command in a payload.
[0135]
With this configuration, the response device 2 can use the data storage unit
24 included therein as a recording medium included therein under a normal
condition. When a valid direct transfer request to directly transfer data to or from the
data storage unit 24 is made by the request device 1, the direct transfer mode is set
between the communication unit 23 and the data storage unit 24 so that the request
device 1 can transparently and directly access the data storage unit 24, Since it
becomes unnecessary to reserve a memory area in advance and confirm the
reservation as in the conventional technology, processing overhead during transfer is
reduced and throughput significantly increases.
[0136]
Also, the request device 1 can transparently and directly access the data
storage unit 24 without using any resources other than the communication unit 23
and the data storage unit 24 within the response device 2 after the initiation of the
direct transfer until the direct transfer is completed. This can result in a reduction of
processing loads of the response device 2 and a reduction of electricity consumption
associated with the processing loads of the response device 2.
[0137]
Also, the remote control unit 121 is configured so as to function as a
controller directly controlling the data storage unit 24. Therefore, it is possible to
issue a direct transaction between the remote control unit 121 and the data storage
unit 24 via communication. With this configuration, it is only necessary for the
remote access unit 122 and the communication unit 23 to add and remove an MAC
header, so that the remote control unit 121 can control the data storage unit 24 using
protocol directly controlling the data storage unit 24. Since iSCSI is not assumed,
TCP/IP layer protocol is not necessary. Therefore, processing overhead of the
TCP/IP layer and the implementation cost pertaining to the TCP/IP layer are reduced
to zero.
Documents
Application Documents
| # |
Name |
Date |
| 1 |
1508-kolnp-2012-(20-6-2012)-TRANSLATED COPY OF PRIORITY DOCUMENT.pdf |
2012-07-05 |
| 1 |
1508-KOLNP-2012-AbandonedLetter.pdf |
2019-07-05 |
| 2 |
1508-kolnp-2012-(20-6-2012)-SPECIFICATION.pdf |
2012-07-05 |
| 2 |
1508-KOLNP-2012-FER.pdf |
2018-12-12 |
| 3 |
1508-KOLNP-2012-(29-02-2016)-FORM-6.pdf |
2016-02-29 |
| 3 |
1508-kolnp-2012-(20-6-2012)-PCT SEARCH REPORT & OTHERS.pdf |
2012-07-05 |
| 4 |
1508-kolnp-2012-(20-6-2012)-INTERNATIONAL PUBLICATION.pdf |
2012-07-05 |
| 4 |
1508-KOLNP-2012-(07-12-2015)-ANNEXURE TO FORM 3.pdf |
2015-12-07 |
| 5 |
1508-kolnp-2012-(20-6-2012)-GPA.pdf |
2012-07-05 |
| 5 |
1508-KOLNP-2012-(06-09-2012)-ANNEXURE TO FORM 3.pdf |
2012-09-06 |
| 6 |
1508-kolnp-2012-(20-6-2012)-FORM-5.pdf |
2012-07-05 |
| 6 |
1508-KOLNP-2012-(06-09-2012)-CORRESPONDENCE.pdf |
2012-09-06 |
| 7 |
1508-kolnp-2012-(20-6-2012)-FORM-3.pdf |
2012-07-05 |
| 7 |
1508-kolnp-2012-(20-6-2012)-ABSTRACT.pdf |
2012-07-05 |
| 8 |
1508-kolnp-2012-(20-6-2012)-FORM-2.pdf |
2012-07-05 |
| 8 |
1508-kolnp-2012-(20-6-2012)-AMENDED CLAIMS.pdf |
2012-07-05 |
| 9 |
1508-kolnp-2012-(20-6-2012)-CLAIMS.pdf |
2012-07-05 |
| 9 |
1508-kolnp-2012-(20-6-2012)-FORM-1.pdf |
2012-07-05 |
| 10 |
1508-kolnp-2012-(20-6-2012)-CORRESPONDENCE.pdf |
2012-07-05 |
| 10 |
1508-kolnp-2012-(20-6-2012)-DRAWINGS.pdf |
2012-07-05 |
| 11 |
1508-kolnp-2012-(20-6-2012)-DESCRIPTION (COMPLETE).pdf |
2012-07-05 |
| 12 |
1508-kolnp-2012-(20-6-2012)-CORRESPONDENCE.pdf |
2012-07-05 |
| 12 |
1508-kolnp-2012-(20-6-2012)-DRAWINGS.pdf |
2012-07-05 |
| 13 |
1508-kolnp-2012-(20-6-2012)-CLAIMS.pdf |
2012-07-05 |
| 13 |
1508-kolnp-2012-(20-6-2012)-FORM-1.pdf |
2012-07-05 |
| 14 |
1508-kolnp-2012-(20-6-2012)-AMENDED CLAIMS.pdf |
2012-07-05 |
| 14 |
1508-kolnp-2012-(20-6-2012)-FORM-2.pdf |
2012-07-05 |
| 15 |
1508-kolnp-2012-(20-6-2012)-ABSTRACT.pdf |
2012-07-05 |
| 15 |
1508-kolnp-2012-(20-6-2012)-FORM-3.pdf |
2012-07-05 |
| 16 |
1508-KOLNP-2012-(06-09-2012)-CORRESPONDENCE.pdf |
2012-09-06 |
| 16 |
1508-kolnp-2012-(20-6-2012)-FORM-5.pdf |
2012-07-05 |
| 17 |
1508-KOLNP-2012-(06-09-2012)-ANNEXURE TO FORM 3.pdf |
2012-09-06 |
| 17 |
1508-kolnp-2012-(20-6-2012)-GPA.pdf |
2012-07-05 |
| 18 |
1508-KOLNP-2012-(07-12-2015)-ANNEXURE TO FORM 3.pdf |
2015-12-07 |
| 18 |
1508-kolnp-2012-(20-6-2012)-INTERNATIONAL PUBLICATION.pdf |
2012-07-05 |
| 19 |
1508-KOLNP-2012-(29-02-2016)-FORM-6.pdf |
2016-02-29 |
| 19 |
1508-kolnp-2012-(20-6-2012)-PCT SEARCH REPORT & OTHERS.pdf |
2012-07-05 |
| 20 |
1508-KOLNP-2012-FER.pdf |
2018-12-12 |
| 20 |
1508-kolnp-2012-(20-6-2012)-SPECIFICATION.pdf |
2012-07-05 |
| 21 |
1508-KOLNP-2012-AbandonedLetter.pdf |
2019-07-05 |
| 21 |
1508-kolnp-2012-(20-6-2012)-TRANSLATED COPY OF PRIORITY DOCUMENT.pdf |
2012-07-05 |
Search Strategy
| 1 |
SearchPattern1508KOLNP2012_12-12-2018.pdf |