[go: up one dir, main page]

CN109698851A - The method and apparatus for transmitting data - Google Patents

The method and apparatus for transmitting data Download PDF

Info

Publication number
CN109698851A
CN109698851A CN201711001709.3A CN201711001709A CN109698851A CN 109698851 A CN109698851 A CN 109698851A CN 201711001709 A CN201711001709 A CN 201711001709A CN 109698851 A CN109698851 A CN 109698851A
Authority
CN
China
Prior art keywords
terminal
shared
data
target
storage server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711001709.3A
Other languages
Chinese (zh)
Inventor
马红伟
李松涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201711001709.3A priority Critical patent/CN109698851A/en
Publication of CN109698851A publication Critical patent/CN109698851A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1074Peer-to-peer [P2P] networks for supporting data block transmission mechanisms
    • H04L67/1078Resource delivery mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1074Peer-to-peer [P2P] networks for supporting data block transmission mechanisms
    • H04L67/1078Resource delivery mechanisms
    • H04L67/1085Resource delivery mechanisms involving dynamic management of active down- or uploading connections

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

This application provides a kind of method and apparatus for transmitting data, and this method includes that first terminal is obtained wait store to the first object data of storage server;First terminal determines that target terminal, target terminal have shared transfer resource, and shared transfer resource can be used in the data that other terminals are transmitted between the target terminal and storage server;At least partly data in first object data are sent to target terminal by first terminal, and at least partly data in first object data pass through the shared transmission resources for transmitting of target terminal to storage server by target terminal.In the data transmission method of the embodiment of the present application, the shared transfer resource that first terminal can be provided by target terminal, at least partly data in first object data are stored to storage server, are conducive to improve the efficiency for transmitting first object data between terminal and storage server.

Description

The method and apparatus for transmitting data
Technical field
This application involves the communications fields, and more particularly, to the method and apparatus of transmission data.
Background technique
In traditional storage system, user can be by carrying out between the client and storage server that are arranged in terminal Data transmission, terminal are stored the target data wait store to server to storage server by the corresponding access passage of terminal In or terminal by the corresponding access passage of terminal from storage server obtain terminal prepare downloading target data.
With the extensive use of storage system, user passes through the data of target data of the terminal storage into storage server Measure it is more and more, in order to improve the efficiency of transmission of data, in the prior art, usually using accelerate software mode, improve storage The efficiency of data is transmitted in system.
Mesh is downloaded however, storing target data to cloud storage service device or terminal from cloud storage service device in terminal During marking data, terminal can transmit the maximum bandwidth of data and cloud storage service device uploads target data to terminal Or the factors such as limitation of bandwidth of downloading target data, it can all limit transmission of the target data between terminal and storage server Speed, even if improving the speed for transmitting data in storage system, the transmission objectives data after raising by way of accelerating software Speed can not to be higher than terminal can be terminal upload target using the maximum bandwidth of transmission objectives data or cloud storage service device Data or the maximum bandwidth of downloading target data distribution.That is, by accelerating software to improve transmission objectives in storage system In the method for the efficiency of data, the speed for the transmission objectives data that can be improved is limited, so that limiting terminal and depositing Store up the efficiency of transmission objectives data between server.
Summary of the invention
The application provides a kind of method and apparatus for transmitting data, is conducive to raising and passes between terminal and storage server The efficiency of defeated target data.
In a first aspect, providing a kind of method for transmitting data, comprising: first terminal is obtained wait store to storage server First object data;The first terminal determines target terminal, and the target terminal has shared transfer resource, described shared Transfer resource can be used in the data that other terminals are transmitted between the target terminal and the storage server;Described first At least partly data in the first object data are sent to the target terminal by terminal, in the first object data At least partly data are deposited by the shared transmission resources for transmitting of the target terminal to described by the target terminal Store up server.
In the data transmission method of the embodiment of the present application, the shared transmission that first terminal can be provided by target terminal is provided At least partly data in first object data are stored to storage server, are avoided in the prior art by source, and first terminal is only At least partly data in first object data can be transmitted in storage server by the transfer resource of first terminal itself, Be conducive to improve the efficiency that first object data are transmitted between terminal and storage server.
For example, when first terminal is slower by the speed of the transmission resources for transmitting first object data of first terminal itself When, first terminal can by the shared transfer resource of target terminal by at least partly data in first object data store to Storage server is conducive to the transmission rate for improving first terminal transmission first object data.
Alternatively, when target terminal does not have the data to be passed for transporting to storage server or the to be passed of target terminal to transport to storage clothes Be engaged in device data data volume it is less when, first terminal can be by the shared transfer resource of target terminal by first object data In at least partly data store to storage server, be conducive to improve storage system in transmitted between terminal and storage server The utilization rate of resource.
On the other hand, first terminal can be by the shared transfer resource that target terminal provides to storage server storage the One target data, avoiding first terminal in the prior art can only be by the transmission between first terminal itself and storage server Resource stores first object data to storage server, is conducive to improve progress data biography between first terminal and storage server Defeated flexibility.
With reference to first aspect, in a kind of possible implementation of first aspect, target is determined in the first terminal Before terminal, the method also includes: the first terminal receives the first shared information that the storage server is sent, described First shared information is used to indicate the size of the shared transfer resource of each shared terminal recorded in the storage server, And/or the attribute information of the shared terminal, the attribute information of the shared terminal include the geographical location of the shared terminal Network operator belonging to information and/or the shared terminal;The first terminal determines target terminal, comprising: described first Terminal chooses the target terminal according to first shared information from the shared terminal.
In the embodiment of the present application, first terminal can automatically choose mesh according to the first shared information from shared terminal Terminal is marked, for the technical solution for choosing target terminal for first terminal by storage server, advantageously reduces storage The workload of server.
With reference to first aspect, in a kind of possible implementation of first aspect, target is determined in the first terminal Before terminal, the method also includes: the first terminal receives the second shared information that the storage server is sent, described Second shared information is used to indicate being total to for each shared terminal in at least partly shared terminal recorded in the storage server Enjoy the size of transfer resource;The first terminal determines target terminal, comprising: the first terminal is according to the described second shared letter Breath, chooses the target terminal from at least partly shared terminal recorded in the storage server.
In the embodiment of the present application, first terminal can cooperate with storage server, and mesh is chosen from shared terminal Terminal is marked, is conducive to improve the efficiency for choosing target terminal from shared terminal.
With reference to first aspect, in a kind of possible implementation of first aspect, the second shared information instruction At least partly shared terminal is the shared terminal for meeting at least one following qualifications, the second shared information instruction At least partly shared terminal geographical location it is adjacent with the geographical location of the first terminal, second shared information The geographical location of at least partly shared terminal indicated is identical as the geographical location of the first terminal, and described second is shared Network operator belonging at least partly shared terminal of information instruction and network operator belonging to the first terminal It is identical.
With reference to first aspect, in a kind of possible implementation of first aspect, the first terminal determines target end End, comprising: the first terminal receives the third shared information that the storage server is sent, and the third shared information is used for Indicate the target terminal;First terminal target terminal according to the third shared information.
In the embodiment of the present application, storage server can be first terminal according to third shared information from shared terminal Target terminal is chosen, is advantageously reduced during determining target terminal, the complexity of first terminal operation.
With reference to first aspect, in a kind of possible implementation of first aspect, the method also includes: described first Terminal sends the shared information of the first terminal to the storage server, and the shared information of the first terminal is used to indicate The size for the shared transfer resource that the first terminal has.
In the embodiment of the present application, by sending the size of the shared transfer resource of first terminal to storage server, with Judge whether first terminal can be used as the reference information of the target terminal of other terminals as storage server, is conducive to improve Efficiency when first object data is transmitted between terminal and storage server.
With reference to first aspect, in a kind of possible implementation of first aspect, the shared information of the first terminal It further include network operator belonging to the location information and/or the first terminal of the first terminal.
In the embodiment of the present application, pass through the location information and/or first terminal to storage server transmission first terminal Affiliated network operator to choose the reference information of target terminal as first terminal as storage server, or judges first Whether terminal can be used as the reference information of the target terminal of other terminals, pass through the shared of target terminal to improve first terminal Efficiency when at least partly data in resource transmission first object data.
With reference to first aspect, in a kind of possible implementation of first aspect, the first terminal is by the target At least partly data in data are sent to before the target terminal, the method also includes: the first terminal will be described Target data is divided into multiple data fragmentations;At least partly data in the target data are sent to institute by the first terminal State target terminal, comprising: at least partly data fragmentation in the multiple data fragmentation is transmitted to described by the first terminal Target terminal, at least partly data fragmentation in the multiple data fragmentation pass through the shared transmission money by the target terminal Source is transmitted to the storage server.
In the embodiment of the present application, first terminal is by being divided into data for at least partly data in first object data Fragment is transmitted in the form of data fragmentation by the shared transfer resource that target terminal provides to storage server, in order to deposit Server is stored up, data fragmentation can be merged according to the instruction information that fragment carries, obtain first object data.
With reference to first aspect, in a kind of possible implementation of first aspect, the first terminal is by the target Data are divided into multiple data fragmentations, comprising: the first terminal according to the size of the shared transfer resource of the target terminal, The target data is divided into multiple data fragmentations, at least partly each of data fragmentation in the multiple data fragmentation The shared transfer resource that data fragmentation is occupied in transmission is less than or equal to the shared transfer resource of the target terminal.
In the embodiment of the present application, first terminal can be according to the big of the shared transfer resource that each target terminal provides It is small, it determines the quantity of data fragmentation in the first object data of each terminal transmission in storage system, is conducive to improve first eventually End also advantageously improves first terminal by the resource utilization of the shared transmission resources for transmitting first object data of target terminal Transmit the efficiency of first object data.
With reference to first aspect, in a kind of possible implementation of first aspect, the first terminal is by described first Target data is divided into multiple data fragmentations, comprising: the first terminal is according to the shared transfer resource of the target terminal The first object data are divided into multiple data fragmentations by size, at least partly data in the multiple data fragmentation point The shared transfer resource that each data fragmentation in piece is occupied in transmission is less than or equal to the shared transmission of the target terminal Resource.
In the embodiment of the present application, the shared transfer resource that first terminal can be capable of providing according to target terminal it is big It is small, at least partly data in first object data are divided into the data fragmentation for carrying different data amount, are conducive to raising the At least partly efficiency of data in the shared transmission resources for transmitting first object data that one terminal is provided by target terminal.
Second aspect provides a kind of method for transmitting data, comprising: first terminal determine the first terminal prepare from Second target data of the storage server downloading;The first terminal determines that target terminal, the target terminal have altogether Transfer resource is enjoyed, the shared transfer resource can be used in transmitting other between the target terminal and the storage server The data of terminal;The first terminal sends instruction information to the target terminal, and the instruction information is used to indicate the mesh The shared transfer resource that terminal passes through the target terminal is marked, from the target storage space of the storage server described in acquisition At least partly data in second target data;The first terminal receives second number of targets that the target terminal is sent At least partly data in.
In the data transmission method of the embodiment of the present application, the shared transmission that first terminal can be provided by target terminal is provided Source avoids in the prior art from at least partly data downloaded in the second target data in storage server, and first terminal is only The second target data can be downloaded from storage server by the transfer resource of first terminal itself, be conducive to improve terminal and deposit The efficiency of the second target data is transmitted between storage server.
For example, when first terminal is slower by the speed of the transmission resources for transmitting first object data of first terminal itself When, first terminal can by the shared transfer resource of target terminal from downloaded in storage server in the second target data to Small part data are conducive to improve the transmission rate for transmitting the second target data between first terminal and storage server.
Alternatively, when target terminal does not have the data to be passed for transporting to storage server or the to be passed of target terminal to transport to storage clothes When the data volume of the data of business device is less, first terminal can be by the shared transfer resource of target terminal from storage server At least partly data in the second target data are downloaded, is conducive to improve and be transmitted between terminal and storage server in storage system The utilization rate of resource.
On the other hand, the shared transfer resource that first terminal can be provided by target terminal, under in storage server Carry at least partly data in the second target data, avoid in the prior art first terminal can only by first terminal itself with Transfer resource between storage server downloads the second target data from storage server, is conducive to improve first terminal and deposit The flexibility carried out data transmission between storage server.
In conjunction with second aspect, in a kind of possible implementation of second aspect, target is determined in the first terminal Before terminal, the method also includes: the first terminal receives the first shared information that the storage server is sent, described First shared information is used to indicate the size of the shared transfer resource of each shared terminal recorded in the storage server, And/or the attribute information of the shared terminal, the attribute information of the shared terminal include the geographical location of the shared terminal Network operator belonging to information and/or the shared terminal;The first terminal determines target terminal, comprising: described first Terminal chooses the target terminal according to first shared information from the shared terminal.
In the embodiment of the present application, first terminal can automatically choose mesh according to the first shared information from shared terminal Terminal is marked, for the technical solution for choosing target terminal for first terminal by storage server, advantageously reduces storage The workload of server.
In conjunction with second aspect, in a kind of possible implementation of second aspect, target is determined in the first terminal Before terminal, the method also includes: the first terminal receives the second shared information that the storage server is sent, described Second shared information is used to indicate being total to for each shared terminal in at least partly shared terminal recorded in the storage server Enjoy the size of transfer resource;The first terminal determines target terminal, comprising: the first terminal is according to the described second shared letter Breath determines the target terminal.
In the embodiment of the present application, first terminal can cooperate with storage server, and mesh is chosen from shared terminal Terminal is marked, is conducive to improve the efficiency for choosing target terminal from shared terminal.
In conjunction with second aspect, in a kind of possible implementation of second aspect, the second shared information instruction At least partly shared terminal is the shared terminal for meeting at least one following qualifications, the second shared information instruction At least partly shared terminal geographical location it is adjacent with the geographical location of the first terminal, second shared information The geographical location of at least partly shared terminal indicated is identical as the geographical location of the first terminal, and described second is shared Network operator belonging at least partly shared terminal of information instruction and network operator belonging to the first terminal It is identical.
In conjunction with second aspect, in a kind of possible implementation of second aspect, the first terminal determines target end End, comprising: the first terminal receives the third shared information that the storage server is sent, and the third shared information is used for Indicate the target terminal;The first terminal determines the target terminal according to the third shared information.
In the embodiment of the present application, storage server can be first terminal according to third shared information from shared terminal Target terminal is chosen, is advantageously reduced during choosing target terminal from shared terminal, the complexity of first terminal.
In conjunction with second aspect, in a kind of possible implementation of second aspect, the method also includes: described first Terminal sends the shared information of the first terminal to the storage server, and the shared information of the first terminal is used to indicate The size for the shared transfer resource that the first terminal has.
In the embodiment of the present application, by sending the size of the shared transfer resource of first terminal to storage server, with Judge whether first terminal can be used as the reference information of the target terminal of other terminals as storage server, is conducive to improve Efficiency when first object data is transmitted between terminal and storage server.
In conjunction with second aspect, in a kind of possible implementation of second aspect, the shared information of the first terminal It further include network operator belonging to the location information and/or the first terminal of the first terminal.
In the embodiment of the present application, pass through the location information and/or first terminal to storage server transmission first terminal Affiliated network operator to choose the reference information of target terminal as first terminal as storage server, or judges first Whether terminal can be used as the reference information of the target terminal of other terminals, pass through the shared of target terminal to improve first terminal Efficiency when at least partly data in resource transmission first object data.
The third aspect, provide it is a kind of transmit data method, comprising: target terminal receive first terminal send wait deposit At least partly data into the first object data of storage server are stored up, the target terminal has shared transfer resource, institute It states shared transfer resource and is taken for transmitting other terminals and the storage between the target terminal and the storage server It is engaged between device with the data transmitted;The target terminal passes through at least partly data described in the first object data The shared transmission resources for transmitting of the target terminal is to the storage server.
In the data transmission method of the embodiment of the present application, the shared transmission that first terminal can be provided by target terminal is provided At least partly data in first object data are stored to storage server, are avoided in the prior art by source, and first terminal is only At least partly data in first object data can be transmitted in storage server by the transfer resource of first terminal itself, Be conducive to improve the efficiency that first object data are transmitted between terminal and storage server.
For example, when first terminal is slower by the speed of the transmission resources for transmitting first object data of first terminal itself When, first terminal can by the shared transfer resource of target terminal by at least partly data in first object data store to Storage server is conducive to the transmission rate for improving first terminal transmission first object data.
Alternatively, when target terminal does not have the data to be passed for transporting to storage server or the to be passed of target terminal to transport to storage clothes Be engaged in device data data volume it is less when, first terminal can be by the shared transfer resource of target terminal by first object data In at least partly data store to storage server, be conducive to improve storage system in transmitted between terminal and storage server The utilization rate of resource.
On the other hand, first terminal can be by the shared transfer resource that target terminal provides to storage server storage the One target data, avoiding first terminal in the prior art can only be by the transmission between first terminal itself and storage server Resource stores first object data to storage server, is conducive to improve progress data biography between first terminal and storage server Defeated flexibility.
In conjunction with the third aspect, in a kind of possible implementation of the third aspect, first terminal is received in target terminal Send wait before storing at least partly data into the first object data of storage server, the method also includes institutes The shared information that target terminal sends the target terminal to the storage server is stated, the shared information of the target terminal is used In the size for the shared transfer resource that the instruction target terminal has.
It should be noted that the shared information of above-mentioned target terminal can be sent from target terminal to storage server, It can also be that the shared information for each target terminal that storage server prestores, the embodiment of the present application are not construed as limiting this.
In conjunction with the third aspect, in a kind of possible implementation of the third aspect, the first object data are by multiple Data fragmentation forms, and at least partly data in the first object data are by forming the multiple of the first object data At least partly data fragmentation in data fragmentation forms, and each data fragmentation in at least partly data fragmentation is in transmission The shared transfer resource occupied is less than or equal to the shared transfer resource of the target terminal.
In the embodiment of the present application, target terminal is occupied when transmitting each data fragmentation at least partly data fragmentation Shared transfer resource be less than or equal to the target terminal shared transfer resource, be conducive to improve target terminal in storage take The efficiency of transmission of first object data is transmitted between business device.
Fourth aspect provides a kind of method for transmitting data, comprising: target terminal receives the instruction that first terminal is sent Information, the instruction information are used to indicate the shared transfer resource that the target terminal passes through the target terminal, deposit from described At least partly data obtained in the second target data in the target storage space of server are stored up, the shared transfer resource is used for The number with transmission between other terminals and the storage server is transmitted between the target terminal and the storage server According to second target data is that the first terminal prepares the data downloaded from the storage server;The target terminal According to the instruction information from being obtained in the target storage space of the storage server in second target data at least Partial data;The target terminal sends at least partly data in second target data to the first terminal.
In the data transmission method of the embodiment of the present application, the shared transmission that first terminal can be provided by target terminal is provided Source avoids in the prior art from at least partly data downloaded in the second target data in storage server, and first terminal is only The second target data can be downloaded from storage server by the transfer resource of first terminal itself, be conducive to improve terminal and deposit The efficiency of the second target data is transmitted between storage server.
For example, when first terminal is slower by the speed of the transmission resources for transmitting first object data of first terminal itself When, first terminal can by the shared transfer resource of target terminal from downloaded in storage server in the second target data to Small part data are conducive to improve the transmission rate for transmitting the second target data between first terminal and storage server.
Alternatively, when target terminal does not have the data to be passed for transporting to storage server or the to be passed of target terminal to transport to storage clothes When the data volume of the data of business device is less, first terminal can be by the shared transfer resource of target terminal from storage server At least partly data in the second target data are downloaded, is conducive to improve and be transmitted between terminal and storage server in storage system The utilization rate of resource.
On the other hand, the shared transfer resource that first terminal can be provided by target terminal, under in storage server Carry at least partly data in the second target data, avoid in the prior art first terminal can only by first terminal itself with Transfer resource between storage server downloads the second target data from storage server, is conducive to improve first terminal and deposit The flexibility carried out data transmission between storage server.
In conjunction with fourth aspect, in a kind of possible implementation of fourth aspect, the instruction information includes described The index of at least partly data in two target datas, the target terminal is according to the instruction information from the storage server Target storage space in obtain at least partly data in second target data, comprising: the target terminal is according to institute The index for stating at least partly data in the second target data determines that the target storage of the storage at least partly data is empty Between;The target terminal is from at least portion obtained in second target data in the target storage space of the storage server Divided data.
5th aspect provides a kind of method for transmitting data, comprising: storage server receives target terminal described in At least partly data in the first object data of the shared transmission resources for transmitting of target terminal, the shared transfer resource can For transmitting the data of other terminals between the target terminal and the storage server, the first object data are the One terminal waits storing to the data of the storage server;The storage server is by at least portion in the first object data Divided data is stored in the target storage space of the data for storing the first terminal.
In the data transmission method of the embodiment of the present application, the shared transmission that first terminal can be provided by target terminal is provided At least partly data in first object data are stored to storage server, are avoided in the prior art by source, and first terminal is only At least partly data in first object data can be transmitted in storage server by the transfer resource of first terminal itself, Be conducive to improve the efficiency that first object data are transmitted between terminal and storage server.
For example, when first terminal is slower by the speed of the transmission resources for transmitting first object data of first terminal itself When, first terminal can by the shared transfer resource of target terminal by at least partly data in first object data store to Storage server is conducive to the transmission rate for improving first terminal transmission first object data.
Alternatively, when target terminal does not have the data to be passed for transporting to storage server or the to be passed of target terminal to transport to storage clothes Be engaged in device data data volume it is less when, first terminal can be by the shared transfer resource of target terminal by first object data In at least partly data store to storage server, be conducive to improve storage system in transmitted between terminal and storage server The utilization rate of resource.
On the other hand, first terminal can be by the shared transfer resource that target terminal provides to storage server storage the One target data, avoiding first terminal in the prior art can only be by the transmission between first terminal itself and storage server Resource stores first object data to storage server, is conducive to improve progress data biography between first terminal and storage server Defeated flexibility.
In conjunction with the 5th aspect, in a kind of possible implementation of the 5th aspect, mesh is received in the storage server Before at least partly data in first object data that mark terminal passes through the shared transmission resources for transmitting of the target terminal, institute State method further include: the storage server sends the first shared information to first terminal, and first shared information is for referring to Show the shared transfer resource of each shared terminal recorded in the storage server size and/or the shared terminal Attribute information, the attribute information of the shared terminal include the shared terminal geographical location information and/or the shared end Network operator belonging to end;The storage server receives the first confirmation message that the first terminal is sent, and described first Confirmation message is used to indicate the target that the first terminal is chosen from the shared terminal recorded in the storage server Terminal.
In the embodiment of the present application, first terminal can automatically choose mesh according to the first shared information from shared terminal Terminal is marked, for the technical solution for choosing target terminal for first terminal by storage server, advantageously reduces storage The workload of server.
In conjunction with the 5th aspect, in a kind of possible implementation of the 5th aspect, mesh is received in the storage server Before at least partly data in first object data that mark terminal passes through the shared transmission resources for transmitting of the target terminal, institute State method further include: the storage server sends the second shared information to the first terminal, and second shared information is used The shared transfer resource of each shared terminal is big in at least partly shared terminal for indicating to record in the storage server It is small;The storage server receives the second confirmation message that the first terminal is sent, and second confirmation message is used to indicate The first terminal is selected from at least partly shared terminal recorded in the storage server according to second shared information The target terminal taken.
In the embodiment of the present application, first terminal can cooperate with storage server, and mesh is chosen from shared terminal Terminal is marked, is conducive to improve the efficiency for choosing target terminal from shared terminal.
In conjunction with the 5th aspect, in a kind of possible implementation of the 5th aspect, in the storage server to described Before first terminal sends the second shared information, the method also includes: the storage server receives the shared terminal hair Operator described in the location information and/or the shared terminal of the shared terminal sent;The storage server is from described At least partly shared terminal of the second shared information instruction is chosen in the shared terminal of storage server record, it is described At least partly shared terminal of second shared information instruction is the shared terminal for meeting at least one following qualifications, institute State geographical location and the geographical location phase of the first terminal of at least partly shared terminal of the second shared information instruction Neighbour, the geographical location of at least partly shared terminal of the second shared information instruction and the geographical position of the first terminal Set identical, network operator belonging at least partly shared terminal of the second shared information instruction and first end Network operator belonging to end is identical.
In conjunction with the 5th aspect, in a kind of possible implementation of the 5th aspect, mesh is received in the storage server Before at least partly data in first object data that mark terminal passes through the shared transmission resources for transmitting of the target terminal, institute State method further include: the storage server chooses the target terminal from the shared terminal that the storage server records;
The storage server sends the third shared information to the first terminal, and the third shared information is used for Indicate the target terminal.
In the embodiment of the present application, storage server can be first terminal according to third shared information from shared terminal Target terminal is chosen, is advantageously reduced during choosing target terminal from shared terminal, the complexity of first terminal.
In conjunction with the 5th aspect, in a kind of possible implementation of the 5th aspect, the storage server is deposited from described The target terminal is chosen in the shared terminal of storage server record, comprising: the storage server is according to the shared terminal The size of shared transfer resource and/or the attribute information of the shared terminal determine the target terminal, the shared terminal Attribute information include network operator belonging to the location information and/or the shared terminal of the shared terminal.
In the embodiment of the present application, storage server can according to the size of the shared transfer resource of shared terminal and/or The attribute information of shared terminal determines target terminal, is conducive to transmit the first number of first object data decimation satisfaction for first terminal According to the target terminal of transmission demand.
In conjunction with the 5th aspect, in a kind of possible implementation of the 5th aspect, the target terminal belongs to described deposit The shared terminal for storing up server record, the method also includes: the storage server receives the described total of shared terminal transmission Enjoy the shared transfer resource that terminal has;The storage server records the shared terminal and the shared terminal has Shared transfer resource.
In the embodiment of the present application, the shared of the offer of shared terminal and shared terminal is provided by storage server Transfer resource can be used as the reference that target terminal is determined from shared terminal, be conducive to transmit first object for first terminal Data decimation meets the target terminal of first object data transfer demands.
In conjunction with the 5th aspect, in a kind of possible implementation of the 5th aspect, the method also includes: the storage Server receives network operator belonging to the location information and/or the shared terminal of the shared terminal;The storage clothes Business device records network operator belonging to the location information and/or the shared terminal of the shared terminal.
In the embodiment of the present application, the location information of shared terminal and shared terminal is recorded by storage server, And/or network operator belonging to shared terminal, can be used as from shared terminal determine target terminal reference, be conducive to for First terminal transmission first object data decimation meets the target terminal of first data transmission demand.
In conjunction with the 5th aspect, in a kind of possible implementation of the 5th aspect, the target terminal belongs to described deposit The shared terminal for storing up server record, the method also includes: the storage server receives the described total of shared terminal transmission Enjoy the location information of terminal, operator belonging to the shared terminal, the shared transfer resource that the shared terminal has it is big It is small;The storage server records the shared terminal, the location information of the shared terminal, fortune belonging to the shared terminal The size for the shared transfer resource that battalion quotient and the shared terminal have.
In conjunction with the 5th aspect, in a kind of possible implementation of the 5th aspect, the first object data include the A part of data and second part data, the method also includes: the storage server receives the first terminal transmission First data fragmentation includes first part's data in the first object data in first data fragmentation;The storage Server receives at least portion in the first object data that target terminal passes through the shared transmission resources for transmitting of the target terminal Divided data, comprising: the storage server receives shared transmission resources for transmitting of the target terminal by the target terminal The second data fragmentation, the second part data in the first object data are included in second data fragmentation;It is described to deposit At least partly data in the first object data are stored in the data for being used to store the first terminal by storage server In target storage space, comprising: the storage server closes first data fragmentation and second data fragmentation And the data after being merged, the data after the merging include the first object data;The storage server will be described First object data are stored in the target storage space.
6th aspect provides a kind of method for transmitting data, comprising: storage server determines first terminal from the storage Server prepares at least partly data in the second target data of downloading;The storage server passes through the shared of target terminal At least partly data in second target data are transmitted to the first terminal, the shared transfer resource by transfer resource It can be used in the data that other terminals are transmitted between the target terminal and the storage server, the target terminal is used for The shared transfer resource by the target terminal is that the first terminal prepares to download from storage server downloading Target data at least partly data.
In the data transmission method of the embodiment of the present application, the shared transmission that first terminal can be provided by target terminal is provided Source avoids in the prior art from at least partly data downloaded in the second target data in storage server, and first terminal is only The second target data can be downloaded from storage server by the transfer resource of first terminal itself, be conducive to improve terminal and deposit The efficiency of the second target data is transmitted between storage server.
For example, when first terminal is slower by the speed of the transmission resources for transmitting first object data of first terminal itself When, first terminal can by the shared transfer resource of target terminal from downloaded in storage server in the second target data to Small part data are conducive to improve the transmission rate for transmitting the second target data between first terminal and storage server.
Alternatively, when target terminal does not have the data to be passed for transporting to storage server or the to be passed of target terminal to transport to storage clothes When the data volume of the data of business device is less, first terminal can be by the shared transfer resource of target terminal from storage server At least partly data in the second target data are downloaded, is conducive to improve and be transmitted between terminal and storage server in storage system The utilization rate of resource.
On the other hand, the shared transfer resource that first terminal can be provided by target terminal, under in storage server Carry at least partly data in the second target data, avoid in the prior art first terminal can only by first terminal itself with Transfer resource between storage server downloads the second target data from storage server, is conducive to improve first terminal and deposit The flexibility carried out data transmission between storage server.
In conjunction with the 6th aspect, in a kind of possible implementation of the 6th aspect, the method also includes: the storage Server sends the first shared information to the first terminal, and first shared information is used to indicate in the storage server The size of the shared transfer resource of each shared terminal of record and/or the attribute information of the shared terminal, the shared end The attribute information at end includes network operator belonging to the geographical location information and/or the shared terminal of the shared terminal; The storage server receives the first confirmation message that the first terminal is sent, and first confirmation message is used to indicate described The target terminal that first terminal is chosen from the shared terminal that the storage server records.
In the embodiment of the present application, first terminal can automatically choose mesh according to the first shared information from shared terminal Terminal is marked, for the technical solution for choosing target terminal for first terminal by storage server, advantageously reduces storage The workload of server.
In conjunction with the 6th aspect, in a kind of possible implementation of the 6th aspect, pass through the in the storage server At least partly data in second target data are transmitted to the first terminal by the shared transfer resource of two target terminals Before, the method also includes: the storage servers sends the second shared information to the first terminal, and described second is shared Information is used to indicate the shared transmission money of each shared terminal in at least partly shared terminal recorded in the storage server The size in source;The storage server receives the second confirmation message that the first terminal is sent, and second confirmation message is used It is at least partly shared eventually in the instruction first terminal according to what second shared information was recorded from the storage server The target terminal chosen in end.
In the embodiment of the present application, first terminal can cooperate with storage server, and mesh is chosen from shared terminal Terminal is marked, is conducive to improve the efficiency for choosing target terminal from shared terminal.
In conjunction with the 6th aspect, in a kind of possible implementation of the 6th aspect, pass through the in the storage server At least partly data in second target data are transmitted to the first terminal by the shared transfer resource of two target terminals Before, the method also includes: the storage server chooses described from the shared terminal that the storage server records At least partly shared terminal of two shared informations instruction, the described of the second shared information instruction are at least partly shared eventually End is the shared terminal for meeting at least one following qualifications, and the described of the second shared information instruction is at least partly shared The geographical location of terminal is adjacent with the geographical location of the first terminal, second shared information instruction it is described at least partly The geographical location of shared terminal is identical as the geographical location of the first terminal, second shared information instruction it is described at least Network operator belonging to partial sharing terminal is identical as network operator belonging to the first terminal.
In conjunction with the 6th aspect, in a kind of possible implementation of the 6th aspect, mesh is received in the storage server Before at least partly data in first object data that mark terminal passes through the shared transmission resources for transmitting of the target terminal, institute State method further include: the storage server chooses the target terminal from the shared terminal that the storage server records; The storage server sends the third shared information to the first terminal, and the third shared information is used to indicate described Target terminal.
In the embodiment of the present application, storage server can be first terminal according to third shared information from shared terminal Target terminal is chosen, is advantageously reduced during choosing target terminal from shared terminal, the complexity of first terminal.
In conjunction with the 6th aspect, in a kind of possible implementation of the 6th aspect, the storage server is deposited from described The target terminal is chosen in the shared terminal of storage server record, comprising: the storage server is according to the shared terminal The size of shared transfer resource and/or the attribute information of the shared terminal determine the target terminal, the shared terminal Attribute information include network operator belonging to the location information and/or the shared terminal of the shared terminal.
In the embodiment of the present application, storage server can according to the size of the shared transfer resource of shared terminal and/or The attribute information of shared terminal determines target terminal, is conducive to transmit the second target data for first terminal and choose to meet the second mesh Mark the target terminal of data transfer demands.
In conjunction with the 6th aspect, in a kind of possible implementation of the 6th aspect, the target terminal belongs to described deposit The shared terminal for storing up server record, in the storage server by the shared transfer resource of the second target terminal by described the At least partly data in two target datas are transmitted to before the first terminal, the method also includes: the storage service Device receives the shared transfer resource that the shared terminal that the shared terminal is sent has;Described in the storage server record The shared transfer resource that shared terminal and the shared terminal have.
In the embodiment of the present application, the shared of the offer of shared terminal and shared terminal is provided by storage server Transfer resource can be used as the reference that target terminal is determined from shared terminal, be conducive to transmit the second target for first terminal Data decimation meets the target terminal of the second target data transmission demand.
In conjunction with the 6th aspect, in a kind of possible implementation of the 6th aspect, the method also includes: the storage Server receives network operator belonging to the location information and/or the shared terminal of the shared terminal;The storage clothes Business device records network operator belonging to the location information and/or the shared terminal of the shared terminal.
In the embodiment of the present application, the location information of shared terminal and shared terminal is recorded by storage server, And/or network operator belonging to shared terminal, can be used as from shared terminal determine target terminal reference, be conducive to for First terminal, which transmits the second target data, chooses the target terminal for meeting first data transmission demand.
In conjunction with the 6th aspect, in a kind of possible implementation of the 6th aspect, the storage server determines first Terminal prepares at least partly data in the second target data downloaded from the storage server, comprising: the storage service Device receives the index for the data fragmentation that the target terminal is sent, the data fragmentation include in second target data extremely Small part data;The storage server obtains the data from the target storage space of the index instruction of the data fragmentation Fragment;The storage server will be at least partly several in the target data by the shared transfer resource of the target terminal According to being transmitted to the first terminal, comprising: the storage server sends the target terminal to the target terminal and requested Data fragmentation, in order to which the data fragmentation is sent to the first terminal by the target terminal, the target terminal is asked The data stored in the target storage space of the index instruction for the data fragmentation that the data fragmentation asked sends for the target terminal Fragment.
7th aspect, provides a kind of device for transmitting data, and described device has the method for realizing above-mentioned first aspect The function and/or described device of device in design have the function of realizing the device in the method design of above-mentioned second aspect. These functions can also execute corresponding software realization by hardware realization by hardware.The hardware or software include One or more units corresponding with above-mentioned function.
Eighth aspect, provides a kind of device for transmitting data, and the terminal has the method for realizing the above-mentioned third aspect The function and/or described device of device in design have the function of realizing the device in the method design of above-mentioned fourth aspect. These functions can also execute corresponding software realization by hardware realization by hardware.The hardware or software include One or more units corresponding with above-mentioned function.
9th aspect, provides a kind of device for transmitting data, and the terminal has the method for realizing above-mentioned 5th aspect The function and/or described device of device in design have the function of realizing the device in the method design of above-mentioned 6th aspect. These functions can also execute corresponding software realization by hardware realization by hardware.The hardware or software include One or more units corresponding with above-mentioned function.
Tenth aspect, provides a kind of terminal, including transceiver, processor and memory.The processor is received for controlling Device receiving and transmitting signal is sent out, the memory is for storing computer program, and the processor in memory by from calling and run based on this Calculation machine program, so that the terminal executes the method in above-mentioned first aspect and/or second aspect.
On the one hand tenth, provides a kind of terminal, including transceiver, processor and memory.The processor is for controlling Transceiver receiving and transmitting signal, the memory is for storing computer program, and the processor from memory for calling and running this Computer program, so that the terminal executes the method in the above-mentioned third aspect and/or fourth aspect.
12nd aspect, provides a kind of storage server, including transceiver, processor and memory.The processor is used In control transceiver receiving and transmitting signal, the memory is for storing computer program, and the processor from memory for calling simultaneously The computer program is run, so that the storage server executes the method in above-mentioned 5th aspect and/or the 6th aspect.
13rd aspect, provides a kind of computer program product, the computer program product includes: computer program Code, when the computer program code is run on computers, so that computer executes the method in above-mentioned various aspects.
Fourteenth aspect provides a kind of computer-readable medium, and the computer-readable medium storage has program code, When the computer program code is run on computers, so that computer executes the method in above-mentioned various aspects.
15th aspect, provides a kind of chip system, which includes processor, realizes above-mentioned side for terminal Function involved in face receives for example, generating, and sends, or data and/or information involved in the processing above method.? In a kind of possible design, the chip system further includes memory, the memory, is referred to for saving the necessary program of terminal Order and data.The chip system, can be made of chip, also may include chip and other discrete devices.
16th aspect, provides a kind of chip system, which includes processor, realizes for storage server Function involved in above-mentioned aspect, for example, generate, receive, send, or processing the above method involved in data and/or Information.In a kind of possible design, the chip system further includes memory, the memory, for saving the network equipment Necessary program instruction and data.The chip system, can be made of chip, also may include chip and other discrete devices.
Detailed description of the invention
Fig. 1 is the schematic block diagram of the framework of the cloud storage system of the embodiment of the present application.
Fig. 2 is the schematic flow chart of the method for the data transmission of the embodiment of the present application.
Fig. 3 is the schematic flow chart of the method for the data transmission of the embodiment of the present application.
Fig. 4 is the schematic flow chart of the method for the data transmission of the embodiment of the present application.
Fig. 5 is the schematic flow chart of the method for the data transmission of the embodiment of the present application.
Fig. 6 is the schematic block diagram of the device of the transmission data of the embodiment of the present application.
Fig. 7 is the schematic block diagram of the device of the transmission data of the embodiment of the present application.
Fig. 8 is the schematic block diagram of the first terminal of another embodiment of the application.
Fig. 9 is the schematic block diagram of the device of the transmission data of the embodiment of the present application.
Figure 10 is the schematic block diagram of the device of the transmission data of the embodiment of the present application.
Figure 11 is the schematic block diagram of the target terminal of another embodiment of the application.
Figure 12 is the schematic block diagram of the device of the transmission data of the embodiment of the present application.
Figure 13 is the schematic block diagram of the device of the transmission data of the embodiment of the present application.
Figure 14 is the schematic block diagram of the storage server of another embodiment of the application.
Specific embodiment
Below in conjunction with attached drawing, the technical solution in the application is described.
In order to make it easy to understand, simply introducing the embodiment of the present application in conjunction with Fig. 1 can so that storage system is cloud storage system as an example With the framework of the storage system of application.
Fig. 1 is the schematic block diagram of the framework of the cloud storage system of the embodiment of the present application.Cloud storage system frame shown in FIG. 1 Structure 100 includes cloud storage service device 110 and at least one terminal 120.
Cloud storage service device 110 provides storage service to terminal and access services.Including at least one control node and more A memory node, control node are used to control memory node, such as the capacity or responsible storage section of monitoring memory node The load balancing of point;Memory node is for providing memory space, for example, can store the mesh that terminal is uploaded to cloud storage service device Mark data.
Terminal 120, user can visit the memory space of cloud storage service device by the client being arranged in terminal It asks.
It should be understood that above-mentioned terminal can include but is not limited to calculate equipment, mobile station (Mobile Station, MS), move Dynamic terminal (Mobile Terminal), mobile phone (Mobile Telephone), user equipment (User Equipment, UE), mobile phone (handset) and portable equipment (portable equipment) etc..
In cloud storage system shown in Fig. 1, each terminal is only capable of taking by the access passage and cloud storage of terminal itself The transmission for device progress target data of being engaged in, the transmission mode of this target data is inflexible, and this inflexible transmission side Formula is unfavorable for improving the utilization rate of transfer resource between terminal and cloud storage service device in cloud storage system, while being also unfavorable for mentioning In high cloud storage system between terminal and cloud storage service device transmission objectives data transmission rate.
For example, when the rate of the access passage transmission objectives data between first terminal and cloud storage service device is slower, but Access passage between other terminals and cloud storage service device is in Idle state, i.e., between other terminals and cloud storage service device Access passage on when there is no target data to need to transmit, first terminal target data to be transmitted can only also pass through first terminal Access passage between cloud storage service device is transmitted, and each terminal and cloud storage service device in cloud storage system are unfavorable for Between effective use.
In another example store target data to cloud storage service device in terminal in cloud storage system shown in Fig. 1, or During person's terminal downloads target data from cloud storage service device, has following two aspects reason limiting terminal and cloud storage and take The transmission speed of data is transmitted between business device.
One, terminal can transmit the maximum bandwidth of data, that is to say, that terminal is carrying out data biography with cloud storage service device In defeated process, the maximum belt of the flank speed of terminal transmission data not above the transmission data that terminal itself is capable of providing It is wide.
Two, limitation of the cloud storage service device to the bandwidth of terminal upload data or downloading data, i.e. terminal take from cloud storage It is engaged in device during downloading data, the rate of data is transmitted between terminal and cloud storage service device not above cloud storage service Device limits the bandwidth of terminal downloads data, and during terminal uploads data to cloud storage service device, terminal and cloud storage are taken It is engaged in transmitting bandwidth limitation of the rate of data not above cloud storage service device to terminal upload data between device.
In the reason of limiting the transmission rate of data in terms of above-mentioned two as can be seen that no matter using Data cache technology, Data compression or transmission control protocol (Transmission Control Protocol, TCP) optimization and optimizing application etc. are more Kind wide area network (Wide Area Network, WAN) acceleration technique is transmitted the data between terminal and cloud storage service device and is carried out Accelerate, when transmission objectives data between terminal and storage server, the transmission speed of target data is impossible to be higher than terminal The limitation of the maximum bandwidth or cloud storage service device of data to the bandwidth of terminal upload data or downloading data can be transmitted.
To solve the above-mentioned problems, the embodiment of the present application proposes a kind of method and apparatus of data transmission, to improve end The flexibility of data is transmitted between end and storage server, and further, can be improved in storage system to a certain extent The utilization rate of transfer resource between each terminal and storage server, or can be improved in cloud storage system to a certain extent The transmission rate of transmission objectives data between terminal and cloud storage service device.
Below based on cloud storage system shown in FIG. 1, target is stored to storage server respectively in connection with terminal shown in Fig. 2 The embodiment of the present application is described in detail from the process of storage server downloading target data in the process of data and terminal shown in Fig. 3 Data transmission method.
It should be noted that when the method for the embodiment of the present application is described below, first terminal is waited for for the ease of distinguishing It stores to the target data of storage server and is known as " first object data ", first terminal preparation is downloaded from storage server Target data is known as " the second target data ".
Fig. 2 is the schematic flow chart of the method for the data transmission of the embodiment of the present application.It should be noted that shown in Fig. 2 Method in storage server can be the cloud storage service device in cloud storage system shown in FIG. 1, in method shown in Fig. 2 First terminal can be any one terminal in cloud storage system shown in FIG. 1, hereafter with first terminal shown in Fig. 1 For be illustrated.Method shown in Fig. 2 includes step 210 to step 240.
210, first terminal is obtained wait store to the first object data of storage server.
220, the first terminal determines that target terminal, the target terminal have shared transfer resource, the shared biography Defeated resource can be used in the data that other terminals are transmitted between the target terminal and the storage server.
Specifically, other above-mentioned terminals can be in the terminal communicated with storage server except the shared transfer resource of offer Other terminals except terminal.
Above-mentioned shared transfer resource can refer to the maximum bandwidth for being used for transmission data that target terminal is capable of providing.
Optionally, above-mentioned first terminal determines target terminal, may include: the first terminal and the storage server Target terminal is chosen in communication from the shared terminal with shared transfer resource that the storage server records, described shared Transfer resource can be used in the data that other terminals are transmitted between the shared terminal and the storage server.
Specifically, other above-mentioned terminals can be other in the terminal communicated with storage server in addition to shared terminal Terminal.
The above-mentioned target terminal chosen from shared terminal can refer to can provide shared transfer resource for first terminal Shared terminal, that is to say, that the shared resource that the first object data of first terminal can be provided by target terminal transmits money It is transmitted in source.
The shared transfer resource that above-mentioned shared terminal is capable of providing can refer to that shared terminal was capable of providing is used for transmission number According to maximum bandwidth.
It should be understood that the shared terminal of above-mentioned storage server record can refer to that at least one that storage server records is shared Terminal, that is to say, that above-mentioned shared terminal can be multiple terminals and be also possible to a terminal, and the embodiment of the present application does not make this It is specific to limit.
It should also be understood that above-mentioned shared terminal refers to the shared terminal with shared transfer resource, it may include first terminal Itself;The above-mentioned target terminal chosen from shared terminal can not include first terminal itself.
It should also be understood that above-mentioned target terminal can be whole shared terminals of storage server record, above-mentioned target terminal It can also be the partial sharing terminal of storage server record.
Optionally, the process of the above-mentioned selection target terminal from shared terminal can have following three kinds of implementations.
Mode one, first terminal choose target terminal from principal and subordinate's shared terminal.
That is, step 220 includes: that the first terminal receives the storage server is sent first shared letter Breath, first shared information are used to indicate the shared transfer resource of each shared terminal recorded in the storage server The attribute information of size and/or the shared terminal, the attribute information of the shared terminal include the geography of the shared terminal Network operator belonging to location information and/or the shared terminal;The first terminal according to first shared information from The target terminal is chosen in the shared terminal.
It should be noted that above-mentioned first terminal chooses target terminal, base according to the first shared information from shared terminal It is different in the content of the middle carrying of the first shared information, it can there are many modes of selection target terminal.
For example, carrying the ground of shared transfer resource and shared terminal that shared terminal is capable of providing in the first shared information When managing location information, first terminal can preferentially choose the larger shared transfer resource being capable of providing based on the first shared information Shared terminal, then geographical location and first terminal are chosen from the shared terminal of the above-mentioned larger shared transfer resource being capable of providing Geographical location it is adjacent or the identical shared terminal in position is as target terminal.
Alternatively, first terminal can preferentially choose the geographical location of geographical location and first terminal based on the first shared information Adjacent shared terminal, then select to mention from the shared terminal adjacent with the geographical location of first terminal of above-mentioned geographical location The shared terminal of the larger shared transfer resource supplied is as target terminal.
In another example carrying the shared transfer resource and shared terminal institute that shared terminal is capable of providing in the first shared information When the network operator of category, first terminal can preferentially choose the larger shared transmission money being capable of providing based on the first shared information The shared terminal in source, then operator and first is chosen eventually from the shared terminal of the above-mentioned larger shared transfer resource being capable of providing Hold the identical shared terminal of belonging network operator as target terminal.
Alternatively, first terminal can preferentially choose net belonging to network operator and first terminal based on the first shared information The identical shared terminal of network operator, then selected from above-mentioned shared terminal identical with network operator belonging to first terminal The shared terminal for the larger shared transfer resource being capable of providing is as target terminal.
In another example the ground of the shared transfer resource that carrying shared terminal is capable of providing in the first shared information, shared terminal When managing network operator belonging to location information and shared terminal, first terminal can preferentially be chosen based on the first shared information The shared terminal for the larger shared transfer resource being capable of providing, then sharing from the above-mentioned larger shared transfer resource being capable of providing It is identical as first terminal belonging network operator that operator is chosen in terminal, and the geographical location phase in geographical location and first terminal Adjacent shared terminal is as target terminal.
That is, first terminal can the geographical location based on shared terminal it is adjacent with the geographical location of first terminal, Network operator belonging to network operator belonging to shared terminal and first terminal and shared terminal are capable of providing shared The principle that transfer resource is the bigger the better chooses target terminal, combination side of the embodiment of the present application to mentioned above principle from shared terminal Formula is not specifically limited, while also not limiting the priority of mentioned above principle.
Optionally, first terminal sends the first confirmation message to storage server, and first confirmation message is used to indicate The target terminal that the first terminal is chosen from the shared terminal that the storage server records.
Specifically, the address that may include target terminal in above-mentioned instruction information or target terminal are within the storage system Mark.
In the embodiment of the present application, first terminal can automatically choose mesh according to the first shared information from shared terminal Terminal is marked, for the technical solution for choosing target terminal for first terminal by storage server, advantageously reduces storage The workload of server.
Target terminal is chosen in mode two, storage server and first terminal collaborative work from shared terminal.
That is, step 220 includes: that the first terminal receives the storage server is sent second shared letter Breath, second shared information, which is used to indicate in at least partly shared terminal recorded in the storage server, each to be shared eventually The size of the shared transfer resource at end;The first terminal determines target terminal, comprising: the first terminal is according to described second Shared information chooses the target terminal from at least partly shared terminal recorded in the storage server.
Specifically, the shared terminal of above-mentioned second shared information instruction is understood that as being total to from record by storage server Enjoy garbled shared terminal in terminal, for example, second shared information instruction shared terminal geographical location with it is described The geographical location of first terminal is adjacent and/or the shared terminal of second shared information instruction belonging to network operator with Network operator belonging to the first terminal is identical.
It should be noted that in mode two, storage server can also indicate to be capable of providing to first terminal equipment compared with The shared terminal of big shared transfer resource, and the second shared information is sent to first terminal, it is carried in the second shared information The geographical location for being capable of providing the shared terminal of larger shared transfer resource and/or affiliated network operator are stated, so as to first Terminal chooses target terminal from the shared terminal that the second shared information indicates according to the second shared information.
It should be understood that above-mentioned first terminal and storage server cooperate chooses the mode of target terminal from shared terminal It can also be combined based on the principle in mode one, for example, storage server can be whole to first by the second shared information The end instruction geographical location shared terminal adjacent with the geographical location of first terminal, first terminal refer to further according to the second shared information The size of network operator belonging to the shared terminal shown and the shared transfer resource being capable of providing, refers to from the second shared information Selection target terminal in the shared terminal shown, the embodiment of the present application are based on above-mentioned former collaboration work to first terminal and storage server When making, the specifically used mode of mentioned above principle is without limitation.
Optionally, first terminal sends the second confirmation message to storage server, and second confirmation message is used to indicate The first terminal is selected from at least partly shared terminal recorded in the storage server according to second shared information The target terminal taken.
Specifically, the address that may include target terminal in above-mentioned instruction information or target terminal are within the storage system Mark.
In the embodiment of the present application, first terminal can cooperate with storage server, and mesh is chosen from shared terminal Terminal is marked, is conducive to improve the efficiency for choosing target terminal from shared terminal.
Mode three, storage server are that first terminal chooses target terminal from shared terminal.
That is, step 220 further include: the first terminal receives the shared letter of third that the storage server is sent Breath, the third shared information are used to indicate the target terminal;The first terminal is determined according to the third shared information The target terminal.
Specifically, storage server can be according to the size for the shared transfer resource that the shared terminal of storage is capable of providing And/or the attribute information of shared terminal, target terminal is chosen out of storage server records shared terminal for first terminal.
The attribute information of above-mentioned shared terminal may include belonging to the geographical location information and/or shared terminal of shared terminal Network operator.
It should be understood that storage server from shared terminal selection target terminal based on principle and each principle it is specific It combines, the priority between each principle may refer to the description in method one, for sake of simplicity, details are not described herein.
In the embodiment of the present application, storage server can be that first terminal is chosen from shared terminal according to shared information Target terminal advantageously reduces during choosing target terminal from shared terminal, the complexity of first terminal.
230, at least partly data in the first object data are sent to the target terminal by the first terminal, The shared transmission that at least partly data in the first object data pass through the target terminal by the target terminal Resource transmission is to the storage server.
Correspondingly, it is described from the angle of storage server, step 230 is it is to be understood that the storage server receives In the first object data that the target terminal passes through the shared transmission resources for transmitting of the target terminal at least partly Data.
It is described from the angle of target terminal, step 230 is it is to be understood that the target terminal receives first terminal transmission Wait store at least partly data into the first object data of the storage server;The target terminal is by described first At least partly data in target data pass through the shared transmission resources for transmitting of the target terminal to the storage service Device.
Specifically, above-mentioned first terminal will be in the first object data by the shared transfer resource of the target terminal At least partly data be transmitted to the storage server, it can be understood as, first terminal by first object data at least Partial data is all sent to target terminal, and is transferred in storage server by the shared resource that target terminal provides.
It should be noted that whole first object data can be all sent to target terminal by above-mentioned first terminal, with The shared transmission resources for transmitting provided by target terminal is to storage server.Or first terminal can be by a part of first mesh Mark data are sent to target terminal, and first object data are transmitted to storage with the shared transfer resource provided by target terminal Server, another part first object data are still provided by first terminal by the transmission between first terminal and storage server Source is transmitted to storage server.
It should also be understood that above-mentioned target terminal can be a shared terminal, it can also be multiple shared terminals, the application is real It applies example and this is not construed as limiting.
240, at least partly data in the first object data are stored in and are used to store institute by the storage server In the target storage space for stating the data of first terminal.
For example, this at least partly first when above-mentioned first terminal sends at least partly first object data to target terminal Target data can carry identification information, which is used to indicate at least portion in the above-mentioned first object data of storage server Divided data is stored in the target storage space of the data for storing first terminal.
In the data transmission method of the embodiment of the present application, the shared transmission that first terminal can be provided by target terminal is provided At least partly data in first object data are stored to storage server, are avoided in the prior art by source, and first terminal is only At least partly data in first object data can be transmitted in storage server by the transfer resource of first terminal itself, Be conducive to improve the efficiency that first object data are transmitted between terminal and storage server.
For example, when first terminal is slower by the speed of the transmission resources for transmitting first object data of first terminal itself When, first terminal can by the shared transfer resource of shared terminal by at least partly data in first object data store to Storage server is conducive to the transmission rate for improving first terminal transmission first object data.
Alternatively, when target terminal does not have the data to be passed for transporting to storage server or the to be passed of target terminal to transport to storage clothes Be engaged in device data data volume it is less when, first terminal can be by the shared transfer resource of shared terminal by first object data In at least partly data store to storage server, be conducive to improve storage system in transmitted between terminal and storage server The utilization rate of resource.
On the other hand, first terminal can be by the shared transfer resource that target terminal provides to storage server storage the One target data, avoiding first terminal in the prior art can only be by the transmission between first terminal itself and storage server Resource stores first object data to storage server, is conducive to improve progress data biography between first terminal and storage server Defeated flexibility.
Optionally, as one embodiment, the method also includes: storage server receive shared terminal send it is described The shared transfer resource that shared terminal has, the shared transfer resource can be used in taking in the shared terminal and the storage The data of other terminals are transmitted between business device.
Correspondingly, for the angle for the target terminal for including in shared terminal, target terminal is sent to storage server The shared transfer resource that the target terminal is capable of providing, the shared transfer resource can be used in the target terminal and institute State the data that other terminals are transmitted between storage server.
Specifically, the shared transfer resource that the shared terminal that storage server receives that shared terminal is sent has, storage clothes The shared transfer resource that business device record shared terminal and the shared terminal can provide.
It should be noted that above-mentioned shared terminal (including target terminal), which sends shared terminal to storage server, to be mentioned The shared transfer resource supplied can be in terminal access storage system just to storage server transmission, and above-mentioned shared terminal is to depositing Storage server, which sends the shared transfer resource that shared terminal is capable of providing, can also be shared terminal real-time update, that is, It says, shared terminal can be total to what storage server transmission was capable of providing in real time according to the data volume of current data to be transmitted Resource is enjoyed, the embodiment of the present application reports the concrete mode of shared transfer resource without limitation for shared terminal.
Optionally, storage server receives the geographical location information for the shared terminal that shared terminal is sent, and/or shared whole Network operator belonging to end.
Specifically, storage server can recorde the geographical location information of shared terminal and shared terminal, and/or shared Network operator belonging to terminal, so that follow-up storage server and/or first terminal choose target terminal from shared terminal.
Optionally, as one embodiment, the first terminal sends the first terminal to the storage server Shared information, the shared information of the first terminal include the shared transfer resource that the first terminal is capable of providing.
Specifically, if first terminal has a shared transfer resource, first terminal can send the to storage server The shared information of one terminal, then first terminal can be recorded as shared terminal by storage server.
Optionally, the shared information of the first terminal further includes the location information and/or described of the first terminal Network operator belonging to one terminal.
That is, first terminal is when the shared transfer resource for reporting first terminal to have, it can also be to storage Server sends network operator belonging to the geographical location information and first terminal of first terminal, in order to follow-up storage service Device or other terminals in addition to first terminal determine whether first terminal can be used as target terminal use.
In the embodiment of the present application, pass through the location information and/or first terminal to storage server transmission first terminal Affiliated network operator to choose the reference information of target terminal as first terminal as storage server, or judges first Whether terminal can be used as the reference information of the target terminal of other terminals, pass through the shared of target terminal to improve first terminal Efficiency when at least partly data in resource transmission first object data.
Optionally, as one embodiment, the first object data are divided into multiple data point by the first terminal Piece;At least partly data in the first object data are sent to the target terminal by the first terminal, comprising: described At least partly data fragmentation in the multiple data fragmentation is transmitted to the target terminal, the multiple data by first terminal At least partly data fragmentation in fragment passes through the shared transmission resources for transmitting to the storage service by the target terminal Device.
It should be noted that above-mentioned data fragmentation can carry instruction information, the instruction information that data fragmentation carries can be with It is used to indicate position of the data fragmentation in first object data, so that storage server receives the data that target terminal is sent After fragment, data fragmentation is merged according to the instruction information in data fragmentation.
It should also be understood that storage server is after receiving the data fragmentation for carrying whole first object data, according to each Instruction information in a data fragmentation merges data fragmentation, and the first object data after merging are stored in above-mentioned mesh It marks in memory space.
In the embodiment of the present application, first terminal is by being divided into data for at least partly data in first object data Fragment is transmitted in the form of data fragmentation by the shared transfer resource that target terminal provides to storage server, in order to deposit Server is stored up, data fragmentation can be merged according to the instruction information that fragment carries, obtain first object data.
Optionally, the data volume carried in each data fragmentation in above-mentioned multiple data fragmentations can be it is identical, first Terminal can determine each target terminal transmission according to the size of the shared transfer resource of target terminal each in target terminal The data fragmentation of respective numbers can be sent to target terminal by the quantity of data fragmentation in multiple data fragmentations, first terminal.
In the embodiment of the present application, first terminal can be according to the big of the shared transfer resource that each target terminal provides It is small, it determines the quantity of data fragmentation in the first object data of each terminal transmission in storage system, is conducive to improve first eventually End also advantageously improves first terminal by the resource utilization of the shared transmission resources for transmitting first object data of target terminal Transmit the efficiency of first object data.
Optionally, as one embodiment, the first object data are divided into multiple data point by the first terminal Piece, comprising: the first terminal draws the first object data according to the size of the shared transfer resource of the target terminal It is divided into multiple data fragmentations, each data fragmentation at least partly data fragmentation in the multiple data fragmentation is in transmission The shared transfer resource occupied is less than or equal to the shared transfer resource of the target terminal.
Specifically, the shared transfer resource that above-mentioned first terminal is capable of providing according to target terminal, to first object data Fragment processing is carried out, for example, first terminal can transmit carrying to the target terminal for being capable of providing biggish shared transfer resource The biggish data fragmentation of data volume, first terminal can be transmitted to the target terminal for being capable of providing lesser shared transfer resource and be held Carry the lesser data fragmentation of data volume.
In the embodiment of the present application, the shared transfer resource that first terminal can be capable of providing according to target terminal it is big It is small, at least partly data in first object data are divided into the data fragmentation for carrying different data amount, are conducive to raising the At least partly efficiency of data in the shared transmission resources for transmitting first object data that one terminal is provided by target terminal.
Above in association with Fig. 2 by taking terminal stores the process of first object data to storage server as an example, this Shen is described in detail Please embodiment data transmission method.The second target data is obtained from storage server with first terminal below in conjunction with Fig. 3 For process, the method that the data of the embodiment of the present application are transmitted is described in detail.
Fig. 3 is the schematic flow chart of the method for the data transmission of the embodiment of the present application, and method shown in Fig. 3 includes step 310 to step 350.
310, first terminal determines that the first terminal prepares the second target data downloaded from the storage server.
320, the first terminal determines that target terminal, the target terminal have shared transfer resource, the shared biography Defeated resource can be used in the data that other terminals are transmitted between the target terminal and the storage server.
Specifically, other above-mentioned terminals can be other in the terminal communicated with storage server in addition to shared terminal Terminal.
Optionally, above-mentioned shared transfer resource can refer to the maximum bandwidth for being used for transmission data that shared terminal is capable of providing What rate and/or shared terminal were capable of providing is used for transmission the maximum bandwidth surplus of data.
Optionally, above-mentioned first terminal determines that target terminal can be the first terminal and the storage server is logical Letter chooses target terminal, the shared biography from the shared terminal with shared transfer resource that the storage server records Defeated resource can be used in the data that other terminals are transmitted between the shared terminal and the storage server.
Specifically, the above-mentioned target terminal chosen from shared terminal can refer to can provide shared transmission for first terminal The shared terminal of resource, that is to say, that the shared resource that the second target data of first terminal can be provided by target terminal Transfer resource is transmitted.
The shared transfer resource that above-mentioned shared terminal is capable of providing can refer to that shared terminal was capable of providing is used for transmission number According to the maximum bandwidth surplus for being used for transmission data that is capable of providing of maximum bandwidth rate and/or shared terminal.
It should be understood that the shared terminal of above-mentioned storage server record can refer to that at least one that storage server records is shared Terminal, that is to say, that above-mentioned shared terminal can be multiple terminals and be also possible to a terminal, and the embodiment of the present application does not make this It is specific to limit.
It should also be understood that above-mentioned shared terminal refers to the shared terminal with shared transfer resource, it may include first terminal Itself;The above-mentioned target terminal chosen from shared terminal can not include first terminal itself.
It should also be understood that above-mentioned target terminal can be whole shared terminals of storage server record, above-mentioned target terminal It can also be the partial sharing terminal of storage server record.
It should be noted that the mode of target terminal, Ke Yiyu are determined described in above-mentioned combination Fig. 3 from shared terminal The mode that target terminal is chosen in the slave shared terminal described in conjunction with Fig. 2 is identical, for sake of simplicity, below in association with describing in Fig. 3 Slave shared terminal in determine target terminal mode repeat no more.
Mode one, first terminal choose target terminal from principal and subordinate's shared terminal.
That is, step 320 includes: that the first terminal receives the storage server is sent first shared letter Breath, first shared information are used to indicate the shared transfer resource of each shared terminal recorded in the storage server The attribute information of size and/or the shared terminal, the attribute information of the shared terminal include the geography of the shared terminal Network operator belonging to location information and/or the shared terminal;The first terminal determines target terminal, comprising: described First terminal chooses the target terminal according to first shared information from the shared terminal.
In the embodiment of the present application, first terminal can automatically choose mesh according to the first shared information from shared terminal Terminal is marked, for the technical solution for choosing target terminal for first terminal by storage server, advantageously reduces storage The workload of server.
Target terminal is chosen in mode two, storage server and first terminal collaborative work from shared terminal.
That is, step 320 includes: that the first terminal receives the storage server is sent second shared letter Breath, second shared information, which is used to indicate in at least partly shared terminal recorded in the storage server, each to be shared eventually The size of the shared transfer resource at end;The first terminal determines target terminal, comprising: the first terminal is according to described second Shared information determines the target terminal.
Specifically, the shared terminal of above-mentioned second shared information instruction is understood that as being total to from record by storage server Garbled shared terminal in terminal is enjoyed, for example, at least partly shared terminal of second shared information instruction can be with Meet the shared terminal of at least one following qualifications, the geographical location of the shared terminal of the second shared information instruction with The geographical location of the first terminal is adjacent, the geographical position of at least partly shared terminal of the second shared information instruction Set, the shared terminal of the second shared information instruction belonging to network operator identical as the geographical location of the first terminal It is identical as network operator belonging to the first terminal.
In the embodiment of the present application, first terminal can cooperate with storage server, and mesh is chosen from shared terminal Terminal is marked, is conducive to improve the efficiency for choosing target terminal from shared terminal.
Mode three, storage server are that first terminal chooses target terminal from shared terminal.
That is, step 320 includes: the shared letter of third that the first terminal receives that the storage server is sent Breath, the third shared information are used to indicate the target terminal;The first terminal is determined according to the third shared information The target terminal.
In the embodiment of the present application, storage server can be that first terminal is chosen from shared terminal according to shared information Target terminal advantageously reduces during choosing target terminal from shared terminal, the complexity of first terminal.
It should be noted that it is above-mentioned it is shown in Fig. 2 first terminal to storage server upload (storage) second number of targets The choosing being related to during and during first terminal shown in Fig. 3 downloads the second target data from storage server The process of target terminal is taken to can be a process, that is to say, that no matter first terminal passes through the mistake for uploading the second target data After journey has determined target terminal during still passing through the second target data of downloading, first terminal is in subsequent and storage server Can be carried out data transmission using the target terminal of above-mentioned determination during carrying out data transmission (including data are uploaded under Carry data).
In the embodiment of the present application, first terminal to storage server upload the second target data during, and First terminal from storage server download the second target data during, first terminal can be used identical target terminal and mention The second target data of shared transmission resources for transmitting supplied is conducive to be reduced to the process that first terminal chooses target terminal.
It is above-mentioned shown in Fig. 2 during first terminal uploads (storage) second target data to storage server, with And first terminal shown in Fig. 3 from storage server download the second target data during be related to selection target terminal mistake Journey can be the process for choosing target terminal independent twice, that is to say, that first terminal is uploading second to storage server During target data can based on the shared terminal of storage server current record choose target terminal, first terminal from Storage server download the second target data during can the shared terminal based on storage server current record choose again Target terminal.In two different data transmission procedures, since the shared terminal of storage server record can be real-time change , thus the target terminal chosen from shared terminal be also possible to it is different.
In the embodiment of the present application, first terminal to storage server upload the second target data during, and First terminal from storage server download the second target data during, first terminal and/or storage server can be real-time Target terminal is chosen according to the shared information that current shared terminal reports in ground from shared terminal, be conducive to improve first terminal to Storage server uploads the second target data or first terminal downloads the efficiency of the second target data from storage server.
330, the first terminal sends instruction information to the target terminal, and the instruction information is used to indicate the mesh The shared transfer resource that terminal passes through the target terminal is marked, from the target storage space of the storage server described in acquisition At least partly data in second target data.
It should be noted that above-mentioned instruction information can carry at least partly storage of data in the second target data of storage The address in space, so that target terminal is obtained in the second target data at least partly by the storage address of instruction information instruction Data.
340, the target terminal is obtained from the target storage space of the storage server according to the instruction information At least partly data in second target data.
350, the first terminal receives at least partly counting in second target data that the target terminal is sent According to.
That is, the shared transfer resource that above-mentioned second target data can be provided all by target terminal is from storage Server end obtains;The shared transfer resource that a part of data in above-mentioned second target data can be provided by target terminal It is obtained from storage server end, another part data in above-mentioned second target data can pass through first terminal itself and storage Transfer resource between server is obtained from storage server.
Correspondingly, it is described from the angle of storage server, above-mentioned steps 350 are it is to be understood that the storage server At least partly data in second target data are transmitted to described by the shared transfer resource of the target terminal One terminal.
Correspondingly, it is described from the angle of target terminal, above-mentioned steps 350 are it is to be understood that the storage server is logical At least partly data in second target data are transmitted to described first by the shared transfer resource for crossing the target terminal Terminal.
In the data transmission method of the embodiment of the present application, the shared transmission that first terminal can be provided by target terminal is provided The second target data is downloaded to from storage server in source, and avoiding first terminal in the prior art can only be by first terminal itself Transfer resource between storage server downloads the second target data from storage server, is conducive to improve first terminal and deposit The flexibility carried out data transmission between storage server.
Further, first terminal can download second by the shared transfer resource of shared terminal from storage server Target data is conducive to improve the transmission rate that first terminal transmits the second target data.
Alternatively, first terminal can pass through the shared biography of shared terminal in the data transmission method of the embodiment of the present application Defeated resource is conducive to improve terminal in storage system from at least partly data obtained in storage server in the second target data The utilization rate of transfer resource between storage server.
Optionally, as one embodiment, storage server receives what the shared terminal that shared terminal is sent had Shared transfer resource, the shared transfer resource can be used in transmitting it between the shared terminal and the storage server The data of his terminal;The storage server records the shared transmission money that the shared terminal and the shared terminal have Source.
Belong to shared terminal accordingly, due to target terminal, target terminal can send the target to storage server The shared transfer resource that terminal is capable of providing, the shared transfer resource can be used in taking in the target terminal and the storage The data of other terminals are transmitted between business device.
Specifically, the shared transfer resource that the shared terminal that storage server receives that shared terminal is sent has, storage clothes The shared transfer resource that business device record shared terminal and the shared terminal can provide.
It should be noted that above-mentioned shared terminal (including target terminal), which sends shared terminal to storage server, to be mentioned The shared transfer resource supplied can be in terminal access storage system just to storage server transmission, above-mentioned shared terminal (packet Include target terminal) it can also be that shared terminal is real-time to the shared transfer resource that storage server transmission shared terminal is capable of providing It updates, that is to say, that shared terminal can be sent to storage server in real time according to the data volume of current data to be transmitted The shared resource being capable of providing, the embodiment of the present application report the concrete mode of shared transfer resource not limit shared terminal It is fixed.
Optionally, storage server receives the geographical location information for the shared terminal that shared terminal is sent, and/or shared whole Network operator belonging to end.
Specifically, storage server can recorde the geographical location information of shared terminal and shared terminal, and/or shared Network operator belonging to terminal, so that follow-up storage server and/or first terminal choose target terminal from shared terminal.
Optionally, as one embodiment, the method also includes: the first terminal is sent to the storage server The shared information of the first terminal, the shared information of the first terminal include the first terminal be capable of providing it is described total Enjoy transfer resource.
Specifically, if first terminal has a shared transfer resource, first terminal can send the to storage server The shared information of one terminal, then first terminal can be recorded as shared terminal by storage server.
Optionally, the shared information of the first terminal further includes the location information and/or described of the first terminal Network operator belonging to one terminal.
That is, first terminal is when the shared transfer resource for reporting first terminal to have, it can also be to storage Server sends network operator belonging to the geographical location information and first terminal of first terminal, in order to follow-up storage service Device or other terminals in addition to first terminal determine whether first terminal can be used as target terminal use.
In the embodiment of the present application, by sending the location information and/or first of first terminal to storage control server eventually Network operator belonging to end as storage server to be the reference information of first terminal selection target terminal, or judges the Whether one terminal can be used as the reference information of the target terminal of other terminals, to improve first terminal being total to by target terminal Enjoy efficiency when at least partly data in the second target data of resource transmission.
Optionally, as one embodiment, at least partly Deta bearer in second target data is in data fragmentation In, the first terminal sends instruction information to the target terminal, comprising: the first terminal is sent to the target terminal Indicate that information, the instruction information include the index of the data fragmentation, the index of the data fragmentation indicates that the target is deposited Store up space;The first terminal receives at least partly data in second target data that the target terminal is sent, packet Include: the first terminal receives the data fragmentation that the target terminal is sent.
It is transmitted it should be noted that if the total data in the second target data all passes through target terminal, then first After terminal receives the data fragmentation for carrying whole second target datas that target terminal is sent, first terminal can be to data point Piece merges, and obtains the second target data;If second target data of a part is transmitted by target terminal, another portion The second target data divided is transmitted by transfer resource of the first terminal itself between storage server, then first terminal connects The data fragmentation for carrying a part of second target data that target terminal is sent is received, and is obtained from storage server another After partial target number, first terminal can be merged data fragmentation, obtain the second target data.
Optionally, before the first terminal sends the instruction information to the target terminal, the method is also wrapped Include: first terminal can each target terminal has in the target terminal according to above-mentioned selection shared transfer resource size, Determine the data volume in the target terminal chosen in the second target data of each target terminal acquisition;First terminal is further according to number According to amount, the index for the data fragmentation that each target terminal obtains in the target terminal chosen is determined.
In the embodiment of the present application, first terminal can be according to the big of the shared transfer resource that each target terminal provides It is small, it determines data volume in each target terminal is to be obtained in storage system the second target data, is conducive to improve first terminal The resource utilization that the second target data is obtained by the shared transfer resource of target terminal, also advantageously improves first terminal and obtains Take the efficiency of the second target data.
Hereafter by taking scene shown in FIG. 1 as an example, the data of the embodiment of the present application are described more fully in conjunction with Fig. 4 and Fig. 5 The method of transmission.It should be understood that shared terminal 122 includes first terminal and target terminal 121 in cloud storage system shown in FIG. 1, But the embodiment of the present application does not limit first terminal and belongs to shared terminal.It should also be understood that Fig. 4 and Fig. 5 is used for the purpose of help Those skilled in the art understand that the embodiment of the present application, and the embodiment of the present application have to be limited to the concrete scene of institute's example formula.
Fig. 4 is the schematic flow chart of the method for the data transmission of the embodiment of the present application.Method shown in Fig. 4 includes step 410- step 423.
411, shared terminal sends the shared information of shared terminal to cloud storage service device.
Specifically, the shared information of shared terminal may include the address information of shared terminal, physical location, affiliated net Network operator and the shared transfer resource being capable of providing.
412, cloud storage service device records the shared information of above-mentioned shared terminal and shared terminal.
413, first terminal sends to cloud storage service device and requests, which is used to request the shared information of shared terminal.
414, cloud storage service device sends the second shared information to first terminal, and the second shared information is used to indicate geographical position Set the shared terminal adjacent with the geographical location of first terminal, and the shared terminal adjacent with the geographical location of first terminal Shared information.
Specifically, cloud storage service device can first record cloud storage service device based on the shared information that shared terminal reports Shared terminal carry out preliminary screening, only to shared adjacent with the geographical location of first terminal in first terminal instruction geographical location Terminal.
415, it is whole to choose target according to the second shared information from the shared terminal that the second shared information indicates for first terminal End.
Specifically, first terminal can choose network operator and first from the shared terminal that the second shared information indicates The identical shared terminal of network operator belonging to terminal, and the biggish shared terminal of shared transfer resource being capable of providing, As target terminal.
416, first terminal sends instruction information to cloud storage service device, which is used to indicate target terminal.
Specifically, first terminal informs the target terminal of cloud storage service device selection by instruction, so as to server authorization Target terminal can transmit data.
417, cloud storage service device authorizes destination client, and sends authorization by direction to first terminal and successfully refer to Show information.
Specifically, this is used to indicate authorization and successfully indicates that information also can indicate that first terminal can pass through target terminal Shared transmission resources for transmitting first object data.
418, first object data are carried out fragment processing by first terminal, generate multiple data fragmentations.
419, first terminal sends a part of data fragmentation in multiple data fragmentations to target terminal.
420, a part of data fragmentation in multiple data fragmentations is transmitted to cloud by shared transfer resource by target terminal Storage server.
421, first terminal is passed by the transfer resource between first terminal and cloud storage service device to cloud storage service device Another part data fragmentation in defeated multiple data fragmentations.
422, cloud storage service device merges above-mentioned multiple data fragmentations, obtains first object data.
423, first object data are stored in target storage space by cloud storage service device, and target storage space is for depositing Store up the data of first terminal.
Fig. 5 is the schematic flow chart of the method for the data transmission of the embodiment of the present application.Method shown in fig. 5 includes step 510 to step 523.
511, shared terminal sends the shared information of shared terminal to cloud storage service device.
Specifically, the shared information of shared terminal may include the address information of shared terminal, physical location, affiliated net Network operator and the shared transfer resource being capable of providing.
512, cloud storage service device records the shared information of above-mentioned shared terminal and shared terminal.
513, first terminal sends to cloud storage service device and requests, which is used to request the shared information of shared terminal.
515, cloud storage service device sends the second shared information to first terminal, and the second shared information is used to indicate geographical position Set the shared terminal adjacent with the geographical location of first terminal, and the shared terminal adjacent with the geographical location of first terminal Shared information.
Specifically, cloud storage service device can first record cloud storage service device based on the shared information that shared terminal reports Shared terminal carry out preliminary screening, only to shared adjacent with the geographical location of first terminal in first terminal instruction geographical location Terminal.
515, it is whole to choose target according to the second shared information from the shared terminal that the second shared information indicates for first terminal End.
Specifically, first terminal can choose network operator and first from the shared terminal that the second shared information indicates The identical shared terminal of network operator belonging to terminal, and the biggish shared terminal of shared transfer resource being capable of providing, As target terminal.
516, first terminal sends instruction information to cloud storage service device, which is used to indicate target terminal.
Specifically, first terminal informs the target terminal of cloud storage service device selection by instruction, so as to server authorization Target terminal can transmit data.
517, cloud storage service device authorizes destination client, and sends authorization by direction to first terminal and successfully refer to Show information.
Specifically, this is used to indicate authorization and successfully indicates that information also can indicate that first terminal can pass through target terminal The second target data of shared transmission resources for transmitting.
518, first terminal sends the index of the first data fragmentation to target terminal, and the index of the first data fragmentation is for referring to Show that storage first terminal prepares the memory space of a part of data from the second target data that storage server is downloaded.
519, target terminal downloads the first data fragmentation from storage server according to the index of the first data fragmentation.
It should be noted that above-mentioned first data fragmentation may include at least one data fragmentation.
520, first terminal downloads the second data fragmentation from storage server according to the index of the second data fragmentation.
Specifically, the index of the second data fragmentation is used to indicate storage first terminal and prepares download from storage server the The memory space of another part data in two target datas.
It should be noted that above-mentioned second data fragmentation may include at least one data fragmentation.
521, first terminal receives the first data fragmentation that target terminal is sent.
522, first terminal merges the first data fragmentation and the second data fragmentation, obtains the second target data.
The method of the transmission data of the embodiment of the present application is described in detail above in association with Fig. 1 to Fig. 5, below in conjunction with Fig. 6 Describe the device of the transmission data of the embodiment of the present application in detail to Figure 14.It should be noted that device shown in Fig. 6 to Figure 14 Each step in the above method may be implemented, for sake of simplicity, details are not described herein.
Fig. 6 is the schematic block diagram of the device of the transmission data of the embodiment of the present application.The device of transmission data shown in fig. 6 600 include acquiring unit 610, determination unit 620 and transmission unit 630.
Acquiring unit, for obtaining wait store to the first object data of storage server;
Determination unit, for determining that target terminal, the target terminal have shared transfer resource, the shared transmission money Source can be used in the data that other terminals are transmitted between the target terminal and the storage server;
The transmission unit, at least partly data in the first object data for obtaining the acquiring unit It is sent to the target terminal, at least partly data in the first object data are passed through described by the target terminal The shared transmission resources for transmitting of target terminal is to the storage server.
Optionally, as one embodiment, described device further include: the first receiving unit receives the storage server The first shared information sent, first shared information are used to indicate each shared terminal recorded in the storage server Shared transfer resource size and/or the shared terminal attribute information, the attribute information of the shared terminal includes institute State network operator belonging to the geographical location information and/or the shared terminal of shared terminal;The determination unit is specifically used In: the target terminal is chosen from the shared terminal according to first shared information.
Optionally, as one embodiment, described device further include: the second receiving unit, for receiving the storage clothes The second shared information that business device is sent, second shared information, which is used to indicate in the storage server, to be recorded at least partly The size of the shared transfer resource of each shared terminal in shared terminal;The determination unit is specifically used for: according to described second Shared information chooses the target terminal from at least partly shared terminal recorded in the storage server.
Optionally, as one embodiment, at least partly shared terminal of the second shared information instruction is full Foot arranges the shared terminal of at least one qualifications, at least partly shared terminal of the second shared information instruction Geographical location is adjacent with the geographical location of the first terminal, and the described of the second shared information instruction is at least partly shared eventually The geographical location at end is identical as the geographical location of the first terminal, and second shared information indicates described at least partly total It is identical as network operator belonging to the first terminal to enjoy network operator belonging to terminal.
Optionally, as one embodiment, described device further include: third receiving unit, for receiving the storage clothes The third shared information that business device is sent, the third shared information are used to indicate the target terminal.
Optionally, as one embodiment, the transmission unit is also used to: Xiang Suoshu storage server sends described first The shared information of terminal, the shared information of the first terminal are used to indicate the shared transmission money that the first terminal has The size in source.
Optionally, as one embodiment, the shared information of the first terminal further includes the position of the first terminal Network operator belonging to information and/or the first terminal.
Optionally, as one embodiment, described device further include: processing unit, for the target data to be divided For multiple data fragmentations;The transmission unit is specifically used for: at least partly data fragmentation in the multiple data fragmentation is passed The target terminal is transported to, at least partly data fragmentation in the multiple data fragmentation is passed through described total by the target terminal Transmission resources for transmitting is enjoyed to the storage server.
Optionally, as one embodiment, the division unit is specifically used for: according to the shared transmission of the target terminal The target data is divided into multiple data fragmentations, at least partly data in the multiple data fragmentation by the size of resource The shared transfer resource that each data fragmentation in fragment is occupied in transmission is less than or equal to the shared biography of the target terminal Defeated resource.
Fig. 7 is the schematic block diagram of the device of the transmission data of the embodiment of the present application, and device 700 shown in Fig. 7 includes: true Order member 710, transmission unit 720 and receiving unit 730.
Determination unit, for determining that the first terminal prepares the second target data downloaded from the storage server;
The determination unit is also used to determine target terminal, and the target terminal has shared transfer resource, described shared Transfer resource can be used in the data that other terminals are transmitted between the target terminal and the storage server;
Transmission unit, the target terminal for determining to the determination unit send instruction information, the instruction letter Breath is used to indicate the shared transfer resource that the target terminal passes through the target terminal, deposits from the target of the storage server At least partly data in the target data are obtained in storage space;
Receiving unit, second target data sent for receiving the target terminal that the determination unit determines In at least partly data.
Optionally, as one embodiment, the receiving unit is also used to receive the storage server is sent first Shared information, first shared information are used to indicate the shared transmission of each shared terminal recorded in the storage server The attribute information of the size of resource and/or the shared terminal, the attribute information of the shared terminal include the shared terminal Geographical location information and/or the shared terminal belonging to network operator;The determination unit is also used to: according to described One shared information chooses the target terminal from the shared terminal.
Optionally, as one embodiment, the receiving unit is also used to receive the storage server is sent second Shared information, second shared information are used to indicate in at least partly shared terminal recorded in the storage server each The size of the shared transfer resource of shared terminal;The determination unit is also used to according to second shared information determination Target terminal.
Optionally, as one embodiment, at least partly shared terminal of the second shared information instruction is full Foot arranges the shared terminal of at least one qualifications, at least partly shared terminal of the second shared information instruction Geographical location is adjacent with the geographical location of the first terminal, and the described of the second shared information instruction is at least partly shared eventually The geographical location at end is identical as the geographical location of the first terminal, and second shared information indicates described at least partly total It is identical as network operator belonging to the first terminal to enjoy network operator belonging to terminal.
Optionally, as one embodiment, the receiving unit is also used to receive the third that the storage server is sent Shared information, the third shared information are used to indicate the target terminal.
Optionally, as one embodiment, the transmission unit is also used to send described first to the storage server The shared information of terminal, the shared information of the first terminal are used to indicate the shared transmission money that the first terminal has The size in source.
Optionally, as one embodiment, the shared information of the first terminal further includes the position of the first terminal Network operator belonging to information and/or the first terminal.
In an alternate embodiment of the invention, the device 600 of the transmission data can be first terminal 800, the acquiring unit 610 and the transmission unit 630 can be first terminal transceiver 860, the determination unit 620 can be for first terminal Processor 820, the first terminal can also be specific as shown in Figure 8 including input/output interface 830 and memory 810.
In optionally embodiment, the device 700 of above-mentioned transmission data can be first terminal 800, the determination unit 710 can be the processor 820 of first terminal, and above-mentioned transmission unit 720 and receiving unit 730 can be the transmitting-receiving of first terminal Device 870, the first terminal can also be specific as shown in Figure 8 including input/output interface 830 and memory 810.
It should be noted that the device 600 and device 700 of above-mentioned transmission data can be first terminal 800, and realize State each step that first terminal executes in method, such as step 210 shown in Fig. 2, step 220 and step 230 etc.;Fig. 3 Shown step 310, step 320 and step 330 etc..
Fig. 8 is the schematic block diagram of the first terminal of another embodiment of the application.First terminal 800 shown in Fig. 8 can be with It include: memory 810, processor 820, input/output interface 830, transceiver 840.Wherein, memory 810, processor 820, Input/output interface 830 is connected with transceiver 840 by internal connecting path, which is used to store program instruction, The processor 820 is used to execute the program instruction of the memory 820 storage, receives input to control input/output interface 830 Data and information, the data such as output operating result, and control transceiver 840 and send signal.
It should be understood that in the embodiment of the present application, which can use general central processing unit (Central Processing Unit, CPU), microprocessor, application specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, for executing relative program, to realize the application Technical solution provided by embodiment.
It should also be understood that transceiver 840 is also known as communication interface, using the R-T unit of such as, but not limited to transceiver one kind, To realize the communication between the device 800 of data check and other equipment or communication network.
The memory 810 may include read-only memory and random access memory, and to processor 820 provide instruction and Data.The a part of of processor 820 can also include nonvolatile RAM.For example, processor 820 can also be deposited Store up the information of device type.
During realization, each step of the above method can pass through the integrated logic circuit of the hardware in processor 820 Or the instruction of software form is completed.The method of transmission data in conjunction with disclosed in the embodiment of the present application can be embodied directly in firmly Part processor executes completion, or in processor hardware and software module combination execute completion.Software module can be located at Random access memory, flash memory, read-only memory, programmable read only memory or electrically erasable programmable memory, register etc. In the storage medium of this field maturation.The storage medium is located at memory 810, and processor 820 reads the letter in memory 810 Breath, in conjunction with the step of its hardware completion above method.To avoid repeating, it is not detailed herein.
It should be understood that the processor can be central processing unit (central processing in the embodiment of the present application Unit, CPU), which can also be other general processors, digital signal processor (digital signal Processor, DSP), it is specific integrated circuit (application specific integrated circuit, ASIC), existing At programmable gate array (field programmable gate array, FPGA) or other programmable logic device, discrete Door or transistor logic, discrete hardware components etc..General processor can be microprocessor or the processor can also To be any conventional processor etc..
Fig. 9 is the schematic block diagram of the device of the transmission data of the embodiment of the present application, and device 900 shown in Fig. 9 includes hair Send unit 910 and receiving unit 920.
Receiving unit, for receive first terminal transmission wait store into the first object data of the storage server At least partly data, the target terminal has shared transfer resource, and the shared transfer resource is used for whole in the target The data with transmission between other terminals and the storage server are transmitted between end and the storage server;
Transmission unit, for will at least partly count described in the received first object data of the receiving unit According to passing through the shared transmission resources for transmitting of the target terminal to the storage server.
Optionally, as one embodiment, the first object data are made of multiple data fragmentations, the first object At least partly data in multiple data fragmentations of at least partly data by forming the first object data in data Fragment composition, the shared transfer resource that each data fragmentation in at least partly data fragmentation is occupied in transmission be less than or Equal to the shared transfer resource of the target terminal.
Optionally, as one embodiment, the transmission unit is specifically also used to described in storage server transmission The shared information of target terminal, the shared information of the target terminal are used to indicate the shared transmission money that the target terminal has The size in source.
Figure 10 is the schematic block diagram of the device of the transmission data of the embodiment of the present application.Device 1000 shown in Fig. 10 includes Receiving unit 1010, acquiring unit 1020 and transmission unit 1030.
Receiving unit, for receiving the instruction information of first terminal transmission, the instruction information is used to indicate the target Terminal passes through the shared transfer resource of the target terminal, and the second mesh is obtained from the target storage space of the storage server At least partly data in data are marked, the shared transfer resource is used between the target terminal and the storage server The data with transmission between other terminals and the storage server are transmitted, second target data is that the first terminal is quasi- The standby data downloaded from the storage server;
Acquiring unit, described in being obtained from the target storage space of the storage server according to the instruction information At least partly data in second target data;
Transmission unit, for being sent in second target data that the acquiring unit obtains to the first terminal At least partly data.
Optionally, as one embodiment, the instruction information includes at least partly counting in second target data According to index, the acquiring unit, specifically for according to the index of at least partly data in second target data determine The target storage space of the storage at least partly data;The acquiring unit is specifically also used to from the storage service At least partly data in second target data are obtained in the target storage space of device.
In an alternate embodiment of the invention, the device 900 of the transmission data can be target terminal 1100, the transmission unit 910 and the receiving unit 920 can be target terminal transceiver 1140, the target terminal can also include input/it is defeated Outgoing interface 1130 and memory 1110, it is specific as shown in figure 11.
In optionally embodiment, the device 1000 of above-mentioned transmission data can be target terminal 1100, and the reception is single Member 1010, acquiring unit 1020 and transmission unit 1030 can be the transceiver 1170 of target terminal.The target terminal may be used also To include input/output interface 1130 and memory 1110, it is specific as shown in figure 11.
It should be noted that the device 900 and device 1000 of above-mentioned transmission data can be target terminal 1100, and realize Each step that target terminal executes in the above method, such as step 230 shown in Fig. 2;Step 340 shown in Fig. 3 and step Rapid 350 etc..
Figure 11 is the schematic block diagram of the target terminal of another embodiment of the application.Target terminal 1100 can shown in Figure 11 To include: memory 1110, processor 1120, input/output interface 1130, transceiver 1140.Wherein, memory 1110, place Reason device 1120, input/output interface 1130 are connected with transceiver 1140 by internal connecting path, and the memory 1110 is for depositing Program instruction is stored up, which is used to execute the program instruction of the memory 1120 storage, to control input/output interface 1130 receive the data and information of input, the data such as output operating result, and control transceiver 1140 and send signal.
It should be understood that in the embodiment of the present application, which can use general central processing unit (Central Processing Unit, CPU), microprocessor, application specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, for executing relative program, to realize the application Technical solution provided by embodiment.
It should also be understood that transceiver 1140 is also known as communication interface, using the R-T unit of such as, but not limited to transceiver one kind, To realize the communication between the device 1100 of data check and other equipment or communication network.
The memory 1110 may include read-only memory and random access memory, and provide instruction to processor 1120 And data.The a part of of processor 1120 can also include nonvolatile RAM.For example, processor 1120 may be used also With the information of storage device type.
During realization, each step of the above method can pass through the integrated logic circuit of the hardware in processor 1120 Or the instruction of software form is completed.The method of transmission data in conjunction with disclosed in the embodiment of the present application can be embodied directly in firmly Part processor executes completion, or in processor hardware and software module combination execute completion.Software module can be located at Random access memory, flash memory, read-only memory, programmable read only memory or electrically erasable programmable memory, register etc. In the storage medium of this field maturation.The storage medium is located at memory 1110, and processor 1120 is read in memory 1110 Information, in conjunction with the step of its hardware completion above method.To avoid repeating, it is not detailed herein.
It should be understood that the processor can be central processing unit (central processing in the embodiment of the present application Unit, CPU), which can also be other general processors, digital signal processor (digital signal Processor, DSP), it is specific integrated circuit (application specific integrated circuit, ASIC), existing At programmable gate array (field programmable gate array, FPGA) or other programmable logic device, discrete Door or transistor logic, discrete hardware components etc..General processor can be microprocessor or the processor can also To be any conventional processor etc..
Figure 12 is the schematic block diagram of the device of the transmission data of the embodiment of the present application.Device 1200 shown in Figure 12 includes Receiving unit 1210 and storage unit 1220.
Receiving unit passes through the first object of the shared transmission resources for transmitting of the target terminal for receiving target terminal At least partly data in data, the shared transfer resource can be used in the target terminal and the storage server it Between transmit the data of other terminals, the first object data are that first terminal waits storing to the data of the storage server;
Storage unit is used to store described first for being stored in at least partly data in the first object data In the target storage space of the data of terminal.
Optionally, as one embodiment, described device further include: the first transmission unit, for being sent to first terminal First shared information, first shared information are used to indicate the shared of each shared terminal recorded in the storage server The attribute information of the size of transfer resource and/or the shared terminal, the attribute information of the shared terminal include described shared Network operator belonging to the geographical location information of terminal and/or the shared terminal;The receiving unit is also used to receive institute The first confirmation message of first terminal transmission is stated, first confirmation message is used to indicate the first terminal from the shared end The target terminal chosen in end.
Optionally, as one embodiment, described device further include: the second transmission unit is used for the first terminal The second shared information is sent, second shared information is used to indicate at least partly shared end recorded in the storage server The size of the shared transfer resource of each shared terminal in end;The receiving unit is also used to receive the first terminal and sends The second confirmation message, second confirmation message is used to indicate the first terminal according to second shared information from described The target terminal chosen in at least partly shared terminal recorded in storage server.
Optionally, as one embodiment, the receiving unit, for receiving the described shared of the shared terminal transmission Operator described in the location information of terminal and/or the shared terminal;Described device further include: the first determination unit is used for The shared terminal that second shared information indicates is chosen from the shared terminal that the storage server records, described second is total At least partly shared terminal for enjoying information instruction is the shared terminal for meeting at least one following qualifications, described second The geographical location of at least partly shared terminal of shared information instruction is adjacent with the geographical location of the first terminal, described The geographical location of at least partly shared terminal of second shared information instruction is identical as the geographical location of the first terminal, Belonging to network operator belonging at least partly shared terminal of second shared information instruction and the first terminal Network operator it is identical.
Optionally, as one embodiment, described device further include: the second determination unit is used for from the storage service The target terminal is chosen in the shared terminal of device record;Transmission unit, it is total for sending the third to the first terminal Information is enjoyed, the third shared information is used to indicate the target terminal.
Optionally, as one embodiment, second determination unit, for the shared transmission according to the shared terminal The attribute information of the size of resource and/or the shared terminal determines the target terminal, the attribute information of the shared terminal Network operator belonging to location information and/or the shared terminal including the shared terminal.
Optionally, as one embodiment, the target terminal belongs to the shared terminal of the storage server record, institute Receiving unit is stated, is also used to receive the shared transfer resource that the shared terminal of shared terminal transmission has;Described device is also It include: recording unit, the shared transfer resource having for recording the shared terminal and the shared terminal.
Optionally, as one embodiment, the receiving unit is also used to receive the location information of the shared terminal, And/or network operator belonging to the shared terminal;The recording unit is also used to record the position letter of the shared terminal Network operator belonging to breath and/or the shared terminal.
Optionally, as one embodiment, the first object data include first part's data and second part data, The receiving unit wraps in first data fragmentation specifically for receiving the first data fragmentation of the first terminal transmission Containing first part's data in the first object data;It is logical to be specifically also used to receive the target terminal for the receiving unit The second data fragmentation of the shared transmission resources for transmitting of the target terminal is crossed, includes described first in second data fragmentation Second part data in target data;The storage unit is specifically used for first data fragmentation and second number The data after being merged are merged according to fragment, the data after the merging include the first object data;The storage Unit is specifically also used to for the first object data being stored in the target storage space.
Figure 13 is the schematic block diagram of the device of the transmission data of the embodiment of the present application.Device 1300 shown in Figure 13 includes Determination unit 1310 and transmission unit 1320.
Determination unit, for determine first terminal from the storage server prepare downloading the second target data in Small part data;
Transmission unit, for by the shared transfer resource of target terminal by second target data at least partly Data are transmitted to the first terminal, and the shared transfer resource can be used in the target terminal and the storage server Between transmit the data of other terminals, the target terminal is used to through the shared transfer resource of the target terminal be institute First terminal is stated from at least partly data in the target data that the storage server downloads preparation downloading.
Optionally, as one embodiment, the transmission unit is also used to send the first shared letter to the first terminal Breath, first shared information are used to indicate the shared transfer resource of each shared terminal recorded in the storage server The attribute information of size and/or the shared terminal, the attribute information of the shared terminal include the geography of the shared terminal Network operator belonging to location information and/or the shared terminal;Described device further include: receiving unit, for receiving The first confirmation message of first terminal transmission is stated, first confirmation message is used to indicate the first terminal from the shared end The target terminal chosen in end.
Optionally, as one embodiment, the transmission unit is also used to send the second shared letter to the first terminal Breath, second shared information, which is used to indicate in at least partly shared terminal recorded in the storage server, each to be shared eventually The size of the shared transfer resource at end;The receiving unit is also used to receive the second confirmation message that the first terminal is sent, Second confirmation message is used to indicate the first terminal and is remembered from the storage server according to second shared information The target terminal chosen in at least partly shared terminal of record.
Optionally, as one embodiment, the receiving unit is also used to receive the described total of the shared terminal transmission Enjoy operator described in the location information and/or the shared terminal of terminal;The determination unit is also used to take from the storage The shared terminal of the second shared information instruction is chosen in the shared terminal of business device record, the second shared information instruction At least partly shared terminal is the shared terminal for meeting at least one following qualifications, the second shared information instruction At least partly shared terminal geographical location it is adjacent with the geographical location of the first terminal, second shared information The geographical location of at least partly shared terminal indicated is identical as the geographical location of the first terminal, and described second is shared Network operator belonging at least partly shared terminal of information instruction and network operator belonging to the first terminal It is identical.
Optionally, as one embodiment, the determination unit, the shared terminal for being recorded from the storage server It is middle to choose the target terminal;The transmission unit, for sending the third shared information to the first terminal, described the Three shared informations are used to indicate the target terminal.
Optionally, as one embodiment, the determination unit is specifically also used to the shared biography according to the shared terminal The attribute information of the size of defeated resource and/or the shared terminal determines the target terminal, the attribute letter of the shared terminal Breath includes network operator belonging to the location information and/or the shared terminal of the shared terminal.
Optionally, as one embodiment, the target terminal belongs to the shared terminal of the storage server record, institute Receiving unit is stated, is also used to receive the shared transfer resource that the shared terminal that the shared terminal is sent has;The dress It sets further include: the first recording unit, the shared transfer resource having for recording the shared terminal and the shared terminal.
Optionally, as one embodiment, the receiving unit is also used to receive the location information of the shared terminal, And/or network operator belonging to the shared terminal;Described device further include: the second recording unit is also used to record described Network operator belonging to the location information of shared terminal and/or the shared terminal.
Optionally, as one embodiment, the determination unit is specifically used for: receiving the number that the target terminal is sent According to the index of fragment, the data fragmentation includes at least partly data in second target data;From the data fragmentation Index instruction target storage space in obtain the data fragmentation;The transmission unit is specifically also used to the target Terminal sends the requested data fragmentation of target terminal, in order to which the data fragmentation is sent to institute by the target terminal First terminal is stated, the data fragmentation of the target terminal request is the index instruction for the data fragmentation that the target terminal is sent The data fragmentation stored in target storage space.
In an alternate embodiment of the invention, the device 1200 of the transmission data can be storage server 1400, the reception Unit 1210 can be the transceiver 1440 of storage server, and the storage server can also include input/output interface 1430 and memory 1410, it is specific as shown in figure 14.
In optionally embodiment, the device 1300 of above-mentioned transmission data can be storage server 1400, the determination Unit can be the processor 1420 of storage server, and the transmission unit 1320 can be the transceiver of storage server 1470.The storage server can also be specific as shown in figure 14 including input/output interface 1430 and memory 1410.
It should be noted that the device 1200 and device 1300 of above-mentioned transmission data can be storage server 1400, and Realize each step that storage server executes in the above method, such as step 230 shown in Fig. 2 and step 240;Fig. 3 institute The step 340 etc. shown.
Figure 14 is the schematic block diagram of the storage server of another embodiment of the application.Storage server shown in Figure 14 1400 may include: memory 1410, processor 1420, input/output interface 1430, transceiver 1440.Wherein, memory 1410, processor 1420, input/output interface 1430 and transceiver 1440 are connected by internal connecting path, the memory 1410 for storing program instruction, which is used to execute the program instruction of the memory 1420 storage, defeated to control Enter/output interface 1430 receives the data and information of input, the output data such as operating result, and controls transceiver 1440 and send letter Number.
It should be understood that in the embodiment of the present application, which can use general central processing unit (Central Processing Unit, CPU), microprocessor, application specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, for executing relative program, to realize the application Technical solution provided by embodiment.
It should also be understood that transceiver 1440 is also known as communication interface, using the R-T unit of such as, but not limited to transceiver one kind, To realize the communication between the device 1400 of data check and other equipment or communication network.
The memory 1410 may include read-only memory and random access memory, and provide instruction to processor 1420 And data.The a part of of processor 1420 can also include nonvolatile RAM.For example, processor 1420 may be used also With the information of storage device type.
During realization, each step of the above method can pass through the integrated logic circuit of the hardware in processor 1420 Or the instruction of software form is completed.The method of transmission data in conjunction with disclosed in the embodiment of the present application can be embodied directly in firmly Part processor executes completion, or in processor hardware and software module combination execute completion.Software module can be located at Random access memory, flash memory, read-only memory, programmable read only memory or electrically erasable programmable memory, register etc. In the storage medium of this field maturation.The storage medium is located at memory 1410, and processor 1420 is read in memory 1410 Information, in conjunction with the step of its hardware completion above method.To avoid repeating, it is not detailed herein.
It should be understood that the processor can be central processing unit (central processing in the embodiment of the present application Unit, CPU), which can also be other general processors, digital signal processor (digital signal Processor, DSP), it is specific integrated circuit (application specific integrated circuit, ASIC), existing At programmable gate array (field programmable gate array, FPGA) or other programmable logic device, discrete Door or transistor logic, discrete hardware components etc..General processor can be microprocessor or the processor can also To be any conventional processor etc..
It should be understood that in the embodiment of the present application, " B corresponding with A " indicates that B is associated with A, B can be determined according to A.But It should also be understood that determining that B is not meant to determine B only according to A according to A, B can also be determined according to A and/or other information.
It should be understood that the terms "and/or", only a kind of incidence relation for describing affiliated partner, expression can deposit In three kinds of relationships, for example, A and/or B, can indicate: individualism A exists simultaneously A and B, these three situations of individualism B. In addition, character "/" herein, typicallys represent the relationship that forward-backward correlation object is a kind of "or".
It should be understood that magnitude of the sequence numbers of the above procedures are not meant to execute suitable in the various embodiments of the application Sequence it is successive, the execution of each process sequence should be determined by its function and internal logic, the implementation without coping with the embodiment of the present application Process constitutes any restriction.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, it can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.The computer program Product includes one or more computer instructions.When loading on computers and executing the computer program instructions, all or It partly generates according to process or function described in the embodiment of the present application.The computer can be general purpose computer, dedicated meter Calculation machine, computer network or other programmable devices.The computer instruction can store in computer readable storage medium In, or from a computer readable storage medium to the transmission of another computer readable storage medium, for example, the computer Instruction can pass through wired (such as coaxial cable, optical fiber, number from a web-site, computer, server or data center User's line (Digital Subscriber Line, DSL)) or wireless (such as infrared, wireless, microwave etc.) mode to another Web-site, computer, server or data center are transmitted.The computer readable storage medium can be computer capacity Any usable medium enough read either includes that the data such as one or more usable mediums integrated server, data center are deposited Store up equipment.The usable medium can be magnetic medium, and (for example, floppy disk, hard disk, tape), optical medium are (for example, digital universal CD (Digital Video Disc, DVD)) or semiconductor medium (for example, solid state hard disk (Solid State Disk, SSD)) etc..
The above, the only specific embodiment of the application, but the protection scope of the application is not limited thereto, it is any Those familiar with the art within the technical scope of the present application, can easily think of the change or the replacement, and should all contain Lid is within the scope of protection of this application.Therefore, the protection scope of the application should be based on the protection scope of the described claims.

Claims (44)

1. a kind of method for transmitting data characterized by comprising
First terminal is obtained wait store to the first object data of storage server;
The first terminal determines that target terminal, the target terminal have shared transfer resource, the shared transfer resource energy It is enough in the data that other terminals are transmitted between the target terminal and the storage server;
At least partly data in the first object data are sent to the target terminal by the first terminal, and described first At least partly data in target data are passed through the shared transfer resource of the target terminal by the target terminal It is transmitted to the storage server.
2. the method as described in claim 1, which is characterized in that before the first terminal determines target terminal, the side Method further include:
The first terminal receives the first shared information that the storage server is sent, and first shared information is used to indicate The size of the shared transfer resource of each shared terminal recorded in the storage server and/or the category of the shared terminal Property information, the attribute information of the shared terminal includes the geographical location information and/or the shared terminal of the shared terminal Affiliated network operator;
The first terminal determines target terminal, comprising:
The first terminal chooses the target terminal according to first shared information from the shared terminal.
3. the method as described in claim 1, which is characterized in that before the first terminal determines target terminal, the side Method further include:
The first terminal receives the second shared information that the storage server is sent, and second shared information is used to indicate The size of the shared transfer resource of each shared terminal in at least partly shared terminal recorded in the storage server;
The first terminal determines target terminal, comprising:
The first terminal is according to second shared information, at least partly shared terminal that records from the storage server It is middle to choose the target terminal.
4. method as claimed in claim 3, which is characterized in that the described of the second shared information instruction is at least partly shared Terminal is the shared terminal for meeting at least one following qualifications,
The geographical location of at least partly shared terminal of the second shared information instruction and the geography of the first terminal Position is adjacent,
The geographical location of at least partly shared terminal of the second shared information instruction and the geography of the first terminal Position is identical,
Network operator and the first terminal belonging at least partly shared terminal of the second shared information instruction Affiliated network operator is identical.
5. the method as described in claim 1, which is characterized in that the first terminal determines target terminal, comprising:
The first terminal receives the third shared information that the storage server is sent, and the third shared information is used to indicate The target terminal;
The first terminal determines the target terminal according to the third shared information.
6. a kind of method for transmitting data characterized by comprising
First terminal determines that the first terminal prepares the second target data downloaded from the storage server;
The first terminal determines that target terminal, the target terminal have shared transfer resource, the shared transfer resource energy It is enough in the data that other terminals are transmitted between the target terminal and the storage server;
The first terminal sends instruction information to the target terminal, and it is logical that the instruction information is used to indicate the target terminal The shared transfer resource for crossing the target terminal obtains second target from the target storage space of the storage server At least partly data in data;
The first terminal receives at least partly data in second target data that the target terminal is sent.
7. method as claimed in claim 6, which is characterized in that before the first terminal determines target terminal, the side Method further include:
The first terminal receives the first shared information that the storage server is sent, and first shared information is used to indicate The size of the shared transfer resource of each shared terminal recorded in the storage server and/or the category of the shared terminal Property information, the attribute information of the shared terminal includes the geographical location information and/or the shared terminal of the shared terminal Affiliated network operator;
The first terminal determines target terminal, comprising:
The first terminal chooses the target terminal according to first shared information from the shared terminal.
8. method as claimed in claim 6, which is characterized in that before the first terminal determines target terminal, the side Method further include:
The first terminal receives the second shared information that the storage server is sent, and second shared information is used to indicate The size of the shared transfer resource of each shared terminal in at least partly shared terminal recorded in the storage server;
The first terminal determines target terminal, comprising:
The first terminal determines the target terminal according to second shared information.
9. method according to claim 8, which is characterized in that the described of the second shared information instruction is at least partly shared Terminal is the shared terminal for meeting at least one following qualifications,
The geographical location of at least partly shared terminal of the second shared information instruction and the geography of the first terminal Position is adjacent,
The geographical location of at least partly shared terminal of the second shared information instruction and the geography of the first terminal Position is identical,
Network operator and the first terminal belonging at least partly shared terminal of the second shared information instruction Affiliated network operator is identical.
10. method as claimed in claim 6, which is characterized in that the first terminal determines target terminal, comprising:
The first terminal receives the third shared information that the storage server is sent, and the third shared information is used to indicate The target terminal;
The first terminal determines the target terminal according to the third shared information.
11. a kind of method for transmitting data characterized by comprising
Target terminal receives at least partly several into the first object data of storage server wait store of first terminal transmission According to the target terminal has shared transfer resource, and the shared transfer resource is used in the target terminal and the storage The data with transmission between other terminals and the storage server are transmitted between server;
The target terminal is by least partly data described in the first object data, by described in the target terminal Transmission resources for transmitting is shared to the storage server.
12. method as claimed in claim 11, which is characterized in that target terminal receive first terminal send wait store to Before at least partly data in the first object data of storage server, the method also includes:
The target terminal sends the shared information of the target terminal to the storage server, and the target terminal is shared Information is used to indicate the size for the shared transfer resource that the target terminal has.
13. a kind of method for transmitting data characterized by comprising
Target terminal receives the instruction information that first terminal is sent, and the instruction information is used to indicate the target terminal and passes through institute The shared transfer resource for stating target terminal, obtains in the second target data from the target storage space of the storage server At least partly data, the shared transfer resource between the target terminal and the storage server for transmitting other ends Data with transmission between end and the storage server, second target data are that first terminal preparation is deposited from described Store up the data of server downloading;
The target terminal obtains described second according to the instruction information from the target storage space of the storage server At least partly data in target data;
The target terminal sends at least partly data in second target data to the first terminal.
14. method as claimed in claim 13, which is characterized in that the instruction information includes in second target data At least partly index of data, the target terminal is according to the instruction target storage space of the information from the storage server The middle at least partly data obtained in second target data, comprising:
The target terminal determines the storage at least portion according to the index of at least partly data in second target data The target storage space of divided data;
The target terminal in the target storage space of the storage server from obtaining in second target data at least Partial data.
15. a kind of method for transmitting data characterized by comprising
Storage server receives in first object data of the target terminal by the shared transmission resources for transmitting of the target terminal At least partly data, the shared transfer resource can be used in transmitting between the target terminal and the storage server The data of other terminals, the first object data are that first terminal waits storing to the data of the storage server;
At least partly data in the first object data are stored in by the storage server is used to store described first eventually In the target storage space of the data at end.
16. method as claimed in claim 15, which is characterized in that receive target terminal described in the storage server Before at least partly data in the first object data of the shared transmission resources for transmitting of target terminal, the method also includes:
The storage server sends the first shared information to first terminal, and first shared information is used to indicate the storage The size of the shared transfer resource of each shared terminal recorded in server and/or the attribute information of the shared terminal, institute The attribute information for stating shared terminal includes network belonging to the geographical location information and/or the shared terminal of the shared terminal Operator;
The storage server receives the first confirmation message that the first terminal is sent, and first confirmation message is used to indicate The target terminal that the first terminal is chosen from the shared terminal recorded in storage server.
17. method as claimed in claim 15, which is characterized in that receive target terminal described in the storage server Before at least partly data in the first object data of the shared transmission resources for transmitting of target terminal, the method also includes:
The storage server sends the second shared information to the first terminal, and second shared information is used to indicate described The size of the shared transfer resource of each shared terminal in at least partly shared terminal recorded in storage server;
The storage server receives the second confirmation message that the first terminal is sent, and second confirmation message is used to indicate The first terminal is selected from at least partly shared terminal recorded in the storage server according to second shared information The target terminal taken.
18. method as claimed in claim 17, which is characterized in that send the to the first terminal in the storage server Before two shared informations, the method also includes:
The storage server chooses the second shared information instruction from the shared terminal that the storage server records At least partly shared terminal, at least partly shared terminal of second shared information instruction be meet it is following at least The shared terminal of one qualifications,
The geographical location of at least partly shared terminal of the second shared information instruction and the geography of the first terminal Position is adjacent,
The geographical location of at least partly shared terminal of the second shared information instruction and the geography of the first terminal Position is identical,
Network operator and the first terminal belonging at least partly shared terminal of the second shared information instruction Affiliated network operator is identical.
19. method as claimed in claim 15, which is characterized in that receive target terminal described in the storage server Before at least partly data in the first object data of the shared transmission resources for transmitting of target terminal, the method also includes:
The storage server chooses the target terminal from the shared terminal that the storage server records;
The storage server sends the third shared information to the first terminal, and the third shared information is used to indicate The target terminal.
20. method as claimed in claim 19, which is characterized in that the storage server is recorded from the storage server The target terminal is chosen in shared terminal, comprising:
The storage server is according to the size of the shared transfer resource of the shared terminal and/or the attribute of the shared terminal Information determines that the target terminal, the attribute information of the shared terminal include location information and/or the institute of the shared terminal State network operator belonging to shared terminal.
21. the method as described in any one of claim 16-20, which is characterized in that the target terminal belongs to the storage The shared terminal of server record, the method also includes:
The storage server receives the location information for the shared terminal that shared terminal is sent, belonging to the shared terminal Operator, the size for the shared transfer resource that the shared terminal has;
The storage server records the shared terminal, the location information of the shared terminal, belonging to the shared terminal The size for the shared transfer resource that operator and the shared terminal have.
22. a kind of method for transmitting data characterized by comprising
Storage server determines first terminal from the second target data that the storage server prepares downloading at least partly Data;
The storage server will be at least partly several in second target data by the shared transfer resource of target terminal According to being transmitted to the first terminal, the shared transfer resource can be used in the target terminal and the storage server it Between transmit the data of other terminals.
23. method as claimed in claim 22, which is characterized in that the method also includes:
The storage server sends the first shared information to the first terminal, and first shared information is used to indicate described The size of the shared transfer resource of each shared terminal recorded in storage server and/or the attribute letter of the shared terminal Breath, the attribute information of the shared terminal includes belonging to the geographical location information and/or the shared terminal of the shared terminal Network operator;
The storage server receives the first confirmation message that the first terminal is sent, and first confirmation message is used to indicate The target terminal that the first terminal is chosen from the shared terminal that the storage server records.
24. method as claimed in claim 23, which is characterized in that in the storage server being total to by the second target terminal It enjoys before at least partly data in second target data are transmitted to the first terminal by transfer resource, the method is also Include:
The storage server sends the second shared information to the first terminal, and second shared information is used to indicate described The size of the shared transfer resource of each shared terminal in at least partly shared terminal recorded in storage server;
The storage server receives the second confirmation message that the first terminal is sent, and second confirmation message is used to indicate The first terminal is selected from at least partly shared terminal recorded in the storage server according to second shared information The target terminal taken.
25. method as claimed in claim 24, which is characterized in that in the storage server being total to by the second target terminal It enjoys before at least partly data in second target data are transmitted to the first terminal by transfer resource, the method is also Include:
The storage server chooses the second shared information instruction from the shared terminal that the storage server records At least partly shared terminal, at least partly shared terminal of second shared information instruction be meet it is following at least The shared terminal of one qualifications,
The geographical location of at least partly shared terminal of the second shared information instruction and the geography of the first terminal Position is adjacent,
The geographical location of at least partly shared terminal of the second shared information instruction and the geography of the first terminal Position is identical,
Network operator and the first terminal belonging at least partly shared terminal of the second shared information instruction Affiliated network operator is identical.
26. method as claimed in claim 23, which is characterized in that receive target terminal described in the storage server Before at least partly data in the first object data of the shared transmission resources for transmitting of target terminal, the method also includes:
The storage server chooses the target terminal from the shared terminal that the storage server records;
The storage server sends the third shared information to the first terminal, and the third shared information is used to indicate The target terminal.
27. method as claimed in claim 26, which is characterized in that the storage server is recorded from the storage server The target terminal is chosen in shared terminal, comprising:
The size of the shared transfer resource for each shared terminal that the storage server is recorded according to the storage server and/ Or the attribute information of the shared terminal determines that the target terminal, the attribute information of the shared terminal include the shared end Network operator belonging to the location information at end and/or the shared terminal.
28. the method as described in any one of claim 23-27, which is characterized in that the method also includes:
The storage server receives the location information for the shared terminal that the shared terminal is sent, the shared terminal institute The shared transfer resource that the operator of category and the shared terminal have;
The storage server records the shared terminal, the location information of the shared terminal, belonging to the shared terminal The shared transfer resource that operator and the shared terminal have.
29. a kind of device for transmitting data characterized by comprising
Acquiring unit, for obtaining wait store to the first object data of storage server;
Determination unit, for determining that target terminal, the target terminal have shared transfer resource, the shared transfer resource energy It is enough in the data that other terminals are transmitted between the target terminal and the storage server;
Transmission unit, at least partly data in the first object data for obtaining the acquiring unit are sent to institute Target terminal is stated, at least partly data in the first object data pass through the target terminal by the target terminal Shared transmission resources for transmitting to the storage server.
30. device as claimed in claim 29, which is characterized in that described device further include:
First receiving unit receives the first shared information that the storage server is sent, and first shared information is for referring to Show the shared transfer resource of each shared terminal recorded in the storage server size and/or the shared terminal Attribute information, the attribute information of the shared terminal include the shared terminal geographical location information and/or the shared end Network operator belonging to end;
The determination unit is specifically used for:
The target terminal is chosen from the shared terminal according to first shared information.
31. device as claimed in claim 29, which is characterized in that described device further include:
Second receiving unit, the second shared information sent for receiving the storage server, second shared information are used The shared transfer resource of each shared terminal is big in at least partly shared terminal for indicating to record in the storage server It is small;
The determination unit is specifically used for:
According to second shared information, the mesh is chosen from at least partly shared terminal recorded in the storage server Mark terminal.
32. device as claimed in claim 31, which is characterized in that second shared information indicates described at least partly total Enjoying terminal is the shared terminal for meeting at least one following qualifications,
The geographical location of at least partly shared terminal of the second shared information instruction and the geography of the first terminal Position is adjacent,
The geographical location of at least partly shared terminal of the second shared information instruction and the geography of the first terminal Position is identical,
Network operator and the first terminal belonging at least partly shared terminal of the second shared information instruction Affiliated network operator is identical.
33. device as claimed in claim 29, which is characterized in that described device further include:
Third receiving unit, the third shared information sent for receiving the storage server, the third shared information are used In the instruction target terminal;
The determination unit is specifically used for: determining the target terminal according to the third shared information.
34. a kind of device for transmitting data characterized by comprising
Determination unit, for determining that the first terminal prepares the second target data downloaded from the storage server;
The determination unit is also used to determine that target terminal, the target terminal have shared transfer resource, the shared transmission Resource can be used in the data that other terminals are transmitted between target terminal and the storage server;
Transmission unit, the target terminal for determining to the determination unit send instruction information, and the instruction information is used In indicating shared transfer resource of the target terminal by the target terminal, stored from the target of the storage server empty Between the middle at least partly data obtained in second target data;
Receiving unit, for receiving in second target data that the target terminal that the determination unit determines is sent At least partly data.
35. device as claimed in claim 34, which is characterized in that
The receiving unit is also used to receive the first shared information that the storage server is sent, first shared information It is used to indicate the size of the shared transfer resource of each shared terminal recorded in the storage server and/or described shared The attribute information of terminal, the attribute information of the shared terminal include the geographical location information of the shared terminal and/or described Network operator belonging to shared terminal;
The determination unit is also used to:
The target terminal is chosen from the shared terminal according to first shared information.
36. device as claimed in claim 34, which is characterized in that
The receiving unit is also used to receive the second shared information that the storage server is sent, second shared information It is used to indicate the shared transfer resource of each shared terminal in at least partly shared terminal recorded in the storage server Size;
The determination unit is also used to determine the target terminal according to second shared information.
37. device as claimed in claim 36, which is characterized in that second shared information indicates described at least partly total Enjoying terminal is the shared terminal for meeting at least one following qualifications,
The geographical location of at least partly shared terminal of the second shared information instruction and the geography of the first terminal Position is adjacent,
The geographical location of at least partly shared terminal of the second shared information instruction and the geography of the first terminal Position is identical,
Network operator and the first terminal belonging at least partly shared terminal of the second shared information instruction Affiliated network operator is identical.
38. device as claimed in claim 34, which is characterized in that
The receiving unit is also used to receive the third shared information that the storage server is sent, the third shared information It is used to indicate the target terminal;
The determination unit is specifically also used to determine the target terminal according to the third shared information.
39. a kind of device for transmitting data characterized by comprising
Receiving unit, for receive first terminal transmission wait store at least portion into the first object data of storage server Divided data, the target terminal have a shared transfer resource, the shared transfer resource be used for the target terminal with it is described The data with transmission between other terminals and the storage server are transmitted between storage server;
Transmission unit, for leading at least partly data described in the received first object data of the receiving unit The shared transmission resources for transmitting of the target terminal is crossed to the storage server.
40. device as claimed in claim 39, which is characterized in that
The transmission unit is specifically also used to send the shared information of the target terminal, the mesh to the storage server The shared information of mark terminal is used to indicate the size for the shared transfer resource that the target terminal has.
41. a kind of device for transmitting data characterized by comprising
Receiving unit, for receiving the instruction information of first terminal transmission, the instruction information is used to indicate the target terminal By the shared transfer resource of the target terminal, the second number of targets is obtained from the target storage space of the storage server At least partly data in, the shared transfer resource between the target terminal and the storage server for transmitting Between other terminals and the storage server with transmission data, second target data be the first terminal prepare from The data of the storage server downloading;
Acquiring unit, for obtaining described second from the target storage space of the storage server according to the instruction information At least partly data in target data;
Transmission unit, for being sent in second target data that the acquiring unit obtains at least to the first terminal Partial data.
42. device as claimed in claim 41, which is characterized in that the instruction information includes in second target data At least partly index of data,
The acquiring unit, specifically for determining storage institute according to the index of at least partly data in second target data State the target storage space of at least partly data;
The acquiring unit is specifically also used to obtain second number of targets from the target storage space of the storage server At least partly data in.
43. a kind of terminal, which is characterized in that including transceiver, processor and memory, wherein the processor is for controlling institute Transceiver receiving and transmitting signal is stated, the memory is for storing computer program, and the processor from the memory for adjusting With and run the computer program so that the terminal perform claim require any one of 1 to 21 described in method.
44. a kind of storage server, which is characterized in that including transceiver, processor and memory, wherein the processor is used for The transceiver receiving and transmitting signal is controlled, the memory is used for for storing computer program, the processor from the storage The computer program is called and run in device, so that the storage server perform claim requires described in any one of 22 to 28 Method.
CN201711001709.3A 2017-10-24 2017-10-24 The method and apparatus for transmitting data Pending CN109698851A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711001709.3A CN109698851A (en) 2017-10-24 2017-10-24 The method and apparatus for transmitting data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711001709.3A CN109698851A (en) 2017-10-24 2017-10-24 The method and apparatus for transmitting data

Publications (1)

Publication Number Publication Date
CN109698851A true CN109698851A (en) 2019-04-30

Family

ID=66227774

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711001709.3A Pending CN109698851A (en) 2017-10-24 2017-10-24 The method and apparatus for transmitting data

Country Status (1)

Country Link
CN (1) CN109698851A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111049927A (en) * 2019-12-24 2020-04-21 珠海大横琴科技发展有限公司 File storage method and device, electronic equipment and storage medium
CN112104741A (en) * 2020-09-21 2020-12-18 北京指掌易科技有限公司 Resource sharing method, device, system and gateway controller

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090220162A1 (en) * 2001-01-24 2009-09-03 Ads Software Mgmt. L.L.C. System, computer software product and method for transmitting and processing handwritten data
CN102137391A (en) * 2011-03-25 2011-07-27 中兴通讯股份有限公司 Data download method, system and terminal
CN103369013A (en) * 2012-04-09 2013-10-23 厦门毅想通信研发中心有限公司 Data transmission method, data transmission apparatus and electronic device
CN104079324A (en) * 2013-03-25 2014-10-01 联想(北京)有限公司 Data transmission method, electronic equipment and system
CN104660650A (en) * 2013-11-25 2015-05-27 乐视网信息技术(北京)股份有限公司 P2P connecting method, server, terminal and communication system
CN105490969A (en) * 2014-09-17 2016-04-13 联想(北京)有限公司 Information processing method and electronic equipment
CN105764105A (en) * 2016-01-29 2016-07-13 宇龙计算机通信科技(深圳)有限公司 Data processing method and terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090220162A1 (en) * 2001-01-24 2009-09-03 Ads Software Mgmt. L.L.C. System, computer software product and method for transmitting and processing handwritten data
CN102137391A (en) * 2011-03-25 2011-07-27 中兴通讯股份有限公司 Data download method, system and terminal
CN103369013A (en) * 2012-04-09 2013-10-23 厦门毅想通信研发中心有限公司 Data transmission method, data transmission apparatus and electronic device
CN104079324A (en) * 2013-03-25 2014-10-01 联想(北京)有限公司 Data transmission method, electronic equipment and system
CN104660650A (en) * 2013-11-25 2015-05-27 乐视网信息技术(北京)股份有限公司 P2P connecting method, server, terminal and communication system
CN105490969A (en) * 2014-09-17 2016-04-13 联想(北京)有限公司 Information processing method and electronic equipment
CN105764105A (en) * 2016-01-29 2016-07-13 宇龙计算机通信科技(深圳)有限公司 Data processing method and terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111049927A (en) * 2019-12-24 2020-04-21 珠海大横琴科技发展有限公司 File storage method and device, electronic equipment and storage medium
CN112104741A (en) * 2020-09-21 2020-12-18 北京指掌易科技有限公司 Resource sharing method, device, system and gateway controller
CN112104741B (en) * 2020-09-21 2024-02-02 北京指掌易科技有限公司 Resource sharing method, device and system and gateway controller

Similar Documents

Publication Publication Date Title
JP7518916B2 (en) Computing power sharing method and related device
EP3905589B1 (en) Slice resource deployment method and apparatus, and slice manager and computer storage medium
CN111200878A (en) Information transmission method and device thereof
CN109144660A (en) Microservice Architecture
CN109802838B (en) A method and device for convergent billing
CN114549264B (en) Management method and management server for utilizing multiple SIM cards
CN110381162A (en) A kind of method and relevant apparatus of business processing
CN109245984A (en) A kind of message transmitting method, a kind of information processing method and its relevant device
CN102629909A (en) Traffic counting method and system based on processes
CN111083120B (en) Data transmission method and device, electronic equipment and storage medium
CN113612640B (en) Data communication method and device, electronic equipment and storage medium
CN112399388B (en) A method, device and system for implementing edge computing
CN112566072A (en) NF-based communication method, device and storage medium
CN109151070B (en) Block chain-based service scheduling method and electronic device for point-to-point CDN (content delivery network)
CN107181695A (en) Distributed caching method and device
CN109639796A (en) A kind of implementation of load balancing, device, equipment and readable storage medium storing program for executing
CN101459526A (en) Projector sharing conference system based on service discovery
CN109698851A (en) The method and apparatus for transmitting data
CN113949636A (en) Data transmission method, gateway device and network system
CN109905387A (en) A data processing method and device
KR100878934B1 (en) How to Communicate Between Mobile Online Gaming Systems and Mobile Gaming Terminals
CN115794424B (en) Method for accessing three-dimensional model through distributed architecture
CN109525539A (en) A kind of capacity calling method calls receipt method, information processing method and system
WO2021121176A1 (en) Method and device for updating status information of sim card, and server
CN114205303B (en) Self-service terminal access method, server and self-service terminal access system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190430