CN117155866A - Data transmission method and device, storage medium and program product thereof - Google Patents

Data transmission method and device, storage medium and program product thereof Download PDF

Info

Publication number
CN117155866A
CN117155866A CN202210560279.3A CN202210560279A CN117155866A CN 117155866 A CN117155866 A CN 117155866A CN 202210560279 A CN202210560279 A CN 202210560279A CN 117155866 A CN117155866 A CN 117155866A
Authority
CN
China
Prior art keywords
target
port
data
target application
data transmission
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210560279.3A
Other languages
Chinese (zh)
Inventor
王斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN202210560279.3A priority Critical patent/CN117155866A/en
Priority to PCT/CN2023/092529 priority patent/WO2023226730A1/en
Publication of CN117155866A publication Critical patent/CN117155866A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0852Delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0888Throughput
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0894Packet rate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • H04L47/125Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2441Traffic characterised by specific attributes, e.g. priority or QoS relying on flow classification, e.g. using integrated services [IntServ]

Landscapes

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

Abstract

The invention provides a data transmission method and a device, a storage medium and a program product thereof, wherein the data transmission method comprises the following steps: the method and the device for transmitting the multi-port data can acquire the target data to be transmitted by the target application, acquire the target application type corresponding to the target application, acquire the performance detection results of two or more network ports, determine the target port according to the target application type and the performance detection results, and transmit the target data by utilizing the target port, so that the embodiment of the invention can acquire the performance detection results of the network speed condition, the delay condition, the channel quality and the like of the two or more network ports, allocate the ports to the target data according to the target application type and the performance detection results, realize concurrency and load balancing of the multi-port data, improve the network throughput rate, reduce the network delay, and the data transmission of the target data from the target application does not need protocol stack support.

Description

Data transmission method and device, storage medium and program product thereof
Technical Field
Embodiments of the present invention relate to, but are not limited to, the field of communications technologies, and in particular, to a data transmission method, a device, a storage medium, and a program product thereof.
Background
With the development of processing capability and enhancement of capability of intelligent terminals, bandwidth requirements of terminal services are continuously enhanced, and reliability of service transmission is also continuously increased, so that a multi-WAN (Wide Area Network ) aggregation technology becomes an important technology for solving the bandwidth problem.
In the related art, a terminal applying the multi-WAN aggregation technology can realize the concurrency and aggregation functions of the multi-WAN data. However, support of protocols is often required to achieve load balancing for multi-WAN applications scenarios, such as multi-link data aggregation at the transport layer using the protocol MPTCP (Multipath Transmission Control Protocol ). In addition, when the terminal transmits data by using the multi-WAN aggregation technology, the application layer data is distributed to different network ports in an indiscriminate manner, and the situation can cause the problem of aggregation of logic data of different ports at the receiving end due to the data transmission difference of each link, for example, a complete file is divided into two parts and is then respectively transmitted by 2 WAN ports, wherein one WAN port has a particularly high transmission rate, and the other WAN port has a particularly slow transmission rate, so that the receiving end firstly receives the data transmitted by the WAN port with a high transmission rate, then receives the data transmitted by the WAN port with a slow transmission rate, finally, the data is aggregated to form a complete file, and thus, serious service delay can be caused.
Disclosure of Invention
The embodiment of the invention provides a data transmission method, a device, a storage medium and a program product thereof, which can allocate network resources by utilizing application types and network performances, realize concurrency and load balancing of multiport data, improve network throughput rate, reduce network delay and simultaneously do not need protocol stack support.
In a first aspect, an embodiment of the present invention provides a data transmission method, including:
acquiring target data to be transmitted by a target application; acquiring a target application category corresponding to a target application; acquiring performance detection results of two or more network ports; determining a target port according to the target application category and the performance detection result; and transmitting the target data by using the target port.
In a second aspect, an embodiment of the present invention further provides a data transmission apparatus, including: a memory, a processor and a computer program stored on the memory and executable on the processor, which processor implements the data transmission method as described above when executing the computer program.
In a third aspect, embodiments of the present invention also provide a computer-readable storage medium storing computer-executable instructions for performing the data transmission method as described above.
In a fourth aspect, embodiments of the present invention also provide a computer program product comprising a computer program or computer instructions stored in a computer readable storage medium, from which the computer program or computer instructions are read by a processor of a computer device, the processor executing the computer program or the computer instructions, causing the computer device to perform a data transmission method as described above.
The embodiment of the invention comprises the following steps: the method comprises the steps of firstly obtaining target data to be transmitted by a target application, obtaining a target application type corresponding to the target application, then obtaining performance detection results of two or more network ports, then determining the target ports according to the target application type and the performance detection results, finally utilizing the target ports to transmit the target data, namely obtaining various performance detection results such as network speed conditions, delay conditions and channel quality of the two or more network ports, distributing the target data to the ports according to the target application type and the performance detection results, and utilizing the ports to transmit the target data, thereby realizing concurrency and load balancing of the multiport data, avoiding data delay combination caused by data transmission differences of all links at a receiving end, improving network throughput rate, reducing network delay, and enabling the target data to be transmitted from the target application without protocol stack support.
Drawings
Fig. 1 is a flowchart of a data transmission method according to an embodiment of the present invention;
FIG. 2 is a flow chart of a specific method of step S140 in FIG. 1;
FIG. 3 is a flow chart of a specific method of step S210 in FIG. 2;
FIG. 4 is a flow chart of one specific method of step S150 in FIG. 1;
FIG. 5 is a flow chart of a specific method of step S230 in FIG. 2;
FIG. 6 is a flow chart of a specific method of step S510 in FIG. 5;
FIG. 7 is a flow chart of a specific method of step S120 in FIG. 1;
fig. 8 is a flowchart of a data transmission method according to another embodiment of the present invention;
fig. 9 is a schematic structural diagram of a data transmission device according to an embodiment of the present invention;
FIG. 10 is a schematic diagram of a port resource scheduling module according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of a data transmission device according to another embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
In one possible embodiment, although a logical order is depicted in the flowchart, in some cases, the steps depicted or described may be performed in a different order than in the flowchart. In the description of the specification and claims and the above figures, two or more (or more) means two or more, and greater than, less than, exceeding, etc. are understood to not include the present number, and greater than, less than, within, etc. are understood to include the present number. If any, the terms "first," "second," etc. are used for distinguishing between technical features only, and should not be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated or implicitly indicating the precedence of the technical features indicated.
The invention provides a data transmission method and a device, a storage medium and a program product thereof, which are characterized in that firstly, target data to be transmitted by a target application are acquired, a target application class corresponding to the target application is acquired, then performance detection results of two or more network ports are acquired, then the target ports are determined according to the target application class and the performance detection results, finally, the target data are transmitted by the target ports, namely, various performance detection results such as network speed conditions, delay conditions and channel quality of the two or more network ports are acquired, the target data are distributed to the ports according to the target application class and the performance detection results, and the target data are transmitted by the ports, so that concurrency and load balancing of multi-port data are realized, data delay combination caused by data transmission difference of each link at a receiving end is avoided, network throughput is improved, network delay is reduced, and the target data transmission from the target application does not need protocol stack support.
Embodiments of the present invention will be further described below with reference to the accompanying drawings.
Referring to fig. 1, fig. 1 is a flowchart of a data transmission method according to an embodiment of the present invention, which may include, but is not limited to, step S110, step S120, step S130, step S140, and step S150.
Step S110: and acquiring target data to be transmitted by the target application.
In a possible embodiment, the target data may be application layer data, which is not specifically limited herein.
Step S120: and obtaining a target application category corresponding to the target application.
In one possible embodiment, the target application class corresponding to the target application is obtained, and there are many different embodiments, for example, the target application class corresponding to the target application may be obtained by performing identification processing on an application type of the target application, or the target application class corresponding to the target application may be obtained by performing identification processing on a service type of the target application, or the target application class corresponding to the target application may be obtained by performing identification processing on other application attributes of the target application, which is not limited herein.
In one possible implementation, the target application categories may include real-time communication categories, game categories, video categories, novels categories, HTTP (Hyper TextTransfer Protocol ) service categories, file download categories, and the like, which are not listed here.
Step S130: and acquiring performance detection results of two or more network ports.
In one possible implementation, the network port may be a WAN port, and the performance detection result may include a network speed condition, a network delay condition, a channel quality, a network connection condition, and a signal strength, which are not limited herein.
Step S140: and determining the target port according to the target application category and the performance detection result.
In a possible implementation, the target port may be a port in a cellular network, a port in a WiFi (Wireless Fidelity ) network, or a port in another network, which is not limited herein.
Step S150: and transmitting the target data by using the target port.
In this embodiment, by adopting the data transmission method including the steps S110 to S150, the target data to be transmitted by the target application is first obtained, the target application class corresponding to the target application is obtained, then the performance detection results of two or more network ports are obtained, then the target port is determined according to the target application class and the performance detection results, finally the target data is transmitted by using the target port, that is, various performance detection results such as the network speed condition, the delay condition and the channel quality of the two or more network ports are obtained, the target data is allocated to the port according to the target application class and the performance detection results, and the target data is transmitted by using the port, so that concurrency and load balancing of the multi-port data can be realized, the data delay combination caused by the data transmission difference of each link at the receiving end is avoided, the network throughput rate is improved, the network delay is reduced, and the data transmission of the target data from the target application does not need protocol stack support, therefore, the embodiment of the invention can dynamically allocate network resources by using the application class and the network performance, realize concurrency and load balancing of the multi-port data, the network throughput rate is reduced, and the protocol stack support is not needed.
In an embodiment, as shown in fig. 2, in the case that the performance detection result includes the port operation state, step S140 is further described, and the step S140 may include, but is not limited to, step S210, step S220, and step S230.
Step S210: and determining the port number of the network ports for transmitting the target data according to the target application category.
In one possible implementation manner, compared with a target application of which the target application category is a novel category, an HTTP service category, a file download category or the like, the target application category is a target application of which the target data of the target application has a stronger data logic relationship and instantaneity, and the target application of which the data logic relationship is stronger or the instantaneity is stronger can use one port to transmit the target data, which is not particularly limited herein.
Step S220: and determining candidate ports with normal port operation states.
In one possible embodiment, the port operation status includes a network speed status, a network delay, a channel quality, a network connection status, and a signal strength, which are not limited herein.
Step S230: and determining the target port from the candidate ports according to the port number.
In this embodiment, by adopting the data transmission method including the steps S210 to S230, the number of ports of the network ports for transmitting the target data can be determined according to the target application type, then the candidate ports with normal port operation states are determined, and finally the target ports are determined from the candidate ports according to the number of ports, so that the target data can be transmitted by using the target ports in the subsequent steps, that is, the target data is allocated to the ports according to the target application type and the port operation states, concurrency and load balancing of the multi-port data can be achieved, network throughput rate is improved, and network delay is reduced.
In one embodiment, as shown in fig. 3, step S210 is further described, and step S210 may include, but is not limited to, step S310 and step S320.
Step S310: and determining a data transmission mode corresponding to the target data according to the target application category, wherein the data transmission mode comprises split transmission or packed transmission.
In one possible embodiment, the split transmission includes split transmission and split reception, and the packetized transmission includes packetized transmission and packetized reception, without being particularly limited herein.
In a feasible implementation manner, a preset data logic relationship can be set, the data logic relationship of the target application is judged according to the type of the target application, and when the data logic relationship of the target application is stronger than the preset data logic relationship, one port is used for transmitting target data, and the data transmission mode can be package transmission; when the data logic relationship of the target application is weaker than the preset data logic relationship, the target data is transmitted by using a plurality of ports, and the data transmission mode can be split transmission, so that the method is not particularly limited. For example, the target application class is an application such as a real-time communication class, a game class or a video class, and the data logic relationship of the target application is judged according to the target application class, and when the data logic relationship of the target application is stronger than a preset data logic relationship, the target application can use a port to transmit target data, and the data transmission mode can be package transmission; the target application class is an application such as a novel class, an HTTP service class or a file downloading class, and the data logic relationship of the target application is judged according to the target application class, and when the data logic relationship of the target application is weaker than the preset data logic relationship, the data transmission mode can be split transmission, namely the target data can be split into a plurality of data segments, and different data segments are transmitted through a plurality of target ports, so that the method is not particularly limited.
Step S320: and determining the port number of the network ports for transmitting the target data according to the data transmission mode.
It can be understood that, in the case that the number of the target applications is one, the data transmission mode is packet transmission, and the number of ports of the network ports for transmitting the target data is one; on the contrary, the data transmission mode is split transmission, and the number of ports of the network ports for transmitting the target data is plural, which is not particularly limited herein.
For example, assuming that the target application class is a game target application, if the game application is playing, and if the terminal distributes target data of the game application to multiple target ports for transmission, namely splitting transmission, the server completes the transmission of the target data after aggregating data segments of the target data of each target port to obtain the target data, and because port transmission bandwidths of different target ports in the multiple target ports are different, namely, transmission rates of data transmission links corresponding to different target ports are different, and finally, the time consumed by the target port completing the transmission is the final delay in the transmission, the receiving end may cause data delay combination due to the data transmission difference of each link. In order to avoid such a situation, the terminal may perform packet transmission on the target data of the game application, that is, transmit the target data using one target port, thereby reducing network delay and avoiding a combination of data delays caused by a delay in receiving the data, which is not particularly limited in the embodiment of the present invention.
In this embodiment, by adopting the data transmission method including the steps S310 to S320, a data transmission mode corresponding to the target data is determined according to the target application category, where the data transmission mode includes split transmission or packet transmission, and then the port number of the network ports for transmitting the target data is determined according to the data transmission mode, so that the target data is transmitted by using the target ports with the appropriate port number, thereby improving the network throughput rate and reducing the network delay.
In an embodiment, the current application scenario of the target application is a data download scenario, and the terminal has a plurality of network ports capable of receiving data, so that the data transmission mode corresponding to the target data may be split transmission or packet transmission. When the data transmission mode corresponding to the target data is split transmission, the terminal also needs to aggregate the target data received by each target port to obtain complete target data, which is not particularly limited herein.
In an embodiment, when the current application scenario of the target application is a scenario of sending data or a scenario of uploading data, and the sending end has a plurality of network ports capable of sending data, the receiving end has only one target port, that is, the receiving end has only one target IP (Internet Protocol ) address, and when the target application of the sending end sends the target data or uploads the target data through a plurality of target ports (that is, splitting transmission), the receiving end can only receive the target data through one target port and aggregate a plurality of data segments, meanwhile, in the whole data transmission process, performance detection results of two or more network ports can be obtained in real time, and when the data delay of the target ports is detected, the performance detection results are fed back to the sending end so as to adjust the target ports of the target data transmission in time.
In an embodiment, as shown in fig. 4, in the case that the number of ports is plural, and the performance detection result further includes the port transmission bandwidth, step S150 is further described, and the step S150 may include, but is not limited to, step S410, step S420, and step S430.
Step S410: and determining the data transmission capacity according to the port transmission bandwidth.
Step S420: and establishing a data transmission link corresponding to each target port according to the data transmission capacity.
Step S430: and transmitting the target data by utilizing the data transmission links corresponding to the target ports.
In this embodiment, by adopting the data transmission method including the steps S410 to S430, the data transmission capacity is first determined according to the port transmission bandwidth, then the data transmission links corresponding to each target port are established according to the data transmission capacity, and finally the target data is transmitted by using the data transmission links corresponding to each target port.
In one embodiment, when the network port is a WAN port, the port transmission bandwidth of the WAN port on the 5G cellular network is 300M, the port transmission bandwidth of the WAN port on the WiFi network is 120M, the data transmission capacity is determined according to the port transmission bandwidth, and the ratio of the data transmission capacity of the WAN port on the 5G cellular network to the data transmission capacity of the WAN port on the WiFi network is 10:4, then 1 data transmission link corresponding to the WAN port of the 5G cellular network and 1 data transmission link corresponding to the WAN port of the WiFi network can be established, and the ratio of the data transmission capacity between the data transmission link corresponding to the WAN port of the 5G cellular network and the data transmission link corresponding to the WAN port of the WiFi network is 10:4, if the target data is not associated (i.e. the target data can be split into a plurality of data segments), the target data can be processed as per 10:4, the target data of 10/14 are transmitted through the data transmission link corresponding to the WAN port of the 5G cellular network, the target data of 4/14 are transmitted through the data transmission link corresponding to the WAN port of the WiFi network, and the total transmission bandwidth is 420M. Therefore, the embodiment of the invention can dynamically detect the rates of different WAN ports, split and distribute the target data aiming at the rates of different WAN ports instead of random distribution, avoid the problem that the application layer data can be distributed to different network ports for transmission without distinction, and the receiving end has different port logic data aggregation caused by the data transmission difference of each link, and realize the concurrency and load balancing of the multi-port data.
In an embodiment, as shown in fig. 5, in a case where the number of target applications is plural, and the performance detection result further includes the port transmission bandwidth, step S230 is further described, and the step S230 may include, but is not limited to, step S510 and step S520.
Step S510: and determining the processing priority of each target application according to the target application category.
In a feasible implementation manner, the real-time performance of the target application is judged according to the target application type, the real-time performance of the target application is positively correlated with the processing priority of the target application, namely, the processing priority corresponding to the application with the strongest real-time performance of the target application is highest, and the like; or judging the bandwidth demand of the target application according to the target application category, determining the processing priority of the target application according to the bandwidth demand of the target application, wherein the bandwidth demand of the target application is positively correlated with the processing priority of the target application, namely the processing priority corresponding to the application with the largest bandwidth demand of the target application is highest, and the like, and the method is not particularly limited.
Step S520: and determining a target port with the port transmission bandwidth matched with the processing priority from the candidate ports according to the number of the ports.
In one possible implementation, the target ports with the port transmission bandwidths matched with the processing priorities are determined from the candidate ports, for example, the port transmission bandwidths are positively correlated with the processing priorities, the port transmission bandwidths and the processing priorities are all ordered in a sequence from high to low, the target ports and the target applications are matched according to the ordering of the port transmission bandwidths and the ordering of the processing priorities of the target applications, if the number of the ports of the target port corresponding to the target application with the highest processing priority is two, the first two target ports with the highest port transmission bandwidths are matched with the target application with the highest processing priority, the number of the ports of the target port corresponding to the target application with the highest processing priority is one, and if the port transmission bandwidths are ordered in a third target port and are matched with the target application with the highest processing priority, and so on, or other matching modes can be selected, and the specific limitation is not made herein.
In this embodiment, by adopting the data transmission method including the steps S510 and S520, the processing priority of each target application is first determined according to the class of the target application, and then the target port whose port transmission bandwidth matches the processing priority is determined from the candidate ports according to the number of ports.
In an embodiment, in the case that the number of the target applications is a plurality of, the target applications (such as WeChat) of which the target application class is a real-time communication class and the target applications of which the target application class is a video class transmit data simultaneously, and the bandwidth requirement of the target applications is determined according to the target application class, if the bandwidth requirement of the target applications of the video class is greater than the bandwidth requirement of the target applications of the real-time communication class, the processing priority of the target applications of the video class is greater than the processing priority of the target applications of the real-time communication class, so that the network port with the largest port transmission bandwidth is selected from the candidate ports to be preferentially matched with the target applications with the high processing priority, that is, the target applications of the video class, and then the network port with the second port transmission bandwidth order is selected from the candidate ports to be matched with the target applications of the real-time communication class.
In a possible embodiment, in the case that the number of target applications is plural, the target applications with different processing priorities may use different target ports to transmit data at the same time, for example, the real-time communication target application may use different target ports to transmit data at the same time as the file download target application, and the real-time communication target application is allocated to the target port transmission data with the highest port transmission bandwidth, and the file download target application is allocated to the target port transmission data with the next highest port transmission bandwidth, which is not limited herein.
In one embodiment, as shown in fig. 6, step S510 is further described, and step S510 may include, but is not limited to, step S610 and step S620.
Step S610: and acquiring a preset priority information list, wherein the priority information list stores the corresponding relation between the application category and the processing priority.
In a possible embodiment, the update process may be performed on a preset processing priority, for example, when the preset priority information list does not include an application category of a target application to be transmitted, the obtained target application category of the target application may be stored in the priority information list, and the processing priority may be determined by the target application and stored in a position corresponding to the application category in the priority information list, where no specific limitation is made.
In a possible embodiment, the preset priority information list may be generated by using an application class of a target application that performs data transmission before and a processing priority thereof, or may be generated by collecting application classes of all applications and sorting the processing priority of each application, which is not limited herein.
Step S620: and determining the processing priority corresponding to each target application from the priority information list according to the target application category.
In this embodiment, by adopting the data transmission method including steps S610 to S620, a preset priority information list is first obtained, and then the processing priority corresponding to each target application is determined from the priority information list according to the target application category, so as to be beneficial to meeting the service class requirements of different target applications.
In an embodiment, under the condition that the preset priority information list does not include the target application, acquiring target data to be transmitted of the target application, acquiring a target application class corresponding to the target application, determining a processing priority corresponding to the target application according to the target application class, acquiring target data to be transmitted of the target application, acquiring performance detection results of two or more network ports, determining the number of ports of the network ports for transmitting the target data according to the target application class, determining candidate ports with normal port running states according to the performance detection results, determining target ports with port transmission bandwidths matched with the processing priorities from the candidate ports according to the number of ports, and finally transmitting the target data by using the target ports.
In one embodiment, as shown in fig. 7, step S120 is further described, and step S120 may include, but is not limited to, step S710 and step S720.
Step S710: and acquiring a preset application information list, wherein the application information list stores the corresponding relation between the application identifier and the target application category.
In a possible implementation, the application identifier may be an application package name, a protocol, or a port number, which is not specifically limited herein.
In a possible implementation manner, the preset application information list may be updated, for example, when the preset application information list does not include a target application to be subjected to data transmission, the obtained target application class of the target application may be stored in the application information list, and a unique application identifier may be configured for the target application, and the application identifier may be stored in a position corresponding to the target application class in the application information list, where no specific limitation is made.
In a possible implementation manner, the preset application information list may be generated by an application identifier of a target application that performs data transmission before and a target application class thereof; or may be generated by collecting application categories of all applications and configuring a unique application identifier for each application category, without specific limitation.
Step S720: and acquiring a target application identifier of the target application, and determining a target application category corresponding to the target application from the application information list according to the target application identifier.
In this embodiment, by adopting the data transmission method including steps S710 to S720, a preset application information list is first obtained, where the application information list stores a correspondence between application identifiers and target application categories, then a target application identifier of a target application is obtained, and a target application category corresponding to the target application is determined from the application information list according to the target application identifier, so as to avoid repeated acquisition of the obtained target application, and improve data transmission efficiency.
In an embodiment, under the condition that a preset application information list does not include a target application, acquiring target data to be transmitted of the target application, acquiring a target application class corresponding to the target application, acquiring performance detection results of two or more network ports, determining a target port according to the target application class and the performance detection results, and finally transmitting the target data by using the target port. In addition, a unique application identifier can be configured for the target application, and the target application identifier corresponding to the target application category is stored in a preset application information list, which is not particularly limited in the embodiment of the invention.
In another embodiment, in the case that the preset application information list includes a target application, a target application identifier of the target application is obtained, a target application type corresponding to the target application is determined from the application information list according to the target application identifier, target data to be transmitted of the target application is obtained, then performance detection results of two or more network ports are obtained, then the target port is determined according to the target application type and the performance detection results, and finally the target data is transmitted by using the target port.
In another embodiment, under the condition that the preset application information list and the preset priority information list both include target applications, obtaining a target application identifier of the target applications, determining a target application class corresponding to the target applications from the application information list according to the target application identifier, determining a processing priority corresponding to the target applications from the priority information list according to the target application class, obtaining target data to be transmitted of the target applications, obtaining performance detection results of two or more network ports, determining the number of ports of the network ports for transmitting the target data according to the target application class, determining candidate ports with normal port operation states according to the performance detection results, finally determining target ports with port transmission bandwidths matched with the processing priorities from the candidate ports according to the number of ports, and finally transmitting the target data by using the target ports.
In an embodiment, as shown in fig. 8, the data processing method may further include, but is not limited to, step S810 and step S820.
Step S810: and in the process of transmitting the target data, acquiring the performance detection result of each network port again.
Step S820: and re-determining the target port according to the re-acquired performance detection result.
In this embodiment, by adopting the data transmission method including steps S810 to S820 described above, in the process of transmitting the target data, the performance detection result of each network port is obtained again, and then the target port is determined again according to the obtained performance detection result again.
In an embodiment, when it is determined that the target port for transmitting the target data is in a fault state according to the performance detection result obtained again, the target port is redetermined from the remaining ports according to the performance detection result obtained again, where the remaining ports are other network ports except the target port for transmitting the target data in two or more network ports.
In an embodiment, if the target application class is a real-time communication target application, one target port may be selected to transmit target data in a data transmission mode of packet transmission, and the other candidate ports are used as alternatives, and when detecting that the network performance of the target port currently transmitting the target data is reduced (such as reduced channel quality or delayed network, etc.), the target port may be automatically switched to the other candidate ports, so as to dynamically adjust the target port, ensure normal transmission of the target data, and improve the reliability of network transmission.
Further, referring to fig. 9, an embodiment of the present invention also provides a data transmission apparatus including:
an application category obtaining module 110, configured to obtain target data to be transmitted by a target application, and obtain a target application category corresponding to the target application;
the port resource scheduling module 120 is configured to obtain performance detection results of two or more network ports, determine a target port according to the target application class and the performance detection results, and transmit target data using the target port.
In one embodiment, referring to fig. 10, the port resource scheduling module 120 includes:
a network performance acquisition module 121, configured to acquire performance detection results of two or more network ports;
The load balancing and distributing scheduling module 122 is configured to determine a target port according to the target application class and the performance detection result, and transmit target data using the target port.
In a possible embodiment, the data transmission device may be a terminal, such as a mobile terminal of a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (Personal Digital Assistant ), a PAD (tablet computer), a PMP (Portable Media Player, portable multimedia player), a navigation device, etc., and a fixed terminal such as a digital television, a desktop computer, etc.
In a possible embodiment, the data transmission device may be a device with an operating system, where the operating system may be an Android operating system, an IOS (Input Output System ) operating system, or other possible operating systems, and embodiments of the present invention are not limited specifically.
In a possible implementation manner, since the data transmission device of this embodiment can implement the data transmission method of any of the foregoing embodiments, the data transmission device of this embodiment and the data transmission method of any of the foregoing embodiments have the same technical principles and the same technical effects, and in order to avoid redundancy of content repetition, no redundant description is provided herein.
In addition, referring to fig. 11, an embodiment of the present invention also provides a data transmission apparatus 200 including a memory 202, a processor 201, and a computer program stored on the memory 202 and executable on the processor 201.
The processor 201 and the memory 202 may be connected by a bus or other means.
Memory 202 acts as a non-transitory computer readable storage medium that can be used to store non-transitory software programs as well as non-transitory computer executable programs. In addition, memory 202 may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, memory 202 may optionally include memory located remotely from processor 201, which may be connected to processor 201 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
In a possible implementation manner, the data transmission device 200 in this embodiment may be, for example, a data transmission device in an embodiment shown in fig. 9, and these embodiments all belong to the same inventive concept, so these embodiments have the same implementation principles and technical effects, which are not described in detail herein.
The non-transitory software programs and instructions required to implement the data transmission apparatus of the above embodiments are stored in the memory 202, and when executed by the processor 201, the data transmission method of the above embodiments is performed, for example, the method steps S110 to S150 in fig. 1, the method steps S210 to S230 in fig. 2, the method steps S310 to S320 in fig. 3, the method steps S410 to S430 in fig. 4, the method steps S510 to S520 in fig. 5, the method steps S610 to S620 in fig. 6, the method steps S710 to S720 in fig. 7, and the method steps S810 to S820 in fig. 8 described above are performed.
The above described embodiments of the apparatus are only illustrative, wherein the units described as separate components may or may not be physically separate, i.e. may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
Furthermore, an embodiment of the present invention provides a computer-readable storage medium storing computer-executable instructions that are executed by a processor or controller, for example, by one of the processors in the above-described device embodiments, which may cause the processor to perform the data transmission method in the above-described embodiment, performing the method steps S110 to S150 in fig. 1, the method steps S210 to S230 in fig. 2, the method steps S310 to S320 in fig. 3, the method steps S410 to S430 in fig. 4, the method steps S510 to S520 in fig. 5, the method steps S610 to S620 in fig. 6, the method steps S710 to S720 in fig. 7, and the method steps S810 to S820 in fig. 8 described above.
Furthermore, an embodiment of the present invention provides a computer program product including a computer program or computer instructions stored in a computer-readable storage medium, the computer program or computer instructions being read from the computer-readable storage medium by a processor of a computer device, the processor executing the computer program or computer instructions, causing the computer device to perform the data transmission method in the above embodiment, for example, performing the method steps S110 to S150 in fig. 1, the method steps S210 to S230 in fig. 2, the method steps S310 to S320 in fig. 3, the method steps S410 to S430 in fig. 4, the method steps S510 to S520 in fig. 5, the method steps S610 to S620 in fig. 6, the method steps S710 to S720 in fig. 7, and the method steps S810 to S820 in fig. 8 described above.
Those of ordinary skill in the art will appreciate that all or some of the steps, systems, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes both volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as known to those skilled in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer. Furthermore, as is well known to those of ordinary skill in the art, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media.

Claims (12)

1. A data transmission method, comprising:
acquiring target data to be transmitted by a target application;
acquiring a target application category corresponding to a target application;
acquiring performance detection results of two or more network ports;
determining a target port according to the target application category and the performance detection result;
and transmitting the target data by using the target port.
2. The data transmission method according to claim 1, wherein the performance detection result includes a port operation state, and the determining the target port according to the target application class and the performance detection result includes:
determining the port number of the network ports for transmitting the target data according to the target application class;
determining candidate ports with the port running states being normal states;
and determining a target port from the candidate ports according to the port number.
3. The data transmission method according to claim 2, wherein the determining the number of ports of the network port transmitting the target data according to the target application class includes:
determining a data transmission mode corresponding to the target data according to the target application category, wherein the data transmission mode comprises split transmission or packed transmission;
And determining the port number of the network ports for transmitting the target data according to the data transmission mode.
4. The data transmission method according to claim 2, wherein the number of ports is plural, the performance detection result further includes a port transmission bandwidth, and the transmitting the target data using the target port includes:
determining data transmission capacity according to the port transmission bandwidth;
establishing a data transmission link corresponding to each target port according to the data transmission capacity;
and transmitting the target data by utilizing the data transmission links corresponding to the target ports.
5. The method according to claim 2, wherein the number of the target applications is plural, the performance detection result further includes a port transmission bandwidth, and the determining the target port from the candidate ports according to the number of the ports includes:
determining the processing priority of each target application according to the target application category;
and determining the target port with the port transmission bandwidth matched with the processing priority from the candidate ports according to the port number.
6. The data transmission method according to claim 5, wherein said determining the processing priority of each of the target applications according to the target application class comprises:
Acquiring a preset priority information list, wherein the priority information list stores a corresponding relation between an application category and a processing priority;
and determining the processing priority corresponding to each target application from the priority information list according to the target application category.
7. The method for data transmission according to claim 1, wherein the obtaining the target application class corresponding to the target application includes:
acquiring a preset application information list, wherein the application information list stores a corresponding relation between an application identifier and a target application category;
and acquiring a target application identifier of the target application, and determining a target application category corresponding to the target application from the application information list according to the target application identifier.
8. The data transmission method according to any one of claims 1 to 7, characterized in that the data transmission method further comprises:
during the process of transmitting the target data, acquiring the performance detection results of each network port again;
and re-determining the target port according to the re-acquired performance detection result.
9. The data transmission method according to claim 8, wherein the re-determining the target port according to the re-acquired performance detection result includes:
When the target port which transmits the target data currently is determined to be in a fault state according to the performance detection result obtained again, the target port is re-determined from the remaining ports according to the performance detection result obtained again;
the remaining ports are other network ports except for the target port which is used for currently transmitting the target data in the two or more network ports.
10. A data transmission apparatus comprising: memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the data transmission method according to any one of claims 1 to 9 when executing the computer program.
11. A computer-readable storage medium storing computer-executable instructions for performing the data transmission method of any one of claims 1 to 9.
12. A computer program product comprising a computer program or computer instructions, characterized in that the computer program or the computer instructions are stored in a computer-readable storage medium, from which the computer program or the computer instructions are read by a processor of a computer device, which processor executes the computer program or the computer instructions, so that the computer device performs the data transmission method according to any one of claims 1 to 9.
CN202210560279.3A 2022-05-23 2022-05-23 Data transmission method and device, storage medium and program product thereof Pending CN117155866A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210560279.3A CN117155866A (en) 2022-05-23 2022-05-23 Data transmission method and device, storage medium and program product thereof
PCT/CN2023/092529 WO2023226730A1 (en) 2022-05-23 2023-05-06 Data transmission method and apparatus, and storage medium and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210560279.3A CN117155866A (en) 2022-05-23 2022-05-23 Data transmission method and device, storage medium and program product thereof

Publications (1)

Publication Number Publication Date
CN117155866A true CN117155866A (en) 2023-12-01

Family

ID=88885375

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210560279.3A Pending CN117155866A (en) 2022-05-23 2022-05-23 Data transmission method and device, storage medium and program product thereof

Country Status (2)

Country Link
CN (1) CN117155866A (en)
WO (1) WO2023226730A1 (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8885504B2 (en) * 2011-05-31 2014-11-11 Ntt Docomo, Inc. Method, apparatus and system for bandwidth aggregation of mobile internet access node
US10986029B2 (en) * 2014-09-08 2021-04-20 Liveu Ltd. Device, system, and method of data transport with selective utilization of a single link or multiple links
US9918252B2 (en) * 2015-05-15 2018-03-13 Mediatek Inc. Rate adaptation for LTE-WLAN aggregation
US10070461B2 (en) * 2015-05-15 2018-09-04 Mediatek Inc. QoS provisioning for LTE-WLAN aggregation
US10123371B2 (en) * 2015-10-02 2018-11-06 Avago Technologies General Ip (Singapore) Pte. Ltd. Systems and methods for LTE-WAN aggregation
CN112243253B (en) * 2019-10-24 2022-07-08 北京大学 Communication equipment

Also Published As

Publication number Publication date
WO2023226730A1 (en) 2023-11-30

Similar Documents

Publication Publication Date Title
US10693932B2 (en) Distributing communication of a data stream among multiple devices
US9300733B2 (en) System and/or method for client-driven server load distribution
US9100904B2 (en) Data stream division to increase data transmission rates
US20170013035A1 (en) Distributing communication of a data stream among multiple devices
US20210203434A1 (en) Data transmitting method, data receiving method, and device
CN110855792B (en) Message pushing method, device, equipment and medium
US9781595B2 (en) Wireless communication device
EP3420731B1 (en) Multi-point content transmission method and apparatus
US20220264675A1 (en) System and method for processing data
CN109348243B (en) Subscription processing method and device, live broadcast system, storage medium and computer equipment
US20170279738A1 (en) Method, apparatus, and system for transmitting data
US20230262810A1 (en) Data processing method and terminal
CN111371488B (en) Content data transmission method and device and electronic equipment
US10231227B2 (en) Multi-point content transmission method and apparatus
US8761017B2 (en) Transport cost optimization for enterprise service
CN109525869B (en) Stream pulling method and device and live broadcast system
CN112838983B (en) Data transmission method, system, device, proxy server and storage medium
CN117082054A (en) Data transmission method, device, system and medium
CN117155866A (en) Data transmission method and device, storage medium and program product thereof
CN113170352B (en) Multi-band communication in wireless mesh networks
Jahed et al. Practical device-centric WiFi/cellular link aggregation mechanism for mobile devices
US10728911B2 (en) Wireless communication device
CN117938550B (en) Path verification method and device in content distribution network
CN111345111A (en) Method and device proxy for handling radio communication of data to wireless devices
CN115514760A (en) Message routing method, device and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication