[go: up one dir, main page]

CN105897579A - Data transmission method and device - Google Patents

Data transmission method and device Download PDF

Info

Publication number
CN105897579A
CN105897579A CN201510689321.1A CN201510689321A CN105897579A CN 105897579 A CN105897579 A CN 105897579A CN 201510689321 A CN201510689321 A CN 201510689321A CN 105897579 A CN105897579 A CN 105897579A
Authority
CN
China
Prior art keywords
link
packet
transmission
file
transmit
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
CN201510689321.1A
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.)
FAFA Automobile (China) Co., Ltd.
Original Assignee
Leauto Intelligent Technology Beijing 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 Leauto Intelligent Technology Beijing Co Ltd filed Critical Leauto Intelligent Technology Beijing Co Ltd
Priority to CN201510689321.1A priority Critical patent/CN105897579A/en
Publication of CN105897579A publication Critical patent/CN105897579A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/24Multipath
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • H04L47/125Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a data transmission method and device that are used for increasing data transmission safety and reliability via a multi-link data transmission mode. The data transmission method comprises the following steps: a plurality of data packets are obtained when each file that needs to be transmitted is divided, each data packet carries a file identity of the file and a location number indicating a location of the data packet in the file, the number of the data packets that can be transmitted via each link is determined, and all the data packets are distributed to different links for transmission according to the number of the data packets that can be transmitted via each link.

Description

A kind of data transmission method and device
Technical field
The present embodiments relate to technical field of data transmission, particularly relate to a kind of data transmission method and dress Put.
Background technology
The secure transmission technique of information is an element task of various network application, has in a lot of fields There is very important status.How guarantee information safe transmission in a network, is client, especially relates to And the mechanism of confidential information and tissue, the problem become more concerned with.In order to ensure the safety that data are transmitted Property, those skilled in the art increasingly pay attention to the research to data transmission.
In prior art, it is usually the method using single-link, and the data needing transmission are added Close algorithm, and coordinate the technology such as tunneling technique, such as VPN, it would be desirable to the data of transmission carry out safety Transmission.But once divulge a secret, or AES is cracked, then the data needing transmission will be stolen Take.Because using a link to carry out data transmission, once network interrupts, and the data needing transmission will Can be terminated, thus cause the instability and unreliability that data transmit.
In sum, in prior art, use a link to carry out data transmission, thus cause data In transmitting procedure the most dangerous but also unreliable.
Summary of the invention
The embodiment of the present invention provides a kind of data transmission method and device, in order to be passed by the data of multilink Defeated mode, increases the safety and reliability of data transmission.
Embodiments providing a kind of data transmission method, the method includes:
For each file needing transmission, this document is divided, obtains multiple packet, often One packet carries file identification and the Position Number in this document of this document;
Determine the number of the packet that each link can transmit, and can transmit according to each link All described allocation of packets are transmitted to different links by the number of packet.
Embodiments providing another kind of data transmission method, the method includes:
Receiving multiple packets of each link transmission, wherein, each packet carries this packet Belonging to the file identification of file and Position Number in this document;
According to the Position Number of the identical packet of file identification, by data inclusion identical for file identification Become a file.
Embodiments providing a kind of data transmission device, this device includes:
First module, for for each file needing transmission, dividing this document, obtain Multiple packets, each packet carries the file identification of this document and position in this document is compiled Number;
Second unit, for determining the number of packet that each link can transmit, and according to each All described allocation of packets carry out to different links by the number of the packet that link can transmit Transmission.
Embodiments providing another kind of data transmission device, this device includes:
Unit the 3rd, for receiving multiple packets of each link transmission, wherein, each packet Carry file identification and the Position Number in this document of file belonging to this packet;
Unit the 4th, for the Position Number of the packet identical according to file identification, by file identification Identical packet one file of synthesis.
The data transmission method that the embodiment of the present invention provides, first carries out drawing by each file needing transmission Point, and obtain multiple packet, and each packet carrying the file identification of this document and at this article Position Number in part, it is then determined that the number of packet that each link can transmit, and according to each All described allocation of packets pass to different links by the number of the packet that link can transmit Defeated.Therefore the present invention utilizes and the file needing transmission is divided into multiple link transmission, thus add number Safety and reliability according to transmission.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to reality Execute the required accompanying drawing used in example or description of the prior art to be briefly described, it should be apparent that under, Accompanying drawing during face describes is some embodiments of the present invention, for those of ordinary skill in the art, On the premise of not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
The schematic flow sheet of a kind of data transmission method that Fig. 1 provides for the present invention;
The schematic flow sheet of the another kind of data transmission method that Fig. 2 provides for the present invention;
The schematic flow sheet of the third data transmission method that Fig. 3 provides for the present invention;
The structural representation of a kind of data transmission device that Fig. 4 provides for the present invention;
The structural representation of the another kind of data transmission device that Fig. 5 provides for the present invention.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with this Accompanying drawing in bright embodiment, is clearly and completely described the technical scheme in the embodiment of the present invention, Obviously, described embodiment is a part of embodiment of the present invention rather than whole embodiments.Based on Embodiment in the present invention, those of ordinary skill in the art are obtained under not making creative work premise The every other embodiment obtained, broadly falls into the scope of protection of the invention.
Embodiments provide a kind of data transmission method and device, in order to by the data of multilink Transmission means, increases the safety and reliability of data transmission.
See Fig. 1, a kind of data transmission method that the embodiment of the present invention provides, the method includes:
S101, the file transmitted for each needs, divide this document, obtain multiple data Bag, each packet carries file identification and the Position Number in this document of this document;
It should be noted that need the file of transmission can include one or more.When needs transmit File when only including, the file that these needs transmit is divided, obtains multiple packet, And each packet will carry this packet Position Number at the file needing transmission.Such as, Need to transmit a video, then this video is divided into many parts, every a data one packet of composition, Such as, a vision signal is divided into 10 parts, then the packet of first part of video will be labeled as 1, The packet of second part of video is labeled as 2, the like, the packet of the tenth part of video marks It is 10, wherein it should be noted that 1,2,10 is each packet Position Number in this video.
It should be noted that the Position Number that includes of each packet and file identification may be located at this End in packet, or beginning, the embodiment of the present invention is not specifically limited.
When the file needing transmission includes multiple, such as, the file of transmission is needed to include video 1, regard Frequently 2, image 1 and image 2.When needs transmit multiple file, need each file is carried out literary composition Part identifies.For example, it is possible to be a by the file identification of video 1, it is b by the file identification of video 2, It is c by the file identification of image 1, is d by the file identification of image 2.Then each file is entered Row divides, for example, it is possible to each file is divided into 10 groups, or more groups.Such as by a literary composition Part is divided into 10 parts, is then marked by every a video data, can be by the number of first group According to being labeled as a1 or 1a, it is then a2 or 2a by the data markers of second group.The like, Mark each number evidence.In like manner, b file is divided into 10 parts, or less part, or more Part, and mark every a data, can by first group data markers be b1 or 1b, so After be b2 or 2b by the data markers of second group.The like, mark each number evidence.In like manner Mark each file.Certainly, it is not limited only to carry out each file by way of example file identification And Position Number, can be set voluntarily according to actual conditions.
It should be noted that each file needing transmission is carried out file identification by the embodiment of the present invention Identification means, and each packet is carried out the numbering of Position Number, the present invention does not do to be had Body limits.
S102, determine the number of the packet that each link can transmit, and permissible according to each link All allocation of packets are transmitted to different links by the number of the packet of transmission.
Wherein it is desired to explanation, the file needing transmission is divided into multiple packet, so by the present invention It is transmitted by different links afterwards.The number of the packet of each link transmission can be identical, it is possible to With difference.
The data transmission method provided by the embodiment of the present invention, is first entered each file needing transmission Row divides, and obtain multiple packet, and each packet carry the file identification of this document and Position Number in this document, it is then determined that the number of packet that each link can transmit, and according to All described allocation of packets enter to different links by the number of the packet that each link can transmit Row transmission.Therefore the present invention utilizes and be divided into multiple link to be transmitted the file needing transmission, thus Add the safety and reliability of data transmission.
Wherein, after determining the number of packet that each link can transmit, and by all data Bag is distributed to before different links is transmitted, and the method also includes:
According to the AES preset corresponding to each link, encrypt each number of transmission on this link According to bag.
In order to ensure the confidentiality of data transmission procedure, need each packet is provided with password, thus Make when this packet is illegally stolen, it is not easy to be cracked.Wherein, pre-corresponding to each link If AES can be identical, it is also possible to differ.
If the AES corresponding to each link is identical, then after each file being divided into multiple packet, And carrying out data transmission between each packet, encrypt each packet according to this AES, or The multiple packets belonging to same link transmission are encrypted.
If the AES corresponding to each link differs, then each file is divided into multiple data Bao Hou, and before carrying out data transmission each packet, according to the chain distributing to the transmission of each packet The AES on road, encrypts this packet.Such as, if by the allocation of packets of video a5 to link 2, Then needing, according to the AES corresponding to link 2, to encrypt the packet of this a5, its link 2 represents A link in multilink.
Wherein, the size dividing, for each file needing transmission, the multiple packets obtained is identical.
When each file needing transmission is divided, each file needing transmission can be divided into The packet that size is identical, thus beneficially data determine, when transmitting, the packet that each link can transmit Number.Of course, it is possible to each file needing transmission is divided into the packet varied in size, the present invention is not It is specifically limited.
Wherein it is determined that the number of packet that each link can transmit, including:
Load pressure according to each link and network delay, determine the data that this link can transmit The number of bag.
In data transmission procedure, it is thus necessary to determine that the number of the packet that each link can transmit.Such as, Can be according to the load pressure of each link and network delay situation, and the size of each packet, Distribute the packet number that this link can transmit.Such as load pressure is little, and the chain that network delay is less Road, the packet number that can distribute is more.So can be according to load pressure, and the feelings of network delay Condition, and the size of packet proportionally distributes the packet number that can transmit.When each packet Size identical time, can by less for load pressure and that network delay is less link distribute multiple packets; When varying in size of each packet, little for load pressure and that network delay is less link can be distributed Bigger packet.The concrete distribution principle embodiment of the present invention is not specifically limited.
It should be noted that the load pressure that can be able to bear according to all links of each link and net Network time delay situation, presetting each link needs the fixing packet number of transmission.Such as, institute is worked as Having in link, the packet number having a link to transmit is 2, and other links can transmit Packet number is all higher than 2, then needing to preset the packet that each link can transmit is 2. It is thus desirable to the transmission situation of the link according to the packet number minimum can transmitted in all links, really Fixed each link packet number set in advance in data transmission procedure.
Wherein, after determining the number of packet that each link can transmit, the method also includes:
Send the number of the packet that each link can transmit to receiving terminal.
It should be noted that when the packet number that each link can transmit is identical, and in receiving terminal Storage has the packet number of transmission, then need not send the number of the packet that each link can transmit To receiving terminal.When receiving terminal does not store the packet number of link transmission, then need determining often After the packet number of one link transmission, this packet number is sent to receiving terminal by each link, in order to Make receiving terminal it is determined that receive how many packets and just can confirm that and received all packets.
Wherein, after being transmitted all allocation of packets to different links, the method also includes:
In Preset Time, wait the feedback information that arbitrary described link to be received sends, wherein, feedback Information is that receiving terminal is sent by this link, is used for being confirmed whether to be successfully received on this link transmission The information of all packets.
It should be noted that Preset Time can according to circumstances depending on, generally 100ms~500ms.
After packets all in this link are sent to receiving terminal by each link, need in Preset Time, Receive the feedback information that receiving terminal sends, in order to indicate whether receiving terminal has been properly received all packets.
When receiving the feedback information that arbitrary link sends, and the information carried in this feedback information is into Merit receives all packets, then the file bust this belonging to this packet.It addition, when in Preset Time When being not received by feedback information, illustrate that receiving terminal is not received by packet.Therefore, Preset Time is worked as When being inside not received by feedback information, also illustrate that file bust this.
Wherein, when, in Preset Time, not receiving the feedback information that arbitrary link sends, or receive During the feedback information of the packet being not successfully received on this link to receiving terminal, it is determined that retransmit link, And again transmit, by this re-transmission link, the packet being not successfully received.
It should be noted that when receiving terminal does not receives packet, or the packet that receiving terminal receives Number, when the number of this packet that should receive with receiving terminal transmission differs, determines that receiving terminal receives Packet failure.When receiving terminal does not receives packet, feedback information will not be sent, thus without connecing Receive the feedback information that arbitrary link sends;The packet number received when receiving terminal is 2, but transmission should On the link of packet, the packet number of transmission altogether is 3, then can receive the feedback that receiving terminal sends Information, instruction is not successfully received the packet on this link.Wherein it is desired to explanation, feedback information In can include the packet number that has been received, it is also possible to do not include the packet number being received. Feedback information can only include the instruction information being not successfully received packet, it is of course also possible to feedback information In both include the packet number that has been received, and the packet information received.In concrete feedback information Including the information content be not specifically limited, as long as being used to indicate whether to be properly received all packets, Belong to protection scope of the present invention.
When receiving that arbitrary link is unsuccessful transfers all packets, need according to each link is negative Carry pressure and network delay situation, determine the link that can retransmit.Which can certainly preset Or which link is as retransmitting link.Such as, when determining the packet of transmission not success in link 2 When transferring, need the load pressure according to each link and network delay situation, by this link 2 The packet of transmission re-starts transmission, and the link that wherein can retransmit can be link 3 or 4, or Other arbitrary links of person, or appoint several links.It is of course also possible to preset link 2 or chain Road 3 or link 4 as retransmitting link, the packet bust this of transmission on whichever link, On link 2 or link 3 or link 4, all re-start the transmission of packet.
Wherein, when again transmitting the packet being not successfully received, and feedback information include unsuccessful The packet information of transmission, then can only transmit the packet of unsuccessful transmission on re-transmission link again, Packets all on the link of unsuccessful transmission all can also be transmitted on re-transmission link again.Work as feedback When information does not include the information of packet of unsuccessful transmission, need institute on the link of unsuccessful transmission Packet is had all again to transmit on re-transmission link.
In sum, the method for a kind of data transmission that the present invention provides, first by each needs transmission File divides, and obtains multiple packet, and wherein, each packet carries the files-designated of this document Knowing and Position Number in this document, then load pressure and network delay according to each link are true Determine the packet number that each link can transmit, and the packet number can transmitted by each link is sent out Give receiving terminal, then give different links by each allocation of packets, when determining that each packet institute is right During the transmission link answered, according to the AES of this link, encrypt each packet, after then encrypting Packet be transmitted on the link, when in Preset Time, receive the feedback letter that receiving terminal sends After in breath, all packets on this link of instruction have been properly received, the packet on this link transfers Become;When, in Preset Time, not receiving and feedback information, or the feedback information received indicate this chain When packet on road is not successfully received, it is thus necessary to determine that the link again transmitted, and by unsuccessful transmission Packet re-starts transmission on this link again transmitted, thus completes whole data transmission procedure. Because being divided into multiple link to be transmitted each file, thus add data transmission security and can By property, by transmitting after being encrypted by each packet, add the confidentiality of data.
Correspondingly, see Fig. 2, the another kind of data transmission method that the embodiment of the present invention provides, the method Including:
S201, receiving multiple packets of each link transmission, wherein, each packet carries this The file identification of file belonging to packet and Position Number in this document;
The files-designated of file belonging to this packet is identified it should be noted that each packet carries Know, and the Position Number that this packet is in this document.Such as, each link transmission is received many During individual packet, that carry in some packets is a2, and that carry in some packets is b3, has Packet in that carry is a5, etc..Wherein a, b represent different files, 2,3,5 generations Table packet is at the Position Number of file.
S202, Position Number according to the identical packet of file identification, by number identical for file identification A file is become according to inclusion.
When the file identification carried in the multiple packets received has difference, file identification is identical Packet as a class, then packet identical for file identification is arranged according to Position Number Sequence, thus synthesize a file.If the file identification carried in the multiple packets received is the most identical, Or multiple packets do not carry file identification, then by packet according to the position carried in this packet Put numbering to be ranked up, thus synthesize a file.
Wherein, at the Position Number of the packet identical according to file identification, file identification is identical Before packet one file of synthesis, the method also includes:
According to the decipherment algorithm preset corresponding to each link, decipher each number of transmission on this link According to bag.
It should be noted that when the multiple packets received are encryption data bag, need this number It is decrypted according to the decipherment algorithm transmitting this link according to bag.Wherein when the deciphering corresponding to each link When algorithm is identical, the most each packet is decrypted according to this decipherment algorithm;When each link institute When corresponding decipherment algorithm differs, the most each packets need is according to the link institute transmitting this packet Corresponding decipherment algorithm is decrypted.
Wherein, before receiving multiple packets of each link transmission, the method also includes:
Receive the number of packet that this link that each link sends can transmit;
The multiple packets receiving each link transmission specifically include:
The number of the packet that this link sent according to each link can transmit, receives this link and passes Defeated multiple packets.
It should be noted that when receiving terminal does not stores the packet number that each link can transmit Time, after transmitting terminal has confirmed the packet number that each link can transmit, need each link The packet number of transmission is sent to receiving terminal, with so that receiving terminal is confirmed whether to have received all of Packet, so receiving terminal is before receiving all packets, or after having received all packets, Need to receive the packet number that each link can transmit, be confirmed whether to have received in order to receiving terminal All of packet.Then receiving terminal is when receiving the packet number of each link transmission, needs root It is received according to the packet number of this link transmission.Such as when the packet number of the first link transmission When being 3, receiving terminal needs to receive could be bright when the number of the packet that the first link sends is 3 Really having received, when the packet number of the second link transmission is 5, receiving terminal needs to receive second The packet number that link sends could receive when being 5 completely.The number of certain each link transmission Can identical can also differ according to bag number.
When receiving terminal has stored the packet number that each link can transmit, then need not send out Send the packet number that each link can transmit, such as, each link constant transmissions same number Packet, and receiving terminal and transmitting terminal agreement is good, then send the packet of each link transmission Number is not necessary to the step performed.Such as, when fixing each link transmission can transmit 3 packets, Then receiving terminal is when receiving packet, and needing the packet number receiving on each link is 3.
Wherein, the method also includes:
Transmission feeds back to transmitting terminal, and wherein, feedback information is used for being confirmed whether to be successfully received this The information of all packets of transmission on link.
It should be noted that when receiving terminal has received all packets, according to the number of each link transmission According to bag number, can send and feed back to transmitting terminal, be properly received this link transmission in order to indicating whether All packets.When receiving terminal does not receives packet, or the packet number that receiving terminal receives, When the number of this packet transmission that should receive with receiving terminal differs, determine that receiving terminal receives packet Failure.When receiving terminal does not receives packet, feedback information will not be sent;When the number that receiving terminal receives It is 2 according to bag number, but the packet number transmitting transmission altogether on the link of this packet is 3, then connect The feedback information that receiving end sends, instruction is not successfully received the packet on this link.Wherein it is desired to explanation , feedback information can include the packet number being received, it is also possible to do not include being received Packet number.Feedback information can only include the instruction information being not successfully received packet, certainly, Feedback information can also both include the packet number being received, and the packet information received.Tool The information content that the feedback information of body includes is not specifically limited, as long as being used to indicate whether to be properly received Complete all packets, belong to protection scope of the present invention.
In sum, the data transmission method that the embodiment of the present invention provides, receiving each link transmission Packet before, receive the packet number that this link can transmit, then according to this link transmission Packet number, receive the packet number of this link transmission, when having received all packets, And transmission feedback information has been properly received all packets in order to indicate;Then by each packet according to Transmit the decipherment algorithm corresponding to the link of this packet and decipher each packet, by all packets The packet that file identification is identical is integrated according to Position Number, the data that final act mark is identical Inclusion becomes a file, thus completes the transmission of packet.Because a file is divided into multiple packet, And be received by multilink, thus add the safety and reliability of data transmission, and need Each packet is decrypted by decipherment algorithm to be passed through so that data have confidentiality, and then increase The security of data and confidentiality in data transmission procedure.Even if on link or many Individual data are coated and crack, because unclear whole file has several packet, and each packet institute At the Position Number of file, so whole file is unlikely to lose completely.
Below by specific embodiment, whole data transmission procedure is described.
See Fig. 3, the data transmission method that the embodiment of the present invention provides, the method includes:
This document, for each file needing transmission, is divided, obtains many by S301, transmitting terminal Individual packet, each packet carries the file identification of this document and position in this document is compiled Number;
The size wherein dividing, for each file needing transmission, the multiple packets obtained is identical.
According to load pressure and the network delay of each link, S302, transmitting terminal determine that each link can With the packet number of transmission, it is sent to the packet number that each link can transmit receive simultaneously End;
S303, transmitting terminal, according to the AES preset corresponding to each link, are encrypted on this link Each packet of transmission;
The packet number that all packets can transmit according to each link is carried out by S304, transmitting terminal Distribute to each link, then transmit all packets to receiving terminal;
S305, receiving terminal receive the packet number that each link can transmit;
Wherein the execution process of step S305 is not necessary to after step S304, transmits according to information Speed, can be after step S303, or before step S303, or in step S303 During execution.
The number of the packet that this link that S306, receiving terminal send according to each link can transmit, Receiving multiple packets of this link transmission, wherein, each packet carries literary composition belonging to this packet The file identification of part and Position Number in this document;
S307, when receiving terminal receives packet, can pass according to this link that each link sends The number of defeated packet, and the packet number of this link transmission that receiving terminal receives, send Feed back to transmitting terminal;
After wherein transmission feedback information may be located at step S308, the present invention is not specifically limited.
S308, transmitting terminal receive the feedback information that receiving terminal sends, and send when not receiving arbitrary link Feedback information, or receive receiving terminal and be not successfully received the feedback information of the packet on this link Time, it is determined that retransmit link, and again transmit, by this re-transmission link, the packet being not successfully received;
S309, receiving terminal receive the packet being not successfully received again;
S3010, receiving terminal, according to the decipherment algorithm preset corresponding to each link, decipher this link Each packet of upper transmission;
S3011, receiving terminal are according to the Position Number of the identical packet of file identification, by file identification Identical packet one file of synthesis.
To sum up, it is divided into multiple packet according to by each file needing transmission, and each packet is taken With file identification and the Position Number in this document of file belonging to this packet, and according to multiple Link is transmitted, simultaneously according to the password encryption corresponding to each link, so that packet exists Even if one or more is cracked or reveals in transmitting procedure, also it is unlikely to lose whole file Lose.Even if because deciphering one or more packet, not knowing that whole file includes several data yet Bag, or do not know not have the position of file that packet is positioned at this packet place.Therefore the present invention The data transmission method that embodiment provides, increases security and the confidentiality of data transmission.
See Fig. 4, a kind of data transmission device that the embodiment of the present invention provides, this device includes:
First module 41, for for each file needing transmission, this document being divided, To multiple packets, each packet carries file identification and the position in this document of this document Numbering;
Second unit 42, for determining the number of packet that each link can transmit, and according to often All described allocation of packets enter to different links by the number of the packet that one link can transmit Row transmission.
It is preferred that second unit 42 is additionally operable to:
According to the AES preset corresponding to each link, encrypt each number of transmission on this link According to bag.
It is preferred that divide the size phase of the multiple packets obtained for each file needing transmission With.
It is preferred that second unit 42 determines the number of the packet that each link can transmit, specifically For:
Load pressure according to each link and network delay, determine the data that this link can transmit The number of bag.
It is preferred that second unit 42 is after determining the number of packet that each link can transmit, It is additionally operable to:
Send the number of the packet that described each link can transmit to receiving terminal.
It is preferred that second unit 42 is additionally operable to:
In Preset Time, wait the feedback information that arbitrary described link to be received sends, wherein, described Feedback information is that receiving terminal is sent by this link, is used for being confirmed whether to be successfully received this link The information of all packets of transmission.
It is preferred that second unit 42 is additionally operable to:
When, in described Preset Time, not receiving the feedback information that arbitrary link sends, or receive When receiving terminal is not successfully received the feedback information of the packet on this link, it is determined that retransmit link, and Again the packet being not successfully received is transmitted by this re-transmission link.
See Fig. 5, the another kind of data transmission device that the embodiment of the present invention provides, this device includes:
3rd unit 51, for receiving multiple packets of each link transmission, wherein, each data Bag carries file identification and the Position Number in this document of file belonging to this packet;
4th unit 52, for the Position Number of the packet identical according to file identification, by files-designated Sensible same packet one file of synthesis.
It is preferred that the 4th unit 52 is according to the Position Number of the identical packet of file identification, by literary composition Before packet one file of synthesis that part mark is identical, it is additionally operable to:
According to the decipherment algorithm preset corresponding to each link, decipher each number of transmission on this link According to bag.
It is preferred that before the 3rd unit 51 receives multiple packets of each link transmission, be additionally operable to:
Receive the number of packet that this link that each link sends can transmit;
Multiple packets of each link transmission of described reception specifically include:
The number of the packet that this link sent according to each link can transmit, receives this link and passes Defeated multiple packets.
It is preferred that the 4th unit 52 is additionally operable to:
Transmission feeds back to transmitting terminal, and wherein, described feedback information is used for being confirmed whether to be properly received The information of all packets of transmission on this link.
In sum, the data transmission method that the embodiment of the present invention provides, first need transmission by each File be divided into multiple packet, and each packet carries the files-designated of file belonging to this packet Know and Position Number in this document, then according to multiple link is transmitted, simultaneously according to each AES corresponding to link is encrypted, the packet that finally can transmit according to each link Number transmit all packets, even if so that packet in transmitting procedure, one or more is broken Solve or reveal, be also unlikely to lose whole file.Even if because deciphering one or more data Bag, does not knows that whole file includes several packet yet, or does not knows do not have packet to be positioned at this number Position according to the file at bag place.Therefore the data transmission method that the embodiment of the present invention provides, increases number According to security and the confidentiality of transmission, and reliability.
Device embodiment described above is only schematically, wherein said illustrates as separating component Unit can be or may not be physically separate, the parts shown as unit can be or Person may not be physical location, i.e. may be located at a place, or can also be distributed to multiple network On unit.Some or all of module therein can be selected according to the actual needs to realize the present embodiment The purpose of scheme.Those of ordinary skill in the art are not in the case of paying performing creative labour, the most permissible Understand and implement.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive each reality The mode of executing can add the mode of required general hardware platform by software and realize, naturally it is also possible to by firmly Part.Based on such understanding, the portion that prior art is contributed by technique scheme the most in other words Dividing and can embody with the form of software product, this computer software product can be stored in computer can Read in storage medium, such as ROM/RAM, magnetic disc, CD etc., including some instructions with so that one Computer equipment (can be personal computer, server, or the network equipment etc.) performs each to be implemented The method described in some part of example or embodiment.
Last it is noted that above example is only in order to illustrate technical scheme, rather than to it Limit;Although the present invention being described in detail with reference to previous embodiment, the ordinary skill of this area Personnel it is understood that the technical scheme described in foregoing embodiments still can be modified by it, or Person carries out equivalent to wherein portion of techniques feature;And these amendments or replacement, do not make corresponding skill The essence of art scheme departs from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (22)

1. a data transmission method, it is characterised in that the method includes:
For each file needing transmission, this document is divided, obtains multiple packet, often One packet carries file identification and the Position Number in this document of this document;
Determine the number of the packet that each link can transmit, and can transmit according to each link All described allocation of packets are transmitted to different links by the number of packet.
Method the most according to claim 1, it is characterised in that determining that each link is permissible After the number of the packet of transmission, and pass all described allocation of packets to different links Before defeated, the method also includes:
According to the AES preset corresponding to each link, encrypt each number of transmission on this link According to bag.
Method the most according to claim 1, it is characterised in that for each needs transmission The size that file divides the multiple packets obtained is identical.
Method the most according to claim 1, it is characterised in that determine that each link can pass The number of defeated packet, including:
Load pressure according to each link and network delay, determine the data that this link can transmit The number of bag.
Method the most according to claim 1, it is characterised in that determining that each link is permissible After the number of the packet of transmission, the method also includes:
Send the number of the packet that described each link can transmit to receiving terminal.
Method the most according to claim 1, it is characterised in that all described packets are divided After the different link of dispensing is transmitted, the method also includes:
In Preset Time, wait the feedback information that arbitrary described link to be received sends, wherein, described Feedback information is that receiving terminal is sent by this link, is used for being confirmed whether to be successfully received this link The information of all packets of transmission.
Method the most according to claim 6, it is characterised in that the method also includes:
When, in described Preset Time, not receiving the feedback information that arbitrary link sends, or receive When receiving terminal is not successfully received the feedback information of the packet on this link, it is determined that retransmit link, and Again the packet being not successfully received is transmitted by this re-transmission link.
8. a data transmission method, it is characterised in that the method includes:
Receiving multiple packets of each link transmission, wherein, each packet carries this packet Belonging to the file identification of file and Position Number in this document;
According to the Position Number of the identical packet of file identification, by data inclusion identical for file identification Become a file.
Method the most according to claim 8, it is characterised in that identical according to file identification The Position Number of packet, before packet one file of synthesis identical for file identification, the party Method also includes:
According to the decipherment algorithm preset corresponding to each link, decipher each number of transmission on this link According to bag.
Method the most according to claim 8, it is characterised in that receiving each link transmission Multiple packets before, the method also includes:
Receive the number of packet that this link that each link sends can transmit;
Multiple packets of each link transmission of described reception specifically include:
The number of the packet that this link sent according to each link can transmit, receives this link and passes Defeated multiple packets.
11. methods according to claim 10, it is characterised in that the method also includes:
Transmission feeds back to transmitting terminal, and wherein, described feedback information is used for being confirmed whether to be properly received The information of all packets of transmission on this link.
12. 1 kinds of data transmission devices, it is characterised in that this device includes:
First module, for for each file needing transmission, dividing this document, obtain Multiple packets, each packet carries the file identification of this document and position in this document is compiled Number;
Second unit, for determining the number of packet that each link can transmit, and according to each All described allocation of packets carry out to different links by the number of the packet that link can transmit Transmission.
13. devices according to claim 12, it is characterised in that described second unit is also used In:
According to the AES preset corresponding to each link, encrypt each number of transmission on this link According to bag.
14. devices according to claim 12, it is characterised in that need transmission for each File to divide the size of multiple packets obtained identical.
15. devices according to claim 12, it is characterised in that described second unit determines The number of the packet that each link can transmit, specifically for:
Load pressure according to each link and network delay, determine the data that this link can transmit The number of bag.
16. devices according to claim 12, it is characterised in that described second unit is really After the number of the packet that fixed each link can transmit, it is additionally operable to:
Send the number of the packet that described each link can transmit to receiving terminal.
17. devices according to claim 12, it is characterised in that described second unit is also used In:
In Preset Time, wait the feedback information that arbitrary described link to be received sends, wherein, described Feedback information is that receiving terminal is sent by this link, is used for being confirmed whether to be successfully received this link The information of all packets of transmission.
18. devices according to claim 17, it is characterised in that described second unit is also used In:
When, in described Preset Time, not receiving the feedback information that arbitrary link sends, or receive When receiving terminal is not successfully received the feedback information of the packet on this link, it is determined that retransmit link, and Again the packet being not successfully received is transmitted by this re-transmission link.
19. 1 kinds of data transmission devices, it is characterised in that this device includes:
Unit the 3rd, for receiving multiple packets of each link transmission, wherein, each packet Carry file identification and the Position Number in this document of file belonging to this packet;
Unit the 4th, for the Position Number of the packet identical according to file identification, by file identification Identical packet one file of synthesis.
20. devices according to claim 19, it is characterised in that described Unit the 4th according to The Position Number of the packet that file identification is identical, by packet one literary composition of synthesis identical for file identification Before part, it is additionally operable to:
According to the decipherment algorithm preset corresponding to each link, decipher each number of transmission on this link According to bag.
21. devices according to claim 19, it is characterised in that described Unit the 3rd receives Before multiple packets of each link transmission, it is additionally operable to:
Receive the number of packet that this link that each link sends can transmit;
Multiple packets of each link transmission of described reception specifically include:
The number of the packet that this link sent according to each link can transmit, receives this link and passes Defeated multiple packets.
22. devices according to claim 21, it is characterised in that described Unit the 4th is also used In:
Transmission feeds back to transmitting terminal, and wherein, described feedback information is used for being confirmed whether to be properly received The information of all packets of transmission on this link.
CN201510689321.1A 2015-10-21 2015-10-21 Data transmission method and device Pending CN105897579A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510689321.1A CN105897579A (en) 2015-10-21 2015-10-21 Data transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510689321.1A CN105897579A (en) 2015-10-21 2015-10-21 Data transmission method and device

Publications (1)

Publication Number Publication Date
CN105897579A true CN105897579A (en) 2016-08-24

Family

ID=57001773

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510689321.1A Pending CN105897579A (en) 2015-10-21 2015-10-21 Data transmission method and device

Country Status (1)

Country Link
CN (1) CN105897579A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107517265A (en) * 2017-09-04 2017-12-26 安徽爱她有果电子商务有限公司 A kind of high speed data transfer system based on UTP agreements
CN107609622A (en) * 2017-08-28 2018-01-19 深圳市金天速科技有限公司 Encryption method and system based on multi-code unification
CN108631954A (en) * 2017-03-24 2018-10-09 电信科学技术研究院 A kind of data transmission method and device
CN109787986A (en) * 2019-01-29 2019-05-21 黄策 File fragmentation public network safe transmission method
CN109862027A (en) * 2019-03-01 2019-06-07 中国联合网络通信集团有限公司 Data transmission method, data reception method and device, and data transmission system
CN110139078A (en) * 2019-05-28 2019-08-16 深圳市安赛通科技有限公司 More net isomery synergistic effect algorithms
CN111294146A (en) * 2019-04-12 2020-06-16 展讯通信(上海)有限公司 Retransmission method and device of data frame
CN111683081A (en) * 2020-06-04 2020-09-18 北京百度网讯科技有限公司 Method and device for secure transmission of data
WO2021068213A1 (en) * 2019-10-11 2021-04-15 北京小米移动软件有限公司 Data transmission method and data transmission apparatus
CN113507728A (en) * 2021-09-10 2021-10-15 成都特维思科技有限公司 Transmission method for accelerating digital information transmission speed
CN115474291A (en) * 2022-11-14 2022-12-13 湖南柒丰智能科技有限公司 LoRa communication method and system
CN116155346A (en) * 2022-12-26 2023-05-23 北京航天控制仪器研究所 A method and system for joint scheduling of satellite-ground link resources assisted by TCP acceleration
CN118041641A (en) * 2024-02-23 2024-05-14 应急管理部大数据中心 Network link fusion method, system and device based on abnormal data association rejection

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1938962A (en) * 2004-01-28 2007-03-28 新加坡国立大学 Systems and methods for communication
CN101094185A (en) * 2007-07-27 2007-12-26 杭州华三通信技术有限公司 Method and device for forwarding message based on multilink
CN101175017A (en) * 2006-11-02 2008-05-07 华为技术有限公司 Data transmission system and method
CN101567841A (en) * 2008-04-24 2009-10-28 华为技术有限公司 Method, device and system for forwarding data
CN102185771A (en) * 2011-05-05 2011-09-14 清华大学 Dispatching method and system for data packet of sender in MPTCP (Multipath TCP (Transmission Control Protocol))
CN103067273A (en) * 2013-01-05 2013-04-24 中国联合网络通信集团有限公司 Method and device for transmitting data
CN104660638A (en) * 2013-11-20 2015-05-27 沈阳晨讯希姆通科技有限公司 Data transmission method and system
CN104753627A (en) * 2013-12-26 2015-07-01 中兴通讯股份有限公司 Multipath transmission method, multipath transmission system, data transmission device and data receiving device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1938962A (en) * 2004-01-28 2007-03-28 新加坡国立大学 Systems and methods for communication
CN101175017A (en) * 2006-11-02 2008-05-07 华为技术有限公司 Data transmission system and method
CN101094185A (en) * 2007-07-27 2007-12-26 杭州华三通信技术有限公司 Method and device for forwarding message based on multilink
CN101567841A (en) * 2008-04-24 2009-10-28 华为技术有限公司 Method, device and system for forwarding data
CN102185771A (en) * 2011-05-05 2011-09-14 清华大学 Dispatching method and system for data packet of sender in MPTCP (Multipath TCP (Transmission Control Protocol))
CN103067273A (en) * 2013-01-05 2013-04-24 中国联合网络通信集团有限公司 Method and device for transmitting data
CN104660638A (en) * 2013-11-20 2015-05-27 沈阳晨讯希姆通科技有限公司 Data transmission method and system
CN104753627A (en) * 2013-12-26 2015-07-01 中兴通讯股份有限公司 Multipath transmission method, multipath transmission system, data transmission device and data receiving device

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108631954B (en) * 2017-03-24 2020-12-11 电信科学技术研究院 Data transmission method and device
CN108631954A (en) * 2017-03-24 2018-10-09 电信科学技术研究院 A kind of data transmission method and device
CN107609622A (en) * 2017-08-28 2018-01-19 深圳市金天速科技有限公司 Encryption method and system based on multi-code unification
CN107609622B (en) * 2017-08-28 2021-03-02 深圳市金天速科技有限公司 Encryption method and system based on multi-code unification
CN107517265A (en) * 2017-09-04 2017-12-26 安徽爱她有果电子商务有限公司 A kind of high speed data transfer system based on UTP agreements
CN109787986A (en) * 2019-01-29 2019-05-21 黄策 File fragmentation public network safe transmission method
CN109862027A (en) * 2019-03-01 2019-06-07 中国联合网络通信集团有限公司 Data transmission method, data reception method and device, and data transmission system
CN111294146B (en) * 2019-04-12 2021-08-10 展讯通信(上海)有限公司 Retransmission method and device of data frame
CN111294146A (en) * 2019-04-12 2020-06-16 展讯通信(上海)有限公司 Retransmission method and device of data frame
US11424870B2 (en) 2019-04-12 2022-08-23 Spreadtrum Communications (Shanghai) Co., Ltd. Data frame retransmission method and device
CN110139078A (en) * 2019-05-28 2019-08-16 深圳市安赛通科技有限公司 More net isomery synergistic effect algorithms
CN112956276B (en) * 2019-10-11 2023-09-01 北京小米移动软件有限公司 Data transmission method and data transmission device
CN112956276A (en) * 2019-10-11 2021-06-11 北京小米移动软件有限公司 Data transmission method and data transmission device
WO2021068213A1 (en) * 2019-10-11 2021-04-15 北京小米移动软件有限公司 Data transmission method and data transmission apparatus
US12177138B2 (en) 2019-10-11 2024-12-24 Beijing Xiaomi Mobile Software Co., Ltd. Method, device and storage medium for transmitting data
CN111683081B (en) * 2020-06-04 2022-10-18 北京百度网讯科技有限公司 Method and device for secure transmission of data
CN111683081A (en) * 2020-06-04 2020-09-18 北京百度网讯科技有限公司 Method and device for secure transmission of data
CN113507728A (en) * 2021-09-10 2021-10-15 成都特维思科技有限公司 Transmission method for accelerating digital information transmission speed
CN113507728B (en) * 2021-09-10 2021-11-16 成都特维思科技有限公司 Transmission method for accelerating digital information transmission speed
CN115474291A (en) * 2022-11-14 2022-12-13 湖南柒丰智能科技有限公司 LoRa communication method and system
CN115474291B (en) * 2022-11-14 2023-02-28 湖南柒丰智能科技有限公司 LoRa communication method and system
CN116155346A (en) * 2022-12-26 2023-05-23 北京航天控制仪器研究所 A method and system for joint scheduling of satellite-ground link resources assisted by TCP acceleration
CN118041641A (en) * 2024-02-23 2024-05-14 应急管理部大数据中心 Network link fusion method, system and device based on abnormal data association rejection
CN118041641B (en) * 2024-02-23 2024-07-23 应急管理部大数据中心 Network link fusion method, system and device based on abnormal data association rejection

Similar Documents

Publication Publication Date Title
CN105897579A (en) Data transmission method and device
CN103701610B (en) A kind of acquisition method and system for transmitting cipher key T K
CN101496338B (en) Method and apparatus for providing an adaptable security level in an electronic communication
CN105337935B (en) A kind of method and apparatus for establishing client and the long connection of server-side
CN101344906B (en) Sectional type remote updating method
CN101251883B (en) Method for performing safety controllable remote upgrade for software protecting device
CN101464932B (en) Cooperation method and system for hardware security units, and its application apparatus
CN101663903A (en) Secure soft sim credential transfer
CN110445747A (en) System and method for the exchange of encrypted transport data service
JPH07170257A (en) Method and equipment for checking user in communication network
CN104919467B (en) Control the method and network drive system of the access to network drive
CN106341228B (en) A kind of virtual machine migration method, system and virtual machine move into end and end of moving out
CN107465689A (en) The key management system and method for virtual credible platform module under cloud environment
CN103916363A (en) Communication security management method and system for encryption machine
CN106255975A (en) Method and system for securing electronic data exchange between an industrial programmable device and a portable programmable device
CN107896223A (en) A kind of data processing method and system, data collecting system and data receiving system
JP6583728B2 (en) Communications system
CN104424446A (en) Safety verification and transmission method and system
CN106161444A (en) Secure storage method of data and subscriber equipment
CN109688131A (en) A kind of data transmission method, device and system
CN108270568A (en) A kind of mobile digital certificate device and its update method
CN101388829A (en) Signaling for reposition and data ciphering method, system and radio network controller
CN112534790B (en) Encryption device, communication system and method for exchanging encrypted data in a communication network
CN102833077A (en) Encryption and decryption methods of remote card-issuing data transmission of financial IC (Integrated Circuit) card and financial social security IC card
CN100499453C (en) Method of the authentication at client end

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20180801

Address after: 511400 9, Nansha District Beach Road, Guangzhou, Guangdong, 9

Applicant after: Rui Chi intelligent automobile (Guangzhou) Co., Ltd.

Address before: 100025, 15 floor, Guan Hu International Building, 105 Yao Yuan Road, Chaoyang District, Beijing.

Applicant before: Smart car technology (Beijing) Co., Ltd.

TA01 Transfer of patent application right
CB02 Change of applicant information

Address after: 511400 9, Nansha District Beach Road, Guangzhou, Guangdong, 9

Applicant after: Hengda Faraday future intelligent vehicle (Guangdong) Co., Ltd.

Address before: 511400 9, Nansha District Beach Road, Guangzhou, Guangdong, 9

Applicant before: Rui Chi intelligent automobile (Guangzhou) Co., Ltd.

CB02 Change of applicant information
TA01 Transfer of patent application right

Effective date of registration: 20190312

Address after: 100015 Building No. 7, 74, Jiuxianqiao North Road, Chaoyang District, Beijing, 001

Applicant after: FAFA Automobile (China) Co., Ltd.

Address before: 511400 9, Nansha District Beach Road, Guangzhou, Guangdong, 9

Applicant before: Hengda Faraday future intelligent vehicle (Guangdong) Co., Ltd.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20160824

RJ01 Rejection of invention patent application after publication