CN110391989A - A kind of method and apparatus carried out data transmission - Google Patents
A kind of method and apparatus carried out data transmission Download PDFInfo
- Publication number
- CN110391989A CN110391989A CN201810345249.4A CN201810345249A CN110391989A CN 110391989 A CN110391989 A CN 110391989A CN 201810345249 A CN201810345249 A CN 201810345249A CN 110391989 A CN110391989 A CN 110391989A
- Authority
- CN
- China
- Prior art keywords
- parameter
- network
- transmission
- target
- data stream
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a kind of method and apparatus carried out data transmission, belong to technical field of data transmission.The described method includes: the target network performance parameter of acquisition target data stream, according to the network transmission state of target data stream described in the target network performance parameter periodicity analysis, according to the network transmission state and transmission algorithm/parameter corresponding relationship being locally stored, determine the corresponding object transmission algorithm/parameter of the network transmission state of the target data stream, transport protocol stack is written into the object transmission algorithm/parameter, so that the transport protocol stack is based on the object transmission algorithm/parameter and carries out data transmission.Using the present invention, the quality of data transmission can be improved.
Description
Technical field
The present invention relates to technical field of data transmission, in particular to a kind of method and apparatus carried out data transmission.
Background technique
With the development of network technology and universal, network size and network traffic rapid growth, network congestion problem are cured
Add serious.When network congestion refers to the overabundance of data transmitted in a network, due to the transfer resource of data transfer path it is limited and
The case where causing network transmission performance to decline.
In order to ensure occur can be normal by network recovery in time after network congestion, guarantee the stabilization of the network operation and unimpeded,
Transmission algorithm and configured transmission can be arranged in technical staff at the network equipment in advance, when the network equipment sends number to other equipment
According to when, the process that can be transmitted based on preset transmission algorithm and configured transmission to data is adjusted, is controlled, such as to congestion window
Mouthful initialization, increase control or determination data concurrency, determine the retransmission time out time etc..
In the implementation of the present invention, the inventor finds that the existing technology has at least the following problems:
The transmission network between the network equipment becomes increasingly complex at present, may be simultaneously present 2G, 3G, 4G, WiFi or solid
A plurality of types of networks such as net, it is also possible to the case where being related to cross operator, network type frequent switching, without same transmission network
The network performance parameters such as time delay, bandwidth, shake also differ greatly, so preset transmission algorithm and configured transmission can not often fit
Complicated network transmission environment is answered, in this way, data transmission quality will be a greater impact.
Summary of the invention
In order to solve problems in the prior art, the embodiment of the invention provides a kind of method carried out data transmission and dresses
It sets.The technical solution is as follows:
In a first aspect, providing a kind of method carried out data transmission, which comprises
Acquire the target network performance parameter of target data stream;
According to the network transmission state of target data stream described in the target network performance parameter periodicity analysis;
According to the network transmission state and transmission algorithm/parameter corresponding relationship being locally stored, the target data is determined
The corresponding object transmission algorithm/parameter of the network transmission state of stream;
Transport protocol stack is written into the object transmission algorithm/parameter, so that the transport protocol stack is based on the target
Transmission algorithm/parameter carries out data transmission.
Optionally, before the target network performance parameter of the acquisition target data stream, further includes:
Read acquisition configuration file, according in the acquisition configuration file stream identification and corresponding performance parameter mark
Know and determines target data stream and target network performance parameter.
Optionally, the network transmission state that the target data stream is analyzed according to the target network performance parameter,
Include:
The performance of the target data stream is determined according to the target network performance parameter and preset standard performance range
Bottleneck point;
The network transmission state and transmission algorithm/parameter corresponding relationship that the basis is locally stored, determine the target
The corresponding object transmission algorithm/parameter of the network transmission state of data flow, comprising:
According to performance indicator section and transmission algorithm/parameter corresponding relationship, the performance bottle of the target data stream is determined
The corresponding object transmission algorithm/parameter in target capabilities index section belonging to neck point.
Optionally, include all-network transmission shape in the performance indicator section and transmission algorithm/parameter corresponding relationship
The corresponding performance indicator section of state.
Optionally, the target network performance parameter of the acquisition target data stream, comprising:
The target network performance parameter of continuous collecting target data stream, and the target network performance parameter is stored in locally
Caching;
The network transmission state that the target data stream is analyzed according to the target network performance parameter, comprising:
Periodically from the target network performance parameter acquired in reading current period in the local cache, and according to described
Target network performance parameter analyzes the network transmission state of the target data stream.
Optionally, the method also includes:
If the corresponding transmission algorithm/ginseng of network transmission state of the target data stream is not present in the corresponding relationship
Number, it is determined that the highest similar network transmission state of similarity with the network transmission state of the target data stream;
Transport protocol is written into the corresponding transmission algorithm of similar network transmission state described in the corresponding relationship/parameter
Stack, so that the transport protocol stack is based on the transmission algorithm/parameter and carries out data transmission.
Second aspect, provides a kind of device carried out data transmission, and described device includes:
Acquisition module, for acquiring the target network performance parameter of target data stream;
Analysis module, the network for the target data stream according to the target network performance parameter periodicity analysis pass
Defeated state;
Determining module, for determining according to the network transmission state and transmission algorithm/parameter corresponding relationship being locally stored
The corresponding object transmission algorithm/parameter of the network transmission state of the target data stream;
Loading module, for transport protocol stack to be written in the object transmission algorithm/parameter, so that the transport protocol stack
Carried out data transmission based on the object transmission algorithm/parameter.
Optionally, described device further include:
Read module, for reading acquisition configuration file, according to stream identification in the acquisition configuration file and right
The performance parameter answered, which identifies, determines target data stream and target network performance parameter.
Optionally, the analysis module, is specifically used for:
The performance of the target data stream is determined according to the target network performance parameter and preset standard performance range
Bottleneck point;
The network transmission state and transmission algorithm/parameter corresponding relationship that the basis is locally stored, determine the target
The corresponding object transmission algorithm/parameter of the network transmission state of data flow, comprising:
According to performance indicator section and transmission algorithm/parameter corresponding relationship, the performance bottle of the target data stream is determined
The corresponding object transmission algorithm/parameter in target capabilities index section belonging to neck point.
Optionally, include all-network transmission shape in the performance indicator section and transmission algorithm/parameter corresponding relationship
The corresponding performance indicator section of state.
Optionally, the acquisition module, is specifically used for:
The target network performance parameter of continuous collecting target data stream, and the target network performance parameter is stored in locally
Caching;
The analysis module, is specifically used for:
Periodically from the target network performance parameter acquired in reading current period in the local cache, and according to described
Target network performance parameter analyzes the network transmission state of the target data stream.
Optionally, the determining module, is also used to:
If the corresponding transmission algorithm/ginseng of network transmission state of the target data stream is not present in the corresponding relationship
Number, it is determined that the highest similar network transmission state of similarity with the network transmission state of the target data stream;
The loading module, is also used to:
Transport protocol is written into the corresponding transmission algorithm of similar network transmission state described in the corresponding relationship/parameter
Stack, so that the transport protocol stack is based on the transmission algorithm/parameter and carries out data transmission.
The third aspect, provides a kind of network equipment, and the network equipment includes processor and memory, the memory
In be stored at least one instruction, at least a Duan Chengxu, code set or instruction set, at least one instruction, described at least one
Duan Chengxu, the code set or instruction set are loaded by the processor and are executed to realize carry out data as described in relation to the first aspect
The method of transmission.
Fourth aspect provides a kind of computer readable storage medium, at least one finger is stored in the storage medium
Enable, at least a Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, the code set or
Instruction set is loaded by processor and is executed to realize the method carried out data transmission as described in relation to the first aspect.
Technical solution provided in an embodiment of the present invention has the benefit that
In the embodiment of the present invention, the network equipment acquires the target network performance parameter of target data stream, according to target network
The network transmission state of performance parameter periodicity analysis target data stream is calculated according to the network transmission state and transmission that are locally stored
Method/parameter corresponding relationship determines the corresponding object transmission algorithm/parameter of the network transmission state of target data stream, by target
Transport protocol stack is written in transmission algorithm/parameter, so that transport protocol stack is based on object transmission algorithm/parameter and carries out data transmission.
In this way, during transmitting data stream calculation can be transmitted accordingly according to the network transmission state of data flow, adjust automatically
Method/parameter, with improve data transfer quality, improves network so that transmission algorithm/parameter is suitable for current network transmission state
Transmission state, such as packet loss and retransmission rate are reduced, to improve bandwidth availability ratio.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for
For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 is a kind of method flow diagram carried out data transmission provided in an embodiment of the present invention;
Fig. 2 is a kind of inside interaction schematic diagram carried out data transmission provided in an embodiment of the present invention;
Fig. 3 is a kind of apparatus structure schematic diagram carried out data transmission provided in an embodiment of the present invention;
Fig. 4 is a kind of apparatus structure schematic diagram carried out data transmission provided in an embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram of network equipment provided in an embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention
Formula is described in further detail.
The embodiment of the invention provides a kind of method carried out data transmission, the executing subject of this method can set for network
Standby, the network equipment is the arbitrary equipment with transport protocol stack, such as the mobile terminal of user side, the server of business side.Network
The transport protocol stack run in equipment is the network protocol stack based on ICP/IP protocol.The network equipment can pass through transport protocol
Stack is adjusted according to the process of transmission according to transmission algorithm/parameter logistic, controls.It may include processing in the above-mentioned network equipment
Device, memory, transceiver, processor can be used for carrying out the processing carried out data transmission in following processes, and memory can be with
For storing the data of the data and generation that need in following treatment processes, transceiver can be used for sending and receiving following places
Related data during reason.It is illustrated so that the network equipment is the server of business side as an example in the present embodiment, other situations
Similar therewith, necessary place will be specifically described.
Below in conjunction with specific embodiment, process flow shown in FIG. 1 is described in detail, content can be as
Under:
Step 101, the target network performance parameter of network equipment acquisition target data stream.
In an implementation, the network equipment is during sending data flow, can acquire specified data flow (can be part or
All data streams) specified network performance parameter (can be part or all of network performance parameter).By taking target data stream as an example,
The data acquisition process of the network performance parameter for acquiring data flow, In can be previously provided in the inner nuclear layer of the network equipment
When sending target data stream, the network equipment can acquire process by the data and acquire target data stream from transport protocol stack
Target network performance parameter.
Optionally, it can preset and which data flow and which network performance parameter needed to acquire, correspondingly, step
Can have following processing before 101: the network equipment reads acquisition configuration file, according to the stream identification in acquisition configuration file
And corresponding performance parameter identifies and determines target data stream and target network performance parameter.
In an implementation, the data flow for needing to carry out transmission performance optimization can be preset, such as only to key user or
The data flow of key business carries out transmission performance optimization and is then acquiring so that technical staff can create acquisition configuration file
The mark of the data flow of key user or key business is added in configuration file.Further, for different user, business,
Data flow under scene, the network performance parameter for needing to acquire is also different, such as can acquire maximum value/minimum of network delay
Value/average value/jitter conditions, or data retransmission rate/random ordering degree can be acquired etc..So technical staff can be in acquisition configuration
In file, for each data flow, the performance parameter mark for the network performance parameter that corresponding addition needs to acquire.It can manage
Solution, the corresponding performance parameter mark of different data traffic identifier can be the same or different.It is of course also possible to acquire all data
The all-network performance parameter of stream, during subsequent analysis specifies the network transmission state of data flow, the network equipment can be with
Required network performance parameter is screened from the all-network performance parameter for collecting specified data flow again.
In this way, the network equipment is after actuation, above-mentioned acquisition configuration file can be read, extracts and remembers in the acquisition configuration file
The stream identification of record and corresponding performance parameter mark, then can identify according to stream identification and corresponding performance parameter
Determine target data stream and target network performance parameter.It should be noted that transport protocol stack itself has subnetwork performance
The processing of the writing function of parameter, the data acquisition process acquisition network performance parameter in step 101 is substantially from transport protocol
It is obtained at stack, and for some new network performance parameters, then it needs to rewrite the execution code of transport protocol stack, adds wherein
Add the acquisition logic of corresponding network performance parameter.
Optionally, the network equipment can be with the target network performance parameter of continuous collecting target data stream, and by target network
Performance parameter is stored in local cache.
In an implementation, since the network equipment can be held during sending target data stream sending target data stream
The target network performance parameter of continuous acquisition target data stream, is then stored in local cache for collected target network performance parameter
In.
Step 102, the network equipment is according to the network transmission shape of target network performance parameter periodicity analysis target data stream
State.
In an implementation, equally by taking target data stream as an example, target network performance of the network equipment in acquisition target data stream
After parameter, can transmission network according to collected target network performance parameter come periodicity analysis target data stream net
Network transmission state.It is appreciated that can increase a network analysis process in the application layer of the network equipment newly, technical staff can be pre-
First the analysis method of network transmission state is written in the code of the network analysis process, which can pass through private
There are agreement and inner nuclear layer to be communicated.When analyzing network transmission state, the network equipment can use collected overall network
Performance parameter also can use collected subnetwork performance parameter.In addition, network analysis process also can be set in kernel
In, it is not construed as limiting here.
Optionally, network transmission state can be embodied with performance bottleneck point, correspondingly, the processing of step 102 can be as
Under: the network equipment determines the performance bottleneck of target data stream according to target network performance parameter and preset standard performance range
Point.
In an implementation, standard performance range can be arranged to each network performance parameter in technical staff, if network performance
Parameter is within the scope of standard performance, then corresponding network performance is normal, if network performance parameter is in standard performance range
Except, then network performance is performance bottleneck point.So the network equipment can be according to target network performance parameter and preset standard
Performance range determines the performance bottleneck point of target data stream.
Optionally, based on the above-mentioned processing for persistently detecting network performance parameter, the processing of step 102 can be such that the period
Property from reading the target network performance parameter that acquires in current period in local cache, and analyzed according to target network performance parameter
The network transmission state of target data stream.
In an implementation, the network equipment can be periodically from the target network acquired in reading current period in local cache
Energy parameter, the network that the transmission network of target data stream then can be analyzed according to collected target network performance parameter pass
Defeated state.It, then can be with setting network analysis process start by set date, periodicity analysis network transmission shape specific to network analysis process
State adjusts the processing of transmission algorithm/parameter so as to triggering following, realizes the Automatic Optimal of transmission performance, without artificial dry
In advance.
Step 103, the network equipment is according to the network transmission state and transmission algorithm/parameter corresponding relationship being locally stored,
Determine the corresponding object transmission algorithm/parameter of the network transmission state of target data stream.
In an implementation, technical staff can be pre-configured with transmission algorithm/parameter of plurality of optional in the network device, and
Determine the network transmission state that every kind of transmission algorithm/parameter is applicable in, so can establish network transmission state and transmission algorithm/
The corresponding relationship of parameter, and the corresponding relationship is stored in the network equipment.In this way, the network equipment is analyzing target data stream
After network transmission state, the network transmission state being locally stored and transmission algorithm/parameter corresponding relationship can be read, then
The corresponding object transmission algorithm/parameter of network transmission state of target data stream is determined in the corresponding relationship.Herein, mesh is determined
Mark transmission algorithm/parameter processing can be what the network analysis process that refers in step 102 carried out, and above-mentioned corresponding relationship can be with
It is stored in the memory of the network equipment, network analysis process can be after analyzing network transmission state, from the memory of the network equipment
Read the corresponding relationship.
Optionally, the processing based on above-mentioned performance bottleneck point, step 103 can be accordingly as follows: the network equipment is according to performance
Index section and transmission algorithm/parameter corresponding relationship determine that target capabilities belonging to the performance bottleneck point of target data stream refer to
Mark the corresponding object transmission algorithm/parameter in section.
In an implementation, technical staff can be pre-configured with transmission algorithm/parameter of plurality of optional in the network device, and
Determine performance indicator section corresponding to every kind of transmission algorithm/parameter, so can establish performance indicator section and transmission algorithm/
The corresponding relationship of parameter, and the corresponding relationship is stored in the network equipment.Herein, performance indicator section can be technical staff's base
Setting is divided in all-network transmission state, may include the corresponding property of all network transmission states in above-mentioned corresponding relationship
It can index section.In this way, the network equipment is in the performance bottleneck point for analyzing target data stream, (such as retransmission rate is too high, and packet loss is too
Height or network jitter are big etc.) after, it can be with reading performance index section and transmission algorithm/parameter corresponding relationship, then
The corresponding object transmission in target capabilities index section belonging to the performance bottleneck point of target data stream is determined in the corresponding relationship
Algorithm/parameter.
Step 104, transport protocol stack is written in object transmission algorithm/parameter by the network equipment, so that transport protocol stack is based on
Object transmission algorithm/parameter carries out data transmission.
In an implementation, the network equipment the corresponding object transmission algorithm of network transmission state that target data stream has been determined/
After parameter, transport protocol stack can be written into object transmission algorithm/parameter.Specifically, transmission algorithm/parameter can deposit in advance
In the memory of the network equipment, network analysis process can be sent out the object transmission determined algorithm/parameter identification information for storage
Give transport protocol stack.And then transport protocol stack can read from memory according to the identification information and load object transmission calculation
Method/parameter may then based on object transmission algorithm/parameter and carry out data transmission.The mark of above-mentioned object transmission algorithm/parameter
Information can be object transmission algorithm/parameter title, number and/or storage address etc..
Optionally, if the corresponding transmission algorithm/ginseng of network transmission state of target data stream is not present in corresponding relationship
Several, the network equipment then determines the highest similar network transmission state of similarity with the network transmission state of target data stream;It will
Transport protocol stack is written in the corresponding transmission algorithm of similar network transmission state/parameter in corresponding relationship, so that transport protocol stack base
Carry out data transmission in transmission algorithm/parameter.
In an implementation, the network equipment is passed in the network that the target network performance parameter based on acquisition analyzes target data stream
After defeated state, if not finding target in the network transmission state and transmission algorithm/parameter corresponding relationship being locally stored
The corresponding object transmission algorithm/parameter of the network transmission state of data flow, the network equipment then may determine that the net of target data stream
The similarity of the all-network transmission state recorded in network transmission state and above-mentioned corresponding relationship.In turn, the network equipment can be true
The highest similar network transmission state of similarity of fixed and target data stream network transmission state, then by phase in corresponding relationship
Transport protocol stack is written like the corresponding transmission algorithm of network transmission state/parameter, so that transport protocol stack is based on transmission algorithm/ginseng
Number carries out data transmission.For example, the network transmission state of target data stream be retransmission rate is normal, network jitter is larger, network when
Prolong high, and similar network transmission state then can be for retransmission rate be normal, network jitter is normal, network delay is high.
In order to make it easy to understand, being carried out data transmission in a manner of network device internal interaction to above-mentioned here in connection with Fig. 2
Method is specifically described, and may include configuration process, network analysis process, data acquisition process, transmission association in the network equipment
Discuss stack, caching and memory, wherein configuration process, network analysis process may operate in the application layer of the network equipment, and data are adopted
Collection process, transport protocol stack may operate in the inner nuclear layer of the network equipment, and caching is deployed in the inner nuclear layer of the network equipment.1. configuration
Process can read the acquisition configuration file in memory, and information therein is supplied to data acquisition process;2. data acquire into
Journey monitors the data flow for passing through transport protocol stack based on above- mentioned information;3. data, which acquire process, acquires related mesh from transport protocol stack
Mark the network performance parameter of stream;4. data, which acquire process, is written caching for network performance parameter;5. network analysis process periodically opens
It is dynamic, network performance parameter is read from caching and is analyzed, and performance bottleneck point is found out;6. network analysis process is mentioned from memory
Take corresponding relationship;7. network analysis process selects suitable transmission algorithm/parameter according to performance bottleneck point and corresponding relationship, will pass
The identification information of defeated algorithm/parameter informs transport protocol stack;8. transport protocol stack loads corresponding transmission algorithm/ginseng from memory
Number, is carried out data transmission based on object transmission algorithm/parameter.
In the embodiment of the present invention, the network equipment acquires the target network performance parameter of target data stream, according to target network
The network transmission state of performance parameter periodicity analysis target data stream is calculated according to the network transmission state and transmission that are locally stored
Method/parameter corresponding relationship determines the corresponding object transmission algorithm/parameter of the network transmission state of target data stream, by target
Transport protocol stack is written in transmission algorithm/parameter, so that transport protocol stack is based on object transmission algorithm/parameter and carries out data transmission.
In this way, during transmitting data stream calculation can be transmitted accordingly according to the network transmission state of data flow, adjust automatically
Method/parameter, with improve data transfer quality, improves network so that transmission algorithm/parameter is suitable for current network transmission state
Transmission state, such as packet loss and retransmission rate are reduced, to improve bandwidth availability ratio.
Based on the same technical idea, the embodiment of the invention also provides a kind of devices carried out data transmission, such as Fig. 3 institute
Show, described device includes
Acquisition module 301, for acquiring the target network performance parameter of target data stream;
Analysis module 302, the net for the target data stream according to the target network performance parameter periodicity analysis
Network transmission state;
Determining module 303, the network transmission state being locally stored for basis and transmission algorithm/parameter corresponding relationship,
Determine the corresponding object transmission algorithm/parameter of the network transmission state of the target data stream;
Loading module 304, for transport protocol stack to be written in the object transmission algorithm/parameter, so that the transmission is assisted
View stack, which is based on the object transmission algorithm/parameter, to carry out data transmission.
Optionally, as shown in figure 4, described device further include:
Read module 305, for reading acquisition configuration file, according in the acquisition configuration file stream identification and
Corresponding performance parameter, which identifies, determines target data stream and target network performance parameter.
Optionally, the analysis module 302, is specifically used for:
The performance of the target data stream is determined according to the target network performance parameter and preset standard performance range
Bottleneck point;
The network transmission state and transmission algorithm/parameter corresponding relationship that the basis is locally stored, determine the target
The corresponding object transmission algorithm/parameter of the network transmission state of data flow, comprising:
According to performance indicator section and transmission algorithm/parameter corresponding relationship, the performance bottle of the target data stream is determined
The corresponding object transmission algorithm/parameter in target capabilities index section belonging to neck point.
Optionally, include all-network transmission shape in the performance indicator section and transmission algorithm/parameter corresponding relationship
The corresponding performance indicator section of state.
Optionally, the acquisition module 301, is specifically used for:
The target network performance parameter of continuous collecting target data stream, and the target network performance parameter is stored in locally
Caching;
The analysis module 302, is specifically used for:
Periodically from the target network performance parameter acquired in reading current period in the local cache, and according to described
Target network performance parameter analyzes the network transmission state of the target data stream.
Optionally, the determining module 303, is also used to:
If the corresponding transmission algorithm/ginseng of network transmission state of the target data stream is not present in the corresponding relationship
Number, it is determined that the highest similar network transmission state of similarity with the network transmission state of the target data stream;
The loading module 304, is also used to:
Transport protocol is written into the corresponding transmission algorithm of similar network transmission state described in the corresponding relationship/parameter
Stack, so that the transport protocol stack is based on the transmission algorithm/parameter and carries out data transmission.
In the embodiment of the present invention, the network equipment acquires the target network performance parameter of target data stream, according to target network
The network transmission state of performance parameter periodicity analysis target data stream is calculated according to the network transmission state and transmission that are locally stored
Method/parameter corresponding relationship determines the corresponding object transmission algorithm/parameter of the network transmission state of target data stream, by target
Transport protocol stack is written in transmission algorithm/parameter, so that transport protocol stack is based on object transmission algorithm/parameter and carries out data transmission.
In this way, during transmitting data stream calculation can be transmitted accordingly according to the network transmission state of data flow, adjust automatically
Method/parameter, with improve data transfer quality, improves network so that transmission algorithm/parameter is suitable for current network transmission state
Transmission state, such as packet loss and retransmission rate are reduced, to improve bandwidth availability ratio.
It should be understood that the device provided by the above embodiment carried out data transmission is when carrying out data transmission, only with
The division progress of above-mentioned each functional module can according to need and for example, in practical application by above-mentioned function distribution by not
Same functional module is completed, i.e., the internal structure of device is divided into different functional modules, to complete whole described above
Or partial function.In addition, the device provided by the above embodiment carried out data transmission is implemented with the method carried out data transmission
Example belongs to same design, and specific implementation process is detailed in embodiment of the method, and which is not described herein again.
Fig. 5 is the structural schematic diagram of the network equipment provided in an embodiment of the present invention.The network equipment 500 can be because of configuration or property
Energy is different and generates bigger difference, may include one or more central processing units 522 (for example, one or one
The above processor) and memory 532, the 530 (example of storage medium of one or more storage application programs 552 or data 555
Such as one or more mass memory units).Wherein, memory 532 and storage medium 530 can be of short duration storage or lasting
Storage.The program for being stored in storage medium 530 may include one or more modules (diagram does not mark), and each module can
To include to the series of instructions operation in the network equipment.Further, central processing unit 522 can be set to be situated between with storage
Matter 530 communicates, and the series of instructions operation in storage medium 530 is executed on the network equipment 500.
The network equipment 500 can also include one or more power supplys 526, one or more wired or wireless nets
Network interface 550, one or more input/output interfaces 558, one or more keyboards 556, and/or, one or one
A above operating system 551, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc.
Deng.
The network equipment 500 may include have memory and one perhaps more than one program one of them or one
A procedure above is stored in memory, and is configured to execute one or one by one or more than one processor
A procedure above includes for carrying out the above-mentioned instruction carried out data transmission.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware
It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and
Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.
Claims (14)
1. a kind of method carried out data transmission, which is characterized in that the described method includes:
Acquire the target network performance parameter of target data stream;
According to the network transmission state of target data stream described in the target network performance parameter periodicity analysis;
According to the network transmission state and transmission algorithm/parameter corresponding relationship being locally stored, the target data stream is determined
The corresponding object transmission algorithm/parameter of network transmission state;
Transport protocol stack is written into the object transmission algorithm/parameter, so that the transport protocol stack is based on the object transmission
Algorithm/parameter carries out data transmission.
2. the method according to claim 1, wherein the target network performance parameter of the acquisition target data stream
Before, further includes:
Read acquisition configuration file, according in the acquisition configuration file stream identification and corresponding performance parameter identify it is true
The data flow that sets the goal and target network performance parameter.
3. the method according to claim 1, wherein described according to target network performance parameter analysis
The network transmission state of target data stream, comprising:
The performance bottleneck of the target data stream is determined according to the target network performance parameter and preset standard performance range
Point;
The network transmission state and transmission algorithm/parameter corresponding relationship that the basis is locally stored, determine the target data
The corresponding object transmission algorithm/parameter of the network transmission state of stream, comprising:
According to performance indicator section and transmission algorithm/parameter corresponding relationship, the performance bottleneck point of the target data stream is determined
The corresponding object transmission algorithm/parameter in affiliated target capabilities index section.
4. according to the method described in claim 3, it is characterized in that, the performance indicator section and transmission algorithm/parameter pair
It include the corresponding performance indicator section of all-network transmission state in should being related to.
5. the method according to claim 1, wherein the target network performance ginseng of the acquisition target data stream
Number, comprising:
The target network performance parameter of continuous collecting target data stream, and target network performance parameter deposit is local slow
It deposits;
The network transmission state that the target data stream is analyzed according to the target network performance parameter, comprising:
Periodically from the target network performance parameter acquired in reading current period in the local cache, and according to the target
Network performance parameter analyzes the network transmission state of the target data stream.
6. the method according to claim 1, wherein the method also includes:
If the corresponding transmission algorithm/parameter of network transmission state of the target data stream is not present in the corresponding relationship,
The then determining highest similar network transmission state of similarity with the network transmission state of the target data stream;
Transport protocol stack is written into the corresponding transmission algorithm of similar network transmission state described in the corresponding relationship/parameter, with
Make the transport protocol stack be based on the transmission algorithm/parameter to carry out data transmission.
7. a kind of device carried out data transmission, which is characterized in that described device includes:
Acquisition module, for acquiring the target network performance parameter of target data stream;
Analysis module, the network transmission shape for the target data stream according to the target network performance parameter periodicity analysis
State;
Determining module, described in determining according to the network transmission state and transmission algorithm/parameter corresponding relationship being locally stored
The corresponding object transmission algorithm/parameter of the network transmission state of target data stream;
Loading module, for transport protocol stack to be written in the object transmission algorithm/parameter, so that the transport protocol stack is based on
Object transmission algorithm/the parameter carries out data transmission.
8. device according to claim 7, which is characterized in that described device further include:
Read module, for reading acquisition configuration file, according to stream identification in the acquisition configuration file and corresponding
Performance parameter, which identifies, determines target data stream and target network performance parameter.
9. device according to claim 7, which is characterized in that the analysis module is specifically used for:
The performance bottleneck of the target data stream is determined according to the target network performance parameter and preset standard performance range
Point;
The network transmission state and transmission algorithm/parameter corresponding relationship that the basis is locally stored, determine the target data
The corresponding object transmission algorithm/parameter of the network transmission state of stream, comprising:
According to performance indicator section and transmission algorithm/parameter corresponding relationship, the performance bottleneck point of the target data stream is determined
The corresponding object transmission algorithm/parameter in affiliated target capabilities index section.
10. device according to claim 9, which is characterized in that the performance indicator section and transmission algorithm/parameter pair
It include the corresponding performance indicator section of all-network transmission state in should being related to.
11. device according to claim 7, which is characterized in that the acquisition module is specifically used for:
The target network performance parameter of continuous collecting target data stream, and target network performance parameter deposit is local slow
It deposits;
The analysis module, is specifically used for:
Periodically from the target network performance parameter acquired in reading current period in the local cache, and according to the target
Network performance parameter analyzes the network transmission state of the target data stream.
12. device according to claim 7, which is characterized in that the determining module is also used to:
If the corresponding transmission algorithm/parameter of network transmission state of the target data stream is not present in the corresponding relationship,
The then determining highest similar network transmission state of similarity with the network transmission state of the target data stream;
The loading module, is also used to:
Transport protocol stack is written into the corresponding transmission algorithm of similar network transmission state described in the corresponding relationship/parameter, with
Make the transport protocol stack be based on the transmission algorithm/parameter to carry out data transmission.
13. a kind of network equipment, which is characterized in that the network equipment includes processor and memory, is deposited in the memory
Contain at least one instruction, at least a Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Cheng
Sequence, the code set or instruction set are loaded by the processor and are executed to realize the progress as described in claim 1 to 6 is any
The method of data transmission.
14. a kind of computer readable storage medium, which is characterized in that be stored at least one instruction, extremely in the storage medium
A few Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, the code set or instruction
Collection is loaded by processor and is executed to realize the method carried out data transmission as described in claim 1 to 6 is any.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810345249.4A CN110391989B (en) | 2018-04-17 | 2018-04-17 | Method and device for data transmission |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810345249.4A CN110391989B (en) | 2018-04-17 | 2018-04-17 | Method and device for data transmission |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110391989A true CN110391989A (en) | 2019-10-29 |
CN110391989B CN110391989B (en) | 2023-03-03 |
Family
ID=68282688
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810345249.4A Active CN110391989B (en) | 2018-04-17 | 2018-04-17 | Method and device for data transmission |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110391989B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111147573A (en) * | 2019-12-24 | 2020-05-12 | 网宿科技股份有限公司 | Data transmission method and device |
CN111756646A (en) * | 2020-07-08 | 2020-10-09 | 腾讯科技(深圳)有限公司 | Network transmission control method, network transmission control device, computer equipment and storage medium |
CN111935025A (en) * | 2020-07-08 | 2020-11-13 | 腾讯科技(深圳)有限公司 | Control method, device, equipment and medium for TCP transmission performance |
CN113660648A (en) * | 2021-08-13 | 2021-11-16 | Oppo广东移动通信有限公司 | Multimedia data transmission method and device, electronic equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104954279A (en) * | 2014-03-28 | 2015-09-30 | 华为技术有限公司 | Transmission control method, device and system |
US20160192233A1 (en) * | 2013-06-13 | 2016-06-30 | Telefonaktiebolaget L M Ericsson (Publ) | Congestion control for a multimedia session |
CN106385376A (en) * | 2016-08-31 | 2017-02-08 | 孙广路 | Network congestion control method based on serialization model |
CN107749827A (en) * | 2017-10-30 | 2018-03-02 | 哈尔滨理工大学 | Method for controlling network congestion, apparatus and system based on network state classification |
-
2018
- 2018-04-17 CN CN201810345249.4A patent/CN110391989B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160192233A1 (en) * | 2013-06-13 | 2016-06-30 | Telefonaktiebolaget L M Ericsson (Publ) | Congestion control for a multimedia session |
CN104954279A (en) * | 2014-03-28 | 2015-09-30 | 华为技术有限公司 | Transmission control method, device and system |
CN106385376A (en) * | 2016-08-31 | 2017-02-08 | 孙广路 | Network congestion control method based on serialization model |
CN107749827A (en) * | 2017-10-30 | 2018-03-02 | 哈尔滨理工大学 | Method for controlling network congestion, apparatus and system based on network state classification |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111147573A (en) * | 2019-12-24 | 2020-05-12 | 网宿科技股份有限公司 | Data transmission method and device |
US11303737B2 (en) | 2019-12-24 | 2022-04-12 | Wangsu Science & Technology Co., Ltd. | Method and device for data transmission |
CN111756646A (en) * | 2020-07-08 | 2020-10-09 | 腾讯科技(深圳)有限公司 | Network transmission control method, network transmission control device, computer equipment and storage medium |
CN111935025A (en) * | 2020-07-08 | 2020-11-13 | 腾讯科技(深圳)有限公司 | Control method, device, equipment and medium for TCP transmission performance |
CN111756646B (en) * | 2020-07-08 | 2023-09-29 | 腾讯科技(深圳)有限公司 | Network transmission control method, device, computer equipment and storage medium |
CN111935025B (en) * | 2020-07-08 | 2023-10-17 | 腾讯科技(深圳)有限公司 | Control method, device, equipment and medium for TCP transmission performance |
CN113660648A (en) * | 2021-08-13 | 2021-11-16 | Oppo广东移动通信有限公司 | Multimedia data transmission method and device, electronic equipment and storage medium |
CN113660648B (en) * | 2021-08-13 | 2024-04-05 | Oppo广东移动通信有限公司 | Multimedia data transmission method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110391989B (en) | 2023-03-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110391989A (en) | A kind of method and apparatus carried out data transmission | |
DE102020132078A1 (en) | RESOURCE ALLOCATION BASED ON APPLICABLE SERVICE LEVEL AGREEMENT | |
TW202131661A (en) | Device and method for network optimization and non-transitory computer-readable medium | |
CN108924221B (en) | Method and device for allocating resources | |
Li et al. | DeepNFV: A lightweight framework for intelligent edge network functions virtualization | |
WO2020052322A1 (en) | Data processing method, device and computing node | |
US9197566B2 (en) | Information processing method, recording medium, and information processing apparatus | |
RU2007105873A (en) | METHOD FOR IMPLEMENTING A LOAD DISTRIBUTION SYSTEM IN A WIRELESS LOCAL DATA TRANSFER NETWORK | |
US11463554B2 (en) | Systems and methods for dynamic multi-access edge allocation using artificial intelligence | |
US10469352B2 (en) | Method and apparatus for available bandwidth measurement | |
US20220224776A1 (en) | Dynamic latency-responsive cache management | |
CN114677782A (en) | Information processing method, device, electronic equipment and storage medium | |
CN114641041B (en) | Internet of vehicles slicing method and device oriented to edge intelligence | |
CN113766576B (en) | Quality of service management method, electronic device, and storage medium | |
WO2016066438A1 (en) | Network management using adaptive policy | |
CN111479095B (en) | Service processing control system, method and device | |
CN113015216B (en) | Burst task unloading and scheduling method facing edge service network | |
US20230325258A1 (en) | Method and apparatus for autoscaling containers in a cloud-native core network | |
US20230037783A1 (en) | Resource scheduling method and related apparatus | |
CN109005126A (en) | The processing method and equipment of data flow | |
CN105656978B (en) | A kind of resource share method and device | |
EP2903344A1 (en) | Server device capable of analyzing communication behavior, control method for mobile terminal, and computer program | |
CN101778423B (en) | Mobile agent-based method for guaranteeing quality of service of wireless multimedia sensor network | |
CN108418871A (en) | A kind of cloud storage performance optimization method and system | |
Ahmed et al. | Predicting high delays in mobile broadband networks |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |