CN111356155B - A data scheduling method, terminal and storage medium - Google Patents

A data scheduling method, terminal and storage medium Download PDF

Info

Publication number
CN111356155B
CN111356155B CN202010171651.2A CN202010171651A CN111356155B CN 111356155 B CN111356155 B CN 111356155B CN 202010171651 A CN202010171651 A CN 202010171651A CN 111356155 B CN111356155 B CN 111356155B
Authority
CN
China
Prior art keywords
transmission
substream
network standard
network
cell
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010171651.2A
Other languages
Chinese (zh)
Other versions
CN111356155A (en
Inventor
张峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202010171651.2A priority Critical patent/CN111356155B/en
Publication of CN111356155A publication Critical patent/CN111356155A/en
Application granted granted Critical
Publication of CN111356155B publication Critical patent/CN111356155B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0231Traffic management, e.g. flow control or congestion control based on communication conditions
    • H04W28/0236Traffic management, e.g. flow control or congestion control based on communication conditions radio quality, e.g. interference, losses or delay
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/15Setup of multiple wireless link connections
    • H04W76/16Involving different core network technologies, e.g. a packet-switched [PS] bearer in combination with a circuit-switched [CS] bearer

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the application provides a data scheduling method, a terminal and a storage medium, comprising the following steps: acquiring a current network system corresponding to a current registered mobile network; and determining a target transmission sub-stream from at least two transmission sub-streams based on the current network system, and scheduling data to be transmitted by the target transmission sub-stream preferentially.

Description

一种数据调度方法、终端及存储介质A data scheduling method, terminal and storage medium

技术领域Technical field

本申请涉及通信领域,尤其涉及一种数据调度方法、终端及存储介质。The present application relates to the field of communications, and in particular, to a data scheduling method, terminal and storage medium.

背景技术Background technique

许多主机现今是多归宿的(multi-homed)。因此,它们具有经由一种或多种接入技术的用于连接的多个路径、普通的传输控制协议(Transmission Control Protocol,TCP)/互联网协议(Internet Protocol,IP)通信限制这些多归宿的主机每会话仅使用可用的接口/路径之一,其中路径被定义为(源、目的地)IP地址对。国际互联网工程任务组(TheInternet Engineering Task Force,IETF)当前正在研究如下的机制,该机制在通信会话期间同时使用通信对等端之间的多个路径。IETF请求注解请求评论(Request ForComments,RFC)编号6843提出了在多个地址可用时对用于多路径操作的传统TCP的一组扩展。这被称为多路径传输控制协议(Multi Path Transmission Control Protocol,MPTCP)。Many hosts today are multi-homed. Therefore, they have multiple paths for connectivity via one or more access technologies, and common Transmission Control Protocol (TCP)/Internet Protocol (IP) communication limits these multi-homed hosts. Each session uses only one of the available interfaces/paths, where a path is defined as a (source, destination) IP address pair. The Internet Engineering Task Force (IETF) is currently working on a mechanism to simultaneously use multiple paths between communication peers during a communication session. IETF Request For Comments (RFC) number 6843 proposes a set of extensions to traditional TCP for multipath operation when multiple addresses are available. This is called Multi Path Transmission Control Protocol (MPTCP).

现有的MPTCP调度机制以每条子流的往返时间(Round-Trip Time,RTT)为标准,来判断每条子流的质量,会导致选路的准确性低,进而影响数据调度的速率。The existing MPTCP scheduling mechanism uses the Round-Trip Time (RTT) of each sub-flow as the standard to judge the quality of each sub-flow, which will lead to low accuracy of route selection, thereby affecting the rate of data scheduling.

发明内容Contents of the invention

本申请实施例提供一种数据调度方法、终端及存储介质,能够提高选录的准确性和数据调度的速率Embodiments of the present application provide a data scheduling method, terminal and storage medium, which can improve the accuracy of selection and the speed of data scheduling.

本申请的技术方案是这样实现的:The technical solution of this application is implemented as follows:

本申请实施例提供一种数据调度方法,所述方法包括:An embodiment of the present application provides a data scheduling method, which includes:

获取当前注册的移动网络对应的当前网络制式;Get the current network standard corresponding to the currently registered mobile network;

基于所述当前网络制式,从至少两个传输子流中确定出目标传输子流,并优先经由所述目标传输子流调度待传输数据。Based on the current network standard, a target transmission substream is determined from at least two transmission substreams, and data to be transmitted is scheduled via the target transmission substream with priority.

在上述方法中,所述至少两个传输子流包括Wi-Fi传输子流和cell传输子流,所述基于所述当前网络制式,从至少两个传输子流中确定出目标传输子流,包括:In the above method, the at least two transmission substreams include a Wi-Fi transmission substream and a cell transmission substream, and the target transmission substream is determined from the at least two transmission substreams based on the current network standard, include:

当所述当前网络制式处于第一网络制式集合时,将所述cell传输子流确定为所述目标传输子流;When the current network standard is in the first network standard set, determine the cell transmission substream as the target transmission substream;

当所述当前网络制式处于第二网络制式集合时,分别获取所述cell传输子流的传输参数和所述Wi-Fi传输子流的传输参数,并根据所述cell传输子流的传输参数和所述Wi-Fi传输子流的传输参数,从所述至少两个传输子流中确定出所述目标传输子流;When the current network standard is in the second network standard set, the transmission parameters of the cell transmission substream and the transmission parameters of the Wi-Fi transmission substream are obtained respectively, and the transmission parameters of the cell transmission substream and The transmission parameters of the Wi-Fi transmission substream determine the target transmission substream from the at least two transmission substreams;

当所述当前网络制式处于第三网络制式集合时,将所述Wi-Fi传输子流确定为所述目标传输子流。When the current network standard is in the third network standard set, the Wi-Fi transmission substream is determined as the target transmission substream.

在上述方法中,所述根据所述多个传输子流的多个传输参数,从所述多个传输子流中确定出所述目标传输子流,包括:In the above method, determining the target transmission substream from the multiple transmission substreams based on multiple transmission parameters of the multiple transmission substreams includes:

将所述cell传输子流的传输参数和所述Wi-Fi传输子流的传输参数进行比较,得到比较结果;Compare the transmission parameters of the cell transmission substream with the transmission parameters of the Wi-Fi transmission substream to obtain a comparison result;

计算所述cell传输子流的传输参数和所述Wi-Fi传输子流的传输参数之间的参数差值;Calculate the parameter difference between the transmission parameters of the cell transmission substream and the transmission parameters of the Wi-Fi transmission substream;

根据所述比较结果和所述参数差值,从所述至少两个传输子流中确定出所述目标传输子流。The target transmission substream is determined from the at least two transmission substreams according to the comparison result and the parameter difference.

在上述方法中,所述第一网络制式集合中网络制式的网络质量高于所述第二网络制式集合中网络制式的网络质量;所述第二网络制式集合中网络制式的网络质量高于所述第三网络制式集合中网络制式的网络质量。In the above method, the network quality of the network standards in the first network standard set is higher than the network quality of the network standards in the second network standard set; the network quality of the network standards in the second network standard set is higher than the network quality of the network standards in the second network standard set. Describe the network quality of the network standards in the third network standard set.

在上述方法中,所述方法还包括:In the above method, the method further includes:

当所述当前网络制式处于所述第三网络制式集合时,禁止经由所述cell传输子流调度所述待传输数据。When the current network standard is in the third network standard set, scheduling of the data to be transmitted via the cell transmission substream is prohibited.

本申请实施例提供一种终端,所述终端包括:An embodiment of the present application provides a terminal, which includes:

确定单元,用于基于所述当前网络制式,从至少两个传输子流中确定出目标传输子流;A determining unit configured to determine a target transmission substream from at least two transmission substreams based on the current network standard;

数据调度单元,用于优先经由所述目标传输子流调度待传输数据。A data scheduling unit configured to prioritize data to be transmitted via the target transmission substream.

在上述终端中,所述至少两个传输子流包括Wi-Fi传输子流和cell传输子流,In the above terminal, the at least two transmission substreams include Wi-Fi transmission substream and cell transmission substream,

所述确定单元,还用于当所述当前网络制式处于第一网络制式集合时,将所述cell传输子流确定为所述目标传输子流;当所述当前网络制式处于第二网络制式集合时,分别获取所述cell传输子流的传输参数和所述Wi-Fi传输子流的传输参数,并根据所述cell传输子流的传输参数和所述Wi-Fi传输子流的传输参数,从所述至少两个传输子流中确定出所述目标传输子流;当所述当前网络制式处于第三网络制式集合时,将所述Wi-Fi传输子流确定为所述目标传输子流。The determining unit is also configured to determine the cell transmission substream as the target transmission substream when the current network standard is in the first network standard set; when the current network standard is in the second network standard set When , obtain the transmission parameters of the cell transmission substream and the Wi-Fi transmission substream respectively, and based on the transmission parameters of the cell transmission substream and the transmission parameters of the Wi-Fi transmission substream, Determine the target transmission substream from the at least two transmission substreams; when the current network standard is in a third network standard set, determine the Wi-Fi transmission substream as the target transmission substream .

在上述终端中,所述终端还包括:比较单元和差值计算单元;In the above terminal, the terminal further includes: a comparison unit and a difference calculation unit;

所述比较单元,用于将所述cell传输子流的传输参数和所述Wi-Fi传输子流的传输参数进行比较,得到比较结果;The comparison unit is used to compare the transmission parameters of the cell transmission substream with the transmission parameters of the Wi-Fi transmission substream to obtain a comparison result;

所述差值计算单元,用于计算所述cell传输子流的传输参数和所述Wi-Fi传输子流的传输参数之间的参数差值;The difference calculation unit is used to calculate the parameter difference between the transmission parameters of the cell transmission substream and the transmission parameters of the Wi-Fi transmission substream;

所述确定单元,还用于根据所述比较结果和所述参数差值,从所述至少两个传输子流中确定出所述目标传输子流。The determining unit is further configured to determine the target transmission substream from the at least two transmission substreams based on the comparison result and the parameter difference.

在上述终端中,所述第一网络制式集合中网络制式的网络质量高于所述第二网络制式集合中网络制式的网络质量;所述第二网络制式集合中网络制式的网络质量高于所述第三网络制式集合中网络制式的网络质量。In the above terminal, the network quality of the network standards in the first network standard set is higher than the network quality of the network standards in the second network standard set; the network quality of the network standards in the second network standard set is higher than the network quality of the network standards in the second network standard set. Describe the network quality of the network standards in the third network standard set.

在上述终端中,所述终端还包括:禁止单元;In the above terminal, the terminal further includes: a prohibition unit;

所述禁止单元,用于当所述当前网络制式处于所述第三网络制式集合时,禁止经由所述cell传输子流调度所述待传输数据。The prohibiting unit is configured to prohibit scheduling the data to be transmitted via the cell transmission substream when the current network standard is in the third network standard set.

本申请实施例提供一种终端,所述终端包括:处理器、存储器及通信总线;所述处理器执行存储器存储的运行程序时实现如上述任一项所述的方法。An embodiment of the present application provides a terminal, which includes: a processor, a memory, and a communication bus; when the processor executes a running program stored in the memory, the method described in any one of the above is implemented.

本申请实施例提供一种存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如上述任一项所述的方法。Embodiments of the present application provide a storage medium on which a computer program is stored. When the computer program is executed by a processor, the method described in any one of the above is implemented.

本申请实施例提供了一种数据调度方法、终端及存储介质,该方法包括:获取当前注册的移动网络对应的当前网络制式;基于当前网络制式,从至少两个传输子流中确定出目标传输子流,并优先经由目标传输子流调度待传输数据。采用上述实现方案,不同网络制式对应的数据传输量和数据传输性能不同,终端根据不同当前网络制式对应的数据调度策略,从至少两个传输子流中确定出数据传输性能最高的目标传输子流,能够提高选路的准确性;此时,经由目标传输子流调度数据时,较高的数据传输性能可以提高数据调度的速率。Embodiments of the present application provide a data scheduling method, terminal and storage medium. The method includes: obtaining the current network standard corresponding to the currently registered mobile network; based on the current network standard, determining the target transmission from at least two transmission sub-streams sub-stream, and schedules the data to be transmitted via the target transmission sub-stream with priority. Using the above implementation scheme, different network standards correspond to different data transmission volumes and data transmission performances. The terminal determines the target transmission substream with the highest data transmission performance from at least two transmission substreams based on the data scheduling strategies corresponding to different current network standards. , can improve the accuracy of routing; at this time, when scheduling data via the target transmission sub-flow, higher data transmission performance can increase the rate of data scheduling.

附图说明Description of the drawings

图1为本申请实施例提供的一种数据调度方法的流程图;Figure 1 is a flow chart of a data scheduling method provided by an embodiment of the present application;

图2为本申请实施例提供的一种示例性的基于蜂窝网络制式的MPTCP数据调度策略流程图;Figure 2 is a flow chart of an exemplary MPTCP data scheduling strategy based on the cellular network standard provided by the embodiment of the present application;

图3为本申请实施例提供的一种终端的结构示意图一;Figure 3 is a schematic structural diagram of a terminal provided by an embodiment of the present application;

图4为本申请实施例提供的一种终端的结构示意图二。Figure 4 is a schematic structural diagram 2 of a terminal provided by an embodiment of the present application.

具体实施方式Detailed ways

应当理解,此处描述的具体实施例仅仅用以解释本申请。并不用于限定本申请。It should be understood that the specific embodiments described herein are merely illustrative of the present application. It is not intended to limit this application.

端对端设备通过MPTCP将数据放置在多条子流上并行传输,借助对多个接口的联合利用,可以提高数据传输的吞吐量和鲁棒性。在进行多条子流之间的数据分配时,MPTCP需要在多个可用的子流中预先进行子流选择,需要弃用质量较差的子流,而选取质量较优的子流,降低路径间的传输质量的差异性。一方面,若在多径传输过程中发送端未弃用较差的子流,在该子流上的数据传输易引起数据包的超时、错误、丢包、重传等问题,接收端将各子流上接收到的数据包进行排序和组合,即便其他子流上的数据传输正常,也将因为该子流上数据包的延迟到达导致数据的不完整,造成向上层应用的推迟交付,进而影响MPTCP在发送端和接收端之间的整体传输性能。另一方面,若各子流间传输质量差异过大,由于较差子流所承载的数据包缺失,较优子流上接收的数据包会快速充满接收端的数据缓冲区,从而导致较优子流上数据暂停及大量数据超时重传的问题,因此,在MPTCP数据传输过程中,将数据调度到合理的子路上是非常重要的。End-to-end devices place data on multiple sub-streams for parallel transmission through MPTCP. With the joint utilization of multiple interfaces, the throughput and robustness of data transmission can be improved. When allocating data between multiple sub-flows, MPTCP needs to pre-select sub-flows among multiple available sub-flows. It needs to discard sub-flows with poor quality and select sub-flows with better quality to reduce the path distance. differences in transmission quality. On the one hand, if the sending end does not discard poor sub-streams during multi-path transmission, data transmission on this sub-stream will easily cause problems such as data packet timeout, errors, packet loss, and retransmission, and the receiving end will The data packets received on the sub-flow are sorted and combined. Even if the data transmission on other sub-flows is normal, the delayed arrival of the data packets on the sub-flow will lead to incomplete data, resulting in delayed delivery to the upper application, and then Affects the overall transmission performance of MPTCP between the sender and receiver. On the other hand, if the transmission quality difference between sub-streams is too large, due to the lack of data packets carried by the poor sub-stream, the data packets received on the better sub-stream will quickly fill the data buffer of the receiving end, resulting in the loss of the data packets carried by the better sub-stream. There are problems with data suspension on the stream and timeout retransmission of a large amount of data. Therefore, during the MPTCP data transmission process, it is very important to schedule the data to a reasonable sub-path.

现有的以子流的RTT为依据衡量子流的状态和质量的方案,并未充分考虑在当前网络环境下的数据传输性能和能够承载的数据传输量,因此,为了保障MPTCP的整体传输能力,在设定业务调度策略时,需充分考虑当前网络环境下的数据传输性能和能够承载的数据传输量,进而根据差异化的网络环境能够设定MPTCP的数据传输调度策略。本申请通过以下实施例进行具体的说明。The existing solution to measure the status and quality of subflows based on the RTT of the subflow does not fully consider the data transmission performance and the amount of data transmission that can be carried in the current network environment. Therefore, in order to ensure the overall transmission capability of MPTCP , when setting the business scheduling strategy, it is necessary to fully consider the data transmission performance and the amount of data transmission that can be carried in the current network environment, and then set the MPTCP data transmission scheduling strategy according to the differentiated network environment. This application is specifically described through the following examples.

实施例一Embodiment 1

本申请实施例提供一种数据调度方法,如图1所示,该方法可以包括:This embodiment of the present application provides a data scheduling method, as shown in Figure 1. The method may include:

S101、获取当前注册的移动网络对应的当前网络制式。S101. Obtain the current network standard corresponding to the currently registered mobile network.

本申请实施例提供的一种数据调度方法适用于两个具备MPTCP能力的终端之间调度TCP流的场景下。The data scheduling method provided by the embodiment of the present application is suitable for the scenario of scheduling TCP flows between two terminals with MPTCP capabilities.

本申请实施例中,终端可以为任何具备通信和存储功能的设备,例如:平板电脑、手机、个人计算机(Personal Computer,PC)、笔记本电脑、可穿戴设备等设备。In this embodiment of the present application, the terminal can be any device with communication and storage functions, such as a tablet computer, a mobile phone, a personal computer (Personal Computer, PC), a notebook computer, a wearable device, and other devices.

本申请实施例中的终端具备MPTCP能力,终端与对端建立MPTCP连接,此时,终端与对端之间建立了多条传输子流,同时,终端将从应用接收的字节流分解为TCP片段,终端根据当前注册的移动网络对应的当前网络制式从多条传输子流中确定出目标传输子流,以利用目标传输子流调度TCP片段。The terminal in the embodiment of this application has MPTCP capabilities, and the terminal establishes an MPTCP connection with the opposite end. At this time, multiple transmission substreams are established between the terminal and the opposite end. At the same time, the terminal decomposes the byte stream received from the application into TCP segment, the terminal determines the target transmission substream from multiple transmission substreams according to the current network standard corresponding to the currently registered mobile network, so as to schedule the TCP segment using the target transmission substream.

本申请实施例中,终端实时获取终端当前注册的移动网络对应的当前网络制式。其中,当前网络制式可以包括:独立组网(Stand Alone,SA)/非独立组网(Non-StandAlone,NSA)、长期演进(Long Term Evolution,LTE)、第三代移动通信技术(3rd-Generation,3G)、时分同步码分多址(Time Division-Synchronous Code DivisionMultiple Access,TD-SCDMA)等,具体的根据实际情况进行选择,本申请实施例不做具体的限定。In this embodiment of the present application, the terminal obtains the current network standard corresponding to the mobile network currently registered by the terminal in real time. Among them, the current network standards may include: Stand Alone (SA)/Non-Stand Alone (NSA), Long Term Evolution (LTE), and third-generation mobile communication technology (3rd-Generation). , 3G), Time Division-Synchronous Code Division Multiple Access (TD-SCDMA), etc. The specific selection is based on the actual situation and is not specifically limited in the embodiments of this application.

本申请实施例中,不同的网络制式的数据传输性能不同,终端根据网络制式对应的数据传输性能,为不同的网络制式设置不同的数据调度策略,当终端获取到当前注册的移动网络对应的当前网络制式之后,终端确定当前网络制式对应的数据调度策略。In the embodiment of this application, different network standards have different data transmission performances. The terminal sets different data scheduling policies for different network standards according to the data transmission performance corresponding to the network standard. When the terminal obtains the current data corresponding to the currently registered mobile network, After determining the network standard, the terminal determines the data scheduling policy corresponding to the current network standard.

S102、基于当前网络制式,从至少两个传输子流中确定出目标传输子流,并优先经由目标传输子流调度待传输数据。S102. Based on the current network standard, determine the target transmission substream from at least two transmission substreams, and prioritize data to be transmitted via the target transmission substream.

当终端获取到当前网络制式之后,终端基于当前网络制式对应的数据调度策略,从至少两个传输子流中确定出目标传输子流,并优先经由目标传输子流调度待传输数据。After the terminal obtains the current network standard, the terminal determines the target transmission substream from at least two transmission substreams based on the data scheduling policy corresponding to the current network standard, and prioritizes scheduling of data to be transmitted via the target transmission substream.

本申请实施例中,终端按照网络质量将网络制式划分为三个部分,这三个部分包括:第一网络制式集合、第二网络制式集合和第三网络制式集合,其中,第一网络制式集合中网络制式的网络质量高于第二网络制式集合中网络制式的网络质量,第二网络制式集合中网络制式的网络质量高于第三网络制式集合中网络制式的网络质量。In the embodiment of this application, the terminal divides the network standard into three parts according to the network quality. These three parts include: a first network standard set, a second network standard set and a third network standard set, where the first network standard set The network quality of the medium network standard is higher than the network quality of the network standards in the second network standard set, and the network quality of the network standards in the second network standard set is higher than the network quality of the network standards in the third network standard set.

本申请实施例中,网络制式的网络质量包括:传输速率、时延、容量、连接量等参数,具体的可以根据实际情况进行选择和增加,本申请实施例不做具体的限定。In the embodiment of this application, the network quality of the network standard includes: transmission rate, delay, capacity, connection volume and other parameters. The specific parameters can be selected and increased according to the actual situation. The embodiment of this application does not make specific limitations.

本申请实施例中,第一网络制式集合、第二网络制式集合和第三网络制式集合中的网络制式可以根据实际情况进行相应的修改和增加,本申请实施例不做具体的限定。In the embodiment of the present application, the network standards in the first network standard set, the second network standard set and the third network standard set can be modified and added accordingly according to the actual situation, and are not specifically limited in the embodiment of the present application.

示例性的,根据网络制式的数据传输能力对网络制式进行划分,其中,第一网络制式集合中的网络制式为SA/NSA,第二网络制式集合中的网络制式为LTE、3G,第三网络制式集合中的网络制式为2G等,NSA/SA的数据传输速率为LTE的数10倍,即传输同样大小的数据流,NSA/SA所花费时间仅有LTE的几十分之一,同样,LTE的数据传输速率为TDSCDMA、WCDMA的数十倍。Exemplarily, network standards are divided according to their data transmission capabilities, where the network standards in the first network standard set are SA/NSA, the network standards in the second network standard set are LTE and 3G, and the third network standards are The network standards in the standard set are 2G and so on. The data transmission rate of NSA/SA is 10 times that of LTE. That is, the time spent by NSA/SA to transmit the same size data stream is only a few tenths of that of LTE. Similarly, The data transmission rate of LTE is dozens of times that of TDSCDMA and WCDMA.

本申请实施例中,终端判断当前网络制式所属的网络制式集合,当当前网络制式处于第一网络制式集合中时,终端判断出当前网络制式为高质量网络制式,此时,终端将cell传输子流确定为目标传输子流,并优先经由Cell子流调度待传输数据;当当前网络制式处于第三网络制式集合时,终端判断出当前网络制式为低质量网络制式,此时,终端将Wi-Fi传输子流确定为目标传输子流,并经由Wi-Fi子流调度待传输数据。In the embodiment of this application, the terminal determines the network standard set to which the current network standard belongs. When the current network standard is in the first network standard set, the terminal determines that the current network standard is a high-quality network standard. At this time, the terminal transmits the cell The stream is determined as the target transmission substream, and the data to be transmitted is scheduled via the Cell substream first; when the current network standard is in the third network standard set, the terminal determines that the current network standard is a low-quality network standard. At this time, the terminal will Wi- The Fi transmission substream is determined as the target transmission substream, and data to be transmitted is scheduled via the Wi-Fi substream.

本申请实施例中,至少两个传输子流可以包括cell传输子流和无线宽带(Wireless-Fidelity,Wi-Fi)传输子流,其中cell传输子流的个数为至少一个,Wi-Fi传输子流的个数为至少一个。In this embodiment of the present application, the at least two transmission substreams may include a cell transmission substream and a wireless broadband (Wireless-Fidelity, Wi-Fi) transmission substream, where the number of cell transmission substreams is at least one, and the Wi-Fi transmission substream The number of substreams is at least one.

进一步地,第三网络制式集合中的网络制式对应的数据传输速率最低,无法承载数据量大的数据传输过程,因此,当当前网络制式处于第三网络制式集合时,终端禁止经由cell传输子流调度待传输数据。Furthermore, the network standard in the third network standard set has the lowest data transmission rate and cannot carry a data transmission process with a large amount of data. Therefore, when the current network standard is in the third network standard set, the terminal is prohibited from transmitting substreams through the cell. Schedule data to be transmitted.

示例性的,当终端当前注册网路的网络制式为2G时,终端禁止经由Cell子流调度待传输数据。For example, when the network standard of the current registered network of the terminal is 2G, the terminal is prohibited from scheduling data to be transmitted via the Cell subflow.

本申请实施例中,当当前网络制式处于第二网络制式集合时,终端分别获取cell传输子流的传输参数和Wi-Fi传输子流的传输参数,并根据cell传输子流的传输参数和Wi-Fi传输子流的传输参数,从至少两个传输子流中确定出目标传输子流。具体的,终端将cell传输子流的传输参数和Wi-Fi传输子流的传输参数进行比较,得到比较结果;计算cell传输子流的传输参数和Wi-Fi传输子流的传输参数之间的参数差值;根据比较结果和参数差值,从至少两个传输子流中确定出目标传输子流。In the embodiment of this application, when the current network standard is in the second network standard set, the terminal obtains the transmission parameters of the cell transmission substream and the Wi-Fi transmission substream respectively, and uses the transmission parameters of the cell transmission substream and the Wi-Fi transmission substream. - The transmission parameters of the Fi transmission substream, and the target transmission substream is determined from at least two transmission substreams. Specifically, the terminal compares the transmission parameters of the cell transmission substream with the transmission parameters of the Wi-Fi transmission substream to obtain the comparison result; calculates the difference between the transmission parameters of the cell transmission substream and the transmission parameters of the Wi-Fi transmission substream. Parameter difference; determine the target transmission sub-stream from at least two transmission sub-streams based on the comparison result and the parameter difference.

本申请实施例中,传输子流的传输参数可以为RTT值、传输通道拥塞相关参数等可以表征传输子流的传输特性的参数,具体的根据实际情况进行选择,本申请实施例不做具体的限定。In the embodiment of this application, the transmission parameters of the transmission sub-stream can be RTT values, transmission channel congestion-related parameters and other parameters that can characterize the transmission characteristics of the transmission sub-stream. The specific selection is based on the actual situation. The embodiment of this application does not make specific limited.

在一种可选的实施例中,当当前网络制式为LTE时,终端分别获取Cell子流的RTT值和Wi-Fi子流的RTT值,之后,终端将Cell子流的RTT值和Wi-Fi子流的RTT值进行比较,并获取Cell子流和Wi-Fi子流之间的RTT差值,当Cell子流的RTT值小于Wi-Fi子流的RTT值、且Cell子流和Wi-Fi子流之间的RTT差值大于预设阈值时,终端将Cell子流确定为目标传输子流;当Cell子流的RTT值小于Wi-Fi子流的RTT值、且Cell子流和Wi-Fi子流之间的RTT差值小于预设阈值时,终端将Wi-Fi子流确定为目标传输子流;当Cell子流的RTT值大于Wi-Fi子流的RTT值时,终端将Wi-Fi子流确定为目标传输子流。In an optional embodiment, when the current network standard is LTE, the terminal obtains the RTT value of the Cell substream and the RTT value of the Wi-Fi substream respectively. After that, the terminal obtains the RTT value of the Cell substream and the Wi-Fi substream. Compare the RTT value of the Fi subflow and obtain the RTT difference between the Cell subflow and the Wi-Fi subflow. When the RTT value of the Cell subflow is less than the RTT value of the Wi-Fi subflow, and the Cell subflow and the Wi-Fi subflow are -When the RTT difference between the Fi subflows is greater than the preset threshold, the terminal determines the Cell subflow as the target transmission subflow; when the RTT value of the Cell subflow is less than the RTT value of the Wi-Fi subflow, and the Cell subflow and When the RTT difference between Wi-Fi subflows is less than the preset threshold, the terminal determines the Wi-Fi subflow as the target transmission subflow; when the RTT value of the Cell subflow is greater than the RTT value of the Wi-Fi subflow, the terminal Determine the Wi-Fi subflow as the target transmission subflow.

在另一种可选的实施例中,当当前网络制式为3G时,终端获取Wi-Fi子流的RTT值,并将Wi-Fi子流的RTT值与预设的250ms进行比较,当Wi-Fi子流的RTT值小于250ms时,终端讲Wi-Fi子流确定为目标传输子流;当Wi-Fi子流的RTT值大于250ms时,终端进一步将Cell子流的RTT值和Wi-Fi子流的RTT值进行比较,并获取Cell子流和Wi-Fi子流之间的RTT差值,具体的,当Cell子流的RTT值小于Wi-Fi子流的RTT值、且Cell子流和Wi-Fi子流之间的RTT差值大于预设阈值时,终端将Cell子流确定为目标传输子流;当Cell子流的RTT值小于Wi-Fi子流的RTT值、且Cell子流和Wi-Fi子流之间的RTT差值小于预设阈值时,终端将Wi-Fi子流确定为目标传输子流;当Cell子流的RTT值大于Wi-Fi子流的RTT值时,终端将Wi-Fi子流确定为目标传输子流。In another optional embodiment, when the current network standard is 3G, the terminal obtains the RTT value of the Wi-Fi subflow and compares the RTT value of the Wi-Fi subflow with the preset 250ms. When the Wi-Fi subflow -When the RTT value of the Fi subflow is less than 250ms, the terminal determines the Wi-Fi subflow as the target transmission subflow; when the RTT value of the Wi-Fi subflow is greater than 250ms, the terminal further combines the RTT value of the Cell subflow with the Wi-Fi subflow. Compare the RTT value of the Fi subflow and obtain the RTT difference between the Cell subflow and the Wi-Fi subflow. Specifically, when the RTT value of the Cell subflow is less than the RTT value of the Wi-Fi subflow, and the Cell subflow When the RTT difference between the flow and the Wi-Fi subflow is greater than the preset threshold, the terminal determines the Cell subflow as the target transmission subflow; when the RTT value of the Cell subflow is less than the RTT value of the Wi-Fi subflow, and the Cell subflow When the RTT difference between the subflow and the Wi-Fi subflow is less than the preset threshold, the terminal determines the Wi-Fi subflow as the target transmission subflow; when the RTT value of the Cell subflow is greater than the RTT value of the Wi-Fi subflow When, the terminal determines the Wi-Fi subflow as the target transmission subflow.

需要说明的是,上述仅为终端根据至少两个传输子流的RTT传输参数,从至少两个传输子流中确定目标传输子流的两种可选的实现方式,本申请实施例不仅限于上述两种实现方式,其他的根据cell传输子流的传输参数和Wi-Fi传输子流的传输参数,从至少两个传输子流中确定出目标传输子流的变形方案均属于本申请保护的方案,本申请实施例不做具体的限定。It should be noted that the above are only two optional implementation methods for the terminal to determine the target transmission substream from at least two transmission substreams based on the RTT transmission parameters of the at least two transmission substreams. The embodiments of the present application are not limited to the above. Two implementation methods, and other deformation schemes that determine the target transmission substream from at least two transmission substreams based on the transmission parameters of the cell transmission substream and the transmission parameters of the Wi-Fi transmission substream are all schemes protected by this application. , there are no specific limitations in the embodiments of this application.

本申请实施例中,待传输数据为TCP片段。In this embodiment of the present application, the data to be transmitted is a TCP segment.

本申请实施例中,当终端确定出目标传输子流之后,终端优先经由目标传输子流调度待传输数据,当存在排队传输的待传输数据量大、不存在与经由目标传输子流的TCP片段有关的确认(Acknowledgement,ACK)等情况时,终端可以从至少两个传输子流中选择其他传输子流接替调度待传输数据,进而保证数据调度的连续性和时效性。In the embodiment of the present application, after the terminal determines the target transmission substream, the terminal preferentially schedules the data to be transmitted via the target transmission substream. When there is a large amount of data to be transmitted queued for transmission and there are no TCP segments related to the target transmission substream. In the case of related acknowledgment (ACK) and other situations, the terminal can select other transmission substreams from at least two transmission substreams to take over the scheduling of data to be transmitted, thereby ensuring the continuity and timeliness of data scheduling.

示例性的,如图2所示,终端基于蜂窝网络制式的MPTCP数据调度策略流程图为:For example, as shown in Figure 2, the flow chart of the terminal's MPTCP data scheduling strategy based on the cellular network standard is:

1、终端获取当前网络制式;1. The terminal obtains the current network standard;

2、终端判断当前网络制式是否为NSA/SA;2. The terminal determines whether the current network standard is NSA/SA;

3、当当前网络制式为NSA/SA时,终端优先采用Cell子流调度TCP片段;3. When the current network format is NSA/SA, the terminal preferentially uses Cell subflow to schedule TCP segments;

4、当当前网络制式不是NSA/SA时,终端判断当前网络制式是否为LTE;4. When the current network standard is not NSA/SA, the terminal determines whether the current network standard is LTE;

5、当当前网路制式为LTE时,终端利用Cell子流的RTT和Wi-Fi子流的RTT,从Cell子流和Wi-Fi子流中确定出目标传输子流;5. When the current network standard is LTE, the terminal uses the RTT of the Cell substream and the RTT of the Wi-Fi substream to determine the target transmission substream from the Cell substream and Wi-Fi substream;

6、当当前网络制式不是LTE时,终端判断当前网络制式是否为3G;6. When the current network standard is not LTE, the terminal determines whether the current network standard is 3G;

7、当当前网络制式为3G时,终端利用Cell子流的RTT和Wi-Fi子流的RTT,从Cell子流和Wi-Fi子流中确定出目标传输子流;7. When the current network standard is 3G, the terminal uses the RTT of the Cell substream and the RTT of the Wi-Fi substream to determine the target transmission substream from the Cell substream and Wi-Fi substream;

8、当当前网络制式不为3G时,终端优先采用Wi-Fi子流调度TCP片段。8. When the current network standard is not 3G, the terminal preferentially uses Wi-Fi subflow to schedule TCP segments.

可以理解的是,不同网络制式对应的数据传输量和数据传输性能不同,终端根据不同当前网络制式对应的数据调度策略,从至少两个传输子流中确定出数据传输性能最高的目标传输子流,能够提高选路的准确性;此时,经由目标传输子流调度数据时,较高的数据传输性能可以提高数据调度的速率。It is understandable that different network standards correspond to different data transmission volumes and data transmission performances. The terminal determines the target transmission substream with the highest data transmission performance from at least two transmission substreams based on the data scheduling strategies corresponding to different current network standards. , can improve the accuracy of routing; at this time, when scheduling data via the target transmission sub-flow, higher data transmission performance can increase the rate of data scheduling.

实施例二Embodiment 2

本申请实施例提供一种终端1,如图3所示,该终端1包括:This embodiment of the present application provides a terminal 1, as shown in Figure 3. The terminal 1 includes:

获取单元10,用于获取当前注册的移动网络对应的当前网络制式;The acquisition unit 10 is used to acquire the current network standard corresponding to the currently registered mobile network;

确定单元11,用于基于所述当前网络制式,从至少两个传输子流中确定出目标传输子流;Determining unit 11, configured to determine a target transmission substream from at least two transmission substreams based on the current network standard;

数据调度单元12,用于优先经由所述目标传输子流调度待传输数据。The data scheduling unit 12 is configured to prioritize data to be transmitted via the target transmission substream.

可选的,所述至少两个传输子流包括Wi-Fi传输子流和cell传输子流,Optionally, the at least two transmission substreams include a Wi-Fi transmission substream and a cell transmission substream,

所述确定单元11,还用于当所述当前网络制式处于第一网络制式集合时,将所述cell传输子流确定为所述目标传输子流;当所述当前网络制式处于第二网络制式集合时,分别获取所述cell传输子流的传输参数和所述Wi-Fi传输子流的传输参数,并根据所述cell传输子流的传输参数和所述Wi-Fi传输子流的传输参数,从所述至少两个传输子流中确定出所述目标传输子流;当所述当前网络制式处于第三网络制式集合时,将所述Wi-Fi传输子流确定为所述目标传输子流。The determining unit 11 is also configured to determine the cell transmission substream as the target transmission substream when the current network standard is in the first network standard set; when the current network standard is in the second network standard When gathering, obtain the transmission parameters of the cell transmission substream and the Wi-Fi transmission substream respectively, and use the transmission parameters of the cell transmission substream and the Wi-Fi transmission substream according to the transmission parameters , determine the target transmission substream from the at least two transmission substreams; when the current network standard is in a third network standard set, determine the Wi-Fi transmission substream as the target transmission substream flow.

可选的,所述终端还包括:比较单元和差值计算单元;Optionally, the terminal also includes: a comparison unit and a difference calculation unit;

所述比较单元,用于将所述cell传输子流的传输参数和所述Wi-Fi传输子流的传输参数进行比较,得到比较结果;The comparison unit is used to compare the transmission parameters of the cell transmission substream with the transmission parameters of the Wi-Fi transmission substream to obtain a comparison result;

所述差值计算单元,用于计算所述cell传输子流的传输参数和所述Wi-Fi传输子流的传输参数之间的参数差值;The difference calculation unit is used to calculate the parameter difference between the transmission parameters of the cell transmission substream and the transmission parameters of the Wi-Fi transmission substream;

所述确定单元11,还用于根据所述比较结果和所述参数差值,从所述至少两个传输子流中确定出所述目标传输子流。The determining unit 11 is further configured to determine the target transmission substream from the at least two transmission substreams based on the comparison result and the parameter difference.

可选的,所述第一网络制式集合中网络制式的网络质量高于所述第二网络制式集合中网络制式的网络质量;所述第二网络制式集合中网络制式的网络质量高于所述第三网络制式集合中网络制式的网络质量。Optionally, the network quality of the network standards in the first network standard set is higher than the network quality of the network standards in the second network standard set; the network quality of the network standards in the second network standard set is higher than the network quality of the network standards in the second network standard set. The network quality of the network standard in the third network standard set.

可选的,所述终端还包括:禁止单元;Optionally, the terminal also includes: a prohibition unit;

所述禁止单元,用于当所述当前网络制式处于所述第三网络制式集合时,禁止经由所述cell传输子流调度所述待传输数据。The prohibiting unit is configured to prohibit scheduling the data to be transmitted via the cell transmission substream when the current network standard is in the third network standard set.

本申请实施例提供的一种终端,获取当前注册的移动网络对应的当前网络制式;基于当前网络制式,从至少两个传输子流中确定出目标传输子流,并优先经由目标传输子流调度待传输数据。由此可见,本实施例提出的终端,不同网络制式对应的数据传输量和数据传输性能不同,终端根据不同当前网络制式对应的数据调度策略,从至少两个传输子流中确定出数据传输性能最高的目标传输子流,能够提高选路的准确性;此时,经由目标传输子流调度数据时,较高的数据传输性能可以提高数据调度的速率。A terminal provided by an embodiment of the present application obtains the current network standard corresponding to the currently registered mobile network; based on the current network standard, determines a target transmission substream from at least two transmission substreams, and prioritizes scheduling via the target transmission substream Data to be transferred. It can be seen that the terminal proposed in this embodiment has different data transmission volume and data transmission performance corresponding to different network standards. The terminal determines the data transmission performance from at least two transmission sub-streams according to the data scheduling strategies corresponding to different current network standards. The highest target transmission substream can improve the accuracy of routing; at this time, when data is scheduled via the target transmission substream, higher data transmission performance can increase the data scheduling rate.

图4本申请实施例提供的一种终端1的组成结构示意图二,在实际应用中,基于上述实施例的同一公开构思下,如图4所示,本实施例的终端1包括:处理器13、存储器14及通信总线15。Figure 4 is a schematic diagram 2 of the composition of a terminal 1 provided by an embodiment of the present application. In practical applications, based on the same disclosed concept of the above embodiment, as shown in Figure 4, the terminal 1 of this embodiment includes: a processor 13 , memory 14 and communication bus 15.

在具体的实施例的过程中,上述获取单元10、确定单元11、数据调度单元12、比较单元、差值计算单元和禁止单元可由位于终端1上的处理器13实现,上述处理器13可以为特定用途集成电路(ASIC,Application Specific Integrated Circuit)、数字信号处理器(DSP,Digital Signal Processor)、数字信号处理图像处理装置(DSPD,Digital SignalProcessing Device)、可编程逻辑图像处理装置(PLD,Programmable Logic Device)、现场可编程门阵列(FPGA,Field Programmable Gate Array)、CPU、控制器、微控制器、微处理器中的至少一种。可以理解地,对于不同的设备,用于实现上述处理器功能的电子器件还可以为其它,本实施例不作具体限定。In the process of the specific embodiment, the above-mentioned acquisition unit 10, determination unit 11, data scheduling unit 12, comparison unit, difference calculation unit and prohibition unit can be implemented by the processor 13 located on the terminal 1, and the above-mentioned processor 13 can be Application Specific Integrated Circuit (ASIC), Digital Signal Processor (DSP), Digital Signal Processing Device (DSPD), Programmable Logic (PLD) At least one of Device), field programmable gate array (FPGA, Field Programmable Gate Array), CPU, controller, microcontroller, and microprocessor. It can be understood that for different devices, the electronic device used to implement the above processor function may also be other, which is not specifically limited in this embodiment.

在本申请实施例中,上述通信总线15用于实现处理器13和存储器14之间的连接通信;上述处理器13执行存储器14中存储的运行程序时实现如下的数据调度方法:In the embodiment of the present application, the above-mentioned communication bus 15 is used to realize connection communication between the processor 13 and the memory 14; when the above-mentioned processor 13 executes the running program stored in the memory 14, the following data scheduling method is implemented:

获取当前注册的移动网络对应的当前网络制式;基于所述当前网络制式,从至少两个传输子流中确定出目标传输子流,并优先经由所述目标传输子流调度待传输数据。Obtain the current network standard corresponding to the currently registered mobile network; based on the current network standard, determine a target transmission substream from at least two transmission substreams, and prioritize data to be transmitted via the target transmission substream.

在上述方法中,所述至少两个传输子流包括Wi-Fi传输子流和cell传输子流,In the above method, the at least two transmission substreams include Wi-Fi transmission substream and cell transmission substream,

所述处理器13,还用于当所述当前网络制式处于第一网络制式集合时,将所述cell传输子流确定为所述目标传输子流;当所述当前网络制式处于第二网络制式集合时,分别获取所述cell传输子流的传输参数和所述Wi-Fi传输子流的传输参数,并根据所述cell传输子流的传输参数和所述Wi-Fi传输子流的传输参数,从所述至少两个传输子流中确定出所述目标传输子流;当所述当前网络制式处于第三网络制式集合时,将所述Wi-Fi传输子流确定为所述目标传输子流。The processor 13 is also configured to determine the cell transmission substream as the target transmission substream when the current network standard is in the first network standard set; when the current network standard is in the second network standard When gathering, obtain the transmission parameters of the cell transmission substream and the Wi-Fi transmission substream respectively, and use the transmission parameters of the cell transmission substream and the Wi-Fi transmission substream according to the transmission parameters , determine the target transmission substream from the at least two transmission substreams; when the current network standard is in a third network standard set, determine the Wi-Fi transmission substream as the target transmission substream flow.

在上述方法中,所述处理器13,还用于将所述cell传输子流的传输参数和所述Wi-Fi传输子流的传输参数进行比较,得到比较结果;计算所述cell传输子流的传输参数和所述Wi-Fi传输子流的传输参数之间的参数差值;根据所述比较结果和所述参数差值,从所述至少两个传输子流中确定出所述目标传输子流。In the above method, the processor 13 is also used to compare the transmission parameters of the cell transmission substream with the transmission parameters of the Wi-Fi transmission substream to obtain a comparison result; calculate the cell transmission substream The parameter difference between the transmission parameters and the transmission parameters of the Wi-Fi transmission substream; according to the comparison result and the parameter difference, the target transmission is determined from the at least two transmission substreams Substream.

在上述方法中,所述第一网络制式集合中网络制式的网络质量高于所述第二网络制式集合中网络制式的网络质量;所述第二网络制式集合中网络制式的网络质量高于所述第三网络制式集合中网络制式的网络质量。In the above method, the network quality of the network standards in the first network standard set is higher than the network quality of the network standards in the second network standard set; the network quality of the network standards in the second network standard set is higher than the network quality of the network standards in the second network standard set. Describe the network quality of the network standards in the third network standard set.

在上述方法中,所述处理器13,还用于当所述当前网络制式处于所述第三网络制式集合时,禁止经由所述cell传输子流调度所述待传输数据。In the above method, the processor 13 is also configured to prohibit scheduling the data to be transmitted via the cell transmission substream when the current network standard is in the third network standard set.

本申请实施例提供一种存储介质,其上存储有计算机程序,上述计算机可读存储介质存储有一个或者多个程序,上述一个或者多个程序可被一个或者多个处理器执行,应用于终端中,该计算机程序实现如实施例一所述的数据调度方法。Embodiments of the present application provide a storage medium on which a computer program is stored. The computer-readable storage medium stores one or more programs. The one or more programs can be executed by one or more processors and are applied to terminals. , the computer program implements the data scheduling method described in Embodiment 1.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this document, the terms "comprising", "comprises" or any other variations thereof are intended to cover a non-exclusive inclusion, such that a process, method, article or device that includes a series of elements not only includes those elements, It also includes other elements not expressly listed or inherent in the process, method, article or apparatus. Without further limitation, an element defined by the statement "comprises a..." does not exclude the presence of additional identical elements in a process, method, article or apparatus that includes that element.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台图像显示设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本公开各个实施例所述的方法。Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. implementation. Based on this understanding, the technical solution of the present disclosure can be embodied in the form of a software product in essence or that contributes to related technologies. The computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk). ), includes several instructions to cause an image display device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in various embodiments of the present disclosure.

以上所述,仅为本申请的较佳实施例而已,并非用于限定本申请的保护范围。The above descriptions are only preferred embodiments of the present application and are not intended to limit the protection scope of the present application.

Claims (8)

1.一种数据调度方法,其特征在于,所述方法包括:1. A data scheduling method, characterized in that the method includes: 获取当前注册的移动网络对应的当前网络制式;Get the current network standard corresponding to the currently registered mobile network; 当所述当前网络制式处于第一网络制式集合时,将cell传输子流确定为目标传输子流;When the current network standard is in the first network standard set, determine the cell transmission substream as the target transmission substream; 当所述当前网络制式处于第二网络制式集合时,分别获取cell传输子流的传输参数和Wi-Fi传输子流的传输参数,并根据所述cell传输子流的传输参数和所述Wi-Fi传输子流的传输参数,从所述cell传输子流和所述Wi-Fi传输子流中确定出所述目标传输子流;When the current network standard is in the second network standard set, the transmission parameters of the cell transmission substream and the transmission parameters of the Wi-Fi transmission substream are obtained respectively, and the transmission parameters of the cell transmission substream and the Wi-Fi transmission substream are obtained respectively. The transmission parameters of the Fi transmission substream are used to determine the target transmission substream from the cell transmission substream and the Wi-Fi transmission substream; 当所述当前网络制式处于第三网络制式集合时,将Wi-Fi传输子流确定为所述目标传输子流;其中,所述第一网络制式集合中网络制式的网络质量高于所述第二网络制式集合中网络制式的网络质量,所述第二网络制式集合中网络制式的网络质量高于所述第三网络制式集合中网络制式的网络质量;When the current network standard is in a third network standard set, the Wi-Fi transmission substream is determined as the target transmission substream; wherein the network quality of the network standard in the first network standard set is higher than that of the third network standard set. The network quality of the network standards in the second network standard set, the network quality of the network standards in the second network standard set is higher than the network quality of the network standards in the third network standard set; 优先经由所述目标传输子流调度待传输数据。Data to be transmitted is scheduled preferentially via the target transmission substream. 2.根据权利要求1所述的方法,其特征在于,所述根据所述cell传输子流的传输参数和所述Wi-Fi传输子流的传输参数,从所述Wi-Fi传输子流和所述cell传输子流中确定出所述目标传输子流,包括:2. The method according to claim 1, characterized in that, according to the transmission parameters of the cell transmission substream and the transmission parameters of the Wi-Fi transmission substream, from the Wi-Fi transmission substream and The target transmission substream is determined from the cell transmission substream, including: 将所述cell传输子流的传输参数和所述Wi-Fi传输子流的传输参数进行比较,得到比较结果;Compare the transmission parameters of the cell transmission substream with the transmission parameters of the Wi-Fi transmission substream to obtain a comparison result; 计算所述cell传输子流的传输参数和所述Wi-Fi传输子流的传输参数之间的参数差值;Calculate the parameter difference between the transmission parameters of the cell transmission substream and the transmission parameters of the Wi-Fi transmission substream; 根据所述比较结果和所述参数差值,从所述Wi-Fi传输子流和所述cell传输子流中确定出所述目标传输子流。According to the comparison result and the parameter difference, the target transmission substream is determined from the Wi-Fi transmission substream and the cell transmission substream. 3.根据权利要求1所述的方法,其特征在于,所述方法还包括:3. The method according to claim 1, characterized in that, the method further comprises: 当所述当前网络制式处于所述第三网络制式集合时,禁止经由所述cell传输子流调度所述待传输数据。When the current network standard is in the third network standard set, scheduling of the data to be transmitted via the cell transmission substream is prohibited. 4.一种终端,其特征在于,所述终端包括:4. A terminal, characterized in that the terminal includes: 获取单元,用于获取当前注册的移动网络对应的当前网络制式;The acquisition unit is used to obtain the current network standard corresponding to the currently registered mobile network; 确定单元,用于当所述当前网络制式处于第一网络制式集合时,将cell传输子流确定为目标传输子流;当所述当前网络制式处于第二网络制式集合时,分别获取所述cell传输子流的传输参数和Wi-Fi传输子流的传输参数,并根据所述cell传输子流的传输参数和所述Wi-Fi传输子流的传输参数,从所述cell传输子流和所述Wi-Fi传输子流中确定出所述目标传输子流;当所述当前网络制式处于第三网络制式集合时,将所述Wi-Fi传输子流确定为所述目标传输子流;其中,所述第一网络制式集合中网络制式的网络质量高于所述第二网络制式集合中网络制式的网络质量;所述第二网络制式集合中网络制式的网络质量高于所述第三网络制式集合中网络制式的网络质量;A determining unit configured to determine the cell transmission substream as the target transmission substream when the current network standard is in a first network standard set; and when the current network standard is in a second network standard set, obtain the cell respectively. Transmission parameters of the transmission substream and transmission parameters of the Wi-Fi transmission substream, and according to transmission parameters of the cell transmission substream and transmission parameters of the Wi-Fi transmission substream, from the cell transmission substream and the The target transmission substream is determined in the Wi-Fi transmission substream; when the current network standard is in a third network standard set, the Wi-Fi transmission substream is determined as the target transmission substream; wherein , the network quality of the network standards in the first network standard set is higher than the network quality of the network standards in the second network standard set; the network quality of the network standards in the second network standard set is higher than the third network The network quality of the network standards in the standard set; 数据调度单元,用于优先经由所述目标传输子流调度待传输数据。A data scheduling unit configured to prioritize data to be transmitted via the target transmission substream. 5.根据权利要求4所述的终端,其特征在于,所述终端还包括:比较单元和差值计算单元;5. The terminal according to claim 4, characterized in that the terminal further includes: a comparison unit and a difference calculation unit; 所述比较单元,用于将所述cell传输子流的传输参数和所述Wi-Fi传输子流的传输参数进行比较,得到比较结果;The comparison unit is used to compare the transmission parameters of the cell transmission substream with the transmission parameters of the Wi-Fi transmission substream to obtain a comparison result; 所述差值计算单元,用于计算所述cell传输子流的传输参数和所述Wi-Fi传输子流的传输参数之间的参数差值;The difference calculation unit is used to calculate the parameter difference between the transmission parameters of the cell transmission substream and the transmission parameters of the Wi-Fi transmission substream; 所述确定单元,还用于根据所述比较结果和所述参数差值,从所述cell传输子流和所述Wi-Fi传输子流中确定出所述目标传输子流。The determining unit is further configured to determine the target transmission substream from the cell transmission substream and the Wi-Fi transmission substream based on the comparison result and the parameter difference. 6.根据权利要求4所述的终端,其特征在于,所述终端还包括:禁止单元;6. The terminal according to claim 4, characterized in that the terminal further comprises: a prohibition unit; 所述禁止单元,用于当所述当前网络制式处于所述第三网络制式集合时,禁止经由所述cell传输子流调度所述待传输数据。The prohibiting unit is configured to prohibit scheduling the data to be transmitted via the cell transmission substream when the current network standard is in the third network standard set. 7.一种终端,其特征在于,所述终端包括:处理器、存储器及通信总线;所述处理器执行存储器存储的运行程序时实现如权利要求1-3任一项所述的方法。7. A terminal, characterized in that the terminal includes: a processor, a memory and a communication bus; when the processor executes a running program stored in the memory, the method according to any one of claims 1-3 is implemented. 8.一种存储介质,其上存储有计算机程序,其特征在于,该计算机程序被处理器执行时实现如权利要求1-3任一项所述的方法。8. A storage medium with a computer program stored thereon, characterized in that when the computer program is executed by a processor, the method according to any one of claims 1-3 is implemented.
CN202010171651.2A 2020-03-12 2020-03-12 A data scheduling method, terminal and storage medium Active CN111356155B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010171651.2A CN111356155B (en) 2020-03-12 2020-03-12 A data scheduling method, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010171651.2A CN111356155B (en) 2020-03-12 2020-03-12 A data scheduling method, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN111356155A CN111356155A (en) 2020-06-30
CN111356155B true CN111356155B (en) 2023-09-15

Family

ID=71197374

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010171651.2A Active CN111356155B (en) 2020-03-12 2020-03-12 A data scheduling method, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN111356155B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105939381A (en) * 2016-06-14 2016-09-14 惠州Tcl移动通信有限公司 Method and system of control terminal for automatically switching file downloading mode
CN106576279A (en) * 2014-07-30 2017-04-19 华为技术有限公司 Multi-communication-mode transmission method and apparatus
CN108156100A (en) * 2017-12-30 2018-06-12 广东欧珀移动通信有限公司 terminal wireless data transmission method, device, terminal and storage medium
CN108495344A (en) * 2015-11-28 2018-09-04 广东欧珀移动通信有限公司 A kind of method for switching network, device and terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108540380B (en) * 2017-03-02 2021-08-20 华为技术有限公司 Multi-substream network transmission method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106576279A (en) * 2014-07-30 2017-04-19 华为技术有限公司 Multi-communication-mode transmission method and apparatus
CN108495344A (en) * 2015-11-28 2018-09-04 广东欧珀移动通信有限公司 A kind of method for switching network, device and terminal
CN105939381A (en) * 2016-06-14 2016-09-14 惠州Tcl移动通信有限公司 Method and system of control terminal for automatically switching file downloading mode
CN108156100A (en) * 2017-12-30 2018-06-12 广东欧珀移动通信有限公司 terminal wireless data transmission method, device, terminal and storage medium

Also Published As

Publication number Publication date
CN111356155A (en) 2020-06-30

Similar Documents

Publication Publication Date Title
CN109729007B (en) Method, device and equipment for transmitting data
JP7556579B2 (en) Packet transmission system and method
CN110798868B (en) Network switching method, electronic device, and chip subsystem
EP3278514B1 (en) Data transmission
CN109314662B (en) Data transmission method and device
CN101895466B (en) Method for reducing influence of data packet disorder on SCTP multipath transmission
CN109792621B (en) Method and system for evaluating network performance of aggregated connections
CN111866956B (en) A data transmission method and corresponding equipment
Hwang et al. Packet scheduling for multipath TCP
CN112019395B (en) Method, network device and system for measurement of network
EP3896909B1 (en) Packet processing method and network device in hybrid access network
US20070091900A1 (en) Prioritized control packet delivery for transmission control protocol (TCP)
US20150237525A1 (en) Traffic Shaping and Steering for a Multipath Transmission Control Protocol Connection
CN103067982B (en) A kind of data transmission method and equipment
Callegari et al. Behavior analysis of TCP Linux variants
CN114556883B (en) Data transmission method, transmitting side device and receiving side device
CN107438993B (en) Method and system for resource bundling
WO2017220149A1 (en) Scheduling packets for transport over an mptcp connection
CN111542089A (en) Multipath congestion control method and device based on time delay and window jitter
Fu et al. Performance comparison of congestion control strategies for multi-path TCP in the NORNET testbed
JP5775214B2 (en) Data packet loss reduction system and method using adaptive transmission queue length
CN107026800B (en) A congestion control method and device
CN111131017B (en) A kind of MPTCP cross-layer optimization method and system based on multi-cellular wireless access gateway
CN109428842A (en) A kind of QoS information transfer approach and device
CN111356155B (en) A data scheduling method, terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant