CN109587085A - A kind of data transmission method and its relevant device - Google Patents
A kind of data transmission method and its relevant device Download PDFInfo
- Publication number
- CN109587085A CN109587085A CN201811640045.XA CN201811640045A CN109587085A CN 109587085 A CN109587085 A CN 109587085A CN 201811640045 A CN201811640045 A CN 201811640045A CN 109587085 A CN109587085 A CN 109587085A
- Authority
- CN
- China
- Prior art keywords
- data
- data packet
- packet
- sent
- merging
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/90—Buffering arrangements
- H04L49/9057—Arrangements for supporting packet reassembly or resequencing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/16—Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
- H04L69/164—Adaptation or special uses of UDP protocol
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/845—Structuring of content, e.g. decomposing content into time segments
- H04N21/8456—Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computer Security & Cryptography (AREA)
- Multimedia (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a kind of data transmission methods, including data transfer instruction obtains multiple data packets to be sent to data sending terminal based on the received;Processing is merged to each data packet to be sent according to preset rules, data packet after being merged;Pass through data packet after the preset data transport protocol transmission merging to data receiver.The invention also discloses another data transmission method, data transmitting equipment, data receiver, data transmission system, computer readable storage medium and computer program products.The technical solution that the present invention is realized can be in data transmission procedure, on the basis of system high performance operation is effectively ensured, improve data transfer efficiency.
Description
Technical field
The present invention relates to Internet technical field more particularly to a kind of data transmission methods, further relate to another data and pass
Transmission method, data transmitting equipment, data receiver, data transmission system, computer readable storage medium and computer journey
Sequence product.
Background technique
It is typical such as 4kB for video flowing to be often cut into small video data block convenient for processing in transmission of video scene
Or 8kB etc., however, the data number of blocks generated in the unit time will be multiplied, meeting in this way with the increase of video code rate
The system of greatly increasing handles the pressure of multiple data blocks.Especially in the environment of multithreading, due to needing to do between thread mutually
Reprimand processing, therefore in the unit time data packet quantity it is more, the overhead of mutual exclusion lock is bigger, so that whole system can be reduced
Handling capacity, reduce send data efficiency.
To solve the above problems, number to be treated in the unit time can be reduced by transcoding technology in the prior art
According to number of blocks, but this kind of method can bring the decline of video quality, can not tackle the problem at its root.
Therefore, how a kind of data transmission method is provided, on the basis of the system that is effectively ensured is high performance, improves data and passes
Defeated efficiency is those skilled in the art's urgent problem to be solved.
Summary of the invention
The main purpose of the present invention is to provide two kinds of data transmission methods, data transmitting equipment, data receiver, numbers
According to Transmission system, computer readable storage medium and computer program product, it is intended to solve in prior art since system needs
Handle a large amount of small data packets and the system performance that generates reduces and data transmission efficiency is lower problem.
To achieve the above object, the present invention provides a kind of data transmission methods, which comprises
Data transfer instruction obtains multiple data packets to be sent to data sending terminal based on the received;
Processing is merged to each data packet to be sent according to preset rules, data packet after being merged;
Pass through data packet after the preset data transport protocol transmission merging to data receiver.
Preferably, described that processing is merged to each data packet to be sent according to preset rules, after being merged
Data packet, comprising:
Obtain the header packet information of each data packet to be sent;
The length information of corresponding data packet to be sent is determined according to the header packet information;
Processing is merged to each data packet to be sent according to each length information, is obtained without departing from default
Data packet after the merging of data packet length.
Preferably, the preset data packet length is the corresponding standard transmission length of the preset data transport protocol.
It is preferably, described that data packet is sent after the merging to data receiver by preset data transport protocol, comprising:
Data packet after the merging is sent to the data receiver by udp protocol.
To achieve the above object, the present invention provides a kind of data transmitting equipment, the equipment includes memory and processing
Device is stored with the data distributing program that can be run on the processor on the memory, and the data distributing program is by institute
State the step of realizing the data transmission method as described in any one of the above when processor executes.
Preferably, the data transmitting equipment is the node for forming CDN network or block chain network.
To achieve the above object, the present invention provides another data transmission methods, which comprises
Data receiver receives the merging data packet that data sending terminal is sent by preset data transport protocol;Wherein, institute
Stating merging data packet is after getting multiple data packets to be sent according to data transfer instruction by the data sending terminal, to each
The data packet to be sent merges what processing obtained;
Reduction treatment is carried out to the merging data packet, obtains raw data packets.
To achieve the above object, the present invention provides a kind of data receiver, the equipment includes memory and processing
Device is stored with the data distributing program that can be run on the processor on the memory, and the data distributing program is by institute
State the step of realizing above-mentioned another data transmission method when processor executes.
Preferably, the data receiver is the node for forming CDN network or block chain network.
To achieve the above object, the present invention provides a kind of data transmission systems, and the system comprises any institutes as above
Data receiver described in the data transmitting equipment stated and any of the above-described kind.
To achieve the above object, the present invention provides a kind of computer readable storage medium, the computer-readable storages
Data distributing program is stored on medium, the data distributing program can be executed by one or more processors, as above to realize
The step of any described data transmission method.
To achieve the above object, the present invention provides a kind of computer program product, the computer program product includes
Computer instruction, when run on a computer, allow computer execute any of the above-described kind described in transmission side data
The step of method.
A kind of data transmission method provided by the present invention, including data transfer instruction obtains data sending terminal based on the received
Take multiple data packets to be sent;Processing is merged to each data packet to be sent according to preset rules, after being merged
Data packet;Pass through data packet after the preset data transport protocol transmission merging to data receiver.As it can be seen that provided by the present invention
Technical solution, data sending terminal is before carrying out data transmission, first to each small data packets, i.e., above-mentioned data packet to be sent into
Row merging treatment obtains data packet after the merging for being suitble to size, then data packet after merging is sent to data receiver, completes number
According to transmission.This kind reduces number-of-packet in the unit time by merging multiple small data packets one big data packet of formation as a result,
The method of amount is also not required to take the post as legacy data transport protocol without generating any extra data in data transmission procedure
What is modified, and is achieved that the reduction of data packet number in the unit time, thus can effectively reduce the processing of data transmit-receive both sides
Load improves oncurrent processing ability, further decreases the processing pressure of system, improves throughput of system, while can also realize pair
The maximization of system effect bandwidth uses, improve data transfer efficiency.
Another kind data transmission method, data transmitting equipment, data receiver, data transmission system provided by the present invention
System, computer readable storage medium and computer program product, all have above-mentioned beneficial effect, details are not described herein.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
Fig. 1 is the flow diagram of first embodiment of the invention;
Fig. 2 is the flow diagram of packet combining processing method in first embodiment of the invention;
Fig. 3 is the flow diagram of second embodiment of the invention;
Fig. 4 is the flow diagram of third embodiment of the invention;
Fig. 5 is the schematic diagram of internal structure for the data transmitting equipment that first embodiment of the invention discloses;
Fig. 6 is the schematic diagram of internal structure for the data receiver that second embodiment of the invention discloses;
Fig. 7 is the structural schematic diagram of fourth embodiment of the invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right
The present invention is further elaborated.It should be appreciated that described herein, specific examples are only used to explain the present invention, not
For limiting the present invention.Based on the embodiments of the present invention, those of ordinary skill in the art are not before making creative work
Every other embodiment obtained is put, shall fall within the protection scope of the present invention.
The description and claims of this application and term " first ", " second ", " third ", " in above-mentioned attached drawing
The (if present)s such as four " are to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should manage
The data that solution uses in this way are interchangeable under appropriate circumstances, so that the embodiments described herein can be in addition to illustrating herein
Or the sequence other than the content of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that
Cover it is non-exclusive include, for example, containing the process, method, system, product or equipment of a series of steps or units need not limit
In step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, produce
The other step or units of product or equipment inherently.
It should be noted that the description for being related to " first ", " second " etc. in the present invention is used for description purposes only, and cannot
It is interpreted as its relative importance of indication or suggestion or implicitly indicates the quantity of indicated technical characteristic.Define as a result, " the
One ", the feature of " second " can explicitly or implicitly include at least one of the features.In addition, the skill between each embodiment
Art scheme can be combined with each other, but must be based on can be realized by those of ordinary skill in the art, when technical solution
Will be understood that the combination of this technical solution is not present in conjunction with there is conflicting or cannot achieve when, also not the present invention claims
Protection scope within.
A kind of data transmission method provided by the invention.
Referring to Fig.1, Fig. 1 is the flow diagram of first embodiment of the invention.
In the first embodiment, this method may include:
S10: data transfer instruction obtains multiple data packets to be sent to data sending terminal based on the received;
This step aims at the acquisition of data packet.Specifically, when needing to carry out data transmission, the transmittable number of user
According to the processor of transmission instruction to data transmission set, further, user's need are obtained according to the data transfer instruction by processor
The data packet to be transmitted, i.e., above-mentioned data packet to be sent, and subsequent processing and transmission are carried out to it.
Wherein, data packet to be sent is to carry out the decimal obtained after cutting to data to be sent, such as audio stream, video flowing
According to packet, therefore its quantity is more, and the specific value of the quantity is determined by the size of data to be sent, when data to be sent are larger
When, the quantity of the data packet to be sent obtained after corresponding cutting is just relatively more, when data to be sent are smaller, obtains after corresponding cutting
Data packet to be sent quantity with regard to fewer, but it should be recognized that data packet number to be sent number have no effect on
The implementation of the technical program.
In addition, issuing for above-mentioned data transfer instruction, can be realized based on client;For above-mentioned data packet to be sent
Acquisition, then parsing acquisition can be carried out to data transfer instruction by processor.Certainly, implementation above mode is only that the application is mentioned
A kind of embodiment supplied, not uniquely.
S11: processing is merged to each data packet to be sent according to preset rules, data packet after being merged;
On the basis of S10, this step aims at the merging treatment of data packet.Specifically, processor is obtaining respectively
After a data packet to be sent, data after being merged according to preset rules to all packet combining processing to be sent
Packet.
It should be noted that this step, which merges processing to data packet to be sent, is intended to data to be sent in reduction system
The quantity of packet, to reduce the data processing pressure of system, therefore, above-mentioned preset rules can be realized the merging of data packet to be sent
, and for the particular content of the rule, combine the actual conditions of system to preset by technical staff, the application is not
It limits.For example, the merging treatment of data packet can be carried out according to preset quantity, it is by two adjacent packet combinings to be sent
One big data packet, the quantity of data packet to be sent will be reduced to original half in system as a result, effectively reduce system
Pressure.Can also according to preset length carry out data packet merging treatment, i.e., will multiple packet combinings to be sent for without departing from
The big data packet of preset length, the purpose that equally can reach and reduce data packet number, reduce system pressure.Certainly, for above-mentioned
The specific value of preset quantity and preset length, the application is equally without limitation.
It further, is the flow diagram of packet combining processing method in first embodiment of the invention with reference to Fig. 2, Fig. 2,
Optionally, above-mentioned to merge processing to each data packet to be sent according to preset rules, data packet after being merged can wrap
It includes:
S20: the header packet information of each data packet to be sent is obtained;
S21: the length information of corresponding data packet to be sent is determined according to header packet information;
S22: processing is merged to each data packet to be sent according to each length information, is obtained without departing from preset data
Data packet after the merging of packet length.
This application provides a kind of merging methods of more specific data packet, i.e., based on the length in packet header information
Spend information realization.Specifically, that is, above-mentioned data packet to be sent is all to each small data packets obtained after data progress cutting
There is corresponding packet header, packet header is started with a fixed byte, and the size of data packet can protect in the byte of some in packet header
It deposits, therefore, this kind of characteristic of availability data packet realizes the merging treatment of data packet.After obtaining each data packet to be sent,
Its corresponding header packet information can be further obtained, and obtains the length letter of corresponding data packet to be sent from header packet information
Breath, so that the merging treatment to data packet to be sent is completed according to length information, to obtain without departing from preset data packet length
Data packet after merging.
Wherein, for the specific value of the preset data packet length, it can be transmitted and be assisted according to the actual conditions or data of system
The requirement of view is set, and the application is not specifically limited in this embodiment.Further, small data packets in the big data packet obtained after merging
Merging quantity, not uniquely, when small data packets length is smaller, the quantity of small data packets is necessarily more in big data packet, when
When small data packets length is larger, the quantity of small data packets is necessarily less in big data packet.
Optionally, above-mentioned preset data packet length can be the corresponding standard transmission length of preset data transport protocol.
It is realized specifically, the transmission of data packet is generally basede on corresponding Data Transport Protocol, i.e., the present count in following S12
According to transport protocol, therefore, for above-mentioned preset data packet length, the corresponding standard transmission of preset data transport protocol may be set to
Length, in order to the transmission of data packet after subsequent merging.For example, to Mr. Yu's Data Transport Protocol, the data packet that can transmit
65k is not allowed more than, preset data packet length can be set as to 65k as a result, i.e., obtained after being merged to data packet to be sent
Merging after the maximum length of data packet do not allow beyond 65k.
Certainly, the value that may also set up preset data packet length is long lower than the corresponding standard transmission of preset data transport protocol
Degree, but after merging data packet reach transport layer when, still can the protocol contents based on Preset Transfer agreement to data after merging
Packet merges again, to improve the utilization rate of transmission layer bandwidth.Therefore, above that preset data packet length is set as present count
According to the corresponding standard transmission length of transport protocol, data packet is effectively prevented in the merging again of transport layer, is further improved
Data transmission efficiency.
S12: pass through data packet after the transmission merging of preset data transport protocol to data receiver.
On the basis of S11, this step aims at the transmission of data packet.Specifically, completing data to be transmitted packet
Merging treatment, after being merged after data packet, data receiver can be sent it to by above-mentioned preset data transport protocol
End completes the transmission of data as a result,.Wherein, for above-mentioned preset data transport protocol, appointing in prior art can be used
It anticipates one kind, can be realized the transmission of data packet, type is selected to have no effect on the implementation of the technical program.And for its tool
Body transmission process defers to corresponding Data Transport Protocol content, and details are not described herein by the application.
Optionally, data packet after merging is sent above by preset data transport protocol may include to data receiver
Data packet after merging is sent to data by udp protocol (User Datagram Protocol, User Datagram Protocol)
Receiving end.
Specifically, this application provides a kind of specific Data Transport Protocol, i.e. udp protocol.Udp protocol is towards without even
The unreliable transport protocol connect, due to connectionless, compared to Transmission Control Protocol (Transmission Control
Protocol, transmission control protocol), udp protocol has builds connection speed and higher efficiency of transmission faster.
Certainly, the above is only a kind of implementations provided herein, not uniquely, can also transmit for other data
Agreement, such as Stream Control Transmission Protocol (Stream Control Transmission Protocol, Flow Control Transmission Protocol), QUIC agreement
(Quick UDP Internet Connection, the Internet transmission layer protocol of the low time delay based on UDP) etc. can be achieved
Data transmission and the reliability that can guarantee data transmission by application-level logic.
Data transmission method provided by the present embodiment, data sending terminal is before carrying out data transmission, first to each small
Data packet, i.e., above-mentioned data packet to be sent merge processing, obtain data packet after the merging for being suitble to size, then count after merging
It is sent to data receiver according to packet, completes data transmission.This kind forms a big data by merging multiple small data packets as a result,
The method for wrapping to reduce data packet number in the unit time, without generating any extra data in data transmission procedure, also not
Any modification need to be made to legacy data transport protocol, be achieved that the reduction of data packet number in the unit time, thus
The processing load of data transmit-receive both sides is effectively reduced, improves oncurrent processing ability, further decreases the processing pressure of system, improves
Throughput of system, while can also realize that the maximization to system effect bandwidth uses, improve data transfer efficiency.
Another kind data transmission method provided by the invention.
With reference to Fig. 3, Fig. 3 is the flow diagram of second embodiment provided by the present invention.
S30: data receiver receives the merging data packet that data sending terminal is sent by preset data transport protocol;Its
In, merging data packet is after getting multiple data packets to be sent according to data transfer instruction by data sending terminal, to it is each to
It sends data packet and merges what processing obtained;
S31: reduction treatment is carried out to data packet is merged, obtains raw data packets.
The present embodiment is intended to the corresponding end based on data sending terminal, i.e., above-mentioned data receiver is to data provided by the invention
Transmission method is illustrated, specifically, data receiver can receive the preset number of data sending terminal as the side for receiving data
According to the merging data packet that transport protocol is sent, which corresponds to data packet after the merging in the above various embodiments,
That is data sending terminal is before carrying out data transmission, it is first to each small data packets, i.e., above-mentioned to be obtained based on data transfer instruction
The data packet to be sent got merges processing, obtains the merging data packet for being suitble to size.Further, data sending terminal will
Merging data packet is sent to data receiver, corresponding original to data packet progress reduction treatment acquisition is merged by data receiver
Data packet, certainly, the raw data packets are the data packet to be sent of above-mentioned data sending terminal, complete data sending terminal as a result,
Data transmission between data receiver.It wherein, equally can be real according to the length information of data packet for the above reduction process
Existing, the application is not repeating herein.In addition, raw data packets can also be parsed, splicing, to obtain initial data,
To realize corresponding data processing.
For the specific implementation process of data transmission method provided by the present embodiment, referring to above-mentioned two embodiment,
The present embodiment not reinflated elaboration herein.
Data transmission method provided by the present embodiment is dropped by merging multiple small data packets one big data packet of formation
The method of data packet number in the low unit time is also not required to without generating any extra data in data transmission procedure to original
There is Data Transport Protocol to make any modification, be achieved that the reduction of data packet number in the unit time, thus can effectively drop
The processing load of low data transmit-receive both sides improves oncurrent processing ability, further decreases the processing pressure of system, raising system gulps down
The amount of spitting, while can also realize that the maximization to system effect bandwidth uses, improve data transfer efficiency;In addition, being arrived in data packet
Up to after data receiver, initial data is obtained by carrying out reduction treatment to it, completely reduces data original as a result,
Looks have completely delivered a packet to opposite end.
Based on the various embodiments described above, the present invention provides a kind of more specifically data transmission methods.
It is the flow diagram of third embodiment of the invention referring to Fig. 4, Fig. 4.
In the third embodiment, this method may include:
1, the transmission process of data packet:
S40: multiple small data packets are obtained;
S41: judging whether to need to merge small data packets processing, if so, executing S42;If it is not, then executing S43;
S42: processing is merged to small data packets;
S43: big data packet is sent.
Specifically, can determine whether to need to merge it after data sending terminal obtains multiple small data packets
The reason of handling, being judged herein is, in data sending terminal all small data packets obtained, it is understood that there may be small data packets
The larger situation of length, as to have reached the corresponding normal data packet of preset data transport protocol long for the length of some small data packets
Degree, at this time then without merging processing to it;Further, to needing combined small data packets to merge, to will own
Big data packet be based on Data Transport Protocol be sent to data receiver.
2, the receive process of data packet:
S44: multiple big data packets are obtained;
S45: judge whether to need to carry out reduction treatment to big data packet, if so, executing S46;If it is not, then executing S47;
S46: reduction treatment is carried out to big data packet;
S47: multiple small data packets are obtained.
Specifically, can determine whether to need after data receiver obtains the big data packet that data sending terminal is sent
Reduction treatment is carried out to it, the above-mentioned judgement to merging treatment is similar to the judgement of reduction treatment herein, the application is herein not
It repeats again;Further, the big data packet restored to needs restores, so that multiple original small data packets are obtained, it is i.e. complete as a result,
At entire data transmission procedure.
Data transmission method provided by the present embodiment is dropped by merging multiple small data packets one big data packet of formation
The quantity of data packet in the low unit time is also not required to without generating any extra data in data transmission procedure to original number
Any modification is made according to transport protocol, that is, realizes the reduction of data packet number in the unit time, thus can effectively reduce number
According to the processing load of receiving-transmitting sides, oncurrent processing ability is improved, further decreases the processing pressure of system, improves system throughput
Amount, while can also realize that the maximization to system effect bandwidth uses, improve data transfer efficiency.
A kind of data transmitting equipment provided by the invention.
It is the schematic diagram of internal structure for the data transmitting equipment that first embodiment of the invention discloses referring to Fig. 5, Fig. 5.
In the present embodiment, data transmitting equipment 1 can be PC (PersonalComputer, PC), can also be with
It is smart phone, tablet computer, palm PC, portable computer, intelligent router, mine machine, network storage equipment terminal device.
The data transmitting equipment 1 may include memory 11, processor 12 and bus 13.
Wherein, memory 11 include at least a type of readable storage medium storing program for executing, the readable storage medium storing program for executing include flash memory,
Hard disk, multimedia card, card-type memory (for example, SD or DX memory etc.), magnetic storage, disk, CD etc..Memory 11
It can be the internal storage unit of data transmitting equipment 1, such as the hard disk of the data transmitting equipment 1 in some embodiments.It deposits
Reservoir 11 is also possible in further embodiments on the External memory equipment of data transmitting equipment 1, such as data transmitting equipment 1
The plug-in type hard disk of outfit, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD)
Card, flash card (Flash Card) etc..Further, memory 11 can also both include the storage inside of data transmitting equipment 1
Unit also includes External memory equipment.Memory 11 can be not only used for the application software that storage is installed on data transmitting equipment 1
And Various types of data, such as the code of video on demand program etc., it can be also used for temporarily storing and exported or will export
Data.
Processor 12 can be in some embodiments a central processing unit (Central Processing Unit,
CPU), controller, microcontroller, microprocessor or other data processing chips, the program for being stored in run memory 11
Code or processing data, such as execute video on demand program etc..
The bus 13 can be Peripheral Component Interconnect standard (peripheral component interconnect, abbreviation
PCI) bus or expanding the industrial standard structure (extended industry standard architecture, abbreviation EISA)
Bus etc..The bus can be divided into address bus, data/address bus, control bus etc..For convenient for indicating, in Fig. 5 only with one slightly
Line indicates, it is not intended that an only bus or a type of bus.
Optionally, which can be composition CDN network (Content Delivery Network, content
Distribution network) or block chain network node.
Further, data transmitting equipment 1 can also include network interface, and network interface optionally may include wired connects
Mouth and/or wireless interface (such as WI-FI interface, blue tooth interface), commonly used in being set in the data transmitting equipment 1 with other electronics
Communication connection is established between standby.
Optionally, which can also include user interface, and user interface may include display
(Display), input unit such as keyboard (Keyboard), optional user interface can also include standard wireline interface,
Wireless interface.Optionally, in some embodiments, it is aobvious to can be light-emitting diode display, liquid crystal display, touch control type LCD for display
Show that device and OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) touch device etc..Wherein, display
Appropriate it can also be known as display screen or display unit, for being shown in the information handled in data transmitting equipment 1 and being used for
Show visual user interface.
Fig. 5 illustrates only the data transmitting equipment 1 with component 11-13 and data distributing program, those skilled in the art
Member it is understood that structure shown in Fig. 5 not structure paired data sending device 1 restriction, may include less than illustrating
Perhaps more components perhaps combine certain components or different component layouts.
A kind of data receiver provided by the invention.
It is the schematic diagram of internal structure for the data receiver that second embodiment of the invention discloses referring to Fig. 6, Fig. 6.
In the present embodiment, data receiver 2 can be PC (Personal Computer, PC), can also be with
It is smart phone, tablet computer, palm PC, portable computer, intelligent router, mine machine, network storage equipment terminal device.
The data receiver 2 may include memory 21, processor 22 and bus 23.
Wherein, memory 21 include at least a type of readable storage medium storing program for executing, the readable storage medium storing program for executing include flash memory,
Hard disk, multimedia card, card-type memory (for example, SD or DX memory etc.), magnetic storage, disk, CD etc..Memory 21
It can be the internal storage unit of data receiver 2, such as the hard disk of the data receiver 2 in some embodiments.It deposits
Reservoir 21 is also possible in further embodiments on the External memory equipment of data receiver 2, such as data receiver 2
The plug-in type hard disk of outfit, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD)
Card, flash card (Flash Card) etc..Further, memory 21 can also both include the storage inside of data receiver 2
Unit also includes External memory equipment.Memory 21 can be not only used for the application software that storage is installed on data receiver 2
And Various types of data, such as the code of data distributing program etc., it can be also used for temporarily storing and exported or will export
Data.
Processor 22 can be in some embodiments a central processing unit (Central Processing Unit,
CPU), controller, microcontroller, microprocessor or other data processing chips, the program for being stored in run memory 21
Code or processing data, such as execute video on demand program etc..
The bus 23 can be Peripheral Component Interconnect standard (peripheral component interconnect, abbreviation
PCI) bus or expanding the industrial standard structure (extended industry standard architecture, abbreviation EISA)
Bus etc..The bus can be divided into address bus, data/address bus, control bus etc..For convenient for indicating, in Fig. 6 only with one slightly
Line indicates, it is not intended that an only bus or a type of bus.
Optionally, which can be the node of composition CDN network or block chain network.
Further, data receiver 2 can also include network interface, and network interface optionally may include wired connects
Mouth and/or wireless interface (such as WI-FI interface, blue tooth interface), commonly used in being set in the data receiver 2 with other electronics
Communication connection is established between standby.
Optionally, which can also include user interface, and user interface may include display
(Display), input unit such as keyboard (Keyboard), optional user interface can also include standard wireline interface,
Wireless interface.Optionally, in some embodiments, it is aobvious to can be light-emitting diode display, liquid crystal display, touch control type LCD for display
Show that device and OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) touch device etc..Wherein, display
Appropriate it can also be known as display screen or display unit, for being shown in the information handled in data receiver 2 and being used for
Show visual user interface.
Fig. 6 illustrates only the data receiver 2 with component 21-23 and data distributing program, those skilled in the art
Member it is understood that structure shown in Fig. 6 not structure paired data receiving device 2 restriction, may include less than illustrating
Perhaps more components perhaps combine certain components or different component layouts.
A kind of data transmission system provided by the invention.
It is the structural block diagram of fourth embodiment provided by the present invention referring to Fig. 7, Fig. 7.
In the fourth embodiment, which may include any one of the above data transmitting equipment 1 and data
Receiving device 2.
Above method embodiment is please referred to for the introduction of system provided by the present application, this will not be repeated here by the application.
The embodiment of the present invention also provides a kind of computer readable storage medium, and data pass on the computer readable storage medium
Defeated program, the data distributing program can be executed by one or more processor, to realize as described in any of the above embodiment
The step of data transmission method.
The embodiment of the present invention also provides a kind of computer program product, which includes computer instruction,
When run on a computer, computer is allowed to execute the step of data transmission method described in any of the above-described embodiment
Suddenly.
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.Load and execute on computers the meter
When calculation machine program instruction, entirely or partly generate according to process or function described in the embodiment of the present invention.The computer can
To be general purpose computer, special purpose computer, computer network or other programmable devices.The computer instruction can be deposited
Storage in a computer-readable storage medium, or from a computer readable storage medium to another computer readable storage medium
Transmission, for example, the computer instruction can pass through wired (example from a web-site, computer, server or data center
Such as coaxial cable, optical fiber, Digital Subscriber Line (DSL)) or wireless (such as infrared, wireless, microwave) mode to another website
Website, computer, server or data center are transmitted.The computer readable storage medium can be computer and can deposit
Any usable medium of storage either includes that the data storages such as one or more usable mediums integrated server, data center are set
It is standby.The usable medium can be magnetic medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or partly lead
Body medium (such as solid state hard disk Solid State Disk (SSD)) etc..
It is apparent to those skilled in the art that for convenience and simplicity of description, the equipment of foregoing description
It with the specific work process of system, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
In several embodiments provided herein, it should be understood that disclosed equipment, system and method can be with
It realizes by another way.For example, system embodiment described above is only schematical, 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 equipment 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.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the application
Portion or part steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey
The medium of sequence code.
It should be noted that the serial number of the above embodiments of the invention is only for description, do not represent the advantages or disadvantages of the embodiments.And
The terms "include", "comprise" herein or any other variant thereof is intended to cover non-exclusive inclusion, so that packet
Process, device, article or the method for including a series of elements not only include those elements, but also including being not explicitly listed
Other element, or further include for this process, device, article or the intrinsic element of method.Do not limiting more
In the case where, the element that is limited by sentence "including a ...", it is not excluded that including process, device, the article of the element
Or there is also other identical elements in method.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (12)
1. a kind of data transmission method, which is characterized in that the described method includes:
Data transfer instruction obtains multiple data packets to be sent to data sending terminal based on the received;
Processing is merged to each data packet to be sent according to preset rules, data packet after being merged;
Pass through data packet after the preset data transport protocol transmission merging to data receiver.
2. the method as described in claim 1, which is characterized in that it is described according to preset rules to each data packet to be sent
Processing is merged, data packet after being merged, comprising:
Obtain the header packet information of each data packet to be sent;
The length information of corresponding data packet to be sent is determined according to the header packet information;
Processing is merged to each data packet to be sent according to each length information, is obtained without departing from preset data
Data packet after the merging of packet length.
3. method according to claim 2, which is characterized in that the preset data packet length is preset data transmission association
Discuss corresponding standard transmission length.
4. the method as described in claim 1, which is characterized in that after the merging by the transmission of preset data transport protocol
Data packet is to data receiver, comprising:
Data packet after the merging is sent to the data receiver by udp protocol.
5. a kind of data transmission method, which is characterized in that the described method includes:
Data receiver receives the merging data packet that data sending terminal is sent by preset data transport protocol;Wherein, the conjunction
And data packet is after getting multiple data packets to be sent according to data transfer instruction by the data sending terminal, to each described
Data packet to be sent merges what processing obtained;
Reduction treatment is carried out to the merging data packet, obtains raw data packets.
6. a kind of data transmitting equipment, which is characterized in that the equipment includes memory and processor, is stored on the memory
There is the data distributing program that can be run on the processor, is realized such as when the data distributing program is executed by the processor
The step of data transmission method described in Claims 1-4 any one.
7. equipment as claimed in claim 6, which is characterized in that the data transmitting equipment is composition CDN network or block
The node of chain network.
8. a kind of data receiver, which is characterized in that the equipment includes memory and processor, is stored on the memory
There is the data distributing program that can be run on the processor, is realized such as when the data distributing program is executed by the processor
The step of data transmission method described in claim 5.
9. equipment as claimed in claim 8, which is characterized in that the data receiver is composition CDN network or block
The node of chain network.
10. a kind of data transmission system, which is characterized in that the system comprises the numbers as described in claim 6 or 7 any one
According to sending device and the data receiver as described in claim 8 or 9 any one.
11. a kind of computer readable storage medium, which is characterized in that be stored with data biography on the computer readable storage medium
Defeated program, the data distributing program can be executed by one or more processors, to realize such as any one of claims 1 to 4
The step of data transmission method described in the step of described data transmission method and/or claim 5.
12. a kind of computer program product, which is characterized in that including computer instruction, when run on a computer, so that
Computer can execute the step of data transmission method described in any one of the claims 1 to 4 and/or claim 5
Described in data transmission method the step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811640045.XA CN109587085A (en) | 2018-12-29 | 2018-12-29 | A kind of data transmission method and its relevant device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811640045.XA CN109587085A (en) | 2018-12-29 | 2018-12-29 | A kind of data transmission method and its relevant device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109587085A true CN109587085A (en) | 2019-04-05 |
Family
ID=65933636
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811640045.XA Pending CN109587085A (en) | 2018-12-29 | 2018-12-29 | A kind of data transmission method and its relevant device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109587085A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110401509A (en) * | 2019-06-12 | 2019-11-01 | 广汽丰田汽车有限公司 | For improving method, equipment, medium and the device of automobile CAN-bus efficiency of transmission |
CN110602245A (en) * | 2019-09-26 | 2019-12-20 | 福建天泉教育科技有限公司 | Method and storage medium for improving application software throughput |
CN112437032A (en) * | 2019-08-24 | 2021-03-02 | 北京希姆计算科技有限公司 | Data transmitting/receiving device and method, storage medium, and electronic apparatus |
CN112579006A (en) * | 2020-12-25 | 2021-03-30 | 华录光存储研究院(大连)有限公司 | Data storage life cycle management method and system |
CN113038533A (en) * | 2021-02-02 | 2021-06-25 | 深圳市江元科技(集团)有限公司 | Data transmission method, device, terminal equipment and storage medium |
CN113282595A (en) * | 2020-02-20 | 2021-08-20 | 深圳市万普拉斯科技有限公司 | Data transmission method and device, computer equipment and readable storage medium |
CN113643685A (en) * | 2021-08-18 | 2021-11-12 | 百度在线网络技术(北京)有限公司 | Data processing method and device, electronic equipment and computer storage medium |
CN113810791A (en) * | 2021-09-22 | 2021-12-17 | 浙江锐文科技有限公司 | Method for improving intelligent network card/DPU network telemetering technology performance |
CN114268992A (en) * | 2022-03-03 | 2022-04-01 | 易兆微电子(杭州)股份有限公司 | Data packet sending method and radio frequency system |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102377650A (en) * | 2010-08-12 | 2012-03-14 | 华为技术有限公司 | Data transmission processing method, device and system |
CN103441826A (en) * | 2013-07-12 | 2013-12-11 | 中国人民解放军国防科学技术大学 | Method and device for reducing packet loss probability of wireless communication |
CN103685060A (en) * | 2012-09-12 | 2014-03-26 | 中兴通讯股份有限公司 | Data packet sending method and data packet sending device |
CN107295036A (en) * | 2016-03-31 | 2017-10-24 | 华为技术有限公司 | A kind of data transmission method for uplink and data merge equipment |
CN107870803A (en) * | 2016-09-28 | 2018-04-03 | 中国电信股份有限公司 | The data redirection optimization method of intelligence desktop virtualization, device and system |
US20180255330A1 (en) * | 2015-02-03 | 2018-09-06 | Tribune Broadcasting Company, Llc | Selecting and Providing of Supplemental Content for Video Transport Stream |
CN109040786A (en) * | 2018-09-03 | 2018-12-18 | 锐捷网络股份有限公司 | Transmission method, device, system and the storage medium of camera data |
-
2018
- 2018-12-29 CN CN201811640045.XA patent/CN109587085A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102377650A (en) * | 2010-08-12 | 2012-03-14 | 华为技术有限公司 | Data transmission processing method, device and system |
CN103685060A (en) * | 2012-09-12 | 2014-03-26 | 中兴通讯股份有限公司 | Data packet sending method and data packet sending device |
CN103441826A (en) * | 2013-07-12 | 2013-12-11 | 中国人民解放军国防科学技术大学 | Method and device for reducing packet loss probability of wireless communication |
US20180255330A1 (en) * | 2015-02-03 | 2018-09-06 | Tribune Broadcasting Company, Llc | Selecting and Providing of Supplemental Content for Video Transport Stream |
CN107295036A (en) * | 2016-03-31 | 2017-10-24 | 华为技术有限公司 | A kind of data transmission method for uplink and data merge equipment |
CN107870803A (en) * | 2016-09-28 | 2018-04-03 | 中国电信股份有限公司 | The data redirection optimization method of intelligence desktop virtualization, device and system |
CN109040786A (en) * | 2018-09-03 | 2018-12-18 | 锐捷网络股份有限公司 | Transmission method, device, system and the storage medium of camera data |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110401509A (en) * | 2019-06-12 | 2019-11-01 | 广汽丰田汽车有限公司 | For improving method, equipment, medium and the device of automobile CAN-bus efficiency of transmission |
CN112437032A (en) * | 2019-08-24 | 2021-03-02 | 北京希姆计算科技有限公司 | Data transmitting/receiving device and method, storage medium, and electronic apparatus |
CN110602245A (en) * | 2019-09-26 | 2019-12-20 | 福建天泉教育科技有限公司 | Method and storage medium for improving application software throughput |
CN110602245B (en) * | 2019-09-26 | 2022-03-29 | 福建天泉教育科技有限公司 | Method and storage medium for improving application software throughput |
CN113282595A (en) * | 2020-02-20 | 2021-08-20 | 深圳市万普拉斯科技有限公司 | Data transmission method and device, computer equipment and readable storage medium |
CN112579006A (en) * | 2020-12-25 | 2021-03-30 | 华录光存储研究院(大连)有限公司 | Data storage life cycle management method and system |
CN113038533A (en) * | 2021-02-02 | 2021-06-25 | 深圳市江元科技(集团)有限公司 | Data transmission method, device, terminal equipment and storage medium |
CN113643685A (en) * | 2021-08-18 | 2021-11-12 | 百度在线网络技术(北京)有限公司 | Data processing method and device, electronic equipment and computer storage medium |
CN113810791A (en) * | 2021-09-22 | 2021-12-17 | 浙江锐文科技有限公司 | Method for improving intelligent network card/DPU network telemetering technology performance |
CN114268992A (en) * | 2022-03-03 | 2022-04-01 | 易兆微电子(杭州)股份有限公司 | Data packet sending method and radio frequency system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109587085A (en) | A kind of data transmission method and its relevant device | |
US9015368B2 (en) | Enhanced wireless USB protocol | |
US8798047B1 (en) | Methods and systems for processing network information | |
US20230353971A1 (en) | Methods and systems for communication management | |
CN110049059A (en) | A kind of outer net equipment and Intranet communication between devices method and relevant apparatus | |
CN108462760A (en) | Electronic device, cluster access domain name automatic generation method and storage medium | |
CN109660639A (en) | A kind of data uploading method, equipment, system and medium | |
US8539089B2 (en) | System and method for vertical perimeter protection | |
US20060101151A1 (en) | Methodology for fast file transfer protocol | |
CN109600373A (en) | A kind of live data transmission method, device, system and readable storage medium storing program for executing | |
CN109857580A (en) | Across the chain contract call method of block chain, device and storage medium | |
CN109617959A (en) | A kind of data load method, device, system and storage medium | |
CN110149374A (en) | A kind of document transmission method, terminal device and computer readable storage medium | |
CN110278278A (en) | A kind of data transmission method, system, device and computer media | |
CN104579970B (en) | A kind of strategy matching device of IPv6 messages | |
CN109951562A (en) | NAT penetrating method and system, electronic equipment and storage medium | |
CN102315918B (en) | Method and device for intercommunicating TCP (Transmission Control Protocol) connection with SCTP (Stream Control Transmission Protocol) connection | |
CN109327283A (en) | A kind of anti-dropout method, apparatus and terminal device of network self-adapting | |
CN110417789A (en) | Server connection method, electronic equipment, system and medium | |
CN111131439A (en) | iSCSI-based message transmission method, device, equipment and storage medium | |
US10673648B1 (en) | Network interface device that sets an ECN-CE bit in response to detecting congestion at an internal bus interface | |
EP2245537A1 (en) | Network message management device and methods thereof | |
US10728291B1 (en) | Persistent duplex connections and communication protocol for content distribution | |
CN109756488A (en) | A kind of data flow acquisition methods, device, equipment and medium | |
CN109067752A (en) | A method of compatible ICP/IP protocol is realized using RDMA Message |
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: 20190405 |