CN110177045B - MTU value-based transmission data configuration method - Google Patents

MTU value-based transmission data configuration method Download PDF

Info

Publication number
CN110177045B
CN110177045B CN201910402417.3A CN201910402417A CN110177045B CN 110177045 B CN110177045 B CN 110177045B CN 201910402417 A CN201910402417 A CN 201910402417A CN 110177045 B CN110177045 B CN 110177045B
Authority
CN
China
Prior art keywords
value
mtu
data
congestion
mtu value
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.)
Active
Application number
CN201910402417.3A
Other languages
Chinese (zh)
Other versions
CN110177045A (en
Inventor
朱永南
徐世泽
陈群力
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Depart Electronic Technology Co ltd
Original Assignee
Zhejiang Depart Electronic Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Depart Electronic Technology Co ltd filed Critical Zhejiang Depart Electronic Technology Co ltd
Priority to CN201910402417.3A priority Critical patent/CN110177045B/en
Publication of CN110177045A publication Critical patent/CN110177045A/en
Application granted granted Critical
Publication of CN110177045B publication Critical patent/CN110177045B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/12Shortest path evaluation
    • H04L45/123Evaluation of link metrics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/14Routing performance; Theoretical aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control

Landscapes

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

Abstract

The invention relates to a transmission data configuration method based on an MTU value, which is used for realizing stable and rapid transmission of data between a transmitting end and a receiving end. The method comprises the steps that a sending end extracts feature information of a data segment to be sent through a preset feature extraction algorithm, a receiving end configures a corresponding MTU according to a feature value through a preset MTU configuration strategy to establish a data sending channel and obtain the MTU value, and a feedback signal is generated to the sending end according to the MTU value; and when the sending end receives the feedback signal, the data segment to be sent is divided into a plurality of data packets according to the MTU value and the characteristic information of the data segment and is sent in sequence. By adopting the method of the invention, the unpacking action (because the size of the data packet is less than or equal to the MTU value) can not occur at the IP layer, and meanwhile, the efficiency of data transmission is ensured, and the condition of packet loss is avoided as much as possible.

Description

MTU value-based transmission data configuration method
Technical Field
The invention relates to a broadcast control talkback technology, in particular to a transmission data configuration method based on an MTU value.
Background
UDP is short for User Datagram Protocol, a Chinese name is User Datagram Protocol, and is a connectionless transport layer Protocol in OSI (Open System Interconnection) reference model, which provides transaction-oriented simple unreliable information transfer service, and IETF RFC768 is a formal specification of UDP. The protocol number of UDP in IP packets is 17.
The UDP protocol is known as the user datagram protocol, and is used for processing data packets in a network like the TCP protocol, and is a connectionless protocol. In the OSI model, at the fourth layer, the transport layer, is at the upper layer of the IP protocol. UDP has the disadvantage of not providing for packet packetization, packetization and the inability to order packets, i.e. after a message is sent, it cannot be known whether it arrives safely and completely. UDP is used to support network applications that require data to be transferred between computers. Many client/server mode network applications, including network video conferencing systems, require the use of the UDP protocol. UDP has been used for many years since its inception, although its initial brilliance has been masked by some similar protocols, even today UDP is still a very practical and feasible network transport layer protocol.
There is a problem in that it is preferable that each packet is larger, the transmission efficiency is higher, and if the packet is too large, two problems occur: 1. when the data is received, the IP layer needs to perform unpacking again, so that the transmission efficiency is influenced; 2. once the packet loss phenomenon occurs, the data packet needing to be retransmitted is large. It is possible to maximize the transmission efficiency if the size of the data packet can be configured appropriately.
Disclosure of Invention
In view of the above, the present invention provides a method for configuring transmission data based on MTU value.
In order to solve the technical problems, the technical scheme of the invention is as follows:
a transmission data configuration method based on MTU value is used for realizing signal transmission between transmission layers and providing at least one sending end and at least one receiving end, and specifically comprises the following steps:
a sending and analyzing step, namely acquiring a data segment to be sent, and extracting the feature information of the data segment to be sent through a preset feature extraction algorithm;
as a first innovative point of the present invention, after the extracting the adjustment information, the method further includes: quantizing the obtained characteristic information through a preset quantization analysis algorithm to obtain a characteristic value, wherein the characteristic value reflects the actual size of the data segment when the data segment is sent;
further, as a second innovation point of the present invention, the quantization and analysis algorithm is configured with a feature index table, the index table includes a configuration type and a weight corresponding to the configuration type, the quantization and analysis algorithm obtains a corresponding weight according to a type of a data segment, and calculates a product of a size of the data segment and the weight to obtain the feature value.
The algorithm execution efficiency is higher through a feature index table configured in advance; meanwhile, by introducing a mode corresponding to the weight type, a characteristic value capable of accurately representing the data transmission type and size can be obtained;
a sending request step, in which the sending end generates a sending request signal according to the characteristic value, and when the receiving end receives the sending request signal, the receiving end configures a corresponding MTU according to the characteristic value through a preset MTU configuration strategy to establish a data sending channel and obtain the MTU value, and generates a feedback signal to the sending end according to the MTU value;
and a sending execution step, wherein when the sending end receives the feedback signal, the sending end divides the data segment to be sent into a plurality of data packets according to the MTU value and the characteristic information of the data segment so that the size of each data packet is between 0.7 and 1 time of the MTU value, and the data packets are sent in sequence.
Further: the characteristic information includes a size and a type of the data segment.
As a third innovative point of the present invention: the MTU configuration strategy comprises the steps of obtaining all selectable routes between the MTU configuration strategy and the receiving end, calculating a congestion influence value in each selectable route through a preset congestion calculation strategy according to the received characteristic value, wherein the congestion influence value reflects the load on a network when the data segment is sent through the route, and determining a route with the minimum congestion influence value as the sending channel.
Further: the congestion calculation strategy is to pre-configure a congestion response table at each routing node, the congestion response table has different congestion response sub-values corresponding to different characteristic values, and the congestion influence value is the sum of the congestion response sub-values of each routing node passing through the route.
Further: and the routing node is configured with an adaptive algorithm for correcting the congestion response table, wherein the adaptive algorithm comprises the step of correcting the magnitude of congestion influence sub-values under different characteristic values according to the actual transmission condition of the routing node.
Further: the congestion response table is further configured with a time index, the time index is a plurality of different time periods configured in the congestion response table, the congestion influence sub-values corresponding to the same characteristic value in each time period are different, and the congestion calculation strategy determines the congestion influence sub-value in the corresponding time period according to the current actual time.
Further: the size of each data packet is between 0.8 and 0.95 times the MTU value.
Further: the size of the packet is equal to the MTU value.
Further: the types include picture format, text format, and video format.
The technical effects of the invention are mainly reflected in the following aspects: through the arrangement, a reliable effect can be achieved, the safety and the reliability of data are guaranteed, unpacking actions cannot occur on an IP layer (the size of a data packet is smaller than or equal to an MTU value), the data sending efficiency is guaranteed, and the condition of packet loss is avoided as much as possible.
Drawings
FIG. 1: the working principle of the invention is a flow diagram;
FIG. 2: the invention relates to a working network schematic diagram.
Reference numerals: 1. a sending end; 2. a receiving end; 3. and routing the nodes.
Detailed Description
The following detailed description of the embodiments of the present invention is provided in order to make the technical solution of the present invention easier to understand and understand.
Referring to fig. 1, a method for configuring transmission data based on an MTU value is used to implement signal transmission between transmission layers, and provides at least one sending end 1 and at least one receiving end 2, and specifically includes the following steps:
a sending and analyzing step, namely acquiring a data segment to be sent, extracting characteristic information of the data segment to be sent through a preset characteristic extraction algorithm, and quantizing the obtained characteristic information through a preset quantitative analysis algorithm to obtain a characteristic value, wherein the characteristic value reflects the actual size of the data segment during sending; different data segments are sent in different formats in the network, so the actually generated sizes may be different, this step is to acquire the actual sizes as much as possible, and the characteristic information includes the size and the type of the data segment. The types include picture format, text format, and video format. The quantization analysis algorithm is configured with a characteristic index table, the index table comprises configuration types and weights corresponding to the configuration types, the quantization analysis algorithm obtains corresponding weights according to the types of the data segments, and the product of the size of the data segments and the weights is calculated to obtain the characteristic value. Therefore, the size of the actual file can be obtained, and an accurate determination effect can be achieved when the data is split.
A sending request step, in which the sending end 1 generates a sending request signal according to the characteristic value, and when the receiving end 2 receives the sending request signal, the receiving end 2 configures a corresponding MTU according to the characteristic value through a preset MTU configuration strategy to establish a data sending channel and obtain the MTU value, and generates a feedback signal to the sending end 1 according to the MTU value; the MTU configuration policy includes acquiring all the selectable routes between the MTU configuration policy and the receiving end 2, and calculating a congestion influence value in each selectable route according to the received characteristic value and a preset congestion calculation policy, where the congestion influence value reflects a load on a network when the data segment is sent through the route, and a route with the minimum congestion influence value is determined as the sending channel. The congestion calculation strategy is to pre-configure a congestion response table at each routing node 3, where the congestion response table has different congestion response sub-values corresponding to different feature values, and the congestion influence value is the sum of the congestion response sub-values of each routing node 3 passing through the route. The routing node 3 is configured with an adaptive algorithm for correcting the congestion response table, where the adaptive algorithm includes correcting the magnitude of congestion impact sub-values under different characteristic values according to the actual transmission condition of the routing node 3. The congestion response table is further configured with a time index, the time index is a plurality of different time periods configured in the congestion response table, the congestion influence sub-values corresponding to the same characteristic value in each time period are different, and the congestion calculation strategy determines the congestion influence sub-value in the corresponding time period according to the current actual time. Referring to fig. 2, each routing node 3 may perform traffic monitoring, so that the load of the data on the routing node 3 may be obtained, for example, if the routing node 3 is occupied for a short time, a fast transmission effect may be achieved, and if the routing node 3 is occupied for a long time, an efficient transmission effect may not be achieved, so that a suitable route may be selected according to the size of the data segment, and then the MTU value is determined according to the route, and thus, an unpacking operation is not required at the IP layer. In the illustration, the congestion impact sub-values obtained by a route are x1\ x2\ x3\ x4, respectively, and the actual congestion impact value of the route is x1+ x2+ x3+ x 4.
And a sending execution step, in which the sending end 1 splits the data segment to be sent into a plurality of data packets according to the MTU value and the characteristic information of the data segment so that the size of each data packet is between 0.7 and 1 times of the MTU value when receiving the feedback signal, and sends the data packets in sequence. In one embodiment, the size of each packet is between 0.8-0.95 times the MTU value. In another embodiment, the size of the packet is equal to the MTU value.
By adopting the technical scheme, the invention avoids the operation of executing data grouping on an IP layer in the prior art, so that the data transmission is more stable and reliable; in addition, in the data transmission process, a feedback mechanism and a mechanism for configuring MTU exist between the sending end and the receiving end, so that reasonable grouping can be carried out before data transmission in a self-adaptive manner; furthermore, the grouping is strictly matched with the size and the type of the data, so that the defect that the prior art groups according to experience or only mechanically divides according to the size is overcome, the characteristic value is obtained by quantizing the obtained characteristic information through a preset quantization analysis algorithm in a mode of calculating the characteristic value of the data with the weight, the receiving end configures the corresponding MTU according to the characteristic value through a preset MTU configuration strategy to establish a data sending channel and obtain the MTU value, and a feedback signal is generated to the sending end according to the MTU value. When the sending end receives the feedback signal, the data segment to be sent is divided into a plurality of data packets according to the MTU value and the characteristic information of the data segment, so that the size of each data packet is 0.7-1 time of the MTU value. The algorithm execution efficiency is higher through a feature index table configured in advance; meanwhile, by introducing a mode corresponding to the weight type, a characteristic value capable of accurately representing the data transmission type and size can be obtained.
The above are only typical examples of the present invention, and besides, the present invention may have other embodiments, and all the technical solutions formed by equivalent substitutions or equivalent changes are within the scope of the present invention as claimed.

Claims (10)

1. A transmission data configuration method based on MTU value is characterized in that:
the method is used for realizing signal transmission between transmission layers and providing at least one transmitting end and at least one receiving end, and comprises the following steps:
a sending and analyzing step, namely acquiring a data segment to be sent, extracting characteristic information of the data segment to be sent through a preset characteristic extraction algorithm and obtaining a characteristic value;
a sending request step, in which the sending end generates a sending request signal according to the characteristic value, and the receiving end receives the sending request signal and generates a feedback signal to the sending end;
a sending execution step, in which the sending end splits the data segment to be sent into a plurality of data packets according to the MTU value and the characteristic information of the data segment when receiving the feedback signal so that the size of each data packet is between 0.7 and 1 times of the MTU value, and sends the data packets in sequence;
the method comprises the steps of selecting a proper route according to different sizes of data segments, and determining an MTU value according to different routes;
the obtaining of the characteristic value specifically includes: quantizing the obtained characteristic information through a preset quantization analysis algorithm to obtain a characteristic value, wherein the characteristic value reflects the actual size of the data segment when the data segment is sent;
the generating the feedback signal specifically includes: and the receiving end configures the corresponding MTU according to the characteristic value through a preset MTU configuration strategy to establish a data transmission channel and obtain the MTU value, and generates a feedback signal to the transmitting end according to the MTU value.
2. The MTU value-based transmission data configuring method of claim 1, wherein: the characteristic information includes a size and a type of the data segment.
3. The MTU value-based transmission data configuring method of claim 2, wherein: the quantization analysis algorithm is configured with a characteristic index table, the index table comprises configuration types and weights corresponding to the configuration types, the quantization analysis algorithm obtains corresponding weights according to the types of the data segments, and the product of the size of the data segments and the weights is calculated to obtain the characteristic value.
4. The MTU value-based transmission data configuring method of claim 1, wherein: the MTU configuration strategy comprises the steps of obtaining all selectable routes between the MTU configuration strategy and the receiving end, calculating a congestion influence value in each selectable route through a preset congestion calculation strategy according to the received characteristic value, wherein the congestion influence value reflects the load on a network when the data segment is sent through the route, and determining a route with the minimum congestion influence value as the sending channel.
5. The MTU value-based transmission data configuration method of claim 4, wherein: the congestion calculation strategy is to pre-configure a congestion response table at each routing node, the congestion response table has different congestion response sub-values corresponding to different characteristic values, and the congestion influence value is the sum of the congestion response sub-values of each routing node passing through the route.
6. The MTU value-based transmission data configuring method of claim 5, wherein: and the routing node is configured with an adaptive algorithm for correcting the congestion response table, wherein the adaptive algorithm comprises the step of correcting the magnitude of congestion influence sub-values under different characteristic values according to the actual transmission condition of the routing node.
7. The MTU value-based transmission data configuring method of claim 5, wherein: the congestion response table is further configured with a time index, the time index is a plurality of different time periods configured in the congestion response table, the congestion influence sub-values corresponding to the same characteristic value in each time period are different, and the congestion calculation strategy determines the congestion influence sub-value in the corresponding time period according to the current actual time.
8. The MTU value-based transmission data configuring method of claim 1, wherein: the size of each data packet is between 0.8 and 0.95 times the MTU value.
9. The MTU value-based transmission data configuring method of claim 1, wherein: the size of the packet is equal to the MTU value.
10. The MTU value-based transmission data configuring method of claim 2, wherein: the types include picture format, text format, and video format.
CN201910402417.3A 2019-05-15 2019-05-15 MTU value-based transmission data configuration method Active CN110177045B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910402417.3A CN110177045B (en) 2019-05-15 2019-05-15 MTU value-based transmission data configuration method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910402417.3A CN110177045B (en) 2019-05-15 2019-05-15 MTU value-based transmission data configuration method

Publications (2)

Publication Number Publication Date
CN110177045A CN110177045A (en) 2019-08-27
CN110177045B true CN110177045B (en) 2021-04-02

Family

ID=67691047

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910402417.3A Active CN110177045B (en) 2019-05-15 2019-05-15 MTU value-based transmission data configuration method

Country Status (1)

Country Link
CN (1) CN110177045B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114363234A (en) * 2020-10-14 2022-04-15 阿里巴巴集团控股有限公司 Data processing method and system, electronic equipment and router

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100558037C (en) * 2005-07-27 2009-11-04 华为技术有限公司 A kind of method for transmission processing of Frame
CN102036304B (en) * 2009-09-28 2013-12-18 华为技术有限公司 Method for providing maximum transmission unit length for terminal and packet switch gateway
CN104320359A (en) * 2014-11-24 2015-01-28 上海斐讯数据通信技术有限公司 Data package transmission method and system of stack-based exchanger
CN108965122B (en) * 2017-05-19 2022-03-11 中兴通讯股份有限公司 Routing method, device and computer readable storage medium

Also Published As

Publication number Publication date
CN110177045A (en) 2019-08-27

Similar Documents

Publication Publication Date Title
CN109391560B (en) Network congestion notification method, proxy node and computer equipment
US7738495B2 (en) Method of determining a maximum transmission unit value of a network path using transport layer feedback
US11477106B2 (en) Data packet sending method and apparatus in IPV6 network
KR100916288B1 (en) Method and apparatus for determination of network topology
CN106612284B (en) Streaming data transmission method and device
EP3761591B1 (en) Tcp link configuration method, apparatus, and computer program product
WO2018085765A1 (en) Application characterization using transport protocol analysis
US20160094465A1 (en) Apparatus and Method for Controlling Data Flow in Communication System
US8687507B2 (en) Method, arrangement and system for monitoring a data path in a communication network
EP3780542A1 (en) Data transmission method and device
EP3281380B1 (en) Method and system for the scheduling of packets in a bundling scenario based on tcp tunnels and native tcp information
US8976664B2 (en) Facilitating network flows
CN111567011B (en) Method for improving QoE of video service and WEB service by using cross-layer information
CN113301000A (en) Data transmission method, device, medium and equipment
US9819730B2 (en) System and method for network access based on application layer data
US9548921B2 (en) Compression of routing information exchanges
CN110177045B (en) MTU value-based transmission data configuration method
US20060280133A1 (en) Full duplex/half duplex mismatch detecting method and full duplex/half duplex mismatch detecting apparatus applicable with the method
EP3560152B1 (en) Determining the bandwidth of a communication link
CN107733903B (en) Data transmission confirmation method based on UDP (user Datagram protocol) and base station
KR100737678B1 (en) Delay analysis method for multimedia streaming services
US20180115601A1 (en) Load balancing
JP6033069B2 (en) Communication quality estimation device
EP3100413B1 (en) Reliable network probing session
JP6200870B2 (en) Data transfer control device, method and program

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