WO2012160792A1 - 通信端末 - Google Patents
通信端末 Download PDFInfo
- Publication number
- WO2012160792A1 WO2012160792A1 PCT/JP2012/003251 JP2012003251W WO2012160792A1 WO 2012160792 A1 WO2012160792 A1 WO 2012160792A1 JP 2012003251 W JP2012003251 W JP 2012003251W WO 2012160792 A1 WO2012160792 A1 WO 2012160792A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- cluster
- unit
- file
- search
- dma transfer
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/14—Handling requests for interconnection or transfer
- G06F13/20—Handling requests for interconnection or transfer for access to input/output bus
- G06F13/28—Handling requests for interconnection or transfer for access to input/output bus using burst mode transfer, e.g. direct memory access DMA, cycle steal
Definitions
- the present invention relates to a communication terminal that transmits and receives a file.
- High Density High Density
- high-quality video files or large-capacity files are generally transmitted and received on mobile terminals.
- the communication terminal is required to transmit / receive (communication) a large-capacity file at high speed with the other communication terminal.
- the sending terminal uses the application to retrieve the file from the storage, specify the IP address of the other communication terminal as the communication device, and send the file.
- the communication device receives a file transmitted from the other communication terminal to its own IP address, and the application extracts the file.
- CPU Central Processing Unit
- FIG. 10 is a block diagram showing a system configuration of a conventional DMA controller. An outline of the operation of the conventional DMA controller will be described with reference to FIG.
- the DMA controller of Patent Document 1 includes a CPU 1, a ROM (Read Only Memory) 2, a memory controller 3, a RAM (Random Access Memory) 4, a DMA controller 5 including a parameter setting FIFO 5 a, and an I / O device 6 is included.
- the CPU 1 sets an address and a data size indicating a place where the data is stored in the RAM 4 in the parameter setting FIFO 5 a of the DMA controller 5.
- the DMA controller 5 performs DMA transfer from the RAM 4 to the I / O device 6 based on the address and data size set in the parameter setting FIFO 5a.
- the DMA controller 5 notifies the CPU 1 that a certain amount of files have been DMA-transferred.
- the DMA control device DMA-transfers the file between the RAM 4 and the I / O device 6.
- the DMA control device can set the address and data size necessary for the next DMA transfer in the DMA controller 5, and can reduce the overhead in the DMA transfer.
- the DMA controller requires a large-capacity memory when storing setting data necessary for DMA transfer.
- An object of the present invention is to provide a communication terminal in which the preparation time of setting data necessary for the DMA controller to be performed before the start of communication is minimized and communication overhead is reduced.
- the present invention is a communication terminal as described above, in which a storage unit that stores a file transmitted to a partner terminal, a communication unit that transmits the file to the partner terminal, and cluster information of a cluster for each data to be transferred.
- the calculation unit obtains cluster information of a cluster to be transferred next during the DMA transfer.
- the present invention is also the communication terminal described above, wherein a communication unit that receives a file transmitted from a partner terminal, a storage unit that stores a file received by the communication unit, and a free space for each piece of data to be transferred.
- a free cluster information calculation unit for calculating free cluster information of a cluster a DMA control unit for setting free cluster information of the file to be DMA-transferred based on the free cluster information obtained by the free cluster information calculation unit,
- the free cluster information calculation unit obtains free cluster information of a cluster to be transferred next during the DMA transfer.
- the present invention is also the communication terminal described above, a storage unit for storing a file transmitted to the counterpart terminal, a communication unit for transmitting the file to the counterpart terminal, and cluster information of clusters constituting the file.
- a DMA transfer unit that DMA-transfers the file from the storage unit to the communication unit, a file management unit that manages the storage unit using a predetermined file system, and a cluster that calculates the search amount of the cluster
- a DMA controller that sets file cluster information in the DMA transfer unit.
- the present invention is the communication terminal described above, wherein a communication unit that receives a file transmitted from a counterpart terminal, a storage unit that stores a file received by the communication unit, and a cluster that configures the file, A DMA transfer unit that DMA-transfers the file from the communication unit to the storage unit based on free cluster information of the same number of free clusters, a file management unit that manages the storage unit using a predetermined file system, and the cluster A cluster search amount calculation unit that calculates the search amount of the cluster, and a free cluster search unit that searches the storage unit for the same number of free clusters as the cluster that constitutes the file according to the calculation result of the cluster search amount calculation unit, Based on the search result of the free cluster search unit and the file system, the free cluster information of the file transferred by the DMA The in which and a DMA controller that sets the DMA transfer unit.
- the present invention can reduce the communication overhead by minimizing the setup data preparation time required for the DMA controller to be performed before the start of communication.
- Block diagram showing internal configurations of transmitting terminal and receiving terminal Explanatory diagram for explaining the temporal relationship between cluster search, DMA transfer using cluster information, and transmission to a receiving terminal Explanatory drawing for demonstrating the temporal relationship between an empty cluster search, DMA transfer using empty cluster information, and reception from a transmission terminal
- Explanatory diagram for specifically explaining the temporal relationship between cluster search, DMA transfer using cluster information, and transmission to a receiving terminal when waiting for DMA transfer occurs
- Explanatory diagram for specifically explaining the temporal relationship between cluster search, DMA transfer based on cluster information, and transmission to a receiving terminal when there is no DMA transfer waiting
- Flowchart explaining operation of transmitting terminal Flow chart explaining operation of receiving terminal Block diagram showing the system configuration of a conventional DMA controller
- the present invention is an invention born to solve the reduction in processing overhead caused by software in a terminal.
- the transmission terminal in the present embodiment performs processing for obtaining setting data necessary for the DMA controller for each data unit to be transferred and DMA transfer from the storage unit of the data to be transferred to the communication unit in parallel. Is.
- the receiving terminal performs, in parallel, the processing for obtaining the setting data necessary for the DMA controller for each data unit to be transferred and the processing for DMA transfer from the communication unit to the storage unit and storing in the storage unit. Is.
- the total cluster size calculated by the cluster search amount calculation unit of the transmission terminal before or simultaneously with the DMA transfer is described as “cluster search amount”.
- the cluster search amount is 6 [KB].
- the total cluster size calculated by the cluster search amount calculation unit of the receiving terminal before or simultaneously with the DMA transfer is described as “cluster search amount”.
- the cluster search amount is 6 [KB].
- the start address indicating each storage start location in the storage unit of the same number of free clusters as each cluster constituting the file, and the size of each free cluster defined for each file system (unit free cluster size)
- the information including is described as “free cluster information”.
- the unit cluster size and the unit free cluster size are the same size.
- FIG. 1 is a configuration diagram of the FAT 32 when a FAT (File Allocation Tables) 32 is used as the file system 50.
- FIG. 2 is an explanatory diagram for illustrating a storage example of a file (aaa.txt), for example.
- the file system 50 includes a BPB (Bios Parameter Block) area 51, a directory area 52, a FAT area 53, and a data area 54, as shown in FIG.
- BPB Bios Parameter Block
- the BPB area 51 stores disk information including file format and position information of the FAT area 53, and information on the size (unit cluster size) of each cluster constituting the file.
- file information including the file name, file size, and head cluster number of each cluster constituting each file stored for each directory is stored.
- the directory area 52 stores at least a file name (aaa.txt), a file size (4 KB), and a head cluster number.
- the leading cluster number of the cluster constituting the file (aaa.txt) is 2.
- list information of clusters constituting the file is stored.
- the cluster list information for example, information indicating whether each cluster is used, the next cluster number constituting the file, and the last cluster constituting the file are stored for each cluster number.
- the FAT area 53 stores information indicating that the cluster number next to the first cluster number 2 is 4, and that the cluster number 4 is the last cluster.
- the actual data of the file is stored.
- data “abcdefg...” Is stored in the cluster 2 of the first cluster number in the data area 54
- data “bxyz...” Is stored in the cluster 4 of the final cluster number 4.
- FIG. 3 is a block diagram showing internal configurations of the transmission terminal 10 and the reception terminal 30 which are communication terminals according to the present invention.
- the transmission terminal 10 includes a storage unit 11, a communication unit 12, a DMA transfer unit 13, a file management unit 14, a cluster search amount calculation unit 15, a cluster search unit 16, a cluster search control unit 17, a DMA control.
- the unit 18 includes an inter-terminal communication control unit 19 and a file control unit 20.
- the file management unit 14, the cluster search amount calculation unit 15, the cluster search unit 16, the cluster search control unit 17, and the DMA control unit 18 are referred to as a cluster information calculation unit.
- the receiving terminal 30 includes a storage unit 31, a communication unit 32, a DMA transfer unit 33, a file management unit 34, a cluster search amount calculation unit 35, a free cluster search unit 36, a free cluster search control unit 37,
- the configuration includes a DMA control unit 38, an inter-terminal communication control unit 39, and a file control unit 40.
- the file management unit 34, the cluster search amount calculation unit 35, the free cluster search unit 36, the free cluster search control unit 37, and the DMA control unit 38 are referred to as a free cluster information calculation unit.
- the storage unit 11 is configured using a hard disk or flash memory built in the transmission terminal 10 and stores a file transmitted to the reception terminal 30 in response to a user operation.
- the communication unit 12 inputs file data transferred from the storage unit 11 by DMA, and transmits the input data to the receiving terminal 30 using short-range wireless communication.
- the communication unit 12 can perform wireless communication including millimeter wave communication and infrared communication with the receiving terminal 30.
- the communication unit 12 may use, for example, LAN (Local Area Network) wired communication with the receiving terminal 30.
- the DMA transfer unit 13 functions as a DMA controller.
- the DMA transfer unit 13 includes a storage area (for example, a memory) that can store a predetermined amount of information or data.
- the DMA transfer unit 13 sets cluster information output by the DMA control unit 18 described later in a storage area.
- the DMA transfer unit 13 has at least two logical storage areas including, for example, the A side and the B side as storage areas for cluster information (see FIG. 4).
- the DMA transfer unit 13 reads the data of the file stored at the head address of the cluster information from the storage unit 11 according to the set cluster size according to the cluster information set on the A side or B side of the internal storage area. DMA transfer to the communication unit 12.
- the file management unit 14 is one of OS (Operating System) functions of the transmission terminal 10, and manages file data stored in the storage unit 11 using a predetermined file system 50.
- the file system 50 corresponds to, for example, FAT (File Allocation Tables) 16, FAT32, and FAT64.
- FAT File Allocation Tables
- FIGS. 1 and 2 the FAT 32 will be described as an example. In this embodiment, even a file system other than FAT can be handled in the same manner.
- the cluster search amount calculation unit 15 performs cluster search for clusters searched by the cluster search unit 16 before DMA transfer and before transmission to the receiving terminal 30 or simultaneously with DMA transfer in accordance with an instruction from the cluster search control unit 17 Calculate the quantity. Specifically, the cluster search amount calculation unit 15 calculates the cluster that is the total size of the cluster based on the file size of the file to be transmitted, the cluster search time of the unit cluster size, and the data transmission time of the file of the unit cluster size. Calculate search volume. Details of the operation of the cluster search amount calculation unit 15 will be described later.
- the file size of the transmitted file is input to the cluster search amount calculation unit 15 via the file control unit 20 and the cluster search control unit 17 in accordance with a user operation.
- the cluster search time for the unit cluster size is defined in advance in the operation of the cluster search amount calculation unit 15.
- the cluster search amount calculation unit 15 may inquire the file management unit 14 about the unit cluster size and calculate the cluster search time of the unit cluster size when the cluster search time of a predetermined size is specified.
- the file transmission time of the unit cluster size is determined before communication is started between the transmission terminal 10 and the reception terminal 30. Then, the determined file transmission time of the unit cluster size is input to the cluster search amount calculation unit 15 via the inter-terminal communication control unit 19, the file control unit 20, and the cluster search control unit 17.
- the cluster search amount calculation unit 15 outputs the cluster search amount that is the calculated total size of the cluster to the cluster search control unit 17.
- the cluster search unit 16 performs a cluster search in accordance with an instruction from the cluster search control unit 17 before DMA transfer, before transmission to the receiving terminal 30, or simultaneously with DMA transfer. Then, the cluster search unit 16 searches the file system of the file management unit 14 for the number of clusters corresponding to the cluster search amount from the cluster search amount calculation unit 15.
- the cluster search unit 16 obtains, as a search result of the cluster search unit 16, the cluster information that is the start address of each cluster corresponding to the cluster search amount and the size (unit cluster size) of each cluster as a cluster. Output to the search control unit 17.
- cluster search of the cluster search unit 16 will be described with reference to FIG.
- the cluster search method a method of searching for a cluster of a file (aaa.txt) using the file system 50 of the file management unit 14 based on the calculation result of the cluster search amount calculation unit 15 will be described.
- the cluster search unit 16 searches the directory area 52 of the file system 50 for the search target file (aaa.txt), and acquires the first cluster number (cluster number 2) of the file (aaa.txt).
- the cluster search unit 16 refers to the BPB area 51 of the file system, acquires the unit cluster size of each cluster, and based on the unit cluster size, the cluster of the calculation result (cluster search amount) of the cluster search amount calculation unit 15 Determine the number.
- the cluster search unit 16 Based on the determined number of clusters, the cluster search unit 16 obtains a set of (cluster 2 start address, unit cluster size) and (cluster 4 start address, unit cluster size) as a cluster search result. The data is output to the cluster search control unit 17. Note that a set of (start address of cluster 2 and unit cluster size) and (start address of cluster 4 and unit cluster size) are respectively cluster information.
- the cluster search unit 16 calculates the start address of each cluster in the data area 54 based on the start address of the known data area 54 (start address of cluster 0) and the unit cluster size.
- FIG. 4 is an explanatory diagram for explaining a temporal relationship between the cluster search, the DMA transfer using the cluster information, and the transmission to the receiving terminal 30.
- the horizontal axis represents time.
- the storage area for cluster information in the DMA transfer unit 13 is finite.
- the transmission terminal 10 performs, in parallel, DMA transfer using cluster information and setting of the cluster search result (cluster information) in the DMA transfer unit 13 for each data to be transferred (FIG. 4). reference).
- the transmission terminal 10 performs DMA transfer using the cluster information set in the DMA transfer unit 13. Then, the transmitting terminal 10 searches the cluster corresponding to the calculation result of the cluster search amount calculation unit 15 of the next cluster while performing the DMA transfer, and sets the cluster information of the cluster search unit 16 in the DMA transfer unit 13. Thereby, this embodiment can reduce the overhead in the communication between terminals of the transmission terminal 10 and the reception terminal 30.
- the transmission terminal 10 since the transmission terminal 10 performs DMA transfer and cluster search in parallel for each data to be transferred, it performs a certain amount of cluster search before DMA transfer.
- first search amount a certain amount of cluster search amount searched by the cluster search unit 16 before the first DMA transfer.
- the cluster search amount calculation unit 15 calculates the first search amount constituting a certain amount of the file size of the transmitted file before the DMA transfer of the DMA transfer unit 13.
- the cluster search unit 16 searches for a certain amount of clusters corresponding to the first search amount according to the calculation result of the cluster search amount calculation unit 15 (FIG. 4: Search 1).
- the overhead in inter-terminal communication can be reduced as the cluster search amount searched is smaller than the file size of the transmitted file.
- the cluster search unit 16 starts the search 2 according to the calculation result of the cluster search amount calculation unit 15. Then, the DMA control unit 18 sets the cluster information that is the search result of the search 1 on the A side of the DMA transfer unit 13. Thereby, the transmission terminal 10 can perform the search 2 of the cluster search unit 16 and the DMA transfer of the DMA transfer unit 13 and the transmission to the reception terminal 30 in parallel ((DMA transfer + transmission 1 in FIG. 4). )reference).
- the cluster search unit 16 When the search 2 of the cluster search unit 16 is completed, the cluster search unit 16 performs a search 3 according to the calculation result of the cluster search amount calculation unit 15. Then, the DMA control unit 18 sets the cluster information that is the search result of the search 2 on the B side of the DMA transfer unit 13 before the DMA transfer on the A side is completed. Thereby, the transmission terminal 10 can perform the search 3 of the cluster search unit 16 and the DMA transfer of the DMA transfer unit 13 and the transmission to the reception terminal 30 in parallel ((DMA transfer + transmission 2 in FIG. 4). )reference). The B-side DMA transfer and transmission to the receiving terminal 30 are performed after the A-side DMA transfer and transmission to the receiving terminal 30 are completed.
- the cluster search unit 16 When the search 3 of the cluster search unit 16 is completed, the cluster search unit 16 performs the search 4 according to the calculation result of the cluster search amount calculation unit 15. Then, the DMA control unit 18 sets the cluster information, which is the search result of the search 3, in the A side of the DMA transfer unit 13 before the B side DMA transfer is completed. Thereby, the transmission terminal 10 can perform the search 4 of the cluster search unit 16 and the DMA transfer of the DMA transfer unit 13 and the transmission to the reception terminal 30 in parallel ((DMA transfer + transmission 3 in FIG. 4). )reference). The A-side DMA transfer and transmission to the receiving terminal 30 are performed after the B-side DMA transfer and transmission to the receiving terminal 30 are completed.
- the cluster information that is the search result of the search 4 of the cluster search unit 16 is set in the B surface of the DMA transfer unit 13. It will not start until
- the first search amount that is the target of the search 1 of the cluster search unit 16 is equal to or less than a certain amount, immediately after DMA transfer on the A side and transmission to the receiving terminal 30, as shown on the B side in FIG.
- the search 4 of the cluster search unit 16 does not end (see the hatched part in FIG. 4). That is, the DMA transfer on the A side and the transmission to the receiving terminal 30 and the DMA transfer on the B side and the transmission to the receiving terminal 30 are not performed continuously, so that a DMA transfer waiting for a certain time occurs.
- FIG. 6 is an explanatory diagram for specifically explaining the temporal relationship between cluster search, DMA transfer using cluster information, and transmission to a receiving terminal when waiting for DMA transfer occurs.
- FIG. 7 is an explanatory diagram for specifically explaining the temporal relationship between the cluster search, the DMA transfer based on the cluster information, and the transmission to the receiving terminal when there is no DMA transfer waiting.
- FIG. 6 and 7 illustrate examples of calculation of the first search amount, the second search amount,... Of the cluster search amount calculation unit 15 of the transmission terminal 10, but the cluster search amount calculation unit 35 of the reception terminal 30.
- the first search amount, the second search amount,... Can be similarly applied. For this reason, the description of the calculation example of the first search amount of the cluster search amount calculation unit 35 of the receiving terminal 30 is omitted.
- the transfer 1 is a time obtained by combining the DMA transfer from the storage (for example, the storage unit 11) to the communication device (for example, the communication unit 12) and the transmission from the communication device.
- the transfer 1 may be a time that combines the reception of the communication device and the DMA transfer from the communication device to the storage.
- the file size of the file transmitted to the receiving terminal 30 is the parameter Z
- the cluster search time of the unit cluster size is the parameter Ts
- the data transmission time of the unit cluster size file is the parameter Tt.
- the cluster search amount calculation unit 15 calculates a first search amount X 0 that satisfies Equation (1). Also, the cluster search volume calculating unit 15, the (n-1) by using the search volume X n-1, calculates the n-th search volume X n of the first search volume after satisfying Equation (2).
- the cluster search amount calculation unit 15 sets the fifth search amount X 4 to 1 [KB, similarly to the fourth search amount X 3. ] And calculate.
- a DMA transfer wait of 5 seconds is generated until the cluster search for the fifth search amount X 4 minutes ends. Thereafter, until the search of all clusters having a file size of 20 KB is completed, a DMA transfer wait of 5 seconds occurs every time the cluster is searched, and the overhead in communication between terminals increases.
- no overhead occurs in the communication between terminals.
- the cluster search control unit 17 controls the operations of the cluster search amount calculation unit 15 and the cluster search unit 16 in accordance with instructions from the file control unit 20. Then, for example, the cluster search control unit 17 outputs the search result (cluster information) of the cluster search unit 16 to the file control unit 20.
- the DMA control unit 18 controls the operation of the DMA transfer unit 13 in accordance with an instruction from the file control unit 20. Then, the DMA control unit 18 sets the search result (cluster information) of the cluster search unit 16 in the storage area of the DMA transfer unit 13 via the cluster search control unit 17 and the file control unit 20, for example.
- the inter-terminal communication control unit 19 controls the operation of the communication unit 12 in accordance with an instruction from the file control unit 20. Then, the inter-terminal communication control unit 19 outputs, to the communication unit 12, an instruction to transmit file information including the file name and file size of the file transmitted to the receiving terminal 30 to the receiving terminal 30, for example.
- the file control unit 20 controls the operation of each unit of the transmission terminal 10 and controls the operation of each unit according to the user's operation.
- the arrows between the file control unit 20 and the file management unit 14 are omitted.
- the storage unit 31 is configured using a hard disk or a flash memory built in the receiving terminal 30, and stores a file transmitted from the transmitting terminal 10 in response to a user operation.
- the communication unit 32 receives file data transmitted from the transmission terminal 10 using short-range wireless communication, and DMA-transfers the received data to the storage unit 31 according to an instruction from the DMA transfer unit 33.
- the communication unit 32 can perform wireless communication including millimeter wave communication and infrared communication with the transmission terminal 10.
- the communication unit 32 may use, for example, LAN (Local Area Network) wired communication with the transmission terminal 10.
- the DMA transfer unit 33 functions as a DMA controller.
- the DMA transfer unit 33 includes a storage area (for example, a memory) that can store a predetermined amount of information or data.
- the DMA transfer unit 33 sets the cluster information output by the DMA control unit 38, which will be described later, in the storage area.
- the DMA transfer unit 33 has two logical storage areas including, for example, the A side and the B side as storage areas for cluster information (see FIG. 5).
- the DMA transfer unit 33 performs DMA transfer from the communication unit 32 to the storage unit 31 according to the cluster information set on the A side or the B side of the storage area in the DMA transfer unit 33. Specifically, the DMA transfer unit 33 DMA-transfers the data of the file stored at the head address of the cluster information from the communication unit 32 to the storage unit 31 according to the cluster information by the unit cluster size of the cluster information.
- the file management unit 34 is one of OS (Operating System) functions of the receiving terminal 30, and manages file data stored in the storage unit 31 using a predetermined file system 50.
- the file system 50 corresponds to, for example, FAT (File Allocation Tables) 16, FAT32, and FAT64. In this embodiment, as illustrated in FIGS. 1 and 2, the FAT 32 will be described as an example.
- the file system 50 can be handled in the same manner even if it is a file system other than FAT.
- the cluster search amount calculation unit 35 has the same number of clusters as the free clusters searched by the free cluster search unit 36 before file reception and before DMA transfer or simultaneously with DMA transfer. Calculate the cluster search amount. Specifically, the cluster search amount calculation unit 35 calculates the cluster search amount based on the file size of the received file, the free cluster search time of the unit cluster size, and the data reception time of the file of the unit cluster size. Details of the operation of the cluster search amount calculation unit 35 will be described later.
- file size of the transmitted file is input to the cluster search amount calculation unit 35 via the file control unit 40 and the free cluster search control unit 37 in accordance with the user's operation.
- the empty cluster search time for the unit cluster size is defined in advance in the operation of the cluster search amount calculation unit 35. Further, the cluster search amount calculation unit 35 may inquire the file management unit 34 about the unit cluster size and calculate the free cluster search time of the unit cluster size when the cluster search time of a predetermined size is specified.
- the free cluster represents an unused cluster in FIG. 2 and has the same size as the size of the cluster.
- the file reception time of the unit cluster size is determined before communication is started between the transmission terminal 10 and the reception terminal 30.
- the file reception time of the unit cluster size is input to the cluster search amount calculation unit 35 via the inter-terminal communication control unit 39, the file control unit 40, and the free cluster search control unit 37.
- the cluster search amount calculation unit 35 outputs the calculation result of the cluster search amount calculation unit 35 to the free cluster search control unit 37.
- the free cluster search unit 36 searches for a free cluster before file reception and before DMA transfer or simultaneously with DMA transfer. Specifically, the free cluster search unit 36 determines the same number of free clusters as the number of clusters corresponding to the calculation result (cluster search amount) of the cluster search amount calculation unit 35 at the instructed timing. Search from the file system.
- the free cluster search unit 36 outputs, to the cluster search control unit 37, the free cluster information of the same number of free clusters as the number of clusters according to the cluster search amount as a search result of the cluster search unit 36. .
- a free cluster for storing a file (aab.txt) is searched using the file system 50 of the file management unit 34 based on the calculation result of the cluster search amount calculation unit 35. How to do will be described.
- the free cluster search unit 36 refers to the BPB area 51 of the file system 50 and acquires the unit cluster size. Then, the free cluster search unit 36 calculates the number of clusters corresponding to the calculation result (cluster search amount) of the cluster search amount calculation unit 35 based on the unit cluster size.
- the free cluster search unit 36 refers to the FAT area 53 of the file system 50, and acquires the free cluster numbers of the same number of free clusters as the number of determined clusters.
- cluster numbers 3 and 5 are empty cluster numbers.
- the free cluster search unit 36 outputs free cluster information to the cluster search control unit 37 as a free cluster search result based on the determined number of clusters.
- the free cluster information is, for example, a set of (start address of cluster 3 and unit free cluster size) and a set of (start address of cluster 5 and unit free cluster size).
- the cluster search unit 36 calculates the start address of each cluster in the data area 54 based on the start address of the known data area 54 (start address of cluster 0) and the unit free cluster size.
- the clusters constituting the file (aab.txt) are not continuously stored in the data area 54.
- the data area 54 for example, it is assumed that the same number of free clusters as the clusters constituting the file (aab.txt) exist continuously, such as the cluster 4 and the cluster 5.
- FIG. 5 is an explanatory diagram for explaining a temporal relationship between an empty cluster search, a DMA transfer using empty cluster information, and reception from a transmission terminal.
- the horizontal axis represents time.
- the storage area for the free cluster information in the DMA transfer unit 33 is finite.
- the receiving terminal 30 performs the DMA transfer using the free cluster information and the setting of the free cluster search result (free cluster information) in the DMA transfer unit 33 in parallel (see FIG. 5).
- the receiving terminal 30 performs DMA transfer using the free cluster information set in the DMA transfer unit 33. Then, the receiving terminal 30 searches for the same number of free clusters as the number of clusters corresponding to the calculation result of the cluster search amount calculation unit 35 while performing DMA transfer, and the search result (free cluster information) of the free cluster search unit 36 is transferred to the DMA transfer unit. Set to 33. Thereby, the transmission terminal 10 and the reception terminal 30 of this embodiment can reduce the overhead in the communication between terminals of the transmission terminal 10 and the reception terminal 30.
- the receiving terminal 30 since the receiving terminal 30 performs DMA transfer and free cluster search in parallel for each cluster, it performs a certain amount of free cluster search before the DMA transfer.
- first search amount a certain amount of cluster search amount searched by the free cluster search unit 36 before the first DMA transfer.
- the cluster search amount calculation unit 35 calculates the first search amount constituting a certain amount of the file size of the received file before the DMA transfer of the DMA transfer unit 33.
- the free cluster search unit 36 searches for a predetermined amount of free clusters corresponding to the first search amount according to the calculation result of the cluster search amount calculation unit 35 (FIG. 5: Search 1).
- the overhead in inter-terminal communication can be reduced as the free cluster search amount to be searched is smaller than the file size of the transmitted file.
- the free cluster search unit 36 performs a search 2 according to the calculation result of the cluster search amount calculation unit 35. Then, the DMA control unit 38 sets the free cluster information that is the search result of the search 1 on the A side of the DMA transfer unit 33. Thereby, the receiving terminal 30 can perform the search 2 of the empty cluster search unit 36, the reception from the transmission terminal 10, and the DMA transfer of the DMA transfer unit 33 in parallel ((Reception + DMA in FIG. 5). See transfer 1)).
- the free cluster search unit 36 performs the search 3 according to the calculation result of the cluster search amount calculation unit 35.
- the DMA control unit 38 sets the free cluster information, which is the search result of the search 2, on the B side of the DMA transfer unit 33 before the A side DMA transfer is completed.
- the receiving terminal 30 can perform the search 3 of the empty cluster search unit 36, the reception from the transmission terminal 10, and the DMA transfer of the DMA transfer unit 33 in parallel ((Reception + DMA in FIG. 5). See transfer 2)).
- the reception from the transmission terminal 10 and the B-side DMA transfer are performed after the reception from the transmission terminal 10 and the A-side DMA transfer are completed.
- the free cluster search unit 36 performs the search 4 according to the calculation result of the cluster search amount calculation unit 35.
- the DMA control unit 38 sets the free cluster information, which is the search result of the search 3, in the A side of the DMA transfer unit 33 before the B side DMA transfer is completed.
- the receiving terminal 30 can perform the search 4 of the empty cluster search unit 36, the reception from the transmission terminal 10 and the DMA transfer of the DMA transfer unit 33 in parallel ((Reception + DMA in FIG. 5). Transfer)).
- the reception from the transmission terminal 10 and the A-side DMA transfer are performed after the reception from the transmission terminal 10 and the B-side DMA transfer are completed.
- the search 4 of the free cluster search unit 36 is performed immediately after reception from the transmission terminal 10 and DMA transfer of the A side.
- the process does not end (see the hatched portion on B surface in FIG. 5). That is, the reception from the transmission terminal 10 and the A-side DMA transfer, and the reception from the transmission terminal 10 and the B-side DMA transfer are not performed continuously, so that a DMA transfer waiting for a certain time occurs.
- FIG. 8 is a flowchart for explaining the operation of the transmission terminal 10.
- the file control unit 20 issues an instruction to transmit file information including the file name and file size of the file to be transmitted to the reception terminal 30.
- the inter-terminal communication control unit 19 outputs file information including the file name and file size of the transmitted file to the communication unit 12.
- the communication unit 12 transmits file information including the file name and file size of the transmitted file to the receiving terminal 30 (S11).
- the file control unit 20 outputs the file information of the transmitted file to the cluster search control unit 17. Further, the file control unit 20 outputs an instruction for calculating the first search amount searched before the DMA transfer based on the file information to the cluster search control unit 17. In response to an instruction from the file control unit 20, the cluster search control unit 17 outputs to the cluster search amount calculation unit 15 an instruction for calculating the first search amount searched before the DMA transfer.
- the cluster search amount calculation unit 15 calculates a cluster search amount (first search amount) searched before DMA transfer and transmission to the receiving terminal 30 in accordance with an instruction from the cluster search control unit 17 (S12). .
- the cluster search amount calculation unit 15 outputs the calculation result of the first search amount to the cluster search control unit 17.
- the cluster search control unit 17 outputs the calculation result of the first search amount to the cluster search unit 16, and further searches the file system of the file management unit 14 for the number of clusters corresponding to the calculation result of the first search amount.
- the instruction is output to the cluster search unit 16.
- the cluster search unit 16 searches the file system of the file management unit 14 for the number of clusters corresponding to the calculation result of the first search amount (S13). Further, the cluster search unit 16 calculates each head address of the searched cluster (S14), generates cluster information, and outputs it to the cluster search control unit 17.
- the cluster search control unit 17 outputs the cluster information to the file control unit 20.
- the file control unit 20 sets the cluster information in the DMA control unit 18 (S15). Further, the cluster search control unit 17 instructs the DMA transfer unit 13 to DMA-transfer the file data stored at the start address of the cluster information by the unit cluster size of the cluster information from the storage unit 11 to the communication unit 12. Output.
- the file control unit 20 transmits a transmission preparation completion notification transmission instruction. Is output to the inter-terminal communication control unit 19. In response to the instruction from the file control unit 20, the inter-terminal communication control unit 19 outputs an instruction to transmit a transmission preparation completion notification to the receiving terminal 30 to the communication unit 12.
- the communication unit 12 transmits a transmission preparation completion notification to the receiving terminal 30 in response to the instruction from the inter-terminal communication control unit 19 (S17).
- the operation of the transmitting terminal 10 proceeds to step S18. Then, in the transmission terminal 10, the inter-terminal communication control unit 19 determines whether or not a notification that the preparation for receiving the file has been completed (reception preparation completion notification) has been received from the reception terminal 30 (S18).
- the operation of the transmitting terminal 10 proceeds to step S19.
- the DMA transfer unit 13 performs DMA transfer from the storage unit 11 to the communication unit 12 using the cluster information set in step S15 (S19). Specifically, the DMA transfer unit 13 DMA-transfers the file data stored at the start address of the cluster information from the storage unit 11 to the communication unit 12 by the unit cluster size of the cluster information. Further, since the communication unit 12 has received the reception preparation completion notification from the receiving terminal 30, the communication unit 12 transmits the file data DMA-transferred from the storage unit 11 to the receiving terminal 30 (S19).
- step S11 the file control unit 20 determines whether the cluster information searched in step S15 is set in the DMA transfer unit 13 for all file sizes of the transmitted file information (S20). ).
- step S15 When the cluster information searched in step S15 is set in the DMA transfer unit 13 for all file sizes of the file information transmitted in step S11 (S20, YES), the operation of the transmission terminal 10 ends. . That is, the DMA transfer for all the file sizes of the file information transmitted in step S11 and the transmission to the receiving terminal 30 are completed in step S19.
- step S12 when the searched cluster information is not set in the DMA transfer unit 13 (S20, NO), the operation of the transmission terminal 10 returns to step S12. In other words, the operation of the transmitting terminal 10 is performed in the same manner by replacing the first search amount in step S12 with the second search amount,..., The nth search amount, and processing from step S13 onward. Repeat until
- FIG. 9 is a flowchart for explaining the operation of the receiving terminal 30.
- the file control unit 40 performs an inter-terminal communication control instruction for receiving file information including the file name and file size of the received file from the transmitting terminal 10.
- the inter-terminal communication control unit 39 outputs file information including the file name and file size of the received file to the communication unit 32.
- the communication unit 32 receives the file information from the transmission terminal 10 when the file information is transmitted from the transmission terminal 10 according to the output from the inter-terminal communication control unit 19 (S31).
- the file control unit 40 outputs the file information of the received file to the empty cluster search control unit 37. Further, the file control unit 40 outputs an instruction for calculating the first search amount searched before reception and DMA transfer from the transmission terminal 10 based on the file information to the free cluster search control unit 37.
- the empty cluster search control unit 37 outputs an instruction to calculate the first search amount searched before the DMA transfer to the cluster search amount calculation unit 35 in response to the instruction from the file control unit 40.
- the cluster search amount calculation unit 35 calculates the cluster search amount (first search amount) to be searched before the DMA transfer according to the instruction from the free cluster search control unit 37 (S32).
- the cluster search amount calculation unit 35 outputs the calculation result of the first search amount to the free cluster search control unit 37.
- the free cluster search control unit 37 outputs the calculation result of the first search amount to the free cluster search unit 36.
- the free cluster search control unit 37 outputs to the free cluster search unit 36 an instruction to search the file system of the file management unit 34 for the same number of free clusters as the number of clusters corresponding to the calculation result of the first search amount. .
- the free cluster search unit 36 searches the file system of the file management unit 34 for the same number of free clusters as the number of clusters corresponding to the calculation result of the first search amount. (S33). Further, the free cluster search unit 36 calculates each head address of the searched free cluster (S34), generates free cluster information, and outputs it to the cluster search control unit 37.
- the cluster search control unit 37 outputs the free cluster information to the file control unit 40.
- the file control unit 40 sets the free cluster information in the DMA control unit 38 (S35). Then, the file control unit 40 instructs the DMA transfer unit 33 to DMA-transfer the file data stored at the head address of the free cluster information by the unit cluster size of the free cluster information from the communication unit 32 to the storage unit 11. Output to.
- the operation of the reception terminal 30 proceeds to step S37.
- the file control unit 40 outputs an instruction to transmit a reception preparation completion notification to the transmission terminal 10 to the inter-terminal communication control unit 39.
- the inter-terminal communication control unit 39 outputs an instruction to transmit a reception preparation completion notification to the transmission terminal 10 to the communication unit 32 in response to an instruction from the file control unit 40.
- the communication unit 32 transmits a reception preparation completion notification to the transmission terminal 10 in response to an instruction from the inter-terminal communication control unit 39 (S37).
- the operation of the reception terminal 30 proceeds to step S38. Then, in the receiving terminal 30, the inter-terminal communication control unit 39 determines whether or not a notification (transmission preparation completion notification) indicating that preparation for transmitting a file is completed is received from the transmitting terminal 10 (S38).
- the operation of the reception terminal 30 proceeds to step S39. And since the communication part 32 has received the transmission preparation completion notification from the transmission terminal 10, it receives the data of the file transmitted from the transmission terminal 10 (S39). Further, the DMA transfer unit 33 DMA-transfers the file data stored at the head address of the free cluster information from the communication unit 32 to the storage unit 31 by the unit cluster size of the free cluster information (S39).
- step S31 the file control unit 40 determines whether the cluster information searched in step S35 has been set in the DMA transfer unit 33 for all file sizes of the received file information (S40). .
- step S35 When the free cluster information searched in step S35 is set in the DMA transfer unit 33 for all file sizes of the file information received in step S31 (S40, YES), the operation of the receiving terminal 30 ends. To do. That is, the operation of the receiving terminal 30 is that reception and DMA transfer from the transmitting terminal 10 have been completed in step S39 for all file sizes of the file information received in step S31. Therefore, the file control unit 40 sets the file information in the file system (S41), and the operation of the receiving terminal 30 ends.
- step S40 when the searched free cluster information is not set in the DMA transfer unit 33 (S40, NO), the operation of the receiving terminal 30 returns to step S32. That is, the operation of the receiving terminal 30 is performed in the same manner by replacing the first search amount in step S32 with the second... Nth search amount and processing from step S33 onward is repeated until step S40 becomes YES. .
- the transmission terminal 10 calculates the first search amount that satisfies Equation (1) before the DMA transfer and transmission to the reception terminal 30. Further, the transmitting terminal 10 calculates the second to nth search amount satisfying the formula (2) simultaneously with the DMA transfer and the transmission to the receiving terminal 30, and performs the cluster search and the DMA transfer and the transmission to the receiving terminal 30. In parallel.
- the transmission terminal 10 can minimize the setting data (cluster information) necessary for the DMA controller (DMA transfer unit 13) before the start of communication, and reduce overhead in communication. Moreover, the transmission terminal 10 of this Embodiment can reduce the usage-amount of memory required for preservation
- the receiving terminal 30 calculates the first search amount that satisfies Expression (1) before reception from the transmitting terminal 10 and DMA transfer. Further, the receiving terminal 30 calculates the second... Nth search amount satisfying the formula (2) simultaneously with the reception from the transmission terminal 10 and the DMA transfer, and searches for the free cluster and the reception from the transmission terminal 10 and the DMA transfer. And in parallel.
- the receiving terminal 30 of the present embodiment can minimize the setting data (free cluster information) necessary for the DMA controller (DMA transfer unit 33) and reduce the overhead in communication.
- the receiving terminal 30 according to the present embodiment can reduce the amount of memory used for storing setting data.
- the communication terminal includes a storage unit that stores a file transmitted to a partner terminal, a communication unit that transmits the file to the partner terminal, and a cluster information calculation unit that obtains cluster information of a cluster for each data to be transferred And a DMA transfer unit that DMA-transfers the file from the storage unit to the communication unit based on the cluster information of the cluster to be transferred obtained by the cluster information calculation unit, and during the DMA transfer, It obtains the cluster information of the cluster to be transferred.
- the communication terminal of the present invention includes a communication unit that receives a file transmitted from a counterpart terminal, a storage unit that stores a file received by the communication unit, and free cluster information of a free cluster for each piece of data to be transferred.
- a free cluster information calculation unit for calculating the free cluster information, and a DMA control unit for setting free cluster information of the file to be DMA-transferred in the DMA transfer unit based on the free cluster information obtained by the free cluster information calculation unit;
- the free cluster information of the cluster to be transferred next is obtained during the DMA transfer.
- the cluster information calculation unit further calculates a cluster search amount calculation unit that calculates a search amount of the cluster, and the cluster is calculated according to a calculation result of the cluster search amount calculation unit.
- a cluster search unit that searches from the storage unit, a file management unit that manages the storage unit using a predetermined file system, the file that is DMA-transferred based on the search result of the cluster search unit and the file system
- a DMA control unit that sets cluster information of the clusters that constitutes the DMA transfer unit.
- the cluster information calculation unit searches the storage unit for a cluster according to the calculation result of the cluster search amount, and further sets the cluster information corresponding to the search result in the DMA transfer unit. DMA transfer can be performed in parallel.
- the free cluster information calculation unit further transfers the file from the communication unit to the storage unit based on the free cluster information of the same number of free clusters as the clusters constituting the file.
- the DMA transfer unit for transferring, the file management unit for managing the storage unit using a predetermined file system, the cluster search amount calculating unit for calculating the search amount of the cluster, and the calculation results of the cluster search amount calculating unit Accordingly, a free cluster search unit that searches the storage unit for the same number of free clusters as the cluster is provided.
- the free cluster information calculation unit searches the storage unit for a free cluster according to the calculation result of the cluster search amount, and further sets the free cluster information corresponding to the search result in the DMA transfer unit. Free cluster search and DMA transfer can be performed in parallel.
- the communication terminal of the present invention is based on the storage unit that stores the file transmitted to the counterpart terminal, the communication unit that transmits the file to the counterpart terminal, and the cluster information of the clusters that constitute the file.
- a DMA transfer unit that DMA-transfers a file from the storage unit to the communication unit, a file management unit that manages the storage unit using a predetermined file system, a cluster search amount calculation unit that calculates a search amount of the cluster, The cluster search unit that searches the storage unit for the cluster according to the calculation result of the cluster search amount calculation unit, and the file transferred by the DMA based on the search result of the cluster search unit and the file system
- a DMA control unit that sets cluster information of the clusters that constitutes the DMA transfer unit.
- the communication terminal of the present invention includes a communication unit that receives a file transmitted from a partner terminal, a storage unit that stores a file received by the communication unit, and the same number of free clusters as the clusters that constitute the file. Based on free cluster information, a DMA transfer unit that DMA-transfers the file from the communication unit to the storage unit, a file management unit that manages the storage unit using a predetermined file system, and a search amount of the cluster A cluster search amount calculation unit to be calculated, a free cluster search unit that searches the storage unit for the same number of free clusters as the cluster according to a calculation result of the cluster search amount calculation unit, and a search result of the free cluster search unit Based on the file system, the free cluster information of the file to be DMA transferred is set in the DMA transfer unit.
- MA controller in which comprises a.
- the file system is any one of FAT16, FAT32, and FAT64.
- the file system can be easily configured.
- the communication terminal of the present invention further includes an inter-terminal communication control unit that transmits file information including a file size of the transmitted file to the counterpart terminal, and the file management unit includes a cluster that configures the file.
- the cluster search amount calculation unit obtains the search amount of the cluster that constitutes the file to be transferred by the DMA, based on the size of the cluster. Is calculated up to the cluster.
- the cluster search amount calculation unit can repeatedly calculate the search amount of the cluster that constitutes the file transmitted to the partner terminal up to the final cluster that constitutes the file transmitted to the partner terminal. .
- the communication terminal further includes an inter-terminal communication control unit that receives file information including a file size of the received file from the counterpart terminal, and the file management unit includes a cluster that configures the file.
- the cluster search amount calculation unit stores the received file based on the size of the cluster, and the cluster search amount calculation unit stores the search amount of the cluster that constitutes the file transferred by the DMA. To the final cluster required for
- a cluster search amount calculation part repeatedly calculates the search amount of the cluster which comprises the file received from the other party terminal to the last cluster required in order to store the file received from the other party terminal. be able to.
- the cluster search amount calculation unit includes a file size of the file to be transmitted, a time required for searching for a cluster having a unit cluster size, and the communication unit The cluster search amount is calculated based on the time required to transmit a unit cluster size file.
- the cluster search amount calculation unit includes a file size of the received file, a time required for searching for a free cluster of a unit cluster size, and the communication unit before the DMA transfer.
- the cluster search amount is calculated based on the time required to receive a file of unit cluster size.
- the DMA transfer unit since the cluster search amount calculation unit calculates the cluster search amount before the DMA transfer, the DMA transfer unit continuously performs the DMA transfer according to the cluster information set in parallel with the cluster search. It is possible to prevent the occurrence of waiting for DMA transfer for a certain time.
- the cluster search amount calculation unit following the current DMA transfer, depends on the size of the file being DMA-transferred while the DMA transfer unit is performing DMA transfer. This is to calculate the cluster search amount of the clusters constituting the file to be transferred by DMA.
- the cluster search amount calculation unit following the current DMA transfer, depends on the size of the file being DMA-transferred while the DMA transfer unit is performing DMA transfer. This is to calculate the cluster search amount of the clusters constituting the file to be transferred by DMA.
- the DMA transfer unit since the cluster search amount calculation unit calculates the cluster search amount during the DMA transfer, the DMA transfer unit continuously performs the DMA transfer according to the cluster information set in parallel with the cluster search. It is possible to prevent the occurrence of waiting for DMA transfer for a certain time.
- the communication unit transmits a cluster search completion notification according to the cluster search amount calculated before the DMA transfer, and the cluster calculated before the DMA transfer.
- the DMA transfer unit After receiving a free cluster search completion notification according to the search amount from the counterpart terminal, the DMA transfer unit transmits the cluster search completion notification and receives the free cluster search completion notification The DMA transfer of the transmitted file is started.
- the search for the clusters constituting the file transmitted at the communication terminal is completed, and the search for the same number of free clusters as the clusters constituting the file received at the counterpart terminal is completed at the communication terminal.
- DMA transfer is started.
- the communication terminal can perform the transmission / reception of the file and the storage of the file in the partner terminal without delay as a series of processes with the partner terminal.
- the communication unit transmits a notification of completion of free cluster search according to the cluster search amount calculated before the DMA transfer, and the calculation performed before the DMA transfer.
- a cluster search completion notification corresponding to the cluster search amount is received from the partner terminal, and the DMA transfer unit transmits the empty cluster search completion notification after the communication unit receives the cluster search completion notification.
- the DMA transfer of the received file is started.
- the search for the same number of free clusters as the clusters constituting the file received at the communication terminal is completed, and the search for the clusters constituting the file transmitted from the partner terminal is completed at the communication terminal.
- DMA transfer is started.
- the communication terminal can perform the transmission / reception of the file and the storage of the file in the partner terminal without delay as a series of processes with the partner terminal.
- the communication terminal according to the present invention is useful as a transmission terminal or a reception terminal that can reduce the overhead in communication by minimizing the preparation time of setting data necessary for the DMA controller to be performed before the start of communication.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer And Data Communications (AREA)
Abstract
Description
本実施形態において用いる用語を説明する。
送信端末及び受信端末の各端末間において、送受信されるファイル、及び各端末のファイルシステムについて、図1及び図2を参照して説明する。
本発明に係る通信端末である送信端末及び受信端末の構成及び動作について説明する。図3は、本発明に係る通信端末である送信端末10及び受信端末30の各内部構成を表すブロック図である。
次に、受信端末30の各部の動作について説明する。
次に、送信端末10の動作について図8を参照して説明する。図8は、送信端末10の動作を説明するフローチャートである。
次に、受信端末30の動作について図9を参照して説明する。図9は、受信端末30の動作を説明するフローチャートである。
11、31 記憶部
12、32 通信部
13、33 DMA転送部
14、34 ファイル管理部
15 クラスタ検索量計算部
16 クラスタ検索部
17 クラスタ検索制御部
18、38 DMA制御部
19、39 端末間通信制御部
20、40 ファイル制御部
35 クラスタ検索量計算部
36 空きクラスタ検索部
37 空きクラスタ検索制御部
Claims (15)
- 相手端末に送信されるファイルを記憶する記憶部と、
前記相手端末に前記ファイルを送信する通信部と、
転送するデータ毎に、クラスタのクラスタ情報を求めるクラスタ情報計算部と、
前記クラスタ情報計算部が求めた転送するクラスタのクラスタ情報を基に、前記ファイルを前記記憶部から前記通信部にDMA転送するDMA転送部と、を備え、
前記クラスタ情報計算部は、
前記DMA転送中に、次に転送するクラスタのクラスタ情報を求める
通信端末。 - 前記クラスタ情報計算部は、
前記クラスタの検索量を計算するクラスタ検索量計算部と、
前記クラスタ検索量計算部の計算結果に応じて、前記クラスタを前記記憶部から検索するクラスタ検索部と、
前記記憶部を所定のファイルシステムを用いて管理するファイル管理部と、
前記クラスタ検索部の検索結果及び前記ファイルシステムを基に、前記DMA転送される前記ファイルを構成する前記クラスタのクラスタ情報を前記DMA転送部に設定するDMA制御部と、を備える
請求項1に記載の通信端末。 - 相手端末から送信されたファイルを受信する通信部と、
前記通信部により受信されたファイルを記憶する記憶部と、
転送するデータ毎に、空きクラスタの空きクラスタ情報を計算する空きクラスタ情報計算部と、
前記空きクラスタ情報計算部が求めた前記空きクラスタ情報を基に、DMA転送される前記ファイルの空きクラスタ情報を設定するDMA制御部と、を備え、
前記空きクラスタ情報計算部は、
前記DMA転送中に、次に転送するクラスタの空きクラスタ情報を求める
通信端末。 - 前記空きクラスタ情報計算部は、
前記ファイルを構成するクラスタと同数の空きクラスタの空きクラスタ情報を基に、前記ファイルを前記通信部から前記記憶部にDMA転送するDMA転送部と、
前記記憶部を所定のファイルシステムを用いて管理するファイル管理部と、
前記クラスタの検索量を計算するクラスタ検索量計算部と、
前記クラスタ検索量計算部の計算結果に応じて、前記クラスタと同数の空きクラスタを前記記憶部から検索する空きクラスタ検索部と、とを備える
請求項3に記載の通信端末。 - 相手端末に送信されるファイルを記憶する記憶部と、
前記相手端末に前記ファイルを送信する通信部と、
前記ファイルを構成するクラスタのクラスタ情報を基に、前記ファイルを前記記憶部から前記通信部にDMA転送するDMA転送部と、
前記記憶部を所定のファイルシステムを用いて管理するファイル管理部と、
前記クラスタの検索量を計算するクラスタ検索量計算部と、
前記クラスタ検索量計算部の計算結果に応じて、前記クラスタを前記記憶部から検索するクラスタ検索部と、
前記クラスタ検索部の検索結果及び前記ファイルシステムを基に、前記DMA転送される前記ファイルを構成する前記クラスタのクラスタ情報を前記DMA転送部に設定するDMA制御部と、を備える
通信端末。 - 相手端末から送信されたファイルを受信する通信部と、
前記通信部により受信されたファイルを記憶する記憶部と、
前記ファイルを構成するクラスタと同数の空きクラスタの空きクラスタ情報を基に、前記ファイルを前記通信部から前記記憶部にDMA転送するDMA転送部と、
前記記憶部を所定のファイルシステムを用いて管理するファイル管理部と、
前記クラスタの検索量を計算するクラスタ検索量計算部と、
前記クラスタ検索量計算部の計算結果に応じて、前記クラスタと同数の空きクラスタを前記記憶部から検索する空きクラスタ検索部と、
前記空きクラスタ検索部の検索結果及び前記ファイルシステムを基に、前記DMA転送される前記ファイルの空きクラスタ情報を前記DMA転送部に設定するDMA制御部と、を備える
通信端末。 - 前記ファイルシステムは、FAT16、FAT32及びFAT64のうちいずれかである
請求項5又は6に記載の通信端末。 - 前記送信されるファイルのファイルサイズを含むファイル情報を前記相手端末に送信する端末間通信制御部と、を更に備え、
前記ファイル管理部は、ファイルを構成するクラスタのサイズを前記ファイルシステムから取得し、
前記クラスタ検索量計算部は、前記DMA転送される前記ファイルを構成するクラスタの検索量を、前記クラスタのサイズを基に前記送信されるファイルを構成する最終のクラスタまで計算する
請求項5に記載の通信端末。 - 前記受信されるファイルのファイルサイズを含むファイル情報を前記相手端末から受信する端末間通信制御部と、を更に備え、
前記ファイル管理部は、ファイルを構成するクラスタのサイズを前記ファイルシステムから取得し、
前記クラスタ検索量計算部は、前記DMA転送される前記ファイルを構成するクラスタの検索量を、前記クラスタのサイズを基に前記受信されるファイルを格納するために必要な最終のクラスタまで計算する
請求項6に記載の通信端末。 - 前記クラスタ検索量計算部は、前記DMA転送の前に、前記送信されるファイルのファイルサイズと、単位クラスタサイズのクラスタの検索に要する時間と、前記通信部が単位クラスタサイズのファイルを送信するのに要する時間とを基に、前記クラスタ検索量を計算する
請求項8に記載の通信端末。 - 前記クラスタ検索量計算部は、前記DMA転送の前に、前記受信されるファイルのファイルサイズと、単位クラスタサイズの空きクラスタの検索に要する時間と、前記通信部が単位クラスタサイズのファイルを受信するのに要する時間とを基に、前記クラスタ検索量を計算する
請求項9に記載の通信端末。 - 前記クラスタ検索量計算部は、前記DMA転送部がDMA転送している間、前記DMA転送している前記ファイルのサイズに応じて、現在のDMA転送の次にDMA転送するファイルを構成するクラスタのクラスタ検索量を計算する
請求項10に記載の通信端末。 - 前記クラスタ検索量計算部は、前記DMA転送部がDMA転送している間、前記DMA転送している前記ファイルのサイズに応じて、現在のDMA転送の次にDMA転送するファイルを構成するクラスタのクラスタ検索量を計算する
請求項11に記載の通信端末。 - 前記通信部は、前記DMA転送の前に計算された前記クラスタ検索量に応じたクラスタ検索の完了通知を送信し、前記DMA転送の前に計算された前記クラスタ検索量に応じた空きクラスタ検索の完了通知を前記相手端末から受信し、
前記DMA転送部は、前記通信部が前記クラスタ検索の完了通知を送信して前記空きクラスタ検索の完了通知を受信した後に、前記送信されるファイルのDMA転送を開始する
請求項10に記載の通信端末。 - 前記通信部は、前記DMA転送の前に計算された前記クラスタ検索量に応じた空きクラスタ検索の完了通知を送信し、前記DMA転送の前に計算された前記クラスタ検索量に応じたクラスタ検索の完了通知を前記相手端末から受信し、
前記DMA転送部は、前記通信部が前記空きクラスタ検索の完了通知を送信して前記クラスタ検索の完了通知を受信した後に、前記受信されたファイルのDMA転送を開始する
請求項11に記載の通信端末。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013516199A JP6011814B2 (ja) | 2011-05-23 | 2012-05-17 | 通信端末 |
US14/111,835 US9116883B2 (en) | 2011-05-23 | 2012-05-17 | Communication terminal including cluster information calculation section and DMA-transfer section |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011-114900 | 2011-05-23 | ||
JP2011114900 | 2011-05-23 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2012160792A1 true WO2012160792A1 (ja) | 2012-11-29 |
Family
ID=47216885
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/JP2012/003251 WO2012160792A1 (ja) | 2011-05-23 | 2012-05-17 | 通信端末 |
Country Status (3)
Country | Link |
---|---|
US (1) | US9116883B2 (ja) |
JP (1) | JP6011814B2 (ja) |
WO (1) | WO2012160792A1 (ja) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0367352A (ja) * | 1989-08-04 | 1991-03-22 | Nec Corp | データ転送装置 |
JPH08190524A (ja) * | 1995-01-09 | 1996-07-23 | Kokusai Electric Co Ltd | ファイル処理システム |
JPH1196127A (ja) * | 1997-06-30 | 1999-04-09 | Sun Microsyst Inc | 第1のコンピュータと第2のコンピュータとの間で遠隔ディスク読取り操作を実施する方法と装置 |
JP2004206241A (ja) * | 2002-12-24 | 2004-07-22 | Toshiba Corp | データ転送制御方法及びその回路 |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6633926B1 (en) * | 1998-11-30 | 2003-10-14 | Matsushita Electric Industrial Co., Ltd. | DMA transfer device capable of high-speed consecutive access to pages in a memory |
US6341318B1 (en) * | 1999-08-10 | 2002-01-22 | Chameleon Systems, Inc. | DMA data streaming |
JP2004246828A (ja) | 2003-02-17 | 2004-09-02 | Ricoh Co Ltd | Dma制御装置及び画像形成装置 |
US6922739B2 (en) * | 2003-02-24 | 2005-07-26 | Broadcom Corporation | System and method for dual IDE channel servicing using single multiplexed interface having first and second channel transfer over a common bus |
JP2007310735A (ja) * | 2006-05-19 | 2007-11-29 | Nec Electronics Corp | ダイレクトメモリアクセスコントローラ |
-
2012
- 2012-05-17 US US14/111,835 patent/US9116883B2/en not_active Expired - Fee Related
- 2012-05-17 JP JP2013516199A patent/JP6011814B2/ja not_active Expired - Fee Related
- 2012-05-17 WO PCT/JP2012/003251 patent/WO2012160792A1/ja active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0367352A (ja) * | 1989-08-04 | 1991-03-22 | Nec Corp | データ転送装置 |
JPH08190524A (ja) * | 1995-01-09 | 1996-07-23 | Kokusai Electric Co Ltd | ファイル処理システム |
JPH1196127A (ja) * | 1997-06-30 | 1999-04-09 | Sun Microsyst Inc | 第1のコンピュータと第2のコンピュータとの間で遠隔ディスク読取り操作を実施する方法と装置 |
JP2004206241A (ja) * | 2002-12-24 | 2004-07-22 | Toshiba Corp | データ転送制御方法及びその回路 |
Also Published As
Publication number | Publication date |
---|---|
US20140068114A1 (en) | 2014-03-06 |
US9116883B2 (en) | 2015-08-25 |
JPWO2012160792A1 (ja) | 2014-07-31 |
JP6011814B2 (ja) | 2016-10-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107197359B (zh) | 视频文件缓存方法及装置 | |
CN103152423A (zh) | 一种云存储系统及其数据存取方法 | |
JP6464587B2 (ja) | 情報処理システム、情報処理装置、情報送信方法及びプログラム | |
CN103227826A (zh) | 一种文件传输方法及装置 | |
CN102857578A (zh) | 一种网络硬盘的文件上传方法、系统及网盘客户端 | |
US8447825B2 (en) | File sharing system and file sharing method | |
CN111615692A (zh) | 数据搬运方法、计算处理装置、设备及存储介质 | |
US20090157896A1 (en) | Tcp offload engine apparatus and method for system call processing for static file transmission | |
CN111404842B (zh) | 数据传输方法、装置及计算机存储介质 | |
CN111400213B (zh) | 传输数据的方法、装置及系统 | |
JP5729659B2 (ja) | メディアストリーミング方法およびメディアコントローラ | |
US20140025630A1 (en) | Data-store management apparatus, data providing system, and data providing method | |
JP6287335B2 (ja) | 端末装置、情報処理システム、情報送信方法及びプログラム | |
US9787755B2 (en) | Method and device for browsing network data, and storage medium | |
JP6011814B2 (ja) | 通信端末 | |
WO2016090985A1 (zh) | 缓存的读取、读取处理方法及装置 | |
CN102065146B (zh) | 用于优化嵌入式终端在p2p应用中的存储效率的方法与设备 | |
JP7318899B2 (ja) | 二次ストレージにコンテンツアイテムを格納するためのシステムおよび方法 | |
CN112395245B (zh) | 处理器的访问装置、方法及计算机设备 | |
US20150089264A1 (en) | Processing apparatus and processing method | |
JP2009199281A (ja) | データ送信装置 | |
JP2014235531A (ja) | データ転送装置、データ転送システム、およびプログラム | |
CN116661684B (zh) | 一种闪存数据的读取方法、系统、设备及介质 | |
US9602562B2 (en) | Terminal apparatus, information processing system and information processing method | |
CN117312201B (zh) | 一种数据传输方法、装置及加速器设备、主机和存储介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 12789230 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 2013516199 Country of ref document: JP Kind code of ref document: A |
|
WWE | Wipo information: entry into national phase |
Ref document number: 14111835 Country of ref document: US |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 12789230 Country of ref document: EP Kind code of ref document: A1 |