WO2016082467A1 - 一种基于网络的文件传输方法及系统 - Google Patents
一种基于网络的文件传输方法及系统 Download PDFInfo
- Publication number
- WO2016082467A1 WO2016082467A1 PCT/CN2015/078418 CN2015078418W WO2016082467A1 WO 2016082467 A1 WO2016082467 A1 WO 2016082467A1 CN 2015078418 W CN2015078418 W CN 2015078418W WO 2016082467 A1 WO2016082467 A1 WO 2016082467A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- memory
- network
- space
- files
- ram memory
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 40
- 238000012546 transfer Methods 0.000 title claims abstract description 38
- 230000005540 biological transmission Effects 0.000 claims description 43
- 238000011161 development Methods 0.000 claims description 7
- 238000005516 engineering process Methods 0.000 description 4
- 238000004891 communication Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/06—Addressing a physical block of locations, e.g. base addressing, module addressing, memory dedication
- G06F12/0638—Combination of memories, e.g. ROM and RAM such as to permit replacement or supplementing of words in one module by words in another module
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/40—Support for services or applications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2212/00—Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
- G06F2212/20—Employing a main memory using a specific memory technology
- G06F2212/205—Hybrid memory, e.g. using both volatile and non-volatile memory
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/02—Terminal devices
Definitions
- the present invention relates to the field of wireless communication technologies, and in particular, to a network-based file transmission method and system.
- WIFI wireless transmission technologies
- files are transmitted one by one. Since the storage space occupied by each file in the mobile terminal is not continuous, that is, after a file is transmitted, the second file needs to be re-addressed and then transmitted; When a large number of files are transmitted between mobile terminals via WIFI and other wireless technologies, it is found that the WIFI bandwidth (file transfer rate) occupied after transmitting a file instantly becomes 0, and then the bandwidth (file transfer rate) when the next file is transmitted is started. ) Gradually increase until the maximum value, and even some files are too small to be transmitted before the maximum transfer rate is reached.
- the limitation is that the stored addresses of the files are discontinuous, and the bandwidth utilization is low due to the inability to maintain full speed transmission when the mobile terminal performs a large number of file transmissions through the WIFI.
- the technical problem to be solved by the present invention is to provide a network-based file transmission method and system for the above-mentioned deficiencies of the prior art, and to solve the problem in the prior art that the address stored in each file is not continuous. It is a defect that the transmission cannot be maintained at full speed when a large number of files are transmitted through the WIFI between mobile terminals.
- a network-based file transfer method which includes:
- the terminal opens up a continuous space in the RAM memory, and the size of the continuous space is greater than or equal to the sum of all file sizes that need to be transmitted;
- the terminal copies the files to be transferred from the ROM memory one by one to the opened RAM memory space;
- the network-based file transmission method wherein before the step A, the method further includes:
- the terminal acquires and stores the starting address and file size of all files to be transferred in the ROM memory.
- step B specifically includes:
- the mobile terminal reads the starting address and file size of all stored files that need to be transferred in the ROM memory;
- step C specifically includes:
- the opening RAM memory space is received by the mobile terminal ROM memory and stored;
- the opened RAM memory space transmits the stored data to another mobile terminal through the WIFI network after receiving the mobile terminal ROM memory for data transmission for 1 second.
- the network-based file transfer method wherein the RAM memory is a power-down volatile high-speed memory, a DDRRAM memory, and the ROM memory is a memory that is not lost in power, FLSAH.
- a network-based file transfer system including:
- a space development module for opening a continuous space in the RAM memory of the terminal, the size of the continuous space being greater than or equal to the sum of all file sizes to be transmitted;
- a copy module configured for the terminal to copy the files to be transferred from the ROM memory to the opened RAM memory space
- the WIFI transmission module is configured to transmit the data stored in the opened RAM memory space to another terminal one by one through the WIFI.
- the network-based file transmission system further comprising:
- the file information obtaining module is configured to acquire and store a starting address and a file size of all files to be transferred in the ROM memory.
- the network-based file transfer system wherein the copy module specifically includes:
- a reading unit configured for the mobile terminal to read a starting address and a file size of the stored all files to be transferred in the ROM memory
- the first transmission unit is configured to sequentially copy all the files that need to be transferred into the opened RAM memory space.
- the network-based file transfer system wherein the WIFI transmission module includes:
- a receiving and storing unit for receiving and storing data of the RAM memory space of the mobile terminal
- the second transmission unit is configured to transmit the stored data to another mobile terminal through the WIFI after receiving the data of the mobile terminal ROM memory for 1s.
- the network-based file transfer system wherein the RAM memory is a power-down volatile high-speed memory, a DDR RAM memory, and the ROM memory is a memory that is not lost in power, FLSAH.
- the present invention provides a network-based file transfer method and system, the method comprising: opening a continuous space in a RAM memory of a mobile terminal, the size of the continuous space being greater than or equal to the sum of all file sizes to be transmitted; the mobile terminal Files to be transferred from ROM memory one by one Copying to the opened RAM memory space; transferring the data stored in the opened RAM memory space to another mobile terminal through WIFI.
- the data transmission method of the invention when the user uses the mobile terminal to transmit a large number of files through the WIFI, the transmitted file can be stored in a continuous storage space, and all the files are transmitted at one time, thereby improving the utilization efficiency of the WIFI bandwidth and bringing the user a Convenient.
- FIG. 1 is a flow chart of a first preferred embodiment of the network-based file transfer method of the present invention.
- FIG. 2 is a specific flowchart of a second preferred embodiment of the network-based file transmission method of the present invention.
- FIG. 3 is a functional block diagram of a first preferred embodiment of the network-based file transfer system of the present invention.
- FIG. 1 is a flowchart of a preferred embodiment of a network-based file transfer method according to the present invention. As shown in FIG. 1, the network-based file transmission method includes the following steps:
- Step S100 Open a continuous space in the RAM memory of the mobile terminal, and the size of the continuous space is greater than or equal to the sum of all file sizes that need to be transmitted.
- the method before the step S100, the method further includes:
- Step S110 The mobile terminal acquires and stores a starting address and a file size of all files to be transferred in the ROM memory.
- three files are to be transmitted, and the starting addresses and file sizes of the three files in the ROM memory are respectively:
- the first file starting address 0x10000000, file size 80k bytes;
- the second file starting address 0x120C0000, file size 800k bytes;
- the third file starting address 0x1E000000, file size 60k bytes;
- the storage format of the start address and file size of all files that need to be transmitted stored by the mobile terminal is as shown in Table 1.
- the mobile terminal first acquires the size of all the files stored in the ROM memory that need to be transferred to another mobile terminal in order to prepare for opening the corresponding size in the RAM memory, thereby integrating the plurality of files into one continuous file.
- Step S200 The mobile terminal copies the files that need to be transferred from the ROM memory one by one to the opened RAM memory space.
- step S200 specifically includes:
- Step S201 The mobile terminal reads the starting address and the file size of the stored files that need to be transferred in the ROM memory.
- Step S202 sequentially copy all the files that need to be transferred into the opened RAM memory space.
- continuous copy means that these files are in close proximity to a continuous copy to RAM memory.
- Step S300 transmitting data stored in the opened RAM memory space to another mobile terminal through WIFI.
- step S300 specifically includes:
- Step S301 the open RAM memory space is received by the mobile terminal ROM memory and stored;
- Step S302 the opened RAM memory space transmits the data to the other mobile terminal through the WIFI after receiving the data of the mobile terminal ROM memory for 1 s (seconds).
- the RAM memory is a power-down volatile high-speed memory and a DDRRAM memory
- the ROM memory is a memory that is not lost when power is lost, and FLSAH.
- the starting address is 0x60000000;
- Step S200 is specifically: copying 80k bytes of data after the address in the ROM memory to 0x10000000 to the super-start address of the RAM memory is 0x60000000, and then copying the 800k-byte data after the address of the ROM memory to 0x120C0000 to 0x60000000+80k, Then copy the 60k bytes of data in the ROM memory with the address 0x1E000000 to 0x60000000+80k+800k.
- Step S300 specifically transmits 940 kbytes of the start address of the RAM memory to 0x60000000 to another mobile terminal through WIFI.
- step S200, the step S300, because the copying in step S200 is performed by the internal bus is very fast faster than the file transmission in step S300; therefore, only step S200 is required to perform a shorter time than step S300 ( Preferably, it is 1 second); that is, after performing step S200 for one second, step S300 is started regardless of whether step S200 is completed or not.
- the present invention further provides a flowchart of a second preferred embodiment of a network-based file transmission method. As shown in FIG. 2, the method includes the following steps:
- Step S10 detecting that the user needs to transmit files to other mobile terminals through WIFI;
- Step S20 the starting address of the file to be transferred in the ROM memory, and the file size of the file information acquiring module, and storing the file;
- Step S30 the space development module opens a continuous storage space in the RAM memory for file transmission, and the contiguous space opened is the sum of all the files that need to be transmitted;
- Step S40 The copy module continuously copies the files to be transferred one by one to the space opened by the space development module in the RAM memory;
- Step S50 Waiting for 1 s; the WIFI transmission module establishes a WIFI connection with other mobile terminals, and transmits the data in a whole piece of continuous space opened by the space development module in the RAM memory.
- the present invention provides a network-based file transmission method, which mainly provides a method for performing a large number of file transmissions through a WIFI network, by storing all files to be transferred in a continuous space in the RAM memory, so that WIFI It can be transmitted at one time during transmission, which improves the utilization efficiency of WIFI bandwidth.
- the present invention further provides a network-based file transmission system, including:
- the space development module 100 is configured to open a continuous space in the RAM memory of the mobile terminal, and the size of the continuous space is greater than or equal to the sum of all file sizes to be transmitted; as described above.
- the copy module 200 is configured to: the mobile terminal copies the files to be transferred from the ROM memory to the opened RAM memory space one by one; as described above.
- the WIFI transmission module 300 is configured to transmit the data stored in the opened RAM memory space to another mobile terminal one by one through WIFI; as described above.
- the network-based file transmission system further comprising:
- the file information obtaining module 110 is configured to acquire, by the mobile terminal, a starting address and a file size of all files to be transferred in the ROM memory, and store the content; as described above.
- the network-based file transfer system wherein the copy module specifically includes:
- a reading unit for reading, by the mobile terminal, a starting address and a file size of all stored files that need to be transferred in the ROM memory; as described above.
- a first transmission unit for sequentially copying all files that need to be transferred into the opened RAM memory space; as described above.
- the network-based file transfer system wherein the WIFI transmission module includes:
- a receiving and storing unit for receiving and storing data of the RAM memory space in the mobile terminal ROM memory; as described above.
- the second transmission unit is configured to transmit the stored data to the other mobile terminal through the WIFI after receiving the mobile terminal ROM memory to transmit the data for 1 s; as described above.
- the RAM memory is a power-down volatile high-speed memory, a DDRRAM memory
- the ROM memory is a memory that is not lost in power loss, FLSAH; .
- the present invention provides a network-based file transfer method and system, the method comprising: opening a continuous space in a RAM memory of a mobile terminal, the size of the continuous space being greater than or equal to the size of all files to be transmitted. a sum; the mobile terminal copies the files to be transferred from the ROM memory one by one to the opened RAM memory space; and transmits the data stored in the opened RAM memory space to another mobile terminal through the WIFI.
- the data transmission method of the invention when the user uses the mobile terminal to transmit a large number of files through the WIFI, the transmitted file can be stored in a continuous storage space, and all the files are transmitted at one time, thereby improving the utilization efficiency of the WIFI bandwidth and bringing the user a Convenient.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Mobile Radio Communication Systems (AREA)
- Information Transfer Between Computers (AREA)
- Telephone Function (AREA)
Abstract
本发明公开了一种基于网络的文件传输方法及系统,方法包括:终端在RAM存储器中开辟一块连续的空间,连续的空间的大小大于或等于需要传输的所有文件大小的总和;终端将需要传输的文件从ROM存储器中逐个拷贝至所述开辟的RAM存储器空间中;将所述开辟的RAM存储器空间中存储的数据通过网络传输给另一终端。采用本发明的数据传输方法,用户利用移动终端通过WIFI传输大量文件时,可以将所传输文件存储在连续的存储空间中,一次性传输所有文件,提高了WIFI带宽的利用效率,为用户带来了方便。
Description
本发明涉及无线通信技术领域,尤其涉及一种基于网络的文件传输方法及系统。
随着WIFI等无线传输技术的发展,移动终端与移动终端之间通过WIFI等无线技术传输文件的次数越来越多;例如,移动终端之间通过WIFI直连(WIFI Direct)的方式,移动终端将文件传输给另一台移动终端。
现有技术中,文件是一个一个传输的,由于各个文件在移动终端内占用的存储空间并不是连续的,即一个文件传输完之后,需要重新寻址第二个文件然后再传输;实际测量两台移动终端之间通过WIFI等无线技术进行大量文件传输时会发现,在传输完一个文件后占用的WIFI带宽(文件传输速率)瞬间变为0,然后开始传输下一个文件时带宽(文件传输速率)逐渐增加直到最大值,甚至,有的文件由于太小在达到传输速率最大值之前就已传输完毕。
综上所述,受限于各个文件在存储的地址是不连续的特点,在移动终端之间通过WIFI进行大量文件传输时无法保持全速进行传输造成带宽利用率低。
因此,现有技术还有待于改进和发展。
发明内容
本发明要解决的技术问题在于,针对现有技术的上述缺陷,提供一种基于网络的文件传输方法及系统,旨在解决现有技术中需受限于各个文件在存储的地址是不连续的特点,在移动终端之间通过WIFI进行大量文件传输时无法保持全速进行传输的缺陷。
本发明解决技术问题所采用的技术方案如下:
一种基于网络的文件传输方法,其中,包括:
A、终端在RAM存储器中开辟一块连续的空间,连续的空间的大小大于或等于需要传输的所有文件大小的总和;
B、终端将需要传输的文件从ROM存储器中逐个拷贝至所述开辟的RAM存储器空间中;
C、将所述开辟的RAM存储器空间中存储的数据通过网络传输给另一终端。
所述的基于网络的文件传输方法,其中,所述步骤A之前还包括:
S、终端获取需要传输的所有文件在ROM存储器中的起始地址及文件大小并存储。
所述的基于网络的文件传输方法,其中,所述步骤B具体包括:
B1、移动终端读取存储的需要传输的所有文件在ROM存储器中的起始地址及文件大小;
B2、依次将需要传输的所有文件连续拷贝到所述开辟的RAM存储器空间中。
所述的基于网络的文件传输方法,其中,所述步骤C具体包括:
C1、所述开辟RAM存储器空间在接收移动终端ROM存储器传输的数据并存储;
C2、所述开辟的RAM存储器空间在接收到移动终端ROM存储器传输数据1s后,将存储的数据通过WIFI网络传输给另一台移动终端。
所述的基于网络的文件传输方法,其中,所述RAM存储器为掉电易失的高速存储器、DDRRAM存储器,所述ROM存储器为掉电不易失的存储器、FLSAH。
一种基于网络的文件传输系统,其中,包括:
空间开辟模块,用于在终端的RAM存储器中开辟一块连续的空间,连续的空间的大小大于或等于需要传输的所有文件大小的总和;
拷贝模块,用于终端将需要传输的文件从ROM存储器中逐个拷贝至所述开辟的RAM存储器空间中;
WIFI传输模块,用于将所述开辟的RAM存储器空间中存储的数据通过WIFI按字节逐一传输给另一台终端。
所述的基于网络的文件传输系统,其中,还包括:
文件信息获取模块,用于终端获取需要传输的所有文件在ROM存储器中的起始地址及文件大小并存储。
所述的基于网络的文件传输系统,其中,所述拷贝模块具体包括:
读取单元,用于移动终端读取存储的需要传输的所有文件在ROM存储器中的起始地址及文件大小;
第一传输单元,用于依次将需要传输的所有文件连续拷贝到所述开辟的RAM存储器空间中。
所述的基于网络的文件传输系统,其中,所述WIFI传输模块包括:
接收与存储单元,用于所述开辟RAM存储器空间在接收移动终端ROM存储器传输的数据并存储;
第二传输单元,用于所述开辟的RAM存储器空间在接收到移动终端ROM存储器传输数据1s后,将存储的数据通过WIFI传输给另一台移动终端。
所述的基于网络的文件传输系统,其中,所述RAM存储器为掉电易失的高速存储器、DDR RAM存储器,所述ROM存储器为掉电不易失的存储器、FLSAH。
本发明提供了一种基于网络的文件传输方法及系统,方法包括在移动终端的RAM存储器中开辟一块连续的空间,连续的空间的大小大于或等于需要传输的所有文件大小的总和;移动终端将需要传输的文件从ROM存储器中逐个
拷贝至所述开辟的RAM存储器空间中;将所述开辟的RAM存储器空间中存储的数据通过WIFI传输给另一台移动终端。采用本发明的数据传输方法,用户利用移动终端通过WIFI传输大量文件时,可以将所传输文件存储在连续的存储空间中,一次性传输所有文件,提高了WIFI带宽的利用效率,为用户带来了方便。
图1是本发明所述基于网络的文件传输方法的第一较佳实施例的流程图。
图2是本发明所述基于网络的文件传输方法的第二较佳实施例的具体流程图。
图3是本发明所述基于网络的文件传输系统的的第一较佳实施例功能原理框图。
为使本发明的目的、技术方案及优点更加清楚、明确,以下参照附图并举实施例对本发明进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
请参见图1,图1是本发明所述基于网络的文件传输方法的较佳实施例的流程图。如图1所示,所述的基于网络的文件传输方法,包括以下步骤:
步骤S100、在移动终端的RAM存储器中开辟一块连续的空间,连续的空间的大小大于或等于需要传输的所有文件大小的总和。
进一步地实施例,所述步骤S100之前还包括:
步骤S110、移动终端获取需要传输的所有文件在ROM存储器中的起始地址及文件大小并存储。
具体实施时,优选的,要传输三个文件,这三个文件在ROM存储器中的起始地址及文件大小分别为:
第一个文件:起始地址0x10000000,文件大小80k字节;
第二个文件:起始地址0x120C0000,文件大小800k字节;
第三个文件:起始地址0x1E000000,文件大小60k字节;
则移动终端存储的需要传输的所有文件的起始地址和文件大小的存储格式如表1所示。
表1
移动终端先是获取ROM存储器中存储的需要传输给另一台移动终端的所有文件的大小,是为了在RAM存储器中开辟相应的大小做准备,从而将多个文件整合成一个连续的文件。
步骤S200、移动终端将需要传输的文件从ROM存储器中逐个拷贝至所述开辟的RAM存储器空间中。
进一步地实施例,所述步骤S200中具体包括:
步骤S201、移动终端读取存储的需要传输的所有文件在ROM存储器中的起始地址及文件大小;
步骤S202、依次将需要传输的所有文件连续拷贝到所述开辟的RAM存储器空间中。具体实施时,连续拷贝是指这些文件是一个紧邻一个连续的拷到RAM存储器中。
步骤S300、将所述开辟的RAM存储器空间中存储的数据通过WIFI传输给另一台移动终端。
具体实施时,步骤S300具体包括:
步骤S301、所述开辟RAM存储器空间在接收移动终端ROM存储器传输的数据并存储;
步骤S302、所述开辟的RAM存储器空间在接收到移动终端ROM存储器传输数据1s(秒)后,将存储的数据通过WIFI传输给另一台移动终端。
具体实施时,所述RAM存储器为掉电易失的高速存储器、DDRRAM存储器,所述ROM存储器为掉电不易失的存储器、FLSAH。
在步骤S110中,根据这三个文件大小总和80k字节+800k字节+60k字节=940k字节,在RAM存储器中开辟一块940k字节大小的连续空间,假设RAM存储器中这一块空间的起始地址为0x60000000;
步骤S200具体是将ROM存储器中地址为0x10000000之后的80k字节数据拷贝到RAM存储器中超始地址为0x60000000处,之后再将ROM存储器中地址为0x120C0000之后的800k字节数据拷贝到0x60000000+80k处,之后再将ROM存储器中地址为0x1E000000之后的60k字节数据拷贝到0x60000000+80k+800k处。
步骤S300具体是将RAM存储器中起始地址为0x60000000之后的940k字节通过WIFI传输给另一台移动终端。
所述步骤S200、步骤S300,因为,步骤S200中拷贝是通过内部总线执行速度非常用快远高于步骤S300中的文件传输;因此,只需步骤S200比步骤S300先执行一个较短的时间(较佳地,为1秒);即执行步骤S200一秒钟后不论步骤S200是否执行完毕均开始执行步骤S300。
具体实施时,本发明还提供了一种基于网络的文件传输方法的第二较佳实施例的流程图,如图2所示,包括步骤:
步骤S10、检测到用户需要通过WIFI传输文件给其他移动终端;
步骤S20、文件信息获取模块需要传输的所有文件在ROM存储器中的起始地址,及文件大小,并存储;
步骤S30、空间开辟模块在RAM存储器中开辟一个连续的存储空间用于文件传输,所开辟的连续空间大小为需要传输的所有文件的总和;
步骤S40、拷贝模块将需要传输的文件逐一连续地拷贝到空间开辟模块在RAM存储器中开辟的空间中;
步骤S50、等待1s;WIFI传输模块与其他移动终端建立WIFI连接,并将空间开辟模块在RAM存储器中开辟的一整块连续的空间中的数据发送出去。
由上可见,本发明提供了一种基于网络的文件传输方法,主要提供了一种通过WIFI网络进行大量文件传输的方法,通过将要传输的所有文件存储在RAM存储器中一块连续的空间,使得WIFI传输时可一次性传输完,提高了WIFI带宽的利用效率。
基于上述实施例,如图3所示,本发明还提供了基于网络的文件传输系统,包括:
空间开辟模块100,用于在移动终端的RAM存储器中开辟一块连续的空间,连续的空间的大小大于或等于需要传输的所有文件大小的总和;具体如上所述。
拷贝模块200,用于移动终端将需要传输的文件从ROM存储器中逐个拷贝至所述开辟的RAM存储器空间中;具体如上所述。
WIFI传输模块300,用于将所述开辟的RAM存储器空间中存储的数据通过WIFI按字节逐一传输给另一台移动终端;具体如上所述。
所述的基于网络的文件传输系统,其中,还包括:
文件信息获取模块110,用于移动终端获取需要传输的所有文件在ROM存储器中的起始地址及文件大小并存储;具体如上所述。
所述的基于网络的文件传输系统,其中,所述拷贝模块具体包括:
读取单元,用于移动终端读取存储的需要传输的所有文件在ROM存储器中的起始地址及文件大小;具体如上所述。
第一传输单元,用于依次将需要传输的所有文件连续拷贝到所述开辟的RAM存储器空间中;具体如上所述。
所述的基于网络的文件传输系统,其中,所述WIFI传输模块包括:
接收与存储单元,用于所述开辟RAM存储器空间在接收移动终端ROM存储器传输的数据并存储;具体如上所述。
第二传输单元,用于所述开辟的RAM存储器空间在接收到移动终端ROM存储器传输数据1s后,将存储的数据通过WIFI传输给另一台移动终端;具体如上所述。
上述任一项所述的基于网络的文件传输系统,其中,所述RAM存储器为掉电易失的高速存储器、DDRRAM存储器,所述ROM存储器为掉电不易失的存储器、FLSAH;具体如上所述。
综上所述,本发明提供了一种基于网络的文件传输方法及系统,方法包括在移动终端的RAM存储器中开辟一块连续的空间,连续的空间的大小大于或等于需要传输的所有文件大小的总和;移动终端将需要传输的文件从ROM存储器中逐个拷贝至所述开辟的RAM存储器空间中;将所述开辟的RAM存储器空间中存储的数据通过WIFI传输给另一台移动终端。采用本发明的数据传输方法,用户利用移动终端通过WIFI传输大量文件时,可以将所传输文件存储在连续的存储空间中,一次性传输所有文件,提高了WIFI带宽的利用效率,为用户带来了方便。
应当理解的是,本发明的应用不限于上述的举例,对本领域普通技术人员来说,可以根据上述说明加以改进或变换,所有这些改进和变换都应属于本发明所附权利要求的保护范围。
Claims (20)
- 一种基于网络的文件传输方法,其中,包括:A、终端获取需要传输的所有文件在ROM存储器中的起始地址及文件大小并存储;B、终端在RAM存储器中开辟一块连续的空间,连续的空间的大小大于或等于需要传输的所有文件大小的总和;C、终端将需要传输的文件从ROM存储器中逐个拷贝至所述开辟的RAM存储器空间中;D、将所述开辟的RAM存储器空间中存储的数据通过网络传输给另一终端。
- 根据权利要求1所述的基于网络的文件传输方法,其中,所述步骤C具体包括:C1、移动终端读取存储的需要传输的所有文件在ROM存储器中的起始地址及文件大小;C2、依次将需要传输的所有文件连续拷贝到所述开辟的RAM存储器空间中。
- 根据权利要求2所述的基于网络的文件传输方法,其中,所述步骤D具体包括:D1、所述开辟RAM存储器空间在接收移动终端ROM存储器传输的数据并存储;D2、所述开辟的RAM存储器空间在接收到移动终端ROM存储器传输数据1s后,将存储的数据通过WIFI网络传输给另一台移动终端。
- 根据权利要求1所述的基于网络的文件传输方法,其中,所述RAM存 储器为掉电易失的高速存储器、DDRRAM存储器,所述ROM存储器为掉电不易失的存储器、FLSAH。
- 一种基于网络的文件传输方法,其中,包括:A、终端在RAM存储器中开辟一块连续的空间,连续的空间的大小大于或等于需要传输的所有文件大小的总和;B、终端将需要传输的文件从ROM存储器中逐个拷贝至所述开辟的RAM存储器空间中;C、将所述开辟的RAM存储器空间中存储的数据通过网络传输给另一终端。
- 根据权利要求5所述的基于网络的文件传输方法,其中,所述步骤A之前还包括:S、终端获取需要传输的所有文件在ROM存储器中的起始地址及文件大小并存储。
- 根据权利要求5所述的基于网络的文件传输方法,其中,所述步骤B具体包括:B1、移动终端读取存储的需要传输的所有文件在ROM存储器中的起始地址及文件大小;B2、依次将需要传输的所有文件连续拷贝到所述开辟的RAM存储器空间中。
- 根据权利要求7所述的基于网络的文件传输方法,其中,所述步骤C具体包括:C1、所述开辟RAM存储器空间在接收移动终端ROM存储器传输的数据并存储;C2、所述开辟的RAM存储器空间在接收到移动终端ROM存储器传输数据1s后,将存储的数据通过WIFI网络传输给另一台移动终端。
- 根据权利要求5所述的基于网络的文件传输方法,其中,所述RAM存储器为掉电易失的高速存储器、DDRRAM存储器,所述ROM存储器为掉电不易失的存储器、FLSAH。
- 根据权利要求6所述的基于网络的文件传输方法,其中,所述RAM存储器为掉电易失的高速存储器、DDRRAM存储器,所述ROM存储器为掉电不易失的存储器、FLSAH。
- 根据权利要求7所述的基于网络的文件传输方法,其中,所述RAM存储器为掉电易失的高速存储器、DDRRAM存储器,所述ROM存储器为掉电不易失的存储器、FLSAH。
- 根据权利要求8所述的基于网络的文件传输方法,其中,所述RAM存储器为掉电易失的高速存储器、DDRRAM存储器,所述ROM存储器为掉电不易失的存储器、FLSAH。
- 一种基于网络的文件传输系统,其中,包括:空间开辟模块,用于在终端的RAM存储器中开辟一块连续的空间,连续的空间的大小大于或等于需要传输的所有文件大小的总和;拷贝模块,用于终端将需要传输的文件从ROM存储器中逐个拷贝至所述开辟的RAM存储器空间中;WIFI传输模块,用于将所述开辟的RAM存储器空间中存储的数据通过WIFI按字节逐一传输给另一台终端。
- 根据权利要求13所述的基于网络的文件传输系统,其中,还包括:文件信息获取模块,用于终端获取需要传输的所有文件在ROM存储器中的起始地址及文件大小并存储。
- 根据权利要求13所述的基于网络的文件传输系统,其中,所述拷贝模块具体包括:读取单元,用于移动终端读取存储的需要传输的所有文件在ROM存储器 中的起始地址及文件大小;第一传输单元,用于依次将需要传输的所有文件连续拷贝到所述开辟的RAM存储器空间中。
- 根据权利要求15所述的基于网络的文件传输系统,其中,所述WIFI传输模块包括:接收与存储单元,用于所述开辟RAM存储器空间在接收移动终端ROM存储器传输的数据并存储;第二传输单元,用于所述开辟的RAM存储器空间在接收到移动终端ROM存储器传输数据1s后,将存储的数据通过WIFI传输给另一台移动终端。
- 根据权利要求13所述的基于网络的文件传输系统,其中,所述RAM存储器为掉电易失的高速存储器、DDR RAM存储器,所述ROM存储器为掉电不易失的存储器、FLSAH。
- 根据权利要求14所述的基于网络的文件传输系统,其中,所述RAM存储器为掉电易失的高速存储器、DDR RAM存储器,所述ROM存储器为掉电不易失的存储器、FLSAH。
- 根据权利要求15所述的基于网络的文件传输系统,其中,所述RAM存储器为掉电易失的高速存储器、DDR RAM存储器,所述ROM存储器为掉电不易失的存储器、FLSAH。
- 根据权利要求16所述的基于网络的文件传输系统,其中,所述RAM存储器为掉电易失的高速存储器、DDR RAM存储器,所述ROM存储器为掉电不易失的存储器、FLSAH。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP15801973.7A EP3226513A4 (en) | 2014-11-24 | 2015-05-06 | Network-based file transfer method and system |
US14/906,158 US20160330267A1 (en) | 2014-11-24 | 2015-05-06 | Method for transmitting documents based on network and system employing the same |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410678129.8A CN104468745A (zh) | 2014-11-24 | 2014-11-24 | 一种基于网络的文件传输方法及系统 |
CN201410678129.8 | 2014-11-24 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2016082467A1 true WO2016082467A1 (zh) | 2016-06-02 |
Family
ID=52914097
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2015/078418 WO2016082467A1 (zh) | 2014-11-24 | 2015-05-06 | 一种基于网络的文件传输方法及系统 |
Country Status (4)
Country | Link |
---|---|
US (1) | US20160330267A1 (zh) |
EP (1) | EP3226513A4 (zh) |
CN (1) | CN104468745A (zh) |
WO (1) | WO2016082467A1 (zh) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104468745A (zh) * | 2014-11-24 | 2015-03-25 | 惠州Tcl移动通信有限公司 | 一种基于网络的文件传输方法及系统 |
CN104965671A (zh) * | 2015-05-06 | 2015-10-07 | 深圳市金立通信设备有限公司 | 一种数据处理方法 |
CN104965796A (zh) * | 2015-05-06 | 2015-10-07 | 深圳市金立通信设备有限公司 | 一种终端 |
CN105701059A (zh) * | 2016-02-25 | 2016-06-22 | 惠州Tcl移动通信有限公司 | 一种基于移动终端的usb文件传输控制方法及系统 |
CN107391423A (zh) * | 2017-07-26 | 2017-11-24 | Tcl移动通信科技(宁波)有限公司 | 通过otg功能传输文件的方法、存储介质及移动终端 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1632764A (zh) * | 2004-12-31 | 2005-06-29 | 北京中星微电子有限公司 | 一种线性访问文件的方法 |
CN1691637A (zh) * | 2004-04-27 | 2005-11-02 | 华为技术有限公司 | 通信设备中数据包的存储方法 |
CN102375850A (zh) * | 2010-08-23 | 2012-03-14 | 联想(北京)有限公司 | 电子设备的文件排布方法、启动方法及电子设备 |
WO2013090646A2 (en) * | 2011-12-14 | 2013-06-20 | Microsoft Corporation | Working set swapping using a sequentially ordered swap file |
CN104468745A (zh) * | 2014-11-24 | 2015-03-25 | 惠州Tcl移动通信有限公司 | 一种基于网络的文件传输方法及系统 |
Family Cites Families (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6434458B1 (en) * | 1999-10-28 | 2002-08-13 | General Electric Company | Method and apparatus for vehicle data transfer optimization |
US6996060B1 (en) * | 2001-03-20 | 2006-02-07 | Arraycomm, Inc. | Closing a communications stream between terminals of a communications system |
US6970891B1 (en) * | 2000-11-27 | 2005-11-29 | Microsoft Corporation | Smart card with volatile memory file subsystem |
KR100608012B1 (ko) * | 2004-11-05 | 2006-08-02 | 삼성전자주식회사 | 데이터 백업 방법 및 장치 |
EP1630726B1 (en) * | 2004-08-18 | 2009-09-23 | Sony Corporation | Memory card, memory-card control method, memory-card access control method and computer programs |
JP2006085380A (ja) * | 2004-09-15 | 2006-03-30 | Toshiba Corp | ファイルストレージデバイス、プログラム、及び不揮発性半導体メモリの書込方法 |
US8234378B2 (en) * | 2005-10-20 | 2012-07-31 | Microsoft Corporation | Load balancing in a managed execution environment |
WO2007100547A2 (en) * | 2006-02-24 | 2007-09-07 | Interdigital Technology Corporation | Wireless communication method and apparatus for selecting between transmission of short-version and full-version uplink scheduling requests |
US7831786B2 (en) * | 2006-05-08 | 2010-11-09 | Research In Motion Limited | Sharing memory resources of wireless portable electronic devices |
US20080256271A1 (en) * | 2006-12-12 | 2008-10-16 | Breed Paul T | Methods and apparatus for reducing storage usage in devices |
US20090150536A1 (en) * | 2007-12-05 | 2009-06-11 | Microsoft Corporation | Application layer congestion control |
US8250280B1 (en) * | 2008-07-15 | 2012-08-21 | Marvell Israel (M.I.S.L.) Ltd. | Bus transaction maintenance protocol |
JP5728249B2 (ja) * | 2011-02-25 | 2015-06-03 | 任天堂株式会社 | 情報処理システム、情報処理装置、情報処理プログラム、および、情報処理方法 |
WO2014069223A1 (ja) * | 2012-10-29 | 2014-05-08 | 京セラ株式会社 | 移動通信システム、ユーザ端末、基地局、プロセッサ及び通信制御方法 |
CN103116552B (zh) * | 2013-03-18 | 2017-03-15 | 华为技术有限公司 | 用于在分布式存储系统中分配存储空间的方法和装置 |
JP2014209312A (ja) * | 2013-03-25 | 2014-11-06 | 株式会社東芝 | 集積回路 |
CN103176754A (zh) * | 2013-04-02 | 2013-06-26 | 浪潮电子信息产业股份有限公司 | 一种海量小文件读取存储方法 |
-
2014
- 2014-11-24 CN CN201410678129.8A patent/CN104468745A/zh active Pending
-
2015
- 2015-05-06 WO PCT/CN2015/078418 patent/WO2016082467A1/zh active Application Filing
- 2015-05-06 EP EP15801973.7A patent/EP3226513A4/en not_active Withdrawn
- 2015-05-06 US US14/906,158 patent/US20160330267A1/en not_active Abandoned
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1691637A (zh) * | 2004-04-27 | 2005-11-02 | 华为技术有限公司 | 通信设备中数据包的存储方法 |
CN1632764A (zh) * | 2004-12-31 | 2005-06-29 | 北京中星微电子有限公司 | 一种线性访问文件的方法 |
CN102375850A (zh) * | 2010-08-23 | 2012-03-14 | 联想(北京)有限公司 | 电子设备的文件排布方法、启动方法及电子设备 |
WO2013090646A2 (en) * | 2011-12-14 | 2013-06-20 | Microsoft Corporation | Working set swapping using a sequentially ordered swap file |
CN104468745A (zh) * | 2014-11-24 | 2015-03-25 | 惠州Tcl移动通信有限公司 | 一种基于网络的文件传输方法及系统 |
Non-Patent Citations (1)
Title |
---|
See also references of EP3226513A4 * |
Also Published As
Publication number | Publication date |
---|---|
EP3226513A1 (en) | 2017-10-04 |
US20160330267A1 (en) | 2016-11-10 |
CN104468745A (zh) | 2015-03-25 |
EP3226513A4 (en) | 2018-06-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2016082467A1 (zh) | 一种基于网络的文件传输方法及系统 | |
US11343345B2 (en) | Memory system allowing host to easily transmit and receive data | |
TWI538425B (zh) | 藍牙介面的資料傳輸系統及傳輸方法 | |
WO2014206321A1 (zh) | 蓝牙通信方法及蓝牙通信设备 | |
TW201030525A (en) | Direct slave-to-slave data transfer on a master-slave bus | |
WO2013154541A1 (en) | Remote direct memory access with reduced latency | |
WO2018058862A1 (zh) | 一种基于spi的数据传输方法及装置 | |
TWM462408U (zh) | 具自主備份能力的無線儲存裝置與無線儲存系統 | |
CN104199973A (zh) | 图片检索方法和图片检索装置 | |
CN110908949A (zh) | 一种基于slip协议的完整数据帧的接收方法 | |
CN104038534A (zh) | 自动同步与分类相片的方法及其移动装置 | |
CN115543882A (zh) | 不同位宽总线间的数据转发装置及数据传输方法 | |
US20140149535A1 (en) | Method for transmitting data and mobile storage apparatus using the same | |
CN104301438A (zh) | 一种上传文件的方法 | |
JP2016511895A (ja) | ルータを使用する集中型タスク管理 | |
US9113135B2 (en) | Image advocacy in portable computing devices | |
WO2013154540A1 (en) | Continuous information transfer with reduced latency | |
US9959243B2 (en) | Apparatus and circuit for processing data | |
US20170300232A1 (en) | Snap tree arbitrary replication | |
WO2016112633A1 (zh) | 一种提高系统固件烧写速度的方法 | |
US20150249749A1 (en) | Terminal apparatus, information processing system, and information transmission method | |
WO2016058188A1 (zh) | 一种应用于终端的软件升级方法、装置及终端 | |
WO2022228015A1 (zh) | 一种数据传输方法及设备 | |
WO2016026291A1 (zh) | 无线数据卡、通信系统、数据同步方法及计算机存储介质 | |
CN104717241A (zh) | 文件网络共享方法、终端及服务器 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
REEP | Request for entry into the european phase |
Ref document number: 2015801973 Country of ref document: EP |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2015801973 Country of ref document: EP |
|
WWE | Wipo information: entry into national phase |
Ref document number: 14906158 Country of ref document: US |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 15801973 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |