WO2017041569A1 - Service data transmission method and device - Google Patents
Service data transmission method and device Download PDFInfo
- Publication number
- WO2017041569A1 WO2017041569A1 PCT/CN2016/087308 CN2016087308W WO2017041569A1 WO 2017041569 A1 WO2017041569 A1 WO 2017041569A1 CN 2016087308 W CN2016087308 W CN 2016087308W WO 2017041569 A1 WO2017041569 A1 WO 2017041569A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- transmission
- layer
- service
- transport
- parameter
- 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.)
- Ceased
Links
Images
Classifications
-
- 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
-
- 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]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/40—Network security protocols
Definitions
- the application layer of the terminal sends the service requirement parameter required for the service to be used to the transport service layer (English: Transport Services, referred to as: TAPS), and the service demand parameter refers to The parameter that is required when the service is in a normal state, that is, a threshold parameter that can be tolerated when the service is in a normal state, and the parameter may include a transmission delay, a packet loss rate, a throughput rate, and the like, when the TAPS receives the And determining, according to the service requirement parameter, a transmission protocol of the terminal for transmitting the service, and configuring a corresponding transmission parameter for the transmission protocol, after which the transmission layer of the terminal is based on the transmission protocol and the transmission
- the parameter service data transmission establishes a transport layer connection with the communication peer for the service, and transmits the service data of the service through the transport layer connection.
- the TAPS determines the transmission protocol for the transmission layer of the terminal based on the service requirement parameter and configures the corresponding transmission parameter, once the transmission state of the transmission layer changes, or the network is congested, the service data to be transmitted is lost. , thereby reducing the speed and quality of business data transmission.
- an embodiment of the present invention provides a service data transmission method and apparatus.
- the technical solution is as follows:
- a method for transmitting a service data comprising:
- the transport service layer receives the transport status information, where the transport status information includes at least transport layer status information, where the transport layer transmits the service data of the first service by using the first transport protocol and the first transmission parameter.
- the transmission protocol and the first transmission parameter are transmission protocols and transmission parameters currently configured for the transport layer;
- the transmission state information further includes network layer state information.
- the method before the transmitting service layer receives the transmission state information, the method further includes:
- the layer includes at least the transport layer.
- the method before the transmitting service layer receives the transmission state information, the method further includes:
- the method before the transmitting service layer receives the transmission state information, the method further includes:
- the transmission service layer determines the second transmission protocol based on the transmission state information
- the second transmission parameter includes:
- the determining, according to the transmission delay and the packet loss ratio, determining transmission of the related layer Status including:
- the transmission delay is less than or equal to the second specified delay and the packet loss rate is less than or equal to the second specified packet loss rate, determining that the transmission state of the correlation layer is a light load state;
- Determining the second transmission protocol and the second transmission parameter, including the packet loss rate, the transmission status, the service type, and the network type including:
- the second transmission parameter is determined based on the transmission delay, the packet loss rate, and the transmission status.
- the method further includes: storing the a second transmission protocol and the second transmission parameter;
- Subsequent service data including: when the transport layer re-establishes a second transport connection for transmitting service data, configuring a transmission parameter of the transport layer as the second transmission parameter, and configuring a transport protocol of the transport layer For the second transmission protocol.
- a service data transmission apparatus comprising:
- a first receiving module configured to receive, in a process of transmitting, by the first transmission protocol, the first service, the first service, the service data, the transmission status information, where the transmission status information includes at least the transport layer status information,
- the first transmission protocol and the first transmission parameter are transmission protocols and transmission parameters currently configured for the transport layer;
- a determining module configured to determine a second transmission protocol and a second transmission parameter based on the transmission state information
- a first sending module configured to send the second transmission protocol and the second transmission parameter to the transport layer, to enable the transport layer to transmit the second transmission protocol and the second transmission parameter Subsequent business data for the first business.
- the transmission state information further includes network layer state information.
- the device further includes:
- a second receiving module configured to receive a service requirement parameter sent by the application layer, where the service requirement parameter is a parameter required when the first service provided by the application layer is in a normal state;
- An obtaining module configured to obtain a threshold parameter from the service requirement parameter
- a registration module configured to register, according to the threshold parameter, a key event to a related layer, where the key event is used to report the transmission status information to a transport service layer when a transmission parameter of the correlation layer exceeds the threshold parameter
- the correlation layer includes at least the transport layer.
- the device further includes:
- the second sending module is configured to send the reporting period to the related layer, so that the related layer reports the transmission status information to the transport service layer every the reporting period, and the related layer at least includes the transport layer.
- the device further includes:
- the reporting module is configured to report the transmission status information to the transmission service layer when the transmission connection of the related layer for performing service data transmission is disconnected.
- the determining module includes:
- a second determining unit configured to determine a service type to which the first service belongs and a network type of a network currently connected to the network layer;
- a third determining unit configured to determine, according to the transmission delay, the packet loss rate, the transmission status, the service type, and the network type, a second transmission protocol and a second transmission parameter.
- the first determining unit includes:
- a third determining subunit configured to: when the transmission delay is less than the first specified delay and greater than the second designation The delay state, or the packet loss rate is less than the first specified packet loss rate and greater than the second specified packet loss rate, determining that the transmission state of the correlation layer is a normal state.
- the third determining unit includes:
- a fourth determining subunit configured to determine the second transmission protocol based on the service type and the network type
- the device further includes: a memory, configured to: Storing the second transmission protocol and the second transmission parameter;
- the first sending module is specifically configured to: when the transport layer re-establishes a second transport connection for transmitting service data, configure a transmission parameter of the transport layer as the second transmission parameter, and configure the transport layer
- the transport protocol is configured as the second transport protocol.
- the transport service layer receives the transport status information in the process of transmitting the service data of the first service by using the first transport protocol and the first transmission parameter, where the transport status information includes at least transport layer status information. Transmitting, by the transport service layer, the second transmission protocol and the second transmission parameter, and transmitting the second transmission protocol and the second transmission parameter to the transport layer, so that the transport layer transmits the second transmission protocol and the second transmission parameter based on the second transmission protocol and the second transmission parameter. Subsequent service data of a service, so that the service data of the first service can be transmitted by using a more efficient second transmission protocol, thereby avoiding congestion and packet loss in the process of service data transmission, and improving the speed of service data transmission and quality.
- FIG. 1 is a structural diagram of a service data transmission system according to an embodiment of the present invention.
- FIG. 2 is a flowchart of a service data transmission method according to an embodiment of the present invention.
- FIG. 4 is a schematic structural diagram of a first service data transmission apparatus according to an embodiment of the present invention.
- FIG. 6 is a schematic structural diagram of a third service data transmission apparatus according to an embodiment of the present invention.
- FIG. 7 is a schematic structural diagram of a fourth service data transmission apparatus according to an embodiment of the present invention.
- FIG. 8 is a schematic structural diagram of a determining module according to an embodiment of the present invention.
- FIG. 9 is a schematic structural diagram of a first determining unit according to an embodiment of the present invention.
- FIG. 10 is a schematic structural diagram of a third determining unit according to an embodiment of the present invention.
- FIG. 11 is a schematic structural diagram of a service data transmission apparatus according to an embodiment of the present invention.
- FIG. 1 is a structural diagram of a service data transmission system according to an embodiment of the present invention.
- the system includes at least an application layer, a transport service layer, a transport layer, and a network layer.
- the application layer is the highest layer in the system, and the application layer can directly provide services for the currently ongoing service;
- the transmission service layer is between the application layer and the transport layer, and the transport service layer is used to control service data transmission;
- the transport layer is between the transport service layer and the network layer, and the transport layer is used to provide transport services for end-to-end service data transmission connections;
- the network layer is used to manage data communication in the network, and the data is passed from the source to several intermediates.
- the node is delivered to the destination to provide the most basic end-to-end data transfer service to the transport layer.
- FIG. 2 is a flowchart of a method for transmitting service data according to an embodiment of the present invention. Referring to Figure 2, the method includes:
- Step 202 The transport service layer determines the second transport protocol and the second transmission parameter based on the transport status information.
- Step 203 The transport service layer sends the second transport protocol and the second transmission parameter to the transport layer, so that the transport layer transmits the subsequent service data of the first service based on the second transport protocol and the second transmission parameter.
- the transport service layer receives the transport status information in the process of transmitting, by the transport layer, the service data of the first service by using the first transport protocol and the first transmission parameter, where the transport status information includes at least transport layer status information, and the transmission
- the service layer determines the second transmission protocol and the second transmission parameter based on the transmission status information, and sends the second transmission protocol and the second transmission parameter to the transport layer, so that the transport layer transmits the second transmission protocol and the second transmission parameter.
- Subsequent service data of the first service so that the first service can be transmitted using a more efficient second transmission protocol
- the service data avoids congestion and packet loss during the transmission of service data, thereby improving the speed and quality of service data transmission.
- the transmission status information further includes network layer status information.
- the transport service layer before receiving the transport status information, includes:
- a key event is registered to the relevant layer, and the key event is used to report the transmission status information to the transport service layer when the transmission parameter of the relevant layer exceeds the threshold parameter, and the related layer includes at least the transport layer.
- the method before the transmission service layer receives the transmission status information, the method further includes:
- the reporting period is sent to the relevant layer, so that the related layer reports the transmission status information to the transport service layer every reporting period, and the related layer includes at least the transport layer.
- the method before the transmission service layer receives the transmission status information, the method further includes:
- determining, according to the transmission delay and the packet loss rate, the transmission status of the related layer including:
- the transmission delay is less than or equal to the second specified delay and the packet loss rate is less than or equal to the second specified packet loss rate, determining that the transmission state of the relevant layer is a light load state;
- the transmission state of the relevant layer is determined to be a normal state.
- determining, according to the transmission delay, the packet loss rate, the transmission status, the service type, and the network type, the second transmission protocol and the second transmission parameter including:
- the second transmission parameter is determined based on the transmission state, the transmission delay, and the packet loss rate.
- the method further includes: storing a second transmission protocol and a second transmission parameter;
- the transport service layer sends the second transport protocol and the second transmission parameter to the transport layer, so that the transport layer transmits the subsequent service data of the first service based on the first transport protocol and the second transport parameter, and specifically includes:
- the transmission parameter of the transport layer is configured as the second transmission parameter
- the transport protocol of the transport layer is configured as the second transport protocol
- the optional embodiments of the present invention may be used in any combination to form an optional embodiment of the present invention.
- FIG. 3 is a flowchart of a method for transmitting service data according to an embodiment of the present invention. Referring to Figure 3, the method includes:
- Step 301 In the process of transmitting, by the transport layer, the service data of the first service by using the first transmission protocol and the first transmission parameter, the transport service layer receives the transport status information, where the transport status information includes at least transport layer status information, and the first transport protocol And the first transmission parameter is a transmission protocol and transmission parameter currently configured for the transport layer.
- the terminal uses the services of video communication, video on demand, web browsing, etc.
- the terminal needs to transmit the service data through the network, and the service layer is subjected to the transmission layer during the transmission process.
- the impact of state changes for example, when transmission congestion occurs in the transport layer, it will cause problems such as packet loss and packet transmission delay. Therefore, in the process of service data transmission, in order to target different transmission state information, the transmission protocol is timely. And the transmission parameters are adjusted, and the transmission service layer of the terminal needs to receive the transmission status information of the information in the transmission process.
- the transmission service layer may report the current transmission status information to the transmission service layer by using the following methods (1)-(3), as follows: Said.
- the transmission service layer receives a service requirement parameter sent by the application layer, where the service requirement parameter is a parameter required when the first service provided by the application layer is in a normal state, and obtains a threshold parameter from the service requirement parameter. And the key event is used to report the transmission status information to the transport service layer when the transmission parameter of the correlation layer exceeds the threshold parameter, and the related layer includes at least the transport layer.
- the service requirement parameter includes a minimum threshold parameter that can be tolerated when the first service is in a normal state.
- the terminal performs the A variety of problems occur in the process of a service, and the first service cannot be performed normally. Therefore, in order to ensure the normal use of the first service, after the transmission service layer receives the service requirement parameter sent by the application layer, Obtaining a threshold parameter from the service requirement parameter, and based on the threshold parameter, the transport service layer registers a key event with the relevant layer. After the key event is successfully registered, when the transmission parameter used for the service data transmission exceeds the threshold parameter, the relevant layer The current transmission status information is reported to the transport service layer.
- the transport service layer may The request message obtains the service identifier of the service currently provided by the application layer.
- the request message may be a connection establishment message, which is not specifically limited in the embodiment of the present invention.
- the service identifier is used to uniquely identify the first service that is currently provided by the application layer, and the service identifier may be a service name, a service number, and the like of the first service currently provided by the application layer. This example does not specifically limit this.
- the parameter identifier is used to uniquely identify the parameter, and the parameter identifier may be a name of the parameter, a symbol of the parameter, an abbreviation of the parameter, and the like, for example, a transmission delay included in the service requirement parameter.
- the identifier may be RTT
- the identifier of the packet loss rate may be ⁇
- the identifier of the congestion window may be CWND
- the identifier of the network bandwidth may be BW, etc., which is not specifically limited in this embodiment of the present invention.
- the service identifier of the service currently provided by the application layer is ID1
- the transport service layer is based on the service identifier ID1
- the corresponding parameter identifier is obtained as RTT from the correspondence between the service identifier and the parameter identifier shown in Table 1 below.
- the transport service layer identifies the RTT and ⁇ based on the parameter, and obtains the transmission delay from the service requirement parameter
- the parameter corresponding to the RTT is 50 ms
- the parameter corresponding to the packet loss rate ⁇ is 0.04%
- the transmission service layer transmits the delay time RTT 50 ms and
- the packet loss rate ⁇ 0.04% is determined as the threshold parameter.
- the service is a video on demand service
- the service requirement parameters sent by the transmission service layer to receive the application layer include a transmission delay, a packet loss rate, a congestion window at the transmitting end, a maximum transmission unit, a throughput rate, and the like, and the transmission service layer needs the service layer.
- the obtained threshold parameters are transmission delay and packet loss rate, and the transmission delay is 50 ms, and the packet loss rate is 0.04%. Based on the transmission delay of 500 ms and the packet loss rate of 0.04%, the transmission service layer registers with the relevant layer.
- the current transmission delay of the relevant layer in the service data transmission process is 60ms, the current transmission delay is 60ms greater than the transmission delay in the threshold parameter by 50ms, so that the relevant layer will transmit the current transmission state.
- the information is reported to the transport service layer.
- the transport service layer sends the reporting period to the relevant layer, so that the related layer reports the transmission status information to the transport service layer every other reporting period.
- the transport service layer can also periodically acquire the transport status information of the relevant layer, so that the service data transmission of the transport layer can be performed in real time. Ground monitoring will not impose an excessive burden on the relevant layers. Therefore, the transport service layer may send the reporting period to the relevant layer, so that the relevant layer reports the transmission status information to the transport service layer every other reporting period.
- reporting period may be set in advance, for example, the reporting period is 5 min, 10 min, 30 min, and the like, which is not specifically limited in this embodiment of the present invention.
- the reporting period is 10 minutes
- the transport service layer sends the reporting period to the relevant layer for 10 minutes, so that the relevant layer sends the transmission status information to the transport service layer every 10 minutes.
- the transport service layer Before the service data transmission, the transport service layer needs to establish a first transmission connection between the relevant layer and the server, and perform service data transmission through the first transmission connection, and the first transmission connection of the relevant layer for performing service data transmission.
- the application layer cannot obtain the data required by the currently provided service, thereby affecting the normal operation of the service. Therefore, when the first transmission connection of the relevant layer for performing service data transmission is disconnected, the relevant layer may transmit to the relevant layer.
- the service layer reports the transmission status information.
- the related layer since the related layer includes at least the transport layer, of course, in order to further improve the efficiency of the service data transmission, the related layer may further include a network layer. Therefore, the transport service layer can pass not only the foregoing three types.
- the method can obtain the status information of the transport layer.
- the transport service layer can also obtain the transport layer status information and the network layer status information by using the foregoing three methods, that is, the transport service layer can obtain at least the transport layer status information. This is not specifically limited.
- Step 302 Obtain a transmission delay and a packet loss rate from the transmission state information, and determine a transmission state of the correlation layer based on the transmission delay and a packet loss rate.
- the transmission service layer may obtain a transmission delay and a packet loss rate from the transmission status information, and determine a transmission status of the correlation layer based on the transmission delay and the packet loss rate.
- the operation of the transmission layer is determined by the transmission service layer based on the transmission delay and the packet loss rate.
- the operation may be: when the transmission delay is greater than or equal to the first specified delay and the packet loss rate is greater than or equal to the first designation.
- the transmission state of the relevant layer is determined to be an overload state.
- the transmission delay is less than or equal to the second specified delay and the packet loss rate is less than or equal to the second specified packet loss rate, the transmission state of the relevant layer is determined to be light. If the transmission delay is less than the first specified delay and greater than the second specified delay, or the packet loss rate is less than the first specified packet loss rate and greater than the second specified packet loss rate, the transmission state of the relevant layer is determined to be normal. status.
- the first specified delay, the second specified delay, the first designated packet loss rate, and the second specified packet loss rate may be set in advance, and the first specified delay is greater than the second specified delay, and the first The specified packet loss rate is greater than the second specified packet loss rate.
- the first specified delay is 50ms, 55ms
- the second specified delay is 10ms, 20ms, etc.
- the first specified packet loss rate is 0.04%, 0.05%, etc.
- the second specified packet loss rate is 0.01%, etc., which is not specifically limited in the embodiment of the present invention.
- the first specified delay is 50 ms
- the second specified delay is 10 ms
- the first specified packet loss rate is 0.04%
- the second specified packet loss rate is 0.01%
- the transport service layer obtains the transmission status information.
- the transmission delay is 60 ms and the packet loss rate is 0.06%. Since the transmission delay is 60 ms larger than the first specified delay of 50 ms, and the packet loss rate is 0.06%.
- the first specified packet loss rate is 0.04%. Therefore, the transport service layer determines that the transmission state of the relevant layer is an overload state.
- Step 303 Determine the service type to which the first service belongs and the network type of the network currently connected to the network layer.
- the transport service layer needs to determine the type of service to which the first service belongs and the type of network to which the network layer is currently connected.
- the operation of the service layer to determine the service type to which the first service belongs may be: the service layer obtains the service identifier of the first service, and based on the service identifier, the correspondence between the stored service identifier and the service type. And obtaining the corresponding service type, and determining the obtained service type as the service type to which the service currently provided by the application layer belongs.
- the transport service layer obtains the service identifier of the first service as the ID1, and the transport service layer obtains the corresponding service type as the type from the correspondence between the service identifier and the service type shown in the following Table 2 based on the service identifier ID1. 1, and determine the type 1 as the type of service to which the first service belongs.
- the transport service layer when the transport service layer determines the network type of the network currently connected to the network layer, the transport service layer can directly determine the network type of the network currently connected to the network layer based on the network currently connected by the terminal, and Obtaining a plurality of consecutive transmission delays and packet loss rates from the plurality of consecutively received transmission state information, and determining a network type of the network currently connected to the network layer based on the plurality of consecutive transmission delays and packet loss rates.
- the operation layer of the transmission service layer determines the network type of the network currently connected to the network layer based on the multiple consecutive transmission delays and packet loss rates.
- the transmission service layer obtains the transmission time from the multiple consecutive transmission delays. Determining the maximum value and the minimum value of the transmission delay, and determining the amount of delay variation of the plurality of consecutive transmission delays based on the maximum value of the transmission delay and the minimum value of the transmission delay, and from the plurality of consecutive packet loss rates, Obtaining a maximum value of the packet loss rate and a minimum packet loss rate, and determining a packet loss rate change of the multiple consecutive packet loss rates based on the maximum packet loss rate and the minimum packet loss rate, when the multiple consecutive transmission delays If the first threshold is greater than the first threshold, the delay variation is less than the second threshold, and the packet loss rate is less than the third threshold, determine that the network type of the network currently connected to the network layer is a wireless network; otherwise, determine the current network layer.
- the network type of the connected network is a non-wireless network, that is, when the obtained multiple consecutive transmission delays are always large and occasional packet loss occurs, the transport service layer can determine the network connected network currently.
- the network type for the wireless network otherwise, determining that the current network layer network of the type of network connected to a non-wireless network.
- the first threshold, the second threshold, and the third threshold may be set in advance, for example, the first threshold is 30 ms, 35 ms, the second threshold is 5 ms, 7 ms, and the third threshold is 0.015%, 0.002%, and the like. This embodiment of the present invention does not specifically limit this.
- the transport service layer can determine the network type of the network currently connected to the network layer based on the multiple consecutive transmission delays and packet loss ratios.
- the transport service layer can also be based on the multiple consecutive The transmission delay and the packet loss rate, as well as other consecutive parameters, determine the network type of the network currently connected to the network layer, which is not specifically limited in this embodiment of the present invention.
- Step 304 Determine a second transmission protocol and a second transmission parameter based on the transmission delay, the packet loss rate, the transmission status, the service type, and the network type.
- the transmission service layer needs to be based on the transmission delay, packet loss rate, and transmission, in order to ensure that the first service provided by the application layer can be in a normal state and avoid transmission congestion and data packet loss during service data transmission.
- the status, the type of service, and the type of network determine the second transmission and the second transmission protocol parameters. And determining, according to the transmission delay, the packet loss rate, the transmission status, the service type, and the network type, the operations of determining the second transmission and the second transmission protocol parameters: determining the second transmission based on the service type and the network type.
- the protocol determines the second transmission parameter based on the transmission delay, the packet loss rate, and the transmission status.
- the transport service layer determines the second transport protocol based on the service type and the network type
- the transport service layer may be based on the service type and the network type, and the correspondence between the stored service type, the network type, and the transport protocol. In the relationship, the corresponding transport protocol is obtained, and the obtained transport protocol is determined as the second transport protocol.
- the network type is a wireless network
- the transport service layer can be based on the service type as type 1 and the wireless network.
- the corresponding transport protocol is obtained as protocol 1, and the transport service layer determines the protocol 1 as the second transport protocol.
- the transmission service layer determines the second transmission parameter based on the transmission delay, the packet loss rate, and the transmission state
- the transmission state is a normal state
- the transmission service layer determines that the service data transmission is in a normal state, and can fully utilize the The resources provided by the network layer and the transport layer do not cause congestion or packet loss, so that the transport service layer can directly determine the first transmission parameter as the second transmission parameter; if the transmission state is abnormal, That is, when the transmission state is an overload state or a light load state, the transmission parameters configured for the transport layer are different for different transmission protocols, and the transmission protocol can be classified into reliable according to the reliability of the service data transmission. Transmission protocols and unreliable transmission protocols.
- the TCP protocol is a typical reliability transmission protocol
- the UDP protocol is a typical unreliable transmission protocol. Therefore, for whether the second transmission protocol is a reliable transmission protocol, and the transmission service layer determines the second transmission parameter based on the transmission delay and the packet loss rate, the two transmission parameters may include two cases, as described below.
- the transmission service layer determines, according to the transmission delay and the packet loss rate, the delay range to which the transmission delay belongs and the packet loss to which the packet loss rate belongs. Rate range, and based on the delay range to which the transmission delay belongs and the packet loss rate range to which the packet loss rate belongs, obtain the corresponding correspondence from the correspondence between the stored delay range, the packet loss rate range, and the transmission parameter. The parameters are transmitted and the obtained transmission parameters are determined as the second transmission parameters.
- the operation of the transmission service layer to determine the delay range to which the transmission delay belongs and the packet loss rate range to which the packet loss rate belongs may be: the delay interval of the transmission service layer to obtain the storage, based on the transmission delay and the packet loss ratio.
- the corresponding relationship between the packet loss rate range and the transmission parameter includes a delay range and a packet loss rate range, and multiple delay ranges and multiple packet loss rate ranges are obtained, for each of the multiple delay ranges.
- the extension range when the transmission delay is greater than the minimum value of the delay range and less than the maximum value of the delay range, the transmission service layer determines the delay range as the delay range to which the transmission delay belongs; for the same reason, For each of the multiple packet loss rate ranges, when the packet loss rate is greater than the packet loss rate When the minimum value of the rate range is less than the maximum value of the packet loss rate range, the transport service layer determines the packet loss rate range as the packet loss rate range to which the packet loss rate belongs.
- the transport service layer determines that congestion occurs in the service data transmission, and the phenomenon of packet loss is accompanied by adjusting the first transmission parameter to alleviate congestion and packet loss of the transport layer.
- the phenomenon ensures that the service currently provided by the application layer can be in a normal state; if the transmission state is a light load state, the transport service layer determines that there are fewer data packets transmitted during the service data transmission process, and fails to fully utilize the network layer and transmission.
- the resources provided by the layer can adjust the first transmission parameter to enable the service currently provided by the application layer to be in a better state to improve the service quality of the service.
- the transmission state is an overload state
- the transmission delay is 60 ms
- the packet loss rate is 0.06%.
- the transmission service layer determines that the service layer transmission process of the transmission layer is congested, and is accompanied by a packet loss phenomenon, in order to slow down.
- the loss of the data packet ensures that the service currently provided by the application layer can be in a normal state.
- the transmission service layer determines the delay range of the transmission delay of 60 ms based on the transmission delay of 60 ms and the packet loss rate of 0.06% (50, 65).
- the packet loss rate of the packet loss rate of 0.06% belongs to (0.04%, 0.08%), so that the transport service layer is based on the delay range (50, 65) and the packet loss rate range (0.04%, 0.08%). From the correspondence between the delay range, the packet loss rate range and the transmission parameter shown in Table 4 below, the corresponding transmission parameter is obtained as parameter 2, and the parameter 2 is determined as the second transmission parameter.
- the transmission service layer determines, according to the transmission delay and the packet loss rate, a delay range to which the transmission delay belongs and the The packet loss rate range of the packet loss rate is similar to that of the first case described above, and details are not described herein again.
- the transport service layer may be based on the congestion algorithm, from the stored congestion algorithm and the adjustment ratio, due to different congestion algorithms, corresponding to different adjustment ratios. In the correspondence, the corresponding adjustment ratio is obtained, and the adjustment ratio is multiplied by the first transmission parameter to obtain a second transmission parameter.
- the second transmission protocol is a reliability transmission protocol
- the transmission service layer determines the delay range of the transmission delay of 60 ms based on the transmission delay of 60 ms and the packet loss rate of 0.06%, and the packet loss rate is (50, 65).
- the packet loss rate of 0.06% belongs to (0.04%, 0.08%), so the transmission service layer is based on the delay range (50, 65) and the packet loss rate range (0.04%, 0.08%), as shown in Table 5 below.
- the corresponding congestion algorithm is obtained as algorithm 2
- the transmission service layer is based on the algorithm 2, from the congestion algorithm and the adjustment ratio shown in Table 6 below.
- the corresponding adjustment ratio is obtained as the ratio 2, and based on the ratio 2, each parameter included in the first transmission parameter is multiplied by the ratio 2 to be adjusted to obtain the second transmission parameter.
- the transmission status information may include not only the transport layer status information but also the network layer status information. Therefore, the transport service layer may obtain the second transmission and the second not only through the transport layer status information but also through the foregoing steps 302-304.
- the second transmission protocol and the second transmission protocol parameters may be comprehensively determined based on the transport layer state information and the network layer state information, so that the adjusted second transmission protocol and the second transmission parameter may be further Accurate to ensure the smooth transmission of business data transmission at the transport layer, improve the speed and quality of business data transmission.
- the transport service layer determines the second transport protocol and the second transport protocol parameters to include two methods: the first method, the transport service layer determines the second transport protocol based on the transport layer state information.
- the second transmission protocol parameter the second method, the transmission service layer determines the second transmission protocol and the second transmission protocol parameter based on the transport layer state information and the network layer state information.
- Step 305 Send the second transmission protocol and the second transmission parameter to the transport layer, so that the transport layer transmits subsequent service data of the first service based on the second transmission protocol and the second transmission parameter.
- the transport service layer determines the second transport protocol and the second transmission parameter
- the transport service layer sends the second transport protocol and the second transmission parameter to the transport layer, so that the transport layer performs the second transport protocol and the second transmission parameter.
- Service data transmission to control the data transmission process of the service, avoid congestion and packet loss at the transport layer or network layer, and enable service data transmission to fully utilize the resources of the transport layer and the network layer to improve service data transmission. Speed and quality, while ensuring that the services currently provided by the application layer are in a normal state.
- the transport service layer sends the second transport protocol and the second transmission parameter to the transport layer, so that the transport layer performs service data transmission based on the second transport protocol and the second transmission parameter, in order to make the next service data
- the transmission can enter the normal state more quickly to reduce the time of adjusting the transmission protocol and transmission parameters of the transmission layer, and the transmission service layer can store the second transmission protocol and the second transmission parameter, when the transmission layer re-establishes the second transmission of the service data.
- the transport service layer can directly configure the transport protocol and transmission parameters of the transport layer as the second transport protocol and the second transmission parameter.
- the transport service layer can directly configure the transport protocol of the transport layer as the TCP protocol, configure the congestion window included in the transmission parameter to be 20 kb/s, and configure the maximum transmission unit to be 110 bits.
- the buffer configuration is 3M, and the transmission bandwidth is configured to 5M/s, so that the service data transmission can enter the normal state more quickly.
- the transport service layer when the transport layer transmits the service data of the first service by using the first transmission protocol and the first transmission parameter, receives the transport status information, where the transport status information includes at least the transport layer status information, and the transmission The service layer determines the second transmission protocol and the second transmission parameter based on the transmission status information, and sends the second transmission protocol and the second transmission parameter to the transport layer, so that the transport layer transmits the first according to the second transmission protocol and the second transmission parameter.
- the service data of the service can be used to transmit the service data of the first service by using a more efficient second transmission protocol, thereby avoiding congestion and packet loss during the transmission of the service data, and improving the speed and quality of the service data transmission. .
- the first receiving module 401 is configured to: when the transport layer transmits the first service to the service data by using the first transport protocol and the first transmission parameter, the transport service layer receives the transport status information, where the transport status information includes at least the transport layer status information.
- the first transmission protocol and the first transmission parameter are transmission protocols and transmission parameters currently configured for the transport layer;
- the determining module 402 is configured to determine, by the transport service layer, the second transport protocol and the second transmission parameter based on the transmission state information;
- the first sending module 403 is configured to send, by the transport service layer, the second transport protocol and the second transmission parameter to the transport layer, so that the transport layer transmits the subsequent service data of the first service based on the second transport protocol and the second transmission parameter.
- the transmission status information further includes network layer status information.
- the apparatus further includes a second receiving module 404, an obtaining module 405, and a registration module 406.
- the second receiving module 404 is configured to receive a service requirement parameter sent by the application layer, where the service requirement parameter is a parameter required when the first service provided by the application layer is in a normal state;
- the obtaining module 405 is configured to obtain a threshold parameter from the service requirement parameter.
- the registration module 406 is configured to register, according to the threshold parameter, a key event to the relevant layer, where the key event is used to report the transmission status information to the transport service layer when the transmission parameter of the relevant layer exceeds the threshold parameter, where the correlation layer includes at least the transport layer.
- the apparatus further includes a second sending module 407.
- the second sending module 407 is configured to send the reporting period to the relevant layer, so that the related layer reports the transmission status information to the transport service layer every reporting period, and the related layer at least includes the transport layer.
- the reporting module 408 is configured to: when the first transmission connection of the related layer transmission service data is disconnected, to the transmission service layer Report the transmission status information.
- the determining module 402 includes an obtaining unit 4021, a first determining unit 4022, a second determining unit 4023, and a third determining unit 4024.
- the obtaining unit 4021 is configured to obtain a transmission delay and a packet loss rate from the transmission state information.
- the first determining unit 4022 is configured to determine a transmission state of the related layer based on the transmission delay and the packet loss rate;
- a second determining unit 4023 configured to determine a service type to which the first service belongs and a network type of a network currently connected to the network layer;
- the third determining unit 4024 is configured to determine the second transmission protocol and the second transmission parameter based on the transmission delay, the packet loss rate, the transmission status, the service type, and the network type.
- the first determining unit 4022 includes a first determining subunit 40221, a second determining subunit 40222, and a third determining subunit 40223.
- the first determining sub-unit 40221 is configured to determine that the transmission state of the relevant layer is an overload state when the transmission delay is greater than or equal to the first specified delay and the packet loss rate is greater than or equal to the first specified packet loss rate;
- the second determining sub-unit 40222 is configured to determine that the transmission state of the relevant layer is a light load state when the transmission delay is less than or equal to the second specified delay and the packet loss rate is less than or equal to the second specified packet loss rate;
- a third determining sub-unit 40223, configured to determine, when the transmission delay is less than the first specified delay and greater than the second specified delay, or the packet loss rate is less than the first specified packet loss rate and greater than the second specified packet loss rate The transmission status of the layer is normal.
- the third determining unit 4024 includes a fourth determining subunit 40241 and a fifth determining subunit 40242.
- a fourth determining subunit 40241 configured to determine a second transmission protocol based on the service type and the network type
- the fifth determining subunit 40242 is configured to determine the second transmission parameter based on the transmission delay, the packet loss rate, and the transmission state.
- the apparatus further includes a memory for storing the second transmission protocol and the second transmission parameter.
- the first sending module 403 is specifically configured to: when the transport layer re-establishes the second transport connection for transmitting the service data, configure the transmission parameter of the transport layer as the second transmission parameter, and configure the transport protocol of the transport layer to be the Second transmission protocol.
- the transport service layer receives the transport status information in the process that the transport layer transmits the first service to the service data by using the first transport protocol and the first transmission parameter, where the transport status information includes at least Transmitting layer status information, the transport service layer determines the second transmission protocol and the second transmission parameter based on the transmission status information, and sends the second transmission protocol and the second transmission parameter to the transport layer, so that the transport layer is based on the second transmission protocol and the Two transmission
- the parameter transmits the subsequent service data of the first service, so that the service data of the first service can be transmitted by using a more efficient second transmission protocol, thereby avoiding congestion and packet loss in the process of service data transmission, and improving service data transmission. Speed and quality.
- the service data transmission device provided by the foregoing embodiment is only illustrated by the division of the foregoing functional modules. In actual applications, the function distribution may be completed by different functional modules as needed. The internal structure of the device is divided into different functional modules to perform all or part of the functions described above.
- the apparatus for the service data transmission provided by the foregoing embodiment is the same as the method embodiment of the service data transmission, and the specific implementation process is described in detail in the method embodiment, and details are not described herein again.
- an embodiment of the present invention provides a service data transmission device, where the device includes: a processor 1101, a memory 1102, a bus 1103, and a communication interface 1104.
- the memory 1102 is configured to store a computer execution instruction 11021 through which the processor 1101 and the memory 1102 are connected.
- the processor 1101 executes a computer execution instruction stored in the memory 1102 to cause the device to perform FIG. 2 or The service data transmission method shown in FIG.
- a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
- the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
本申请要求于2015年9月7日提交中国专利局、申请号为201510564566.1、发明名称为“业务数据传输方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 201510564566.11, the entire disclosure of which is incorporated herein by reference.
本发明涉及互联网技术领域,特别涉及一种业务数据传输方法及装置。The present invention relates to the field of Internet technologies, and in particular, to a service data transmission method and apparatus.
随着互联网技术的快速发展,出现了越来越多诸如计算机、手机、平板电脑等终端,这些终端可以利用互联网进行业务数据传输。当终端使用视频通信、视频点播、网页浏览等业务时,为了获取业务数据,这些终端需要通过互联网进行业务数据传输。With the rapid development of Internet technology, more and more terminals such as computers, mobile phones, and tablet computers have appeared, and these terminals can use the Internet to transmit business data. When the terminal uses services such as video communication, video on demand, and web browsing, in order to obtain service data, these terminals need to transmit service data through the Internet.
目前,当终端利用互联网进行业务数据传输时,该终端的应用层将拟使用的业务所需的业务需求参数发送给传输业务层(英文:Transport Services,简称:TAPS),该业务需求参数是指该业务处于正常状态时所需的参数,也即是,该业务处于正常状态时所能容忍的门限参数,该参数可以包括传输时延、丢包率、吞吐率等等,当TAPS接收到该业务需求参数时,基于该业务需求参数,确定该终端的用于传输所述业务的传输协议,并为所述传输协议配置相应的传输参数,之后,该终端的传输层基于该传输协议和传输参数业务数据传输为所述业务建立与通信对端的传输层连接,通过所述传输层连接传输所述业务的业务数据。At present, when the terminal uses the Internet to perform service data transmission, the application layer of the terminal sends the service requirement parameter required for the service to be used to the transport service layer (English: Transport Services, referred to as: TAPS), and the service demand parameter refers to The parameter that is required when the service is in a normal state, that is, a threshold parameter that can be tolerated when the service is in a normal state, and the parameter may include a transmission delay, a packet loss rate, a throughput rate, and the like, when the TAPS receives the And determining, according to the service requirement parameter, a transmission protocol of the terminal for transmitting the service, and configuring a corresponding transmission parameter for the transmission protocol, after which the transmission layer of the terminal is based on the transmission protocol and the transmission The parameter service data transmission establishes a transport layer connection with the communication peer for the service, and transmits the service data of the service through the transport layer connection.
由于TAPS是基于业务需求参数为该终端的传输层确定传输协议,并配置相应的传输参数,而一旦传输层的传输状态发生变化,或者网络出现拥塞等现象,将会导致被传输的业务数据丢失,从而降低业务数据传输的速度和质量。Since the TAPS determines the transmission protocol for the transmission layer of the terminal based on the service requirement parameter and configures the corresponding transmission parameter, once the transmission state of the transmission layer changes, or the network is congested, the service data to be transmitted is lost. , thereby reducing the speed and quality of business data transmission.
发明内容Summary of the invention
为了解决现有技术的问题,本发明实施例提供了一种业务数据传输方法及装置。所述技术方案如下:In order to solve the problem of the prior art, an embodiment of the present invention provides a service data transmission method and apparatus. The technical solution is as follows:
第一方面,提供了一种业务数据传输方法,所述方法包括:In a first aspect, a method for transmitting a service data is provided, the method comprising:
在传输层通过第一传输协议和第一传输参数传输第一业务的业务数据的过程中,传输业务层接收传输状态信息,所述传输状态信息至少包括传输层状态信息,所述第一传 输协议和所述第一传输参数为当前配置给所述传输层的传输协议和传输参数;The transport service layer receives the transport status information, where the transport status information includes at least transport layer status information, where the transport layer transmits the service data of the first service by using the first transport protocol and the first transmission parameter. The transmission protocol and the first transmission parameter are transmission protocols and transmission parameters currently configured for the transport layer;
所述传输业务层基于所述传输状态信息,确定第二传输协议和第二传输参数;Determining, by the transport service layer, a second transport protocol and a second transmission parameter based on the transport status information;
所述传输业务层将所述第二传输协议和所述第二传输参数发送给所述传输层,使所述传输层基于所述第二传输协议和所述第二传输参数传输所述第一业务的后续业务数据。Transmitting, by the transport service layer, the second transport protocol and the second transmission parameter to the transport layer, so that the transport layer transmits the first one based on the second transport protocol and the second transmission parameter Subsequent business data for the business.
结合第一方面,在上第一方面的第一种可能的实现方式中,所述传输状态信息还包括网络层状态信息。In conjunction with the first aspect, in a first possible implementation manner of the foregoing first aspect, the transmission state information further includes network layer state information.
结合第一方面或者第一方面的第一种可能的实现方式,在上第一方面的第二种可能的实现方式中,所述传输业务层接收传输状态信息之前,还包括:With reference to the first aspect, or the first possible implementation manner of the first aspect, in a second possible implementation manner of the foregoing first aspect, before the transmitting service layer receives the transmission state information, the method further includes:
接收应用层发送的业务需求参数,所述业务需求参数为所述应用层所提供的所述第一业务处于正常状态时所需的参数;And receiving, by the application layer, a service requirement parameter, where the service requirement parameter is a parameter required by the application layer when the first service is in a normal state;
从所述业务需求参数中,获取门限参数;Obtaining a threshold parameter from the service requirement parameter;
基于所述门限参数,向相关层注册关键事件,所述关键事件用于当所述相关层的传输参数超过所述门限参数时,向所述传输业务层上报所述传输状态信息,所述相关层至少包括所述传输层。Determining, according to the threshold parameter, a key event to the relevant layer, where the key event is used to report the transmission state information to the transport service layer when the transmission parameter of the correlation layer exceeds the threshold parameter, where the correlation is The layer includes at least the transport layer.
结合第一方面或者第一方面的第一种可能的实现方式,在上第一方面的第三种可能的实现方式中,所述传输业务层接收传输状态信息之前,还包括:With reference to the first aspect, or the first possible implementation manner of the first aspect, in a third possible implementation manner of the foregoing first aspect, before the transmitting service layer receives the transmission state information, the method further includes:
将上报周期发送给所述相关层,使所述相关层每隔所述上报周期向所述传输业务层上报所述传输状态信息,所述相关层至少包括所述传输层。Sending the reporting period to the related layer, and causing the related layer to report the transmission state information to the transport service layer every the reporting period, where the related layer includes at least the transport layer.
结合第一方面或者第一方面的第一种可能的实现方式,在上第一方面的第四种可能的实现方式中,所述传输业务层接收传输状态信息之前,还包括:With reference to the first aspect, or the first possible implementation manner of the first aspect, in a fourth possible implementation manner of the foregoing first aspect, before the transmitting service layer receives the transmission state information, the method further includes:
当所述相关层传输业务数据的第一传输连接断开时,向所述传输业务层上报所述传输状态信息。When the first transmission connection of the related layer transmission service data is disconnected, the transmission status information is reported to the transmission service layer.
结合第一方面或者第一方面的第一种可能的实现方式,在上第一方面的第五种可能的实现方式中,所述传输业务层基于所述传输状态信息,确定第二传输协议和第二传输参数,包括:With reference to the first aspect, or the first possible implementation manner of the first aspect, in a fifth possible implementation manner of the foregoing first aspect, the transmission service layer determines the second transmission protocol based on the transmission state information The second transmission parameter includes:
从所述传输状态信息中,获取传输时延和丢包率;Obtaining a transmission delay and a packet loss rate from the transmission state information;
基于所述传输时延和所述丢包率,确定所述相关层的传输状态;Determining a transmission state of the correlation layer based on the transmission delay and the packet loss rate;
确定所述第一业务所属的业务类型和网络层当前所连接网络的网络类型;Determining a service type to which the first service belongs and a network type of a network currently connected to the network layer;
基于所述传输时延、所述丢包率、所述传输状态、所述业务类型和所述网络类型,确定第二传输协议和第二传输参数。 And determining a second transmission protocol and a second transmission parameter based on the transmission delay, the packet loss rate, the transmission status, the service type, and the network type.
结合第一方面的第五种可能的实现方式,在上述第一方面的第六种可能的实现方式中,所述基于所述传输时延和所述丢包率,确定所述相关层的传输状态,包括:With reference to the fifth possible implementation manner of the foregoing aspect, in a sixth possible implementation manner of the foregoing first aspect, the determining, according to the transmission delay and the packet loss ratio, determining transmission of the related layer Status, including:
当所述传输时延大于或等于第一指定时延且所述丢包率大于或等于第一指定丢包率时,确定所述相关层的传输状态为过载状态;Determining, when the transmission delay is greater than or equal to the first specified delay and the packet loss rate is greater than or equal to the first specified packet loss rate, determining that the transmission state of the correlation layer is an overload state;
当所述传输时延小于或等于第二指定时延且所述丢包率小于或等于第二指定丢包率时,确定所述相关层的传输状态为轻载状态;When the transmission delay is less than or equal to the second specified delay and the packet loss rate is less than or equal to the second specified packet loss rate, determining that the transmission state of the correlation layer is a light load state;
当所述传输时延小于所述第一指定时延且大于所述第二指定时延,或者所述丢包率小于所述第一指定丢包率且大于所述第二指定丢包率时,确定所述相关层的传输状态为正常状态。When the transmission delay is less than the first specified delay and greater than the second specified delay, or the packet loss rate is less than the first specified packet loss rate and greater than the second specified packet loss rate And determining that the transmission state of the related layer is a normal state.
结合第一方面的第五种可能的实现方式或者第一方面的第六种可能的实现方式,在上第一方面的第七种可能的实现方式中,所述基于所述传输时延、所述丢包率、所述传输状态、所述业务类型和所述网络类型,确定第二传输协议和第二传输参数,包括:With reference to the fifth possible implementation manner of the first aspect, or the sixth possible implementation manner of the first aspect, in the seventh possible implementation manner of the foregoing first aspect, Determining the second transmission protocol and the second transmission parameter, including the packet loss rate, the transmission status, the service type, and the network type, including:
基于所述业务类型和所述网络类型,确定所述第二传输协议;Determining the second transmission protocol based on the service type and the network type;
基于所述传输时延、所述丢包率和所述传输状态,确定所述第二传输参数。The second transmission parameter is determined based on the transmission delay, the packet loss rate, and the transmission status.
结合第一方面至第一方面的第七种可能的实现方式中任一种可能的实现方式,在上述第一方面的第八种可能的实现方式中,所述方法还包括:存储所述第二传输协议和所述第二传输参数;With reference to the first aspect to any one of the possible implementations of the seventh possible implementation of the first aspect, in an eighth possible implementation manner of the foregoing first aspect, the method further includes: storing the a second transmission protocol and the second transmission parameter;
所述传输业务层将所述第二传输协议和第二传输参数发送给所述传输层,使所述传输层基于所述第一传输协议和所述第二传输参数传输所述第一业务的后续业务数据,包括:当所述传输层重新建立传输业务数据的第二传输连接时,将所述传输层的传输参数配置为所述第二传输参数,以及将所述传输层的传输协议配置为所述第二传输协议。Transmitting, by the transport service layer, the second transport protocol and the second transmission parameter to the transport layer, so that the transport layer transmits the first service based on the first transport protocol and the second transmission parameter Subsequent service data, including: when the transport layer re-establishes a second transport connection for transmitting service data, configuring a transmission parameter of the transport layer as the second transmission parameter, and configuring a transport protocol of the transport layer For the second transmission protocol.
第二方面,提供了一种业务数据传输装置,所述装置包括:In a second aspect, a service data transmission apparatus is provided, the apparatus comprising:
第一接收模块,用于在传输层通过第一传输协议和第一传输参数传输第一业务是业务数据的过程中,接收传输状态信息,所述传输状态信息至少包括传输层状态信息,所述第一传输协议和所述第一传输参数为当前配置给所述传输层的传输协议和传输参数;a first receiving module, configured to receive, in a process of transmitting, by the first transmission protocol, the first service, the first service, the service data, the transmission status information, where the transmission status information includes at least the transport layer status information, The first transmission protocol and the first transmission parameter are transmission protocols and transmission parameters currently configured for the transport layer;
确定模块,用于基于所述传输状态信息,确定第二传输协议和第二传输参数;a determining module, configured to determine a second transmission protocol and a second transmission parameter based on the transmission state information;
第一发送模块,用于将所述第二传输协议和所述第二传输参数发送给所述传输层,使所述传输层基于所述第二传输协议和所述第二传输参数传输所述第一业务的后续业务数据。a first sending module, configured to send the second transmission protocol and the second transmission parameter to the transport layer, to enable the transport layer to transmit the second transmission protocol and the second transmission parameter Subsequent business data for the first business.
结合第二方面,在上述第二方面的第一种可能的实现方式中,所述传输状态信息还包括网络层状态信息。 With reference to the second aspect, in the first possible implementation manner of the foregoing second aspect, the transmission state information further includes network layer state information.
结合第二方面或者第二方面的第一种可能的实现方式,在上述第二方面的第二种可能的实现方式中,所述装置还包括:With reference to the second aspect, or the first possible implementation manner of the second aspect, in the second possible implementation manner of the foregoing second aspect, the device further includes:
第二接收模块,用于接收应用层发送的业务需求参数,所述业务需求参数为所述应用层所提供的所述第一业务处于正常状态时所需的参数;a second receiving module, configured to receive a service requirement parameter sent by the application layer, where the service requirement parameter is a parameter required when the first service provided by the application layer is in a normal state;
获取模块,用于从所述业务需求参数中,获取门限参数;An obtaining module, configured to obtain a threshold parameter from the service requirement parameter;
注册模块,用于基于所述门限参数,向相关层注册关键事件,所述关键事件用于当所述相关层的传输参数超过所述门限参数时,向传输业务层上报所述传输状态信息,所述相关层至少包括所述传输层。a registration module, configured to register, according to the threshold parameter, a key event to a related layer, where the key event is used to report the transmission status information to a transport service layer when a transmission parameter of the correlation layer exceeds the threshold parameter, The correlation layer includes at least the transport layer.
结合第二方面或者第二方面的第一种可能的实现方式,在上述第二方面的第三种可能的实现方式中,所述装置还包括:In conjunction with the second aspect, or the first possible implementation of the second aspect, in a third possible implementation manner of the foregoing second aspect, the device further includes:
第二发送模块,用于将上报周期发送给所述相关层,使所述相关层每隔所述上报周期向传输业务层上报所述传输状态信息,所述相关层至少包括所述传输层。The second sending module is configured to send the reporting period to the related layer, so that the related layer reports the transmission status information to the transport service layer every the reporting period, and the related layer at least includes the transport layer.
结合第二方面或者第二方面的第一种可能的实现方式,在上述第二方面的第四种可能的实现方式中,所述装置还包括:With reference to the second aspect, or the first possible implementation manner of the second aspect, in the fourth possible implementation manner of the foregoing second aspect, the device further includes:
上报模块,用于当所述相关层进行业务数据传输的传输连接断开时,向传输业务层上报所述传输状态信息。The reporting module is configured to report the transmission status information to the transmission service layer when the transmission connection of the related layer for performing service data transmission is disconnected.
结合第二方面或者第二方面的第一种可能的实现方式,在上述第二方面的第五种可能的实现方式中,所述确定模块包括:With reference to the second aspect, or the first possible implementation manner of the second aspect, in the fifth possible implementation manner of the foregoing second aspect, the determining module includes:
获取单元,用于从所述传输状态信息中,获取传输时延和丢包率;An obtaining unit, configured to obtain a transmission delay and a packet loss rate from the transmission state information;
第一确定单元,用于基于所述传输时延和所述丢包率,确定所述相关层的传输状态;a first determining unit, configured to determine a transmission state of the related layer based on the transmission delay and the packet loss rate;
第二确定单元,用于确定所述第一业务所属的业务类型和网络层当前所连接网络的网络类型;a second determining unit, configured to determine a service type to which the first service belongs and a network type of a network currently connected to the network layer;
第三确定单元,用于基于所述传输时延、所述丢包率、所述传输状态、所述业务类型和所述网络类型,确定第二传输协议和第二传输参数。And a third determining unit, configured to determine, according to the transmission delay, the packet loss rate, the transmission status, the service type, and the network type, a second transmission protocol and a second transmission parameter.
结合第二方面的第五种可能的实现方式,在上述第二方面的第六种可能的实现方式中,所述第一确定单元包括:In conjunction with the fifth possible implementation of the second aspect, in the sixth possible implementation manner of the foregoing second aspect, the first determining unit includes:
第一确定子单元,用于当所述传输时延大于或等于第一指定时延且所述丢包率大于或等于第一指定丢包率时,确定所述相关层的传输状态为过载状态;Determining, by the first determining subunit, that when the transmission delay is greater than or equal to the first specified delay and the packet loss rate is greater than or equal to the first specified packet loss rate, determining that the transmission state of the related layer is an overload state ;
第二确定子单元,用于当所述传输时延小于或等于第二指定时延且所述丢包率小于或等于第二指定丢包率时,确定所述相关层的传输状态为轻载状态;a second determining subunit, configured to determine that the transmission state of the related layer is light load when the transmission delay is less than or equal to a second specified delay and the packet loss rate is less than or equal to a second specified packet loss rate status;
第三确定子单元,用于当所述传输时延小于所述第一指定时延且大于所述第二指定 时延,或者所述丢包率小于所述第一指定丢包率且大于所述第二指定丢包率时,确定所述相关层的传输状态为正常状态。a third determining subunit, configured to: when the transmission delay is less than the first specified delay and greater than the second designation The delay state, or the packet loss rate is less than the first specified packet loss rate and greater than the second specified packet loss rate, determining that the transmission state of the correlation layer is a normal state.
结合第二方面的第五种可能的实现方式或者第二方面的第六种可能的实现方式,在上述第二方面的第七种可能的实现方式中,所述第三确定单元包括:In conjunction with the fifth possible implementation of the second aspect, or the sixth possible implementation of the second aspect, in the seventh possible implementation manner of the foregoing second aspect, the third determining unit includes:
第四确定子单元,用于基于所述业务类型和所述网络类型,确定所述第二传输协议;a fourth determining subunit, configured to determine the second transmission protocol based on the service type and the network type;
第五确定子单元,用于基于所述传输时延、所述丢包率和所述传输状态,确定所述第二传输参数。And a fifth determining subunit, configured to determine the second transmission parameter based on the transmission delay, the packet loss rate, and the transmission status.
结合第二方面至第二方面的第七种可能的实现方式中任一种可能的实现方式,在上述第二方面的第八种可能的实现方式中,所述装置还包括:存储器,用于存储所述第二传输协议和所述第二传输参数;With reference to the second aspect to the possible implementation of the seventh possible implementation of the second aspect, in an eighth possible implementation manner of the foregoing second aspect, the device further includes: a memory, configured to: Storing the second transmission protocol and the second transmission parameter;
所述第一发送模块具体用于当所述传输层重新建立传输业务数据的第二传输连接时,将所述传输层的传输参数配置为所述第二传输参数,以及将所述传输层的传输协议配置为所述第二传输协议。The first sending module is specifically configured to: when the transport layer re-establishes a second transport connection for transmitting service data, configure a transmission parameter of the transport layer as the second transmission parameter, and configure the transport layer The transport protocol is configured as the second transport protocol.
本发明实施例提供的技术方案带来的有益效果是:The beneficial effects brought by the technical solutions provided by the embodiments of the present invention are:
在本发明实施例中,传输业务层在传输层通过第一传输协议和第一传输参数传输第一业务的业务数据的过程中,接收传输状态信息,该传输状态信息至少包括传输层状态信息,传输业务层基于该传输状态信息,确定第二传输协议和第二传输参数,将第二传输协议和第二传输参数发送给传输层,使传输层基于第二传输协议和第二传输参数传输第一业务的后续业务数据,从而可以利用更高效的第二传输协议传输该第一业务的业务数据,避免在业务数据传输过程中出现拥塞和数据包丢失等现象,提高了业务数据传输的速度和质量。In the embodiment of the present invention, the transport service layer receives the transport status information in the process of transmitting the service data of the first service by using the first transport protocol and the first transmission parameter, where the transport status information includes at least transport layer status information. Transmitting, by the transport service layer, the second transmission protocol and the second transmission parameter, and transmitting the second transmission protocol and the second transmission parameter to the transport layer, so that the transport layer transmits the second transmission protocol and the second transmission parameter based on the second transmission protocol and the second transmission parameter. Subsequent service data of a service, so that the service data of the first service can be transmitted by using a more efficient second transmission protocol, thereby avoiding congestion and packet loss in the process of service data transmission, and improving the speed of service data transmission and quality.
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention. Other drawings may also be obtained from those of ordinary skill in the art in light of the inventive work.
图1是本发明实施例的提供的一种业务数据传输系统架构图;1 is a structural diagram of a service data transmission system according to an embodiment of the present invention;
图2是本发明实施例的提供的一种业务数据传输方法流程图;2 is a flowchart of a service data transmission method according to an embodiment of the present invention;
图3是本发明实施例的提供的另一种业务数据传输方法流程图;3 is a flowchart of another service data transmission method according to an embodiment of the present invention;
图4是本发明实施例的提供的第一种业务数据传输装置结构示意图; 4 is a schematic structural diagram of a first service data transmission apparatus according to an embodiment of the present invention;
图5是本发明实施例的提供的第二种业务数据传输装置结构示意图;FIG. 5 is a schematic structural diagram of a second service data transmission apparatus according to an embodiment of the present invention; FIG.
图6是本发明实施例的提供的第三种业务数据传输装置结构示意图;6 is a schematic structural diagram of a third service data transmission apparatus according to an embodiment of the present invention;
图7是本发明实施例的提供的第四种业务数据传输装置结构示意图;7 is a schematic structural diagram of a fourth service data transmission apparatus according to an embodiment of the present invention;
图8是本发明实施例的提供的一种确定模块结构示意图;FIG. 8 is a schematic structural diagram of a determining module according to an embodiment of the present invention; FIG.
图9是本发明实施例的提供的一种第一确定单元结构示意图;FIG. 9 is a schematic structural diagram of a first determining unit according to an embodiment of the present invention;
图10是本发明实施例的提供的一种第三确定单元结构示意图;FIG. 10 is a schematic structural diagram of a third determining unit according to an embodiment of the present invention;
图11是本发明实施例的提供的一种业务数据传输装置结构示意图。FIG. 11 is a schematic structural diagram of a service data transmission apparatus according to an embodiment of the present invention.
为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明实施方式作进一步地详细描述。The embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.
图1是本发明实施例提供的一种业务数据传输系统架构图。参见图1,该系统至少包括应用层、传输业务层、传输层和网络层。其中,应用层是该系统中的最高层,该应用层可以直接为当前正在进行的业务提供服务;传输业务层介于应用层与传输层之间,且传输业务层用于控制业务数据传输;传输层介于传输业务层和网络层之间,且传输层用于为端到端的业务数据传输连接提供传输服务;网络层用于管理网络中的数据通信,将数据从源端经过若干个中间节点传送到目的端,从而向传输层提供最基本的端到端的数据传送服务。FIG. 1 is a structural diagram of a service data transmission system according to an embodiment of the present invention. Referring to FIG. 1, the system includes at least an application layer, a transport service layer, a transport layer, and a network layer. The application layer is the highest layer in the system, and the application layer can directly provide services for the currently ongoing service; the transmission service layer is between the application layer and the transport layer, and the transport service layer is used to control service data transmission; The transport layer is between the transport service layer and the network layer, and the transport layer is used to provide transport services for end-to-end service data transmission connections; the network layer is used to manage data communication in the network, and the data is passed from the source to several intermediates. The node is delivered to the destination to provide the most basic end-to-end data transfer service to the transport layer.
图2是本发明实施例提供的一种业务数据传输方法的流程图。参见图2,该方法包括:FIG. 2 is a flowchart of a method for transmitting service data according to an embodiment of the present invention. Referring to Figure 2, the method includes:
步骤201:在传输层通过第一传输协议和第一传输参数传输第一业务的业务数据的过程中,传输业务层接收传输状态信息,该传输状态信息至少包括传输层状态信息,该第一传输协议和第一传输参数为当前配置为该传输层的传输协议和传输参数。Step 201: In a process in which the transport layer transmits the service data of the first service by using the first transport protocol and the first transmission parameter, the transport service layer receives the transport status information, where the transport status information includes at least transport layer status information, the first transmission The protocol and the first transmission parameter are the transport protocol and transmission parameters currently configured for the transport layer.
步骤202:传输业务层基于该传输状态信息,确定第二传输协议和第二传输参数。Step 202: The transport service layer determines the second transport protocol and the second transmission parameter based on the transport status information.
步骤203:传输业务层将该第二传输协议和第二传输参数发送给传输层,使传输层基于该第二传输协议和第二传输参数传输第一业务的后续业务数据。Step 203: The transport service layer sends the second transport protocol and the second transmission parameter to the transport layer, so that the transport layer transmits the subsequent service data of the first service based on the second transport protocol and the second transmission parameter.
在本发明实施例中,传输业务层在传输层通过第一传输协议和第一传输参数传输第一业务的业务数据的过程中接收传输状态信息,该传输状态信息至少包括传输层状态信息,传输业务层基于该传输状态信息,确定第二传输协议和第二传输参数,将第二传输协议和第二传输参数发送给传输层,使传输层基于第二传输协议和第二传输参数传输所述第一业务的后续业务数据,从而可以利用更高效的第二传输协议传输所述第一业务的 业务数据,避免在业务数据传输过程中出现拥塞和数据包丢失等现象,从而提高了业务数据传输的速度和质量。In the embodiment of the present invention, the transport service layer receives the transport status information in the process of transmitting, by the transport layer, the service data of the first service by using the first transport protocol and the first transmission parameter, where the transport status information includes at least transport layer status information, and the transmission The service layer determines the second transmission protocol and the second transmission parameter based on the transmission status information, and sends the second transmission protocol and the second transmission parameter to the transport layer, so that the transport layer transmits the second transmission protocol and the second transmission parameter. Subsequent service data of the first service, so that the first service can be transmitted using a more efficient second transmission protocol The service data avoids congestion and packet loss during the transmission of service data, thereby improving the speed and quality of service data transmission.
可选地,该传输状态信息还包括网络层状态信息。Optionally, the transmission status information further includes network layer status information.
可选地,在传输层通过第一传输协议和第一传输参数传输第一业务是业务数据的过程中,传输业务层接收传输状态信息之前,还包括:Optionally, before the transmitting, by the transport layer, the first service is the service data, the transport service layer, before receiving the transport status information, includes:
接收应用层发送的业务需求参数,该业务需求参数为应用层所提供的该第一业务处于正常状态时所需的参数;Receiving a service requirement parameter sent by the application layer, where the service requirement parameter is a parameter required by the application layer when the first service is in a normal state;
从该业务需求参数中,获取门限参数;Obtaining a threshold parameter from the service requirement parameter;
基于该门限参数,向相关层注册关键事件,该关键事件用于当相关层的传输参数超过门限参数时,向传输业务层上报传输状态信息,该相关层至少包括传输层。Based on the threshold parameter, a key event is registered to the relevant layer, and the key event is used to report the transmission status information to the transport service layer when the transmission parameter of the relevant layer exceeds the threshold parameter, and the related layer includes at least the transport layer.
可选地,传输业务层接收传输状态信息之前,还包括:Optionally, before the transmission service layer receives the transmission status information, the method further includes:
将上报周期发送给相关层,使相关层每隔上报周期向传输业务层上报传输状态信息,该相关层至少包括该传输层。The reporting period is sent to the relevant layer, so that the related layer reports the transmission status information to the transport service layer every reporting period, and the related layer includes at least the transport layer.
可选地,传输业务层接收传输状态信息之前,还包括:Optionally, before the transmission service layer receives the transmission status information, the method further includes:
当相关层传输业务数据的第一传输连接断开时,向传输业务层上报传输状态信息。When the first transmission connection of the related layer transmission service data is disconnected, the transmission status information is reported to the transmission service layer.
可选地,基于该传输状态信息,确定第二传输协议和第二传输参数,包括:Optionally, determining, according to the transmission status information, the second transmission protocol and the second transmission parameter, including:
从该传输状态信息中,获取传输时延和丢包率;Obtaining a transmission delay and a packet loss rate from the transmission status information;
基于该传输时延和丢包率,确定相关层的传输状态;Determining a transmission state of the relevant layer based on the transmission delay and the packet loss rate;
确定该第一业务所属的业务类型和网络层当前所连接网络的网络类型;Determining the service type to which the first service belongs and the network type of the network currently connected to the network layer;
基于传输时延、丢包率、该传输状态、业务类型和网络类型,确定第二传输协议和第二传输参数。The second transmission protocol and the second transmission parameter are determined based on the transmission delay, the packet loss rate, the transmission status, the service type, and the network type.
可选地,基于该传输时延和丢包率,确定相关层的传输状态,包括:Optionally, determining, according to the transmission delay and the packet loss rate, the transmission status of the related layer, including:
当传输时延大于或等于第一指定时延且丢包率大于或等于第一指定丢包率时,确定相关层的传输状态为过载状态;When the transmission delay is greater than or equal to the first specified delay and the packet loss rate is greater than or equal to the first specified packet loss rate, determining that the transmission state of the relevant layer is an overload state;
当传输时延小于或等于第二指定时延且丢包率小于或等于第二指定丢包率时,确定相关层的传输状态为轻载状态;When the transmission delay is less than or equal to the second specified delay and the packet loss rate is less than or equal to the second specified packet loss rate, determining that the transmission state of the relevant layer is a light load state;
当传输时延小于第一指定时延且大于第二指定时延,或者丢包率小于第一指定丢包率且大于第二指定丢包率时,确定相关层的传输状态为正常状态。When the transmission delay is less than the first specified delay and greater than the second specified delay, or the packet loss rate is less than the first specified packet loss rate and greater than the second specified packet loss rate, the transmission state of the relevant layer is determined to be a normal state.
可选地,基于该传输时延、丢包率、传输状态、业务类型和网络类型,确定第二传输协议和第二传输参数,包括:Optionally, determining, according to the transmission delay, the packet loss rate, the transmission status, the service type, and the network type, the second transmission protocol and the second transmission parameter, including:
基于业务类型和网络类型,确定第二传输协议; Determining a second transmission protocol based on the service type and the network type;
基于传输状态、传输时延和丢包率,确定第二传输参数。The second transmission parameter is determined based on the transmission state, the transmission delay, and the packet loss rate.
可选地,所述方法还包括:存储第二传输协议和第二传输参数;Optionally, the method further includes: storing a second transmission protocol and a second transmission parameter;
该传输业务层将第二传输协议和第二传输参数发送给传输层,使传输层基于第一传输协议和第二传输参数传输该第一业务的后续业务数据,具体包括:The transport service layer sends the second transport protocol and the second transmission parameter to the transport layer, so that the transport layer transmits the subsequent service data of the first service based on the first transport protocol and the second transport parameter, and specifically includes:
当该传输层重新建立传输业务数据的第二传输连接时,将传输层的传输参数配置为第二传输参数,以及将传输层的传输协议配置为第二传输协议。When the transport layer re-establishes the second transport connection for transmitting the service data, the transmission parameter of the transport layer is configured as the second transmission parameter, and the transport protocol of the transport layer is configured as the second transport protocol.
上述所有可选技术方案,均可按照任意结合形成本发明的可选实施例,本发明实施例对此不再一一赘述。The optional embodiments of the present invention may be used in any combination to form an optional embodiment of the present invention.
图3是本发明实施例提供的一种业务数据传输方法的流程图。参见图3,该方法包括:FIG. 3 is a flowchart of a method for transmitting service data according to an embodiment of the present invention. Referring to Figure 3, the method includes:
步骤301:在传输层通过第一传输协议和第一传输参数传输第一业务的业务数据的过程中,传输业务层接收传输状态信息,该传输状态信息至少包括传输层状态信息,第一传输协议和第一传输参数为当前配置给传输层的传输协议和传输参数。Step 301: In the process of transmitting, by the transport layer, the service data of the first service by using the first transmission protocol and the first transmission parameter, the transport service layer receives the transport status information, where the transport status information includes at least transport layer status information, and the first transport protocol And the first transmission parameter is a transmission protocol and transmission parameter currently configured for the transport layer.
当该终端在使用视频通信、视频点播、网页浏览等业务的过程中,为了获取业务所需的数据,该终端需要通过网络进行业务数据传输,而由于业务数据在传输过程中,会受到传输层状态变化的影响,比如,当传输层出现传输拥塞时,会导致数据包丢失、数据包传输延迟等问题,因此,在业务数据传输过程中,为了针对不同的传输状态信息,及时地对传输协议和传输参数进行调整,该终端的传输业务层需要接收该信息在传输过程中的传输状态信息。When the terminal uses the services of video communication, video on demand, web browsing, etc., in order to obtain the data required by the service, the terminal needs to transmit the service data through the network, and the service layer is subjected to the transmission layer during the transmission process. The impact of state changes, for example, when transmission congestion occurs in the transport layer, it will cause problems such as packet loss and packet transmission delay. Therefore, in the process of service data transmission, in order to target different transmission state information, the transmission protocol is timely. And the transmission parameters are adjusted, and the transmission service layer of the terminal needs to receive the transmission status information of the information in the transmission process.
另外,在业务数据传输过程中,不仅传输层的传输状态会对业务数据传输会产生影响,网络层的网络状态同样也会对业务数据传输产生影响,比如,当网络层出现网络拥塞现象时,也会导致数据包丢失、数据包传输延迟等问题,因此,该传输状态信息不仅可以包括传输层状态信息,还可以包括网络层状态信息。In addition, in the process of service data transmission, not only the transmission status of the transport layer will affect the service data transmission, but also the network status of the network layer will also affect the service data transmission. For example, when network congestion occurs at the network layer, It also causes problems such as packet loss and packet transmission delay. Therefore, the transmission status information may include not only transport layer status information but also network layer status information.
进一步地,在传输业务层接收传输状态信息之前,该传输业务层可以通过如下(1)-(3)三种方法使传输层或者网络层将当前的传输状态信息上报给传输业务层,如下所述。Further, before the transmission service layer receives the transmission status information, the transmission service layer may report the current transmission status information to the transmission service layer by using the following methods (1)-(3), as follows: Said.
(1)、该传输业务层接收应用层发送的业务需求参数,该业务需求参数为应用层所提供的第一业务处于正常状态时所需的参数,并从该业务需求参数中,获取门限参数,基于该门限参数,向相关层注册关键事件,该关键事件用于当该相关层的传输参数超过该门限参数时,向传输业务层上报该传输状态信息,该相关层至少包括传输层。 (1) The transmission service layer receives a service requirement parameter sent by the application layer, where the service requirement parameter is a parameter required when the first service provided by the application layer is in a normal state, and obtains a threshold parameter from the service requirement parameter. And the key event is used to report the transmission status information to the transport service layer when the transmission parameter of the correlation layer exceeds the threshold parameter, and the related layer includes at least the transport layer.
由于该业务需求参数包括该第一业务处于正常状态时所能容忍的最低门限参数,在业务数据传输过程中,如果用于传输信息的传输参数超过该最低门限参数,则该终端在进行该第一业务的过程中就会出现各种各样的问题,导致该第一业务无法正常进行,因此,为了保证该第一业务的正常使用,传输业务层接收应用层发送的业务需求参数之后,可以从该业务需求参数中,获取门限参数,基于该门限参数,传输业务层向相关层注册关键事件,该关键事件注册成功之后,当用于业务数据传输的传输参数超过该门限参数时,相关层将当前的传输状态信息上报给传输业务层。The service requirement parameter includes a minimum threshold parameter that can be tolerated when the first service is in a normal state. In the service data transmission process, if the transmission parameter used for transmitting information exceeds the minimum threshold parameter, the terminal performs the A variety of problems occur in the process of a service, and the first service cannot be performed normally. Therefore, in order to ensure the normal use of the first service, after the transmission service layer receives the service requirement parameter sent by the application layer, Obtaining a threshold parameter from the service requirement parameter, and based on the threshold parameter, the transport service layer registers a key event with the relevant layer. After the key event is successfully registered, when the transmission parameter used for the service data transmission exceeds the threshold parameter, the relevant layer The current transmission status information is reported to the transport service layer.
其中,由于该业务需求参数可以包括多个参数,当传输业务层从该业务需求参数中,获取门限参数时,该传输业务层可以确定应用层当前所提供的第一业务的业务标识,并基于应用层当前所提供业务的业务标识,从存储的业务标识与参数标识之间的对应关系中,获取对应的参数标识,基于获取的参数标识,从该业务需求参数包括的多个参数中,获取对应的参数,并将获取的参数确定为门限参数。The service requirement parameter may include multiple parameters. When the transport service layer obtains the threshold parameter from the service requirement parameter, the transport service layer may determine the service identifier of the first service currently provided by the application layer, and is based on The service identifier of the service currently provided by the application layer is obtained from the corresponding relationship between the stored service identifier and the parameter identifier, and the corresponding parameter identifier is obtained, and the obtained parameter identifier is obtained from multiple parameters included in the service requirement parameter. Corresponding parameters, and the obtained parameters are determined as threshold parameters.
由于在业务数据传输过程中,应用层与传输业务层之间会传输一些请求消息,该请求消息中可能会携带应用层当前所提供的第一业务的业务标识,因此,传输业务层可以从这些请求消息中获取应用层当前所提供业务的业务标识,比如,该请求消息可以为连接建立消息,本发明实施例对比不做具体限定。In the process of the service data transmission, some request messages are transmitted between the application layer and the transport service layer, and the request message may carry the service identifier of the first service currently provided by the application layer. Therefore, the transport service layer may The request message obtains the service identifier of the service currently provided by the application layer. For example, the request message may be a connection establishment message, which is not specifically limited in the embodiment of the present invention.
需要说明的是,该业务标识用于唯一标识该应用层当前所提供的第一业务,且该业务标识可以为应用层当前所提供的第一业务的业务名称、业务编号等等,本发明实施例对此不做具体限定。It should be noted that the service identifier is used to uniquely identify the first service that is currently provided by the application layer, and the service identifier may be a service name, a service number, and the like of the first service currently provided by the application layer. This example does not specifically limit this.
还需要说明的是,该参数标识用于唯一标识该参数,该参数标识可以为该参数的名称、该参数的表示符号、该参数的英文缩写等等,比如,业务需求参数包括的传输时延的标识可以为RTT、丢包率的标识可以为ρ,拥塞窗口的标识为CWND、网络带宽的标识可以为BW等等,本发明实施例对此不做具体限定。It should be noted that the parameter identifier is used to uniquely identify the parameter, and the parameter identifier may be a name of the parameter, a symbol of the parameter, an abbreviation of the parameter, and the like, for example, a transmission delay included in the service requirement parameter. The identifier may be RTT, the identifier of the packet loss rate may be ρ, the identifier of the congestion window may be CWND, and the identifier of the network bandwidth may be BW, etc., which is not specifically limited in this embodiment of the present invention.
比如,应用层当前所提供业务的业务标识为ID1,传输业务层基于该业务标识ID1,从如下表1所示的业务标识与参数标识之间的对应关系中,获取对应的参数标识为RTT和ρ,传输业务层基于该参数标识RTT和ρ,从业务需求参数中获取传输时延RTT对应的参数为50ms,丢包率ρ对应的参数为0.04%,传输业务层将传输时延RTT 50ms和丢包率ρ0.04%确定为门限参数。 For example, the service identifier of the service currently provided by the application layer is ID1, and the transport service layer is based on the service identifier ID1, and the corresponding parameter identifier is obtained as RTT from the correspondence between the service identifier and the parameter identifier shown in Table 1 below. ρ, the transport service layer identifies the RTT and ρ based on the parameter, and obtains the transmission delay from the service requirement parameter, the parameter corresponding to the RTT is 50 ms, the parameter corresponding to the packet loss rate ρ is 0.04%, and the transmission service layer transmits the delay time RTT 50 ms and The packet loss rate ρ0.04% is determined as the threshold parameter.
表1Table 1
需要说明的是,在本发明实施例中,仅以上述表1所示的业务标识与参数标识之间的对应关系为例进行说明,上述表1并不对本发明实施例构成限定。It should be noted that, in the embodiment of the present invention, only the correspondence between the service identifier and the parameter identifier shown in the foregoing Table 1 is taken as an example. The foregoing Table 1 does not limit the embodiment of the present invention.
比如,该业务是视频点播业务,传输业务层接收应用层发送的业务需求参数包括传输时延、丢包率、发送端拥塞窗口、最大传输单元和吞吐率等等,传输业务层从该业务需求参数中,获取的门限参数为传输时延和丢包率,且传输时延为50ms,丢包率为0.04%,基于该传输时延500ms和丢包率0.04%,传输业务层向相关层注册关键事件,该关键事件注册成功之后,若业务数据传输过程中相关层的当前传输时延为60ms,当前传输时延60ms大于门限参数中的传输时延50ms,从而该相关层将当前的传输状态信息上报给传输业务层。For example, the service is a video on demand service, and the service requirement parameters sent by the transmission service layer to receive the application layer include a transmission delay, a packet loss rate, a congestion window at the transmitting end, a maximum transmission unit, a throughput rate, and the like, and the transmission service layer needs the service layer. In the parameter, the obtained threshold parameters are transmission delay and packet loss rate, and the transmission delay is 50 ms, and the packet loss rate is 0.04%. Based on the transmission delay of 500 ms and the packet loss rate of 0.04%, the transmission service layer registers with the relevant layer. After the critical event is successfully registered, if the current transmission delay of the relevant layer in the service data transmission process is 60ms, the current transmission delay is 60ms greater than the transmission delay in the threshold parameter by 50ms, so that the relevant layer will transmit the current transmission state. The information is reported to the transport service layer.
(2)、传输业务层将上报周期发送给该相关层,使该相关层每隔该上报周期向该传输业务层上报该传输状态信息。(2) The transport service layer sends the reporting period to the relevant layer, so that the related layer reports the transmission status information to the transport service layer every other reporting period.
为了保证该业务处于正常状态,也即是,保证传输层的业务数据传输正常进行,传输业务层还可以周期性地获取相关层的传输状态信息,这样既可以对传输层的业务数据传输进行实时地监控,又不会给相关层带来过重的负担。因此,传输业务层可以将上报周期发送给相关层,使相关层每隔该上报周期就向传输业务层上报该传输状态信息。In order to ensure that the service is in a normal state, that is, to ensure that the service data transmission of the transport layer is performed normally, the transport service layer can also periodically acquire the transport status information of the relevant layer, so that the service data transmission of the transport layer can be performed in real time. Ground monitoring will not impose an excessive burden on the relevant layers. Therefore, the transport service layer may send the reporting period to the relevant layer, so that the relevant layer reports the transmission status information to the transport service layer every other reporting period.
需要说明的是,该上报周期可以事先设置,比如,该上报周期为5min、10min、30min等等,本发明实施例对此不做具体限定。It should be noted that the reporting period may be set in advance, for example, the reporting period is 5 min, 10 min, 30 min, and the like, which is not specifically limited in this embodiment of the present invention.
比如,该上报周期为10min,传输业务层将该上报周期10min发送给相关层,使相关层每隔10min就向传输业务层发送该传输状态信息。For example, the reporting period is 10 minutes, and the transport service layer sends the reporting period to the relevant layer for 10 minutes, so that the relevant layer sends the transmission status information to the transport service layer every 10 minutes.
(3)、当该相关层传输业务数据的第一传输连接断开时,向该传输业务层上报该传 输状态信息。(3) when the first transmission connection of the related layer transmission service data is disconnected, reporting the transmission to the transmission service layer Enter status information.
由于在业务数据传输之前,传输业务层需要通过该相关层与服务器之间建立第一传输连接,并通过该第一传输连接进行业务数据传输,当该相关层进行业务数据传输的第一传输连接断开时,应用层无法获取当前所提供业务所需的数据,进而影响该业务的正常运行,因此,当该相关层进行业务数据传输的第一传输连接断开时,该相关层可以向传输业务层上报该传输状态信息。Before the service data transmission, the transport service layer needs to establish a first transmission connection between the relevant layer and the server, and perform service data transmission through the first transmission connection, and the first transmission connection of the relevant layer for performing service data transmission. When disconnected, the application layer cannot obtain the data required by the currently provided service, thereby affecting the normal operation of the service. Therefore, when the first transmission connection of the relevant layer for performing service data transmission is disconnected, the relevant layer may transmit to the relevant layer. The service layer reports the transmission status information.
需要说明的是,在本发明实施例中,由于相关层至少包括传输层,当然,为了进一步提高业务数据传输的效率,相关层还可以包括网络层,因此,传输业务层不仅可以通过上述三种方法获取传输层状态信息,当然,传输业务层还可以通过上述三种方法同时获取传输层状态信息和网络层状态信息,也即是,传输业务层可以至少获取传输层状态信息,本发明实施例对此不做具体限定。It should be noted that, in the embodiment of the present invention, since the related layer includes at least the transport layer, of course, in order to further improve the efficiency of the service data transmission, the related layer may further include a network layer. Therefore, the transport service layer can pass not only the foregoing three types. The method can obtain the status information of the transport layer. Of course, the transport service layer can also obtain the transport layer status information and the network layer status information by using the foregoing three methods, that is, the transport service layer can obtain at least the transport layer status information. This is not specifically limited.
步骤302:从该传输状态信息中,获取传输时延和丢包率,基于该传输时延和丢包率,确定该相关层的传输状态。Step 302: Obtain a transmission delay and a packet loss rate from the transmission state information, and determine a transmission state of the correlation layer based on the transmission delay and a packet loss rate.
当该传输业务层接收到传输状态信息时,为了确定当前业务数据传输的传输状态,并基于该传输状态对业务数据传输的过程进行及时地调整,以保证业务数据传输的正常进行,因此,该传输业务层可以从该传输状态信息中,获取传输时延和丢包率,并基于该传输时延和丢包率,确定该相关层的传输状态。When the transmission service layer receives the transmission status information, in order to determine the transmission status of the current service data transmission, and timely adjust the service data transmission process based on the transmission status, to ensure normal operation of the service data transmission, therefore, The transmission service layer may obtain a transmission delay and a packet loss rate from the transmission status information, and determine a transmission status of the correlation layer based on the transmission delay and the packet loss rate.
其中,该传输业务层基于该传输时延和丢包率,确定该相关层的传输状态的操作可以为:当传输时延大于或等于第一指定时延且丢包率大于或等于第一指定丢包率时,确定相关层的传输状态为过载状态;当传输时延小于或等于第二指定时延且丢包率小于或等于第二指定丢包率时,确定相关层的传输状态为轻载状态;当传输时延小于第一指定时延且大于第二指定时延,或者丢包率小于第一指定丢包率且大于第二指定丢包率时,确定相关层的传输状态为正常状态。The operation of the transmission layer is determined by the transmission service layer based on the transmission delay and the packet loss rate. The operation may be: when the transmission delay is greater than or equal to the first specified delay and the packet loss rate is greater than or equal to the first designation. When the packet loss rate is determined, the transmission state of the relevant layer is determined to be an overload state. When the transmission delay is less than or equal to the second specified delay and the packet loss rate is less than or equal to the second specified packet loss rate, the transmission state of the relevant layer is determined to be light. If the transmission delay is less than the first specified delay and greater than the second specified delay, or the packet loss rate is less than the first specified packet loss rate and greater than the second specified packet loss rate, the transmission state of the relevant layer is determined to be normal. status.
需要说明的是,第一指定时延、第二指定时延、第一指定丢包率和第二指定丢包率均可以事先设置,且第一指定时延大于第二指定时延,第一指定丢包率大于第二指定丢包率,比如,第一指定时延为50ms、55ms等,第二指定时延为10ms、20ms等,第一指定丢包率为0.04%、0.05%等,第二指定丢包率为0.01%等,本发明实施例对此不做具体限定。It should be noted that the first specified delay, the second specified delay, the first designated packet loss rate, and the second specified packet loss rate may be set in advance, and the first specified delay is greater than the second specified delay, and the first The specified packet loss rate is greater than the second specified packet loss rate. For example, the first specified delay is 50ms, 55ms, and the second specified delay is 10ms, 20ms, etc., and the first specified packet loss rate is 0.04%, 0.05%, etc. The second specified packet loss rate is 0.01%, etc., which is not specifically limited in the embodiment of the present invention.
比如,第一指定时延为50ms、第二指定时延为10ms、第一指定丢包率为0.04%、第二指定丢包率为0.01%,该传输业务层从该传输状态信息中,获取的传输时延为60ms、丢包率为0.06%,由于该传输时延60ms大于第一指定时延50ms,且该丢包率0.06%大 于第一指定丢包率0.04%,因此,该传输业务层确定该相关层的传输状态为过载状态。For example, the first specified delay is 50 ms, the second specified delay is 10 ms, the first specified packet loss rate is 0.04%, and the second specified packet loss rate is 0.01%, and the transport service layer obtains the transmission status information. The transmission delay is 60 ms and the packet loss rate is 0.06%. Since the transmission delay is 60 ms larger than the first specified delay of 50 ms, and the packet loss rate is 0.06%. The first specified packet loss rate is 0.04%. Therefore, the transport service layer determines that the transmission state of the relevant layer is an overload state.
需要说明的是,由于传输业务层可以至少获取传输层状态信息,因此,当传输状态信息包括传输层状态信息时,传输业务层可以从传输层状态信息中,获取传输层的传输时延和丢包率,并基于传输层的传输时延和丢包率,确定传输层的传输状态,而当传输状态信息不仅包括传输层状态信息,还包括网络层状态信息时,传输业务层不仅可以从传输层状态信息中,获取传输层的传输时延和丢包率,并基于传输层的传输时延和丢包率,确定传输层的传输状态,同时还可以从网络层状态信息中,获取网络层的传输时延和丢包率,并基于网络层的传输时延和丢包率,确定网络层的传输状态。It should be noted that, since the transport service layer can obtain at least the transport layer state information, when the transport state information includes the transport layer state information, the transport service layer can obtain the transport layer transmission delay and loss from the transport layer state information. Packet rate, and based on the transmission delay and packet loss rate of the transport layer, determine the transmission state of the transport layer, and when the transport state information includes not only transport layer state information but also network layer state information, the transport service layer can not only transmit In the layer state information, the transmission delay and the packet loss rate of the transport layer are obtained, and the transmission state of the transport layer is determined based on the transmission delay and the packet loss rate of the transport layer, and the network layer is also obtained from the network layer state information. The transmission delay and packet loss rate, and based on the transmission delay and packet loss rate of the network layer, determine the transmission state of the network layer.
步骤303:确定该第一业务所属的业务类型和网络层当前所连接网络的网络类型。Step 303: Determine the service type to which the first service belongs and the network type of the network currently connected to the network layer.
为了对业务数据传输过程进行更准确、更有针对性地调整,以保证业务数据传输的顺利进行,提高业务数据传输的速度和质量,以及使应用层当前所提供的第一业务处于正常状态,该传输业务层需要确定该第一业务所属的业务类型和该网络层当前所连接网络的网络类型。In order to make the service data transmission process more accurate and more targeted, to ensure the smooth progress of the service data transmission, improve the speed and quality of the service data transmission, and make the first service provided by the application layer in a normal state, The transport service layer needs to determine the type of service to which the first service belongs and the type of network to which the network layer is currently connected.
其中,传输业务层确定该第一业务所属的业务类型的操作可以为:传输业务层获取第一业务的业务标识,并基于该业务标识,从存储的业务标识与业务类型之间的对应关系中,获取对应的业务类型,并将获取的业务类型确定为应用层当前所提供业务所属的业务类型。The operation of the service layer to determine the service type to which the first service belongs may be: the service layer obtains the service identifier of the first service, and based on the service identifier, the correspondence between the stored service identifier and the service type. And obtaining the corresponding service type, and determining the obtained service type as the service type to which the service currently provided by the application layer belongs.
比如,传输业务层获取第一业务的业务标识为ID1,传输业务层基于该业务标识ID1,从如下表2所示的业务标识与业务类型之间的对应关系中,获取对应的业务类型为类型1,并将该类型1确定为第一业务所属的业务类型。For example, the transport service layer obtains the service identifier of the first service as the ID1, and the transport service layer obtains the corresponding service type as the type from the correspondence between the service identifier and the service type shown in the following Table 2 based on the service identifier ID1. 1, and determine the type 1 as the type of service to which the first service belongs.
表2Table 2
需要说明的是,在本发明实施例中,仅以上述表2所示的业务标识与业务类型之间的对应关系为例进行说明,上述表2并不对本发明实施例构成限定。It should be noted that, in the embodiment of the present invention, only the correspondence between the service identifier and the service type shown in the foregoing Table 2 is taken as an example. The foregoing Table 2 does not limit the embodiment of the present invention.
其中,当传输业务层确定网络层当前所连接网络的网络类型时,传输业务层不仅可以基于该终端当前连接的网络,直接确定该网络层当前所连接网络的网络类型,还可以 从多次连续接收的传输状态信息中获取多个连续的传输时延和丢包率,并基于该多个连续的传输时延和丢包率,确定网络层当前所连接网络的网络类型。Wherein, when the transport service layer determines the network type of the network currently connected to the network layer, the transport service layer can directly determine the network type of the network currently connected to the network layer based on the network currently connected by the terminal, and Obtaining a plurality of consecutive transmission delays and packet loss rates from the plurality of consecutively received transmission state information, and determining a network type of the network currently connected to the network layer based on the plurality of consecutive transmission delays and packet loss rates.
而传输业务层基于该多个连续的传输时延和丢包率,确定网络层当前所连接网络的网络类型的操作可以为:传输业务层从该多个连续的传输时延中,获取传输时延最大值和传输时延最小值,并基于传输时延最大值和传输时延最小值,确定该多个连续传输时延的时延变化量,以及从该多个连续的丢包率中,获取丢包率最大值和丢包率最小值,并基于丢包率最大值和丢包率最小值,确定该多个连续丢包率的丢包率变化量,当该多个连续传输时延均大于第一阈值、该时延变化量小于第二阈值以及该丢包率变化量小于第三阈值时,确定网络层当前所连接网络的网络类型为无线网络,否则,确定该网络层当前所连接网络的网络类型为非无线网络,也即是,当获取的该多个连续的传输时延一直都较大且偶尔发生丢包时,传输业务层可以确定网络层当前所连接网络的网络类型为无线网络,否则,确定网络层当前所连接网络的网络类型为非无线网络。The operation layer of the transmission service layer determines the network type of the network currently connected to the network layer based on the multiple consecutive transmission delays and packet loss rates. The transmission service layer obtains the transmission time from the multiple consecutive transmission delays. Determining the maximum value and the minimum value of the transmission delay, and determining the amount of delay variation of the plurality of consecutive transmission delays based on the maximum value of the transmission delay and the minimum value of the transmission delay, and from the plurality of consecutive packet loss rates, Obtaining a maximum value of the packet loss rate and a minimum packet loss rate, and determining a packet loss rate change of the multiple consecutive packet loss rates based on the maximum packet loss rate and the minimum packet loss rate, when the multiple consecutive transmission delays If the first threshold is greater than the first threshold, the delay variation is less than the second threshold, and the packet loss rate is less than the third threshold, determine that the network type of the network currently connected to the network layer is a wireless network; otherwise, determine the current network layer. The network type of the connected network is a non-wireless network, that is, when the obtained multiple consecutive transmission delays are always large and occasional packet loss occurs, the transport service layer can determine the network connected network currently. The network type for the wireless network, otherwise, determining that the current network layer network of the type of network connected to a non-wireless network.
需要说的是,第一阈值、第二阈值和第三阈值可以事先设置,比如,第一阈值为30ms、35ms,第二阈值为5ms、7ms,第三阈值为0.015%、0.002%等等,本发明实施例对此不做具体限定。It should be noted that the first threshold, the second threshold, and the third threshold may be set in advance, for example, the first threshold is 30 ms, 35 ms, the second threshold is 5 ms, 7 ms, and the third threshold is 0.015%, 0.002%, and the like. This embodiment of the present invention does not specifically limit this.
另外,传输业务层不仅可以基于该多个连续的传输时延和丢包率,确定网络层当前所连接网络的网络类型,当然,在实际应用中,传输业务层还可以基于该多个连续的传输时延和丢包率,以及其他多个连续的参数,确定网络层当前所连接网络的网络类型,本发明实施例对此不做具体限定。In addition, the transport service layer can determine the network type of the network currently connected to the network layer based on the multiple consecutive transmission delays and packet loss ratios. Of course, in practical applications, the transport service layer can also be based on the multiple consecutive The transmission delay and the packet loss rate, as well as other consecutive parameters, determine the network type of the network currently connected to the network layer, which is not specifically limited in this embodiment of the present invention.
步骤304:基于该传输时延、丢包率、传输状态、该业务类型和该网络类型,确定第二传输协议和第二传输参数。Step 304: Determine a second transmission protocol and a second transmission parameter based on the transmission delay, the packet loss rate, the transmission status, the service type, and the network type.
为了保证应用层当前所提供的第一业务能够处于正常状态,且避免在业务数据传输过程中出现传输拥塞、数据包丢失等现象,该传输业务层需要基于该传输时延、丢包率、传输状态、该业务类型和该网络类型,确定第二传输和第二传输协议参数。而基于该传输时延、丢包率、传输状态、该业务类型和该网络类型,确定第二传输和第二传输协议参数的操作可以为:基于该业务类型和该网络类型,确定第二传输协议;基于该传输时延、丢包率和传输状态,确定第二传输参数。The transmission service layer needs to be based on the transmission delay, packet loss rate, and transmission, in order to ensure that the first service provided by the application layer can be in a normal state and avoid transmission congestion and data packet loss during service data transmission. The status, the type of service, and the type of network determine the second transmission and the second transmission protocol parameters. And determining, according to the transmission delay, the packet loss rate, the transmission status, the service type, and the network type, the operations of determining the second transmission and the second transmission protocol parameters: determining the second transmission based on the service type and the network type. The protocol determines the second transmission parameter based on the transmission delay, the packet loss rate, and the transmission status.
其中,当传输业务层基于该业务类型和该网络类型,确定第二传输协议时,传输业务层可以基于该业务类型和该网络类型,从存储的业务类型、网络类型与传输协议之间的对应关系中,获取对应的传输协议,并将获取的传输协议确定为第二传输协议。When the transport service layer determines the second transport protocol based on the service type and the network type, the transport service layer may be based on the service type and the network type, and the correspondence between the stored service type, the network type, and the transport protocol. In the relationship, the corresponding transport protocol is obtained, and the obtained transport protocol is determined as the second transport protocol.
比如,该网络类型为无线网络,传输业务层可以基于该业务类型为类型1和无线网 络,从如下表3所示的业务类型、网络类型与传输协议之间的对应关系中,获取对应的传输协议为协议1,传输业务层将该协议1确定为第二传输协议。For example, the network type is a wireless network, and the transport service layer can be based on the service type as type 1 and the wireless network. In the corresponding relationship between the service type, the network type, and the transport protocol shown in Table 3 below, the corresponding transport protocol is obtained as protocol 1, and the transport service layer determines the protocol 1 as the second transport protocol.
表3table 3
需要说明的是,在本发明实施例中,仅以上述表3所示的业务类型、网络类型与传输协议之间的对应关系为例进行说明,上述表3并不对本发明实施例构成限定。It should be noted that, in the embodiment of the present invention, only the correspondence between the service type, the network type, and the transmission protocol shown in the foregoing Table 3 is taken as an example. The foregoing Table 3 does not limit the embodiment of the present invention.
其中,当传输业务层基于该传输时延、丢包率和传输状态,确定第二传输参数时,若该传输状态为正常状态,传输业务层确定业务数据传输处于正常状态,且能够充分地利用网络层和传输层所提供的资源,同时又不会出现拥塞、数据包丢失等现象,从而传输业务层可以直接将第一传输参数确定为第二传输参数;若该传输状态为非正常状态,也即是,该传输状态为过载状态或者轻载状态时,由于针对不同的传输协议,配置给该传输层的传输参数也不同,而该传输协议按照业务数据传输的可靠性,可以分为可靠传输协议和不可靠传输协议,比如,TCP协议就是典型的可靠性传输协议,而UDP协议就是典型的不可靠性传输协议。因此,针对第二传输协议是否为可靠传输协议,传输业务层基于该传输时延和丢包率,确定第二传输参数可以包括两种情况,如下所述。When the transmission service layer determines the second transmission parameter based on the transmission delay, the packet loss rate, and the transmission state, if the transmission state is a normal state, the transmission service layer determines that the service data transmission is in a normal state, and can fully utilize the The resources provided by the network layer and the transport layer do not cause congestion or packet loss, so that the transport service layer can directly determine the first transmission parameter as the second transmission parameter; if the transmission state is abnormal, That is, when the transmission state is an overload state or a light load state, the transmission parameters configured for the transport layer are different for different transmission protocols, and the transmission protocol can be classified into reliable according to the reliability of the service data transmission. Transmission protocols and unreliable transmission protocols. For example, the TCP protocol is a typical reliability transmission protocol, and the UDP protocol is a typical unreliable transmission protocol. Therefore, for whether the second transmission protocol is a reliable transmission protocol, and the transmission service layer determines the second transmission parameter based on the transmission delay and the packet loss rate, the two transmission parameters may include two cases, as described below.
第一种情况、当第二传输协议为不可靠性传输协议时,传输业务层基于该传输时延和丢包率,确定该传输时延所属的时延范围和该丢包率所属的丢包率范围,并基于该传输时延所属的时延范围和该丢包率所属的丢包率范围,从存储的时延范围、丢包率范围与传输参数之间的对应关系中,获取对应的传输参数,并将获取的传输参数确定为第二传输参数。In the first case, when the second transmission protocol is an unreliable transmission protocol, the transmission service layer determines, according to the transmission delay and the packet loss rate, the delay range to which the transmission delay belongs and the packet loss to which the packet loss rate belongs. Rate range, and based on the delay range to which the transmission delay belongs and the packet loss rate range to which the packet loss rate belongs, obtain the corresponding correspondence from the correspondence between the stored delay range, the packet loss rate range, and the transmission parameter. The parameters are transmitted and the obtained transmission parameters are determined as the second transmission parameters.
其中,传输业务层基于该传输时延和丢包率,确定该传输时延所属的时延范围和该丢包率所属的丢包率范围的操作可以为:传输业务层获取存储的时延范围、丢包率范围与传输参数之间的对应关系包括的时延范围和丢包率范围,得到多个时延范围和多个丢包率范围,对于该多个时延范围中的每个时延范围,当该传输时延大于该时延范围的最小值且小于该时延范围的最大值时,传输业务层将该时延范围确定为该传输时延所属的时延范围;同理,对于该多个丢包率范围中的每个丢包率范围,当该丢包率大于该丢包 率范围的最小值且小于该丢包率范围的最大值时,传输业务层将该丢包率范围确定为该丢包率所属的丢包率范围。The operation of the transmission service layer to determine the delay range to which the transmission delay belongs and the packet loss rate range to which the packet loss rate belongs may be: the delay interval of the transmission service layer to obtain the storage, based on the transmission delay and the packet loss ratio. And the corresponding relationship between the packet loss rate range and the transmission parameter includes a delay range and a packet loss rate range, and multiple delay ranges and multiple packet loss rate ranges are obtained, for each of the multiple delay ranges. The extension range, when the transmission delay is greater than the minimum value of the delay range and less than the maximum value of the delay range, the transmission service layer determines the delay range as the delay range to which the transmission delay belongs; for the same reason, For each of the multiple packet loss rate ranges, when the packet loss rate is greater than the packet loss rate When the minimum value of the rate range is less than the maximum value of the packet loss rate range, the transport service layer determines the packet loss rate range as the packet loss rate range to which the packet loss rate belongs.
进一步,当该传输状态为过载状态时,传输业务层确定业务数据传输中出现拥塞,且伴随着数据包丢失的现象,通过对第一传输参数进行调整,可以缓解传输层的拥塞和数据包丢失的现象,保证应用层当前所提供的业务能够处于正常状态;若该传输状态为轻载状态,传输业务层确定业务数据传输过程中传输的数据包较少,未能充分地利用网络层和传输层所提供的资源,通过对第一传输参数进行调整,可以使应用层当前提供的业务能够处于一个更好的状态,以提高该业务的服务质量。Further, when the transmission state is an overload state, the transport service layer determines that congestion occurs in the service data transmission, and the phenomenon of packet loss is accompanied by adjusting the first transmission parameter to alleviate congestion and packet loss of the transport layer. The phenomenon ensures that the service currently provided by the application layer can be in a normal state; if the transmission state is a light load state, the transport service layer determines that there are fewer data packets transmitted during the service data transmission process, and fails to fully utilize the network layer and transmission. The resources provided by the layer can adjust the first transmission parameter to enable the service currently provided by the application layer to be in a better state to improve the service quality of the service.
比如,该传输状态为过载状态,该传输时延为60ms,该丢包率为0.06%,传输业务层确定该传输层的业务数据传输过程出现拥塞,且伴随着数据包丢失的现象,为了减缓数据包的丢失,保证应用层当前提供的业务能够处于正常状态,传输业务层基于该传输时延60ms和丢包率0.06%,确定该传输时延60ms所属的时延范围为(50,65],该丢包率0.06%所属的丢包率范围为(0.04%,0.08%],从而该传输业务层基于该时延范围(50,65]和丢包率范围(0.04%,0.08%],从如下表4所示的时延范围、丢包率范围与传输参数之间的对应关系中,获取对应的传输参数为参数2,并将该参数2确定为第二传输参数。For example, the transmission state is an overload state, the transmission delay is 60 ms, and the packet loss rate is 0.06%. The transmission service layer determines that the service layer transmission process of the transmission layer is congested, and is accompanied by a packet loss phenomenon, in order to slow down. The loss of the data packet ensures that the service currently provided by the application layer can be in a normal state. The transmission service layer determines the delay range of the transmission delay of 60 ms based on the transmission delay of 60 ms and the packet loss rate of 0.06% (50, 65). The packet loss rate of the packet loss rate of 0.06% belongs to (0.04%, 0.08%), so that the transport service layer is based on the delay range (50, 65) and the packet loss rate range (0.04%, 0.08%). From the correspondence between the delay range, the packet loss rate range and the transmission parameter shown in Table 4 below, the corresponding transmission parameter is obtained as parameter 2, and the parameter 2 is determined as the second transmission parameter.
表4Table 4
需要说明的是,在本发明实施例中,仅以上述表4所示的时延范围、丢包率范围与传输参数之间的对应关系为例进行说明,上述表4并不对本发明实施例构成限定。It should be noted that, in the embodiment of the present invention, only the correspondence between the delay range, the packet loss rate range, and the transmission parameter shown in Table 4 is taken as an example. The foregoing Table 4 does not apply to the embodiment of the present invention. The composition is limited.
第二种情况、当第二传输协议为可靠性传输协议时,传输业务层基于该传输时延和丢包率,确定该传输时延所属的时延范围和该丢包率所属的丢包率范围,并基于该传输时延所属的时延范围和该丢包率所属的丢包率范围,从存储的时延范围、丢包率范围与拥塞算法之间的对应关系中,获取对应的拥塞算法,传输业务层基于该拥塞算法,确定第二传输参数。In the second case, when the second transmission protocol is a reliability transmission protocol, the transmission service layer determines the delay range to which the transmission delay belongs and the packet loss rate to which the packet loss rate belongs based on the transmission delay and the packet loss ratio. Range, and based on the delay range to which the transmission delay belongs and the packet loss rate range to which the packet loss rate belongs, obtain corresponding congestion from the correspondence between the stored delay range, the packet loss rate range, and the congestion algorithm. The algorithm, the transport service layer determines the second transmission parameter based on the congestion algorithm.
其中,传输业务层基于该传输时延和丢包率,确定该传输时延所属的时延范围和该 丢包率所属的丢包率范围与上述第一种情况类似,本发明实施例在此不再赘述。The transmission service layer determines, according to the transmission delay and the packet loss rate, a delay range to which the transmission delay belongs and the The packet loss rate range of the packet loss rate is similar to that of the first case described above, and details are not described herein again.
另外,当传输业务层基于该拥塞算法,确定第二传输参数时,由于不同的拥塞算法,对应不同的调整比例,传输业务层可以基于该拥塞算法,从存储的拥塞算法与调整比例之间的对应关系中,获取对应的调整比例,并将该调整比例与第一传输参数相乘,得到第二传输参数。In addition, when the transport service layer determines the second transmission parameter based on the congestion algorithm, the transport service layer may be based on the congestion algorithm, from the stored congestion algorithm and the adjustment ratio, due to different congestion algorithms, corresponding to different adjustment ratios. In the correspondence, the corresponding adjustment ratio is obtained, and the adjustment ratio is multiplied by the first transmission parameter to obtain a second transmission parameter.
比如,第二传输协议为可靠性传输协议,传输业务层基于该传输时延60ms和丢包率0.06%,确定该传输时延60ms所属的时延范围为(50,65],该丢包率0.06%所属的丢包率范围为(0.04%,0.08%],从而该传输业务层基于该时延范围(50,65]和丢包率范围(0.04%,0.08%],从如下表5所示的时延范围、丢包率范围与拥塞算法之间的对应关系中,获取对应的拥塞算法为算法2,传输业务层基于该算法2,从如下表6所示的拥塞算法与调整比例之间的对应关系中,获取对应的调整比例为比例2,基于该比例2,将第一传输参数包括的各参数乘以比例2以进行调整,得到第二传输参数。For example, the second transmission protocol is a reliability transmission protocol, and the transmission service layer determines the delay range of the transmission delay of 60 ms based on the transmission delay of 60 ms and the packet loss rate of 0.06%, and the packet loss rate is (50, 65). The packet loss rate of 0.06% belongs to (0.04%, 0.08%), so the transmission service layer is based on the delay range (50, 65) and the packet loss rate range (0.04%, 0.08%), as shown in Table 5 below. In the corresponding relationship between the delay range, the packet loss rate range and the congestion algorithm, the corresponding congestion algorithm is obtained as algorithm 2, and the transmission service layer is based on the algorithm 2, from the congestion algorithm and the adjustment ratio shown in Table 6 below. In the corresponding relationship, the corresponding adjustment ratio is obtained as the ratio 2, and based on the ratio 2, each parameter included in the first transmission parameter is multiplied by the ratio 2 to be adjusted to obtain the second transmission parameter.
表5table 5
需要说明的是,在本发明实施例中,仅以上述表5所示的时延范围、丢包率范围与拥塞算法之间的对应关系为例进行说明,上述表5并不对本发明实施例构成限定。It should be noted that, in the embodiment of the present invention, only the correspondence between the delay range, the packet loss rate range, and the congestion algorithm shown in Table 5 is taken as an example. The foregoing Table 5 does not apply to the embodiment of the present invention. The composition is limited.
表6Table 6
需要说明的是,在本发明实施例中,仅以上述表6所示的拥塞算法与调整比例之间的对应关系为例进行说明,上述表6并不对本发明实施例构成限定。 It should be noted that, in the embodiment of the present invention, only the correspondence relationship between the congestion algorithm and the adjustment ratio shown in Table 6 above is taken as an example, and the above-mentioned Table 6 does not limit the embodiment of the present invention.
进一步地,由于该传输状态信息不仅可以包括传输层状态信息,还可以包括网络层状态信息,因此,该传输业务层不仅可以基于传输层状态信息,通过上述步骤302-304得到第二传输和第二传输协议参数时,还可以基于传输层状态信息和网络层状态信息,综合性地确定第二传输协议和第二传输协议参数,从而可以使调整后的第二传输协议和第二传输参数更准确,以保证传输层的业务数据传输顺利进行,提高业务数据传输的速度和质量。Further, the transmission status information may include not only the transport layer status information but also the network layer status information. Therefore, the transport service layer may obtain the second transmission and the second not only through the transport layer status information but also through the foregoing steps 302-304. When transmitting the protocol parameters, the second transmission protocol and the second transmission protocol parameters may be comprehensively determined based on the transport layer state information and the network layer state information, so that the adjusted second transmission protocol and the second transmission parameter may be further Accurate to ensure the smooth transmission of business data transmission at the transport layer, improve the speed and quality of business data transmission.
也即是,在本发明实施例中,传输业务层确定第二传输协议和第二传输协议参数包括两种方法:第一种方法,传输业务层基于传输层状态信息,确定第二传输协议和第二传输协议参数;第二种方法,传输业务层基于传输层状态信息和网络层状态信息,确定第二传输协议和第二传输协议参数。That is, in the embodiment of the present invention, the transport service layer determines the second transport protocol and the second transport protocol parameters to include two methods: the first method, the transport service layer determines the second transport protocol based on the transport layer state information. The second transmission protocol parameter; the second method, the transmission service layer determines the second transmission protocol and the second transmission protocol parameter based on the transport layer state information and the network layer state information.
步骤305:将第二传输协议和第二传输参数发送给该传输层,使该传输层基于第二传输协议和第二传输参数传输第一业务的后续业务数据。Step 305: Send the second transmission protocol and the second transmission parameter to the transport layer, so that the transport layer transmits subsequent service data of the first service based on the second transmission protocol and the second transmission parameter.
当传输业务层确定第二传输协议和第二传输参数时,传输业务层将第二传输协议和第二传输参数发送给该传输层,使该传输层基于第二传输协议和第二传输参数进行业务数据传输,以实现对该业务数据传输过程的控制,避免传输层或者网络层出现拥塞、数据包丢失等现象,也使业务数据传输能够充分利用传输层和网络层的资源,提高业务数据传输的速度和质量,同时保证该应用层当前所提供的业务处于正常状态。When the transport service layer determines the second transport protocol and the second transmission parameter, the transport service layer sends the second transport protocol and the second transmission parameter to the transport layer, so that the transport layer performs the second transport protocol and the second transmission parameter. Service data transmission to control the data transmission process of the service, avoid congestion and packet loss at the transport layer or network layer, and enable service data transmission to fully utilize the resources of the transport layer and the network layer to improve service data transmission. Speed and quality, while ensuring that the services currently provided by the application layer are in a normal state.
进一步地,当传输业务层将第二传输协议和第二传输参数发送给该传输层,使该传输层基于第二传输协议和第二传输参数进行业务数据传输之后,为了使下次的业务数据传输能够更快的进入正常状态,以减少调整传输层的传输协议和传输参数的时间,传输业务层可以存储第二传输协议和第二传输参数,当该传输层重新建立传输业务数据的第二传输连接时,传输业务层可以直接将该传输层的传输协议和传输参数配置为第二传输协议和第二传输参数。Further, after the transport service layer sends the second transport protocol and the second transmission parameter to the transport layer, so that the transport layer performs service data transmission based on the second transport protocol and the second transmission parameter, in order to make the next service data The transmission can enter the normal state more quickly to reduce the time of adjusting the transmission protocol and transmission parameters of the transmission layer, and the transmission service layer can store the second transmission protocol and the second transmission parameter, when the transmission layer re-establishes the second transmission of the service data. When transmitting the connection, the transport service layer can directly configure the transport protocol and transmission parameters of the transport layer as the second transport protocol and the second transmission parameter.
比如,第二传输协议为TCP协议,第二传输参数包括拥塞窗口、最大传输单元、缓冲区和传输带宽等参数,且拥塞窗口为20kb/s、最大传输单元为110bit、缓冲区为3M、传输带宽为5M/s等,传输业务层将第二传输协议TCP协议和第二传输参数包括的拥塞窗口20kb/s、最大传输单元110bit、缓冲区3M、传输带宽5M/s等进行存储,当该传输层重新建立传输业务数据的第二传输连接时,传输业务层可以直接将该传输层的传输协议配置为TCP协议,将传输参数包括的拥塞窗口配置为20kb/s、最大传输单元配置为110bit、缓冲区配置为3M、传输带宽配置为5M/s等,以使业务数据传输更快的进入正常状态。 For example, the second transmission protocol is a TCP protocol, and the second transmission parameter includes parameters such as a congestion window, a maximum transmission unit, a buffer, and a transmission bandwidth, and the congestion window is 20 kb/s, the maximum transmission unit is 110 bits, the buffer is 3 M, and the transmission is transmitted. The bandwidth is 5 M/s, etc., and the transport service layer stores the congestion window 20 kb/s, the maximum transmission unit 110 bit, the buffer 3M, the transmission bandwidth 5 M/s, etc. included in the second transmission protocol TCP protocol and the second transmission parameter, when the When the transport layer re-establishes the second transport connection for transmitting service data, the transport service layer can directly configure the transport protocol of the transport layer as the TCP protocol, configure the congestion window included in the transmission parameter to be 20 kb/s, and configure the maximum transmission unit to be 110 bits. The buffer configuration is 3M, and the transmission bandwidth is configured to 5M/s, so that the service data transmission can enter the normal state more quickly.
在本发明实施例中,在传输层通过第一传输协议和第一传输参数传输第一业务的业务数据时,该传输业务层接收传输状态信息,该传输状态信息至少包括传输层状态信息,传输业务层基于该传输状态信息,确定第二传输协议和第二传输参数,将第二传输协议和第二传输参数发送给传输层,使传输层基于第二传输协议和第二传输参数传输第一业务的后续业务数据,从而可以利用更高效的第二传输协议传输该第一业务的业务数据,避免在业务数据传输过程中出现拥塞和数据包丢失等现象,提高了业务数据传输的速度和质量。In the embodiment of the present invention, when the transport layer transmits the service data of the first service by using the first transmission protocol and the first transmission parameter, the transport service layer receives the transport status information, where the transport status information includes at least the transport layer status information, and the transmission The service layer determines the second transmission protocol and the second transmission parameter based on the transmission status information, and sends the second transmission protocol and the second transmission parameter to the transport layer, so that the transport layer transmits the first according to the second transmission protocol and the second transmission parameter. The service data of the service can be used to transmit the service data of the first service by using a more efficient second transmission protocol, thereby avoiding congestion and packet loss during the transmission of the service data, and improving the speed and quality of the service data transmission. .
图4是本发明实施例提供了一种业务数据传输装置的结构示意图,参见图4,该装置包括:第一接收模块401,确定模块402,第一发送模块403。FIG. 4 is a schematic structural diagram of a service data transmission apparatus according to an embodiment of the present invention. Referring to FIG. 4, the apparatus includes: a
第一接收模块401,用于在传输层通过第一传输协议和第一传输参数传输第一业务是业务数据的过程中,传输业务层接收传输状态信息,该传输状态信息至少包括传输层状态信息,该第一传输协议和第一传输参数为当前配置给该传输层的传输协议和传输参数;The
确定模块402,用于该传输业务层基于该传输状态信息,确定第二传输协议和第二传输参数;The determining
第一发送模块403,用于该传输业务层将第二传输协议和第二传输参数发送给传输层,使传输层基于第二传输协议和第二传输参数传输第一业务的后续业务数据。The
可选地,该该传输状态信息还包括网络层状态信息。Optionally, the transmission status information further includes network layer status information.
可选地,参见图5,该装置还包括第二接收模块404,获取模块405,注册模块406。Optionally, referring to FIG. 5, the apparatus further includes a
第二接收模块404,用于接收应用层发送的业务需求参数,该业务需求参数为应用层所提供的第一业务处于正常状态时所需的参数;The
获取模块405,用于从该业务需求参数中,获取门限参数;The obtaining
注册模块406,用于基于该门限参数,向相关层注册关键事件,该关键事件用于当相关层的传输参数超过门限参数时,向传输业务层上报传输状态信息,该相关层至少包括传输层。The
可选地,参见图6,该装置还包括第二发送模块407。Optionally, referring to FIG. 6, the apparatus further includes a
第二发送模块407,用于将上报周期发送给相关层,使相关层每隔上报周期向传输业务层上报传输状态信息,该相关层至少包括该传输层。The
可选地,参见图7,该装置还包括上报模块408。Optionally, referring to FIG. 7, the apparatus further includes a
上报模块408,用于当相关层传输业务数据的第一传输连接断开时,向传输业务层
上报传输状态信息。The
可选地,参见图8,确定模块402包括获取单元4021,第一确定单元4022,第二确定单元4023,第三确定单元4024。Optionally, referring to FIG. 8, the determining
获取单元4021,用于从传输状态信息中,获取传输时延和丢包率;The obtaining
第一确定单元4022,用于基于传输时延和丢包率,确定相关层的传输状态;The first determining
第二确定单元4023,用于确定该第一业务所属的业务类型和网络层当前所连接网络的网络类型;a second determining
第三确定单元4024,用于基于传输时延、丢包率、传输状态、业务类型和网络类型,确定第二传输协议和第二传输参数。The third determining
可选地,参见图9,第一确定单元4022包括第一确定子单元40221,第二确定子单元40222,第三确定子单元40223。Optionally, referring to FIG. 9, the first determining
第一确定子单元40221,用于当传输时延大于或等于第一指定时延且丢包率大于或等于第一指定丢包率时,确定相关层的传输状态为过载状态;The first determining
第二确定子单元40222,用于当传输时延小于或等于第二指定时延且丢包率小于或等于第二指定丢包率时,确定相关层的传输状态为轻载状态;The second determining
第三确定子单元40223,用于当传输时延小于第一指定时延且大于第二指定时延,或者丢包率小于第一指定丢包率且大于第二指定丢包率时,确定相关层的传输状态为正常状态。a third determining
可选地,参见图10,第三确定单元4024包括第四确定子单元40241,第五确定子单元40242。Optionally, referring to FIG. 10, the third determining
第四确定子单元40241,用于基于该业务类型和该网络类型,确定第二传输协议;a fourth determining
第五确定子单元40242,用于基于该传输时延、丢包率和传输状态,确定第二传输参数。The fifth determining
可选地,该装置还包括存储器,用于存储第二传输协议和第二传输参数。Optionally, the apparatus further includes a memory for storing the second transmission protocol and the second transmission parameter.
该第一发送模块403具体用于当传输层重新建立传输业务数据的第二传输连接时,将传输层的传输参数配置为所述第二传输参数,以及将传输层的传输协议配置为所述第二传输协议。The
综上所述,在本发明实施例中,在传输层通过第一传输协议和第一传输参数传输第一业务是业务数据的过程中该传输业务层接收传输状态信息,该传输状态信息至少包括传输层状态信息,传输业务层基于该传输状态信息,确定第二传输协议和第二传输参数,将第二传输协议和第二传输参数发送给传输层,使传输层基于第二传输协议和第二传输 参数传输第一业务的后续业务数据,从而可以利用更高效的第二传输协议传输该第一业务的业务数据,避免在业务数据传输过程中出现拥塞和数据包丢失等现象,提高了业务数据传输的速度和质量。In the embodiment of the present invention, the transport service layer receives the transport status information in the process that the transport layer transmits the first service to the service data by using the first transport protocol and the first transmission parameter, where the transport status information includes at least Transmitting layer status information, the transport service layer determines the second transmission protocol and the second transmission parameter based on the transmission status information, and sends the second transmission protocol and the second transmission parameter to the transport layer, so that the transport layer is based on the second transmission protocol and the Two transmission The parameter transmits the subsequent service data of the first service, so that the service data of the first service can be transmitted by using a more efficient second transmission protocol, thereby avoiding congestion and packet loss in the process of service data transmission, and improving service data transmission. Speed and quality.
需要说明的是:上述实施例提供的业务数据传输装置在业务数据传输时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的业务数据传输的装置与业务数据传输的方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that, in the service data transmission, the service data transmission device provided by the foregoing embodiment is only illustrated by the division of the foregoing functional modules. In actual applications, the function distribution may be completed by different functional modules as needed. The internal structure of the device is divided into different functional modules to perform all or part of the functions described above. In addition, the apparatus for the service data transmission provided by the foregoing embodiment is the same as the method embodiment of the service data transmission, and the specific implementation process is described in detail in the method embodiment, and details are not described herein again.
参见图11,本发明实施例提供了一种业务数据传输设备,该设备包括:处理器1101、存储器1102、总线1103和通信接口1104;Referring to FIG. 11, an embodiment of the present invention provides a service data transmission device, where the device includes: a
存储器1102用于存储计算机执行指令11021,处理器1101与存储器1102通过该总线1103连接,当所述设备运行时,处理器1101执行存储器1102存储的计算机执行指令,以使所述设备执行图2或图3所示的业务数据传输方法。The memory 1102 is configured to store a
在本发明实施例中,传输业务层在传输层通过第一传输协议和第一传输参数传输第一业务的业务数据的过程中接收传输状态信息时,该传输状态信息至少包括传输层状态信息,传输业务层基于该传输状态信息,确定第二传输协议和第二传输参数,将第二传输协议和第二传输参数发送给传输层,使传输层基于第二传输协议和第二传输参数传输第一业务的后续业务数据,从而可以利用更高效的第二传输协议传输该第一业务的业务数据,避免在业务数据传输过程中出现拥塞和数据包丢失等现象,提高了业务数据传输的速度和质量。In the embodiment of the present invention, when the transport layer receives the transport status information in the process of transmitting the service data of the first service by using the first transport protocol and the first transmission parameter, the transport status information includes at least transport layer status information. Transmitting, by the transport service layer, the second transmission protocol and the second transmission parameter, and transmitting the second transmission protocol and the second transmission parameter to the transport layer, so that the transport layer transmits the second transmission protocol and the second transmission parameter based on the second transmission protocol and the second transmission parameter. Subsequent service data of a service, so that the service data of the first service can be transmitted by using a more efficient second transmission protocol, thereby avoiding congestion and packet loss in the process of service data transmission, and improving the speed of service data transmission and quality.
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。A person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium. The storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.
以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention. Any modifications, equivalents, improvements, etc., which are within the scope of the present invention, should be included in the scope of the present invention. Inside.
Claims (18)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510564566.1A CN106506434B (en) | 2015-09-07 | 2015-09-07 | Service data transmission method and device |
| CN201510564566.1 | 2015-09-07 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2017041569A1 true WO2017041569A1 (en) | 2017-03-16 |
Family
ID=58239813
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2016/087308 Ceased WO2017041569A1 (en) | 2015-09-07 | 2016-06-27 | Service data transmission method and device |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN106506434B (en) |
| WO (1) | WO2017041569A1 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113973134B (en) * | 2020-07-23 | 2025-06-13 | 阿里巴巴集团控股有限公司 | Data transmission method, device, electronic device and computer storage medium |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100748710B1 (en) * | 2006-02-14 | 2007-08-13 | 주식회사 엘지데이콤 | Network communication service method using TC converter |
| CN101364939A (en) * | 2007-08-07 | 2009-02-11 | 华为技术有限公司 | Data packet forwarding method and device, data packet generating device and communication system |
| CN102045768A (en) * | 2009-10-26 | 2011-05-04 | 宏碁股份有限公司 | Data transmission method, user device and data transmission system thereof |
| CN102255898A (en) * | 2011-07-05 | 2011-11-23 | 上海悠络客电子科技有限公司 | Method for ensuring stability of large data stream by tcp (Transmission Control Protocol)/udp (User Datagram Protocol) double-mode communication |
| CN103078831A (en) * | 2011-10-26 | 2013-05-01 | 新太科技股份有限公司 | Self-adaption method on basis of TCP (Transmission Control Protocol) and UDP (User Datagram Protocol) transmission supported by streaming media |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2002032051A2 (en) * | 2000-10-12 | 2002-04-18 | Signafor, Inc. | Advanced switching mechanism for providing high-speed communications with high quality of service |
| KR100548336B1 (en) * | 2003-04-22 | 2006-02-02 | 엘지전자 주식회사 | Dual mode terminal supporting different packet frame mode and its supporting method |
| CN102158901B (en) * | 2011-02-16 | 2014-01-08 | 大唐移动通信设备有限公司 | Method for performing terminal operation configuration at network side and network side device |
| CN103188721B (en) * | 2011-12-28 | 2017-08-04 | 华为技术有限公司 | A kind of data transmission method and device |
| CN104349400B (en) * | 2013-07-23 | 2019-04-05 | 华为技术有限公司 | Method for wireless communication, method for wired transmission detection, and related equipment |
| CN104601521A (en) * | 2013-10-30 | 2015-05-06 | 中国电信股份有限公司 | Method, device and system for dynamically selecting communication transmission protocol |
-
2015
- 2015-09-07 CN CN201510564566.1A patent/CN106506434B/en active Active
-
2016
- 2016-06-27 WO PCT/CN2016/087308 patent/WO2017041569A1/en not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100748710B1 (en) * | 2006-02-14 | 2007-08-13 | 주식회사 엘지데이콤 | Network communication service method using TC converter |
| CN101364939A (en) * | 2007-08-07 | 2009-02-11 | 华为技术有限公司 | Data packet forwarding method and device, data packet generating device and communication system |
| CN102045768A (en) * | 2009-10-26 | 2011-05-04 | 宏碁股份有限公司 | Data transmission method, user device and data transmission system thereof |
| CN102255898A (en) * | 2011-07-05 | 2011-11-23 | 上海悠络客电子科技有限公司 | Method for ensuring stability of large data stream by tcp (Transmission Control Protocol)/udp (User Datagram Protocol) double-mode communication |
| CN103078831A (en) * | 2011-10-26 | 2013-05-01 | 新太科技股份有限公司 | Self-adaption method on basis of TCP (Transmission Control Protocol) and UDP (User Datagram Protocol) transmission supported by streaming media |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106506434A (en) | 2017-03-15 |
| CN106506434B (en) | 2019-12-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11558302B2 (en) | Data transmission method and apparatus | |
| US10795745B2 (en) | Dynamic and adaptive approach for failure detection of node in a cluster | |
| CN109391560B (en) | Network congestion notification method, proxy node and computer device | |
| CN114726748B (en) | Enhanced bidirectional active measurement protocol | |
| US20210092070A1 (en) | System for early system resource constraint detection and recovery | |
| US20190149475A1 (en) | Unified streamlining for data traffic | |
| WO2022121469A1 (en) | Flow control method, apparatus, and device, and readable storage medium | |
| US11102273B2 (en) | Uplink performance management | |
| WO2018094654A1 (en) | Vpn transmission tunnel scheduling method and device, and vpn client-end server | |
| Wang et al. | TCP congestion control algorithm for heterogeneous Internet | |
| JP2018531552A (en) | System and method for rate-based packet transmission over a network | |
| CN105376173A (en) | Sending window flow control method and terminal | |
| US10432530B2 (en) | System and method of providing compression technique for jitter sensitive application through multiple network links | |
| CN105262836A (en) | Information push method of server and push information reception method of client | |
| CN104683259A (en) | TCP congestion control method and device | |
| CN103401778B (en) | Based on the multi-path transmission grouping scheduling method that receiving terminal cache overflow probability is ensured | |
| EP3490293B1 (en) | Data receiving method, data sending method, receiving device and system | |
| CN107026716A (en) | A kind of transfer control method perceived in data center network based on concurrency | |
| JP2021529480A (en) | Data transmission method, transmission device, data reception method, and reception device | |
| WO2017041569A1 (en) | Service data transmission method and device | |
| US11956328B1 (en) | Avoiding stuck subscriber sessions on a disaggregated broadband network gateway | |
| JP4766703B2 (en) | Edge node and bandwidth control method | |
| CN105991468B (en) | A kind of processing method and processing device of Diameter congestion response | |
| WO2023005927A1 (en) | Srv6-based tunnel quality measurement method and related apparatus | |
| JP6805713B2 (en) | Receive traffic speedup device, speedup method, and speedup program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16843507 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 16843507 Country of ref document: EP Kind code of ref document: A1 |