Data transmission method, device and system, computer equipment, storage medium and computer program product
By selecting the adaptive transmission path according to the type of the packet, the packet transmission failure caused by traditional random selection paths is solved, and the transmission quality and reliability of the packet are improved.
Patent Information
- Application Number
- CN202411106876.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-13
- Publication Date
- 2024-12-06
AI Technical Summary
In traditional packet transmission methods, random selection of transmission paths can easily lead to failure of packet transmission, resulting in lower transmission quality.
According to the type of data packet, the appropriate transmission path is selected for transmission, and the transmission path is determined through the target identification or importance of the data packet, and the target identification is used to path filter and send the service stream for the video stream and importance.
It improves the transmission quality of data packets, avoids waste of resources and uneven allocation, and ensures reliable transmission of data packets.
Smart Images

Figure CN119094435A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a data transmission method, apparatus, system, computer equipment, computer-readable storage medium, and computer program product. Background Art
[0002] On the Internet, each application will have multiple data packets, and each data packet is transmitted through the network to the receiving end.
[0003] In traditional technology, when transmitting data packets, a transmission path is generally randomly selected for transmission; however, different data packets contain different data streams. If they are all transmitted by randomly selecting a transmission path, it is easy to cause data packet transmission failure, which in turn leads to low data packet transmission quality. Summary of the invention
[0004] Based on this, it is necessary to provide a data transmission method, apparatus, system, computer equipment, computer-readable storage medium and computer program product that can improve the transmission quality of data packets in response to the above technical problems.
[0005] In a first aspect, the present application provides a data transmission method, applied to a sending end, comprising:
[0006] Receive data packets sent by the gateway;
[0007] In the case where the data packet includes a video stream, the data packet is sent to a receiving end via a transmission path corresponding to a target identifier of the data packet; the target identifier is used to characterize the data type of the data included in the video stream;
[0008] In the case where the data packet contains a target service flow, the data packet is sent to the receiving end via a transmission path corresponding to the importance of the data packet; the target service flow is a service flow other than the video stream.
[0009] In one of the embodiments, before sending the data packet to the receiving end through the transmission path corresponding to the target identifier of the data packet, the method further includes:
[0010] Obtaining header information of the data packet;
[0011] Identifying current setting information of a target field in the header information;
[0012] A target identifier of the data packet is determined according to the current setting information.
[0013] In one of the embodiments, before sending the data packet to the receiving end through the transmission path corresponding to the target identifier of the data packet, the method further includes:
[0014] Determining the data type of the data included in the video stream according to the target identifier of the data packet;
[0015] The method further comprises: selecting a transmission path corresponding to the data type from the candidate transmission paths as the transmission path corresponding to the target identifier of the data packet. In one embodiment, the method further comprises:
[0016] Obtaining current transmission quality ranking information of candidate transmission paths;
[0017] Determining a current transmission quality level corresponding to the candidate transmission path according to the current transmission quality ranking information;
[0018] A transmission path whose corresponding current transmission quality level matches the data type is screened out from the candidate transmission paths as the transmission path corresponding to the data type.
[0019] In one of the embodiments, the step of selecting, from the candidate transmission paths, a transmission path whose corresponding current transmission quality level matches the data type as the transmission path corresponding to the data type includes:
[0020] In the case where the data type is a target data type, selecting from the candidate transmission paths a plurality of transmission paths whose corresponding current transmission quality levels match the target data type as a plurality of transmission paths corresponding to the target data type;
[0021] The step of sending the data packet to a receiving end through a transmission path corresponding to a target identifier of the data packet includes:
[0022] The data packet is sent to a receiving end via a plurality of transmission paths corresponding to the target data type.
[0023] In one of the embodiments, the obtaining the current transmission quality ranking information of the candidate transmission paths includes:
[0024] receiving transmission quality sorting information of the candidate transmission paths sent by the sorting end; the transmission quality sorting information is determined according to the sending information and receiving information of the historical data packets;
[0025] The transmission quality ranking information of the candidate transmission paths is used as the current transmission quality ranking information.
[0026] In one of the embodiments, before sending the data packet to the receiving end through the transmission path corresponding to the importance of the data packet, the method further includes:
[0027] Obtaining the service level of the data packet;
[0028] Determining the importance of the data packet according to the service level of the data packet;
[0029] According to the current transmission quality levels of the candidate transmission paths, a transmission path whose corresponding current transmission quality level matches the importance is screened out from the candidate transmission paths as the transmission path corresponding to the importance.
[0030] In a second aspect, the present application also provides a data transmission method, applied to a gateway, comprising:
[0031] Get the data packet;
[0032] Send the data packet to a sending end, so that the sending end sends the data packet to a receiving end through a transmission path corresponding to a target identifier of the data packet when the data packet contains a video stream, and sends the data packet to the receiving end through a transmission path corresponding to the importance of the data packet when the data packet contains a target service stream;
[0033] The target identifier is used to characterize the data type of the data contained in the video stream; and the target service stream is a service stream other than the video stream.
[0034] In one embodiment, sending the data packet to a transmitting end includes:
[0035] In the case where the data packet includes a video stream, determining the data type of the data included in the video stream according to key field information in the video stream;
[0036] Determining current setting information of a target field in header information of the data packet according to a data type of the data included in the video stream;
[0037] Determining a target identifier of the data packet according to the current setting information;
[0038] The data packet and the target identifier of the data packet are sent to a sending end.
[0039] In a third aspect, the present application further provides a data transmission device, applied to a sending end, comprising:
[0040] A data receiving module, used for receiving data packets sent by the gateway;
[0041] A first sending module is used to send the data packet to a receiving end through a transmission path corresponding to a target identifier of the data packet when the data packet includes a video stream; the target identifier is used to indicate a data type of the data included in the video stream;
[0042] The second sending module is used to send the data packet to the receiving end through a transmission path corresponding to the importance of the data packet when the data packet contains a target business flow; the target business flow is a business flow other than the video stream.
[0043] In a fourth aspect, the present application further provides a data transmission device, applied to a gateway, comprising:
[0044] A data acquisition module, used for acquiring data packets;
[0045] A data sending module is used to send the data packet to a sending end, so that when the data packet contains a video stream, the sending end sends the data packet to a receiving end through a transmission path corresponding to a target identifier of the data packet, and when the data packet contains a target business flow, the sending end sends the data packet to the receiving end through a transmission path corresponding to the importance of the data packet; wherein the target identifier is used to characterize the data type of the data contained in the video stream; and the target business flow is a business flow other than the video stream.
[0046] In a fifth aspect, the present application further provides a data transmission system, the system comprising: a gateway, a sending end, a receiving end and a sorting end;
[0047] The gateway is used to obtain a data packet and send the data packet to the sending end;
[0048] The transmitting end is used to send the data packet to the receiving end through a transmission path corresponding to a target identifier of the data packet when the data packet contains a video stream; the target identifier is used to characterize the data type of the data contained in the video stream; when the data packet contains a target business flow, the data packet is sent to the receiving end through a transmission path corresponding to the importance of the data packet; the target business flow is a business flow other than the video stream.
[0049] In a sixth aspect, the present application further provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0050] Receive data packets sent by the gateway;
[0051] In the case where the data packet includes a video stream, the data packet is sent to a receiving end via a transmission path corresponding to a target identifier of the data packet; the target identifier is used to characterize the data type of the data included in the video stream;
[0052] In the case where the data packet contains a target service flow, the data packet is sent to the receiving end via a transmission path corresponding to the importance of the data packet; the target service flow is a service flow other than the video stream.
[0053] In a seventh aspect, the present application further provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0054] Get the data packet;
[0055] Send the data packet to a sending end, so that the sending end sends the data packet to a receiving end through a transmission path corresponding to a target identifier of the data packet when the data packet contains a video stream, and sends the data packet to the receiving end through a transmission path corresponding to the importance of the data packet when the data packet contains a target service stream;
[0056] The target identifier is used to characterize the data type of the data contained in the video stream; and the target service stream is a service stream other than the video stream.
[0057] In an eighth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:
[0058] Receive data packets sent by the gateway;
[0059] In the case where the data packet includes a video stream, the data packet is sent to a receiving end via a transmission path corresponding to a target identifier of the data packet; the target identifier is used to characterize a data type of the data included in the video stream;
[0060] In the case where the data packet contains a target service flow, the data packet is sent to the receiving end via a transmission path corresponding to the importance of the data packet; the target service flow is a service flow other than the video stream.
[0061] In a ninth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:
[0062] Get the data packet;
[0063] Send the data packet to a sending end, so that the sending end sends the data packet to a receiving end through a transmission path corresponding to a target identifier of the data packet when the data packet contains a video stream, and sends the data packet to the receiving end through a transmission path corresponding to the importance of the data packet when the data packet contains a target service stream;
[0064] The target identifier is used to characterize the data type of the data contained in the video stream; and the target service stream is a service stream other than the video stream.
[0065] In a tenth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:
[0066] Receive data packets sent by the gateway;
[0067] In the case where the data packet includes a video stream, the data packet is sent to a receiving end via a transmission path corresponding to a target identifier of the data packet; the target identifier is used to characterize a data type of the data included in the video stream;
[0068] In the case where the data packet contains a target service flow, the data packet is sent to the receiving end via a transmission path corresponding to the importance of the data packet; the target service flow is a service flow other than the video stream.
[0069] In an eleventh aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:
[0070] Get the data packet;
[0071] Send the data packet to a sending end, so that the sending end sends the data packet to a receiving end through a transmission path corresponding to a target identifier of the data packet when the data packet contains a video stream, and sends the data packet to the receiving end through a transmission path corresponding to the importance of the data packet when the data packet contains a target service stream;
[0072] The target identifier is used to characterize the data type of the data contained in the video stream; and the target service stream is a service stream other than the video stream.
[0073] The above-mentioned data transmission method, apparatus, system, computer equipment, storage medium and computer program product first receive a data packet sent by a gateway, and when the data packet contains a video stream, send the data packet to a receiving end through a transmission path corresponding to the target identifier of the data packet, and when the data packet contains a target service stream, send the data packet to a receiving end through a transmission path corresponding to the importance of the data packet. In this way, when transmitting a data packet, an adaptive transmission path is selected according to the type of the data packet, so that network resources can be used more effectively, resource waste or uneven distribution can be avoided, and the transmission quality of the data packet can be improved; moreover, the method also avoids the defect that the data packet transmission failure is easily caused by randomly selecting a transmission path for transmission, and then the transmission quality of the data packet is low, thereby improving the transmission quality of the data packet. BRIEF DESCRIPTION OF THE DRAWINGS
[0074] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0075] Figure 1 is an application environment diagram of a data transmission method in an embodiment;
[0076] Figure 2 A schematic diagram of a flow chart of a data transmission method in an embodiment;
[0077] Figure 3 A schematic diagram of the structure of an IP header of a data packet in one embodiment;
[0078] Figure 4 A schematic diagram of a flow chart of a data transmission method in another embodiment;
[0079] Figure 5 A schematic diagram of a flow chart of the steps of sending a data packet to a sending end in one embodiment;
[0080] Figure 6 A schematic diagram of a flow chart of a data transmission method in another embodiment;
[0081] Figure 7 1 is a flow chart of a method for multi-path transmission of video key frames based on TOS level perception identification in one embodiment;
[0082] Figure 8 is a structural block diagram of a data transmission device in one embodiment;
[0083] Fig. 9is a structural block diagram of a data transmission device in another embodiment;
[0084] Fig.10 is an internal structure diagram of a computer device in one embodiment;
[0085] Fig.11 FIG. 4 is a diagram showing the internal structure of a computer device in another embodiment. DETAILED DESCRIPTION
[0086] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0087] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0088] The data transmission method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown in FIG. 1 , the sending end 104 communicates with the gateway 102, the receiving end 106 and the sorting end 108 through the network. Specifically, refer to Figure 1 , the gateway 102 obtains the data packet and sends the data packet to the sending end 104; when the data packet contains a video stream, the sending end 104 sends the data packet to the receiving end 106 through the transmission path corresponding to the target identifier of the data packet; the target identifier is used to characterize the data type of the data contained in the video stream; when the data packet contains a target business flow, the sending end 104 sends the data packet to the receiving end 106 through the transmission path corresponding to the importance of the data packet; the target business flow is a business flow other than the video stream. Among them, the gateway 102 refers to a gateway device corresponding to the identification of the data stream. The sending end 104 can be a terminal or a server; the receiving end 106 can be a terminal or a server. The sorting end 108 refers to a device corresponding to the transmission quality sorting of the candidate transmission paths, which can be a terminal or a server. The terminal can be, but is not limited to, various personal computers, laptops, smart phones and tablets. The server can be implemented as an independent server or a server cluster consisting of multiple servers.
[0089] In an exemplary embodiment, Figure 2 As shown, a data transmission method is provided, which is applied to Figure 1Taking the sending end in as an example, in this embodiment, the method includes the following steps:
[0090] Step S201, receiving a data packet sent by a gateway.
[0091] The data packet refers to the basic data unit transmitted in the network, including video stream, information stream, text information stream, etc. It should be noted that the data packet is also called a service stream.
[0092] Exemplarily, the sending end builds a network path with the gateway, and receives data packets sent by the gateway through the network path.
[0093] Step S202, when the data packet includes a video stream, the data packet is sent to a receiving end through a transmission path corresponding to a target identifier of the data packet; the target identifier is used to indicate the data type of the data included in the video stream.
[0094] Among them, the video stream includes data types such as I frame, P frame, B frame, IDR frame, SPS (Sequence Parameter Set), PPS (Picture Parameter Set), SEI (Supplemental Enhancement Information), etc.
[0095] The target identifier refers to the TOS (Type of Service) level perception identifier after the setting process, such as 4, 3, 0, etc. It should be noted that each data packet has a corresponding IP (Internet Protocol) header, and the IP header contains the TOS level perception identifier, such as Figure 3 shown.
[0096] The transmission path refers to the transmission path that matches the data packet, for example, the transmission path corresponding to the target identifier 4 is the optimal transmission path, the transmission path corresponding to the target identifier 3 is the suboptimal transmission path, and the transmission path corresponding to the target identifier 0 is the third transmission path. Exemplarily, when the data packet contains a video stream, the sender determines the data type of the data contained in the video stream; then, the sender determines the transmission path corresponding to the target identifier of the data packet according to the data type of the data contained in the video stream; then, the sender sends the data packet to the receiver through the transmission path corresponding to the target identifier of the data packet.
[0097] Step S203, when the data packet contains a target service flow, the data packet is sent to the receiving end through a transmission path corresponding to the importance of the data packet; the target service flow is a service flow other than the video stream.
[0098] The target service flow refers to a service flow other than a video flow, such as an information flow, a text information flow, etc.
[0099] The importance is used to represent the importance of the data packet's service level.
[0100] Exemplarily, when a data packet contains a business flow other than a video stream, the sending end determines the importance of the data packet based on the business level of the data packet; then, the sending end determines a transmission path corresponding to the importance of the data packet based on the importance of the data packet; then, the sending end sends the data packet to the receiving end via the transmission path corresponding to the importance of the data packet.
[0101] In the above data transmission method, the data packet sent by the gateway is first received. When the data packet contains a video stream, the data packet is sent to the receiving end through the transmission path corresponding to the target identifier of the data packet. When the data packet contains a target business stream, the data packet is sent to the receiving end through the transmission path corresponding to the importance of the data packet. In this way, when transmitting a data packet, an adaptive transmission path is selected according to the type of the data packet, so that network resources can be used more effectively, resource waste or uneven distribution can be avoided, and the transmission quality of the data packet can be improved; moreover, the method also avoids the defect of randomly selecting a transmission path for transmission, which easily leads to failure of data packet transmission and thus leads to low transmission quality of the data packet, thereby improving the transmission quality of the data packet.
[0102] In an exemplary embodiment, the above-mentioned step S202, before sending the data packet to the receiving end through the transmission path corresponding to the target identifier of the data packet, specifically includes the following contents: obtaining the header information of the data packet; identifying the current setting information of the target field in the header information; and determining the target identifier of the data packet based on the current setting information.
[0103] The header information refers to the information of the IP header of the data packet.
[0104] The target field refers to the TOS field.
[0105] The current setting information refers to the current setting value of the TOS field, including 4, 3, and 0.
[0106] Exemplarily, the sender obtains the information of the IP header of the data packet as the header information of the data packet; then, the sender identifies the current setting information of the target field in the header information from the header information of the data packet; then, the sender uses the current setting information as the target identifier of the data packet.
[0107] In this embodiment, the target identifier of the data packet is determined by identifying the setting information of the target field, which is conducive to more accurate classification and processing of the data packet; moreover, reasonable resource allocation is performed according to the target identifier of the data packet, avoiding unnecessary waste of resources.
[0108] In an exemplary embodiment, the above-mentioned step S202, before sending the data packet to the receiving end through the transmission path corresponding to the target identifier of the data packet, specifically includes the following contents: determining the data type of the data contained in the video stream according to the target identifier of the data packet; and filtering out the transmission path corresponding to the data type from the candidate transmission paths as the transmission path corresponding to the target identifier of the data packet.
[0109] The candidate transmission paths refer to the four sub-transmission paths established by the sender based on the MPTCP (Multipath Transmission Control Protocol) protocol.
[0110] Exemplarily, the sending end determines the data type corresponding to the target identifier of the data packet based on the target identifier of the data packet, as the data type of the data contained in the video stream; then, the sending end filters out the transmission path corresponding to the data type of the data contained in the video stream from the candidate transmission paths, and uses the transmission path as the transmission path corresponding to the target identifier of the data packet.
[0111] In this embodiment, a suitable transmission path can be selected according to the data type to ensure that different types of data in the video stream obtain the most suitable transmission conditions, thereby improving the transmission quality; moreover, network resources can be effectively utilized to avoid excessive congestion in the transmission path.
[0112] In an exemplary embodiment, the above step S202, filtering out the transmission path corresponding to the data type from the candidate transmission paths, specifically includes the following contents: obtaining the current transmission quality sorting information of the candidate transmission paths; determining the current transmission quality level corresponding to the candidate transmission paths according to the current transmission quality sorting information; and filtering out the transmission path whose corresponding current transmission quality level matches the data type from the candidate transmission paths as the transmission path corresponding to the data type.
[0113] The current transmission quality ranking information refers to the transmission quality ranking information at the current moment.
[0114] The transmission quality ranking information is used to represent the sequence information corresponding to the transmission quality of the transmission path.
[0115] The current transmission quality level refers to the transmission quality level corresponding to each candidate transmission path at the current moment, including the best, the second best and the third best.
[0116] Exemplarily, the sending end receives the current transmission quality sorting information of the candidate transmission paths sent by the sorting end; then, the sending end determines the transmission quality level corresponding to each candidate transmission path in the current transmission quality sorting information based on the current transmission quality sorting information, as the current transmission quality level corresponding to the candidate transmission path; then, the sending end filters out the transmission path whose corresponding current transmission quality level matches the data type from the candidate transmission paths, and uses the transmission path as the transmission path corresponding to the data type.
[0117] In this embodiment, by accurately matching the data type and the transmission path with the appropriate transmission quality level, the data transmission effect can be guaranteed to the greatest extent; moreover, by screening the transmission path according to the transmission quality level, it is avoided that the low-quality path is used to transmit data with high quality requirements, and it is also avoided that the high-quality path is wasted on data transmission with low quality requirements, thereby achieving optimal utilization of network resources.
[0118] In an exemplary embodiment, a transmission path whose corresponding current transmission quality level matches the data type is screened out from candidate transmission paths as the transmission path corresponding to the data type, specifically including the following contents: when the data type is a target data type, multiple transmission paths whose corresponding current transmission quality level matches the target data type are screened out from candidate transmission paths as the multiple transmission paths corresponding to the target data type.
[0119] Then, sending the data packet to the receiving end through a transmission path corresponding to the target identifier of the data packet specifically includes the following contents: sending the data packet to the receiving end through multiple transmission paths corresponding to the target data types.
[0120] The target data type refers to the data type corresponding to the TOS level perception identifier 4.
[0121] Exemplarily, when the data type is the target data type, the sending end filters out multiple transmission paths whose corresponding current transmission quality levels match the target data type from the candidate transmission paths, and uses these transmission paths as multiple transmission paths corresponding to the target data type, such as two paths with the best transmission quality; then, the sending end sends the data packet to the receiving end through the multiple transmission paths corresponding to the target data type.
[0122] In this embodiment, the data packet is sent to the receiving end through multiple transmission paths corresponding to the target data type of the data packet, so that the transmission path redundancy of the data packet can be achieved, the probability of successful transmission of the data packet is increased, and the fault tolerance capability of the data packet transmission is improved.
[0123] In an exemplary embodiment, current transmission quality sorting information of candidate transmission paths is obtained, specifically including the following contents: receiving transmission quality sorting information of candidate transmission paths sent by a sorting end; the transmission quality sorting information is determined based on sending information and receiving information of historical data packets; and the transmission quality sorting information of the candidate transmission paths is used as current transmission quality sorting information.
[0124] The historical data packets refer to the data packets transmitted in the past period of time.
[0125] The sending information refers to the corresponding associated information of each historical data packet sent by the sending end, including the sending time and sequence number of each historical data packet sent by the sending end.
[0126] The receiving information refers to the corresponding associated information of each historical data packet received by the receiving end, including the receiving time and sequence number of each historical data packet received by the receiving end.
[0127] Exemplarily, the sending end determines the delay information of each historical data packet based on the sending time and receiving time of each historical data packet, and determines the packet loss information (such as packet loss rate) of each historical data packet based on the sequence number of each historical data packet sent and the sequence number of each historical data packet received by the receiving end; then, the sending end determines the transmission quality ranking information of the candidate transmission path based on the delay information and packet loss information of each historical data packet; then, the sending end uses the transmission quality ranking information of the candidate transmission path as the current transmission quality ranking information.
[0128] In this embodiment, the transmission quality ranking is determined by using the sending and receiving information of historical data packets, so as to more accurately reflect the actual performance of the candidate transmission paths, provide a reliable reference for the current data packet transmission, and help improve the reliability of data packet transmission.
[0129] In an exemplary embodiment, the above-mentioned step S203, before sending the data packet to the receiving end through the transmission path corresponding to the importance of the data packet, specifically includes the following contents: obtaining the service level of the data packet; determining the importance of the data packet according to the service level of the data packet; and screening out, from the candidate transmission paths, a transmission path whose corresponding current transmission quality level matches the importance, as the transmission path corresponding to the importance, according to the current transmission quality level of the candidate transmission paths.
[0130] The service level is used to characterize important situations corresponding to the service flow.
[0131] Exemplarily, the sending end obtains the service level of the data packet; then, the sending end queries the correspondence between the service level and the importance based on the service level of the data packet to obtain the importance of the data packet; then, the sending end screens out the transmission path whose corresponding current transmission quality level matches the importance from the candidate transmission paths based on the current transmission quality level of the candidate transmission paths, and uses the transmission path as the transmission path corresponding to the importance.
[0132] In this embodiment, the importance of the data packet is determined according to the service level of the data packet, which can ensure that important business data obtains a higher quality transmission path during transmission, thereby giving priority to timely and accurate transmission of critical services; moreover, the transmission path is matched according to the importance, which avoids low-importance data packets occupying high-quality transmission resources and realizes the reasonable allocation of network resources.
[0133] In an exemplary embodiment, Figure 4 As shown, the present application also provides another data transmission method, which is applied to Figure 1 The gateway in the example is used as an example to illustrate the details, including the following:
[0134] Step S401, obtaining a data packet.
[0135] Step S402, sends a data packet to a sending end, so that when the data packet contains a video stream, the sending end sends the data packet to a receiving end through a transmission path corresponding to a target identifier of the data packet, and when the data packet contains a target business flow, the sending end sends the data packet to the receiving end through a transmission path corresponding to the importance of the data packet; wherein the target identifier is used to characterize the data type of the data contained in the video stream; and the target business flow is a business flow other than the video stream.
[0136] Exemplarily, the gateway obtains a data packet and sends the data packet to the sending end; the sending end receives the data packet sent by the gateway; in the case where the data packet contains a video stream, the sending end determines the data type of the data contained in the video stream; then, the sending end determines the transmission path corresponding to the target identifier of the data packet based on the data type of the data contained in the video stream; then, the sending end sends the data packet to the receiving end via the transmission path corresponding to the target identifier of the data packet; in the case where the data packet contains a business stream other than the video stream, the sending end determines the importance of the data packet based on the business level of the data packet; then, the sending end determines the transmission path corresponding to the importance of the data packet based on the importance of the data packet; then, the sending end sends the data packet to the receiving end via the transmission path corresponding to the importance of the data packet.
[0137] It should be noted that, for the specific definition of step S401 to step S402, reference may be made to the relevant embodiments of step S201 to step S203, which will not be repeated here.
[0138] In this embodiment, when transmitting a data packet, an adaptive transmission path is selected according to the type of the data packet, so that network resources can be used more effectively, resource waste or uneven distribution can be avoided, and the transmission quality of the data packet can be improved; moreover, the method also avoids the defect of randomly selecting a transmission path for transmission, which can easily lead to data packet transmission failure and thus result in low data packet transmission quality, thereby improving the transmission quality of the data packet.
[0139] In an exemplary embodiment, Figure 5 As shown, the above step S402, sending the data packet to the sending end, specifically includes the following steps:
[0140] Step S501: when the data packet includes a video stream, determine the data type of the data included in the video stream according to key field information in the video stream.
[0141] Step S502: determining the current setting information of the target field in the header information of the data packet according to the data type of the data included in the video stream.
[0142] Step S503: Determine the target identifier of the data packet according to the current setting information.
[0143] Step S504: Send the data packet and the target identifier of the data packet to the sending end.
[0144] The key field information refers to the NALU (Network Abstract Layer Unit) field corresponding to the data packet.
[0145] Exemplarily, in the case where a data packet contains a video stream, the gateway identifies key field information in the video stream, and determines the data type of the data contained in the video stream based on the key field information in the video stream; then, the gateway queries the correspondence between the data type and the setting information based on the data type of the data contained in the video stream, and obtains the setting information corresponding to the data type of the data contained in the video stream as the current setting information of the target field in the header information of the data packet; then, the gateway uses the current setting information as the target identifier of the data packet; finally, the gateway sends the data packet and the target identifier of the data packet to the sending end through the network path between the gateway and the sending end.
[0146] In this embodiment, by determining the data type through key field information in the video stream, the video stream data can be accurately classified to facilitate subsequent targeted processing and transmission; moreover, by determining the target identifier of the data packet, it is beneficial to more quickly select the appropriate path and resources during the transmission process, which is beneficial to improving the overall transmission efficiency.
[0147] In an exemplary embodiment, Figure 6 As shown, another data transmission method is provided, which is applied to Figure 1 The sending end in the example is used to illustrate, including the following steps:
[0148] Step S601, receiving a data packet sent by a gateway.
[0149] Step S602, when the data packet contains a video stream, obtain the header information of the data packet; identify the current setting information of the target field in the header information; and determine the target identifier of the data packet according to the current setting information.
[0150] Step S603: determining the data type of the data included in the video stream according to the target identifier of the data packet.
[0151] Step S604, receiving the transmission quality sorting information of the candidate transmission path sent by the sorting end; the transmission quality sorting information is determined according to the sending information and receiving information of the historical data packet; and the transmission quality sorting information of the candidate transmission path is used as the current transmission quality sorting information.
[0152] Step S605, determine the current transmission quality level corresponding to the candidate transmission path based on the current transmission quality sorting information; filter out the transmission path whose corresponding current transmission quality level matches the data type from the candidate transmission paths as the transmission path corresponding to the data type; use the transmission path corresponding to the data type as the transmission path corresponding to the target identifier of the data packet.
[0153] Step S606: Send the data packet to the receiving end via a transmission path corresponding to the target identifier of the data packet.
[0154] Step S607, when the data packet contains the target business flow, obtain the business level of the data packet; determine the importance of the data packet based on the business level of the data packet; based on the current transmission quality level of the candidate transmission path, filter out the transmission path whose corresponding current transmission quality level matches the importance from the candidate transmission paths as the transmission path corresponding to the importance; the target business flow is the business flow other than the video stream.
[0155] Step S608, sending the data packet to the receiving end via a transmission path corresponding to the importance of the data packet.
[0156] In the above data transmission method, when transmitting a data packet, an adaptive transmission path is selected according to the type of the data packet, so that network resources can be used more effectively, resource waste or uneven distribution can be avoided, and the transmission quality of the data packet can be improved; moreover, the method also avoids the defect of randomly selecting a transmission path for transmission, which can easily lead to data packet transmission failure and thus result in low data packet transmission quality, thereby improving the transmission quality of the data packet.
[0157] In an exemplary embodiment, in order to more clearly illustrate the data transmission method provided by the embodiment of the present application, the data transmission method is specifically described below with a specific embodiment. In one embodiment, the present application also provides a video key frame multi-path transmission method based on TOS level perception identification, such as Figure 7 As shown, when transmitting a data packet, first receive the data packet sent by the gateway. If the data packet contains a video stream, send the data packet to the receiving end through the transmission path corresponding to the target identifier of the data packet. If the data packet contains a target business stream, send the data packet to the receiving end through the transmission path corresponding to the importance of the data packet. Specifically include the following contents:
[0158] The present invention provides a method for multi-path transmission of key video frames based on TOS level perception identification, which mainly includes: an identification gateway and a multi-path transmission device.
[0159] Perception identification gateway: According to the key information of the H.264 video stream encapsulated by RTP, it identifies the key frame I frame in the video stream and sets the TOS field in the IP packet header to 4; sets it to 3 for other P / B frames and sets it to 0 for other services.
[0160] Multi-path transmission device: Use MPTCP protocol to establish multiple sub-channels for transmitting data streams with different identifiers, achieving service quality assurance and key frame transmission path redundancy. (1) Cache data packets with TOS 4 and 3; (2) Based on the collected link quality data, copy the data packet with TOS 4 into two copies and send them to the two paths with the best link quality respectively; distribute the data packet with TOS 3 to the path with the second best path; distribute the data packet with TOS 0 to the path with the second best path quality.
[0161] Link quality sensor: collects quality data of different paths of the multi-path transmission device at the receiving end and synchronizes it to the transmission device at the transmitting end.
[0162] The service type (TOS) is 8 bits, the first three bits represent the priority, the middle four bits represent the service type, and the last bit is reserved.
[0163] The process is described as follows:
[0164] 1. When the video or other business stream passes through the perception identifier, the perception identifier will identify the video stream in the data stream, identify the video I / P / B frame according to the NALU field in the H.264 video stream, and mark the IP data packet containing the corresponding video stream with TOS in the IP packet header, where 0x65 is an I frame, and the TOS is set to 4, 0x67 / 0x68 has a TOS set to 3, and other data packets are set to 0;
[0165] 2. Deploy multi-path transmission devices (sender) and multi-path transmission devices (receiver), and establish four sub-links based on the MPTCP protocol. The sender first caches the data packets with TOS 4 according to the TOS setting in the packet header of the IP data packet transmitted by the sensor identifier, and preferentially selects the two paths with the best transmission quality based on the sub-link status sorting information synchronized by the path quality sensor, and sends the data packets with TOS 4 to the receiver twice through the two best paths respectively, to achieve key frame transmission path redundancy; the data packets with TOS 3 are sent from the suboptimal path, and other data packets are transmitted from the path with the third best link quality ranking;
[0166] 3. The multi-path transmission device (receiving end) receives data packets from different sub-links of the sending end, calculates the packet loss and RTT (Round-Trip Time) delay according to the RTP sequence number / IP sequence number and timestamp (sending time-receiving time), and reports the packet loss and RTT delay information of each sub-link to the path quality sensor;
[0167] 4. At the same time, a path quality sensor is deployed. This device receives the link quality status information such as RTT delay and packet loss of the network sub-link reported by the receiving end of the multi-path transmission device, and synchronizes the status information of the network sub-link to the sending end of the multi-path transmission device. The path quality sensor sorts the quality of the multi-path according to the reported link quality data and sends it to the sending end of the multi-path transmission device.
[0168] Commonly used NALU types are as follows:
[0169] 0x67 (0 11 00111): SPS, very important, type=7
[0170] 0x68 (0 11 01000): PPS, very important, type=8
[0171] 0x65 (0 11 00101): IDR frame, key frame, very important type = 5
[0172] 0x61 (0 11 00001): I frame, important, type=1, note: non-IDR I frames are not common
[0173] 0x41 (0 10 00001): P frame, important, type=1
[0174] 0x01 (0 00 00001): B frame, not important, type=1
[0175] 0x06 (0 00 00110): SEI, not important, type = 6
[0176] This patent proposes a perception identification method based on different TOS levels in the same application, and uses the MPTCP protocol to achieve multi-path redundant transmission of key frames, greatly improving the transmission quality of video in weak network environments.
[0177] In the above embodiment, when transmitting a data packet, an adaptive transmission path is selected according to the type of the data packet, so that network resources can be used more effectively, resource waste or uneven distribution can be avoided, and the transmission quality of the data packet can be improved; moreover, the method also avoids the defect that the data packet transmission fails easily by randomly selecting the transmission path for transmission, and then the transmission quality of the data packet is low, thereby improving the transmission quality of the data packet. At the same time, the perception identification gateway is introduced, and the key frames of the video are transmitted in a guaranteed manner based on the perception identification of different TOS levels, which greatly improves the transmission quality of the video in a weak network environment; by combining the perception identification gateway with MPTCP, multi-path redundant transmission of key frames is realized according to the criticality requirements of service quality; video services that are sensitive to delay / packet loss are distinguished and identified, and a multi-path redundant transmission distribution strategy is implemented for key video frames; and for other data streams of the video service, links of corresponding levels are selected for transmission. Especially in wireless networks and weak network environments with packet loss, for services that are sensitive to delay / packet loss, such as live video, the quality of video services is greatly improved. After verification by the prototype system, in a network environment with 1% packet loss, the arrival rate of video I frames is increased by 53%, which greatly improves the user experience.
[0178] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0179] Based on the same inventive concept, the embodiment of the present application also provides a data transmission device for implementing the data transmission method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more data transmission device embodiments provided below can refer to the limitations on the data transmission method above, and will not be repeated here.
[0180] In an exemplary embodiment, Figure 8 As shown, a data transmission device is provided, including: a data receiving module 801, a first sending module 802 and a second sending module 803, wherein:
[0181] The data receiving module 801 is used to receive data packets sent by the gateway.
[0182] The first sending module 802 is used to send the data packet to the receiving end through a transmission path corresponding to a target identifier of the data packet when the data packet contains a video stream; the target identifier is used to indicate the data type of the data contained in the video stream.
[0183] The second sending module 803 is used to send the data packet to the receiving end through a transmission path corresponding to the importance of the data packet when the data packet contains a target service flow; the target service flow is a service flow other than the video flow.
[0184] In an exemplary embodiment, the data transmission device further includes an identification determination module, which is used to obtain header information of a data packet; identify current setting information of a target field in the header information; and determine a target identification of the data packet based on the current setting information.
[0185] In an exemplary embodiment, the data transmission device also includes a first determination module, which is used to determine the data type of the data contained in the video stream based on the target identifier of the data packet; and filter out the transmission path corresponding to the data type from the candidate transmission paths as the transmission path corresponding to the target identifier of the data packet.
[0186] In an exemplary embodiment, the first determination module is also used to obtain current transmission quality sorting information of the candidate transmission paths; determine the current transmission quality level corresponding to the candidate transmission paths based on the current transmission quality sorting information; and screen out, from the candidate transmission paths, the transmission paths whose corresponding current transmission quality levels match the data types as the transmission paths corresponding to the data types.
[0187] In an exemplary embodiment, the first determination module is also used to, when the data type is a target data type, filter out from the candidate transmission paths a plurality of transmission paths whose corresponding current transmission quality levels match the target data type as a plurality of transmission paths corresponding to the target data type.
[0188] In an exemplary embodiment, the first sending module 802 is further configured to send the data packet to the receiving end via a plurality of transmission paths corresponding to the target data type.
[0189] In an exemplary embodiment, the first determination module is also used to receive transmission quality sorting information of candidate transmission paths sent by the sorting end; the transmission quality sorting information is determined based on the sending information and receiving information of historical data packets; and the transmission quality sorting information of the candidate transmission path is used as the current transmission quality sorting information.
[0190] In an exemplary embodiment, the data transmission device also includes a second determination module, which is used to obtain the service level of the data packet; determine the importance of the data packet based on the service level of the data packet; and screen out, from the candidate transmission paths, a transmission path whose corresponding current transmission quality level matches the importance based on the current transmission quality level of the candidate transmission paths, as the transmission path corresponding to the importance.
[0191] Each module in the above data transmission device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.
[0192] In an exemplary embodiment, Fig. 9 As shown, another data transmission device is provided, including: a data acquisition module 901 and a data sending module 902, wherein:
[0193] The data acquisition module 901 is used to acquire data packets.
[0194] The data sending module 902 is used to send a data packet to a sending end, so that when the data packet contains a video stream, the sending end sends the data packet to a receiving end through a transmission path corresponding to a target identifier of the data packet; when the data packet contains a target business flow, the sending end sends the data packet to the receiving end through a transmission path corresponding to the importance of the data packet; wherein the target identifier is used to characterize the data type of the data contained in the video stream; and the target business flow is a business flow other than the video stream.
[0195] In an exemplary embodiment, the data sending module 902 is also used to determine the data type of the data contained in the video stream based on the key field information in the video stream when the data packet contains a video stream; determine the current setting information of the target field in the header information of the data packet based on the data type of the data contained in the video stream; determine the target identifier of the data packet based on the current setting information; and send the data packet and the target identifier of the data packet to the sending end.
[0196] Each module in the above data transmission device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.
[0197] In an exemplary embodiment, referring to Figure 1 , a data transmission system is provided, the system comprising a gateway 102, a sending end 104, a receiving end 106 and a sorting end 108;
[0198] The gateway 102 is used to obtain the data packet and send the data packet to the sending end 104;
[0199] The sending end 104 is used to send the data packet to the receiving end 106 through the transmission path corresponding to the target identifier of the data packet when the data packet contains a video stream; the target identifier is used to characterize the data type of the data contained in the video stream; when the data packet contains a target business flow, the data packet is sent to the receiving end 406 through the transmission path corresponding to the importance of the data packet; the target business flow is a business flow other than the video stream.
[0200] In the above-mentioned data transmission system, when transmitting a data packet, an adaptive transmission path is selected according to the type of the data packet, so that network resources can be used more effectively, resource waste or uneven distribution can be avoided, and the transmission quality of the data packet can be improved; moreover, the method also avoids the defect of randomly selecting a transmission path for transmission, which can easily lead to data packet transmission failure and thus result in low data packet transmission quality, thereby improving the transmission quality of the data packet.
[0201] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Fig.10As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data such as target identification and importance. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a data transmission method is implemented.
[0202] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Fig.11 As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a data transmission method is implemented.
[0203] Those skilled in the art will understand that Fig.10 and Fig.11 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0204] In an exemplary embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.
[0205] In an exemplary embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0206] In an exemplary embodiment, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the steps in the above method embodiments are implemented.
[0207] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0208] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0209] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A data transmission method, characterized in that: Applied to the sending end, the method includes: Receive data packets sent by the gateway; In the case where the data packet includes a video stream, the data packet is sent to a receiving end via a transmission path corresponding to a target identifier of the data packet; the target identifier is used to characterize a data type of the data included in the video stream; In the case where the data packet contains a target service flow, the data packet is sent to the receiving end via a transmission path corresponding to the importance of the data packet; the target service flow is a service flow other than the video stream.
2. The method according to claim 1, characterized in that Before sending the data packet to the receiving end through the transmission path corresponding to the target identifier of the data packet, the method further includes: Obtaining header information of the data packet; Identifying current setting information of a target field in the header information; A target identifier of the data packet is determined according to the current setting information.
3. The method according to claim 1, characterized in that: Before sending the data packet to the receiving end through the transmission path corresponding to the target identifier of the data packet, the method further includes: Determining the data type of the data included in the video stream according to the target identifier of the data packet; A transmission path corresponding to the data type is screened out from the candidate transmission paths as the transmission path corresponding to the target identifier of the data packet.
4. The method according to claim 3, characterized in that The step of selecting a transmission path corresponding to the data type from the candidate transmission paths includes: Obtaining current transmission quality ranking information of candidate transmission paths; Determining a current transmission quality level corresponding to the candidate transmission path according to the current transmission quality ranking information; A transmission path whose corresponding current transmission quality level matches the data type is screened out from the candidate transmission paths as the transmission path corresponding to the data type.
5. The method according to claim 4, characterized in that The step of selecting, from the candidate transmission paths, a transmission path whose corresponding current transmission quality level matches the data type as the transmission path corresponding to the data type includes: In the case where the data type is a target data type, selecting from the candidate transmission paths a plurality of transmission paths whose corresponding current transmission quality levels match the target data type as a plurality of transmission paths corresponding to the target data type; The step of sending the data packet to a receiving end through a transmission path corresponding to a target identifier of the data packet includes: The data packet is sent to a receiving end via a plurality of transmission paths corresponding to the target data type.
6. The method according to claim 4, characterized in that The obtaining the current transmission quality ranking information of the candidate transmission paths includes: receiving transmission quality sorting information of the candidate transmission paths sent by the sorting end; the transmission quality sorting information is determined according to the sending information and receiving information of the historical data packets; The transmission quality ranking information of the candidate transmission paths is used as the current transmission quality ranking information.
7. The method according to claim 1, characterized in that Before sending the data packet to the receiving end through a transmission path corresponding to the importance of the data packet, the method further includes: Obtaining the service level of the data packet; Determining the importance of the data packet according to the service level of the data packet; According to the current transmission quality levels of the candidate transmission paths, a transmission path whose corresponding current transmission quality level matches the importance is screened out from the candidate transmission paths as the transmission path corresponding to the importance.
8. A data transmission method, characterized in that: Applied to a gateway, the method comprises: Get the data packet; Send the data packet to a sending end, so that the sending end sends the data packet to a receiving end through a transmission path corresponding to a target identifier of the data packet when the data packet contains a video stream, and sends the data packet to the receiving end through a transmission path corresponding to the importance of the data packet when the data packet contains a target service stream; The target identifier is used to characterize the data type of the data contained in the video stream; and the target service stream is a service stream other than the video stream.
9. The method according to claim 8, characterized in that The step of sending the data packet to a transmitting end comprises: In the case where the data packet includes a video stream, determining the data type of the data included in the video stream according to key field information in the video stream; Determining current setting information of a target field in header information of the data packet according to a data type of the data included in the video stream; Determining a target identifier of the data packet according to the current setting information; The data packet and the target identifier of the data packet are sent to a sending end.
10. A data transmission device, characterized in that: Applied to a transmitting end, the device comprises: A data receiving module, used for receiving data packets sent by the gateway; A first sending module is used to send the data packet to a receiving end through a transmission path corresponding to a target identifier of the data packet when the data packet includes a video stream; the target identifier is used to indicate a data type of the data included in the video stream; The second sending module is used to send the data packet to the receiving end through a transmission path corresponding to the importance of the data packet when the data packet contains a target business flow; the target business flow is a business flow other than the video stream.
11. A data transmission device, characterized in that: Applied to a gateway, the device comprises: A data acquisition module, used for acquiring data packets; A data sending module is used to send the data packet to a sending end, so that when the data packet contains a video stream, the sending end sends the data packet to a receiving end through a transmission path corresponding to a target identifier of the data packet, and when the data packet contains a target business flow, the sending end sends the data packet to the receiving end through a transmission path corresponding to the importance of the data packet; wherein the target identifier is used to characterize the data type of the data contained in the video stream; and the target business flow is a business flow other than the video stream.
12. A data transmission system, characterized in that: The system comprises: a gateway, a sending end, a receiving end and a sorting end; The gateway is used to obtain a data packet and send the data packet to the sending end; The transmitting end is used to send the data packet to the receiving end through a transmission path corresponding to a target identifier of the data packet when the data packet contains a video stream; the target identifier is used to characterize the data type of the data contained in the video stream; when the data packet contains a target business flow, the data packet is sent to the receiving end through a transmission path corresponding to the importance of the data packet; the target business flow is a business flow other than the video stream.
13. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 9 are implemented.
14. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 9 are implemented.
15. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 9 are implemented.
