Data scheduling method, device and storage medium

文档序号:1314621 发布日期:2020-07-10 浏览:8次 中文

阅读说明:本技术 一种数据调度方法、装置及存储介质 (Data scheduling method, device and storage medium ) 是由 张峰 于 2020-03-09 设计创作,主要内容包括:本申请实施例公开了一种数据调度方法、装置及存储介质,该方法包括:获取当前网络的网络质量评估参数;基于所述网络质量评估参数,确定数据调度的目标数据调度策略;基于所述目标数据调度策略选择进行数据调度的目标子流。如此,以当前网络的网络质量作为确定数据调度策略的依据,选择与当前网络质量最匹配的数据调度策略,确保将不同业务调度到最佳子流传输,从而提高网络整体服务质量。(The embodiment of the application discloses a data scheduling method, a device and a storage medium, wherein the method comprises the following steps: acquiring a network quality evaluation parameter of a current network; determining a target data scheduling strategy for data scheduling based on the network quality evaluation parameter; and selecting a target sub-flow for data scheduling based on the target data scheduling strategy. Therefore, the network quality of the current network is used as the basis for determining the data scheduling strategy, and the data scheduling strategy which is most matched with the current network quality is selected, so that different services are scheduled to the best sub-stream transmission, and the overall service quality of the network is improved.)

1. A method for scheduling data, the method comprising:

acquiring a network quality evaluation parameter of a current network;

determining a target data scheduling strategy for data scheduling based on the network quality evaluation parameter;

and selecting a target sub-flow for data scheduling based on the target data scheduling strategy.

2. The method of claim 1, wherein the network quality assessment parameters comprise at least: network signal strength;

the determining a target data scheduling policy for data scheduling based on the network quality assessment parameter includes:

determining a target signal strength level where the network signal strength is located from pre-divided signal strength levels;

and determining a target data scheduling strategy corresponding to the target signal strength grade based on the corresponding relation between the signal strength grade and the data scheduling strategy.

3. The method of claim 2, wherein selecting the target sub-stream for data scheduling based on the target data scheduling policy comprises:

determining scheduling priorities of at least two sub-streams based on the target data scheduling policy;

and selecting the target sub-stream from the at least two sub-streams according to the sequence of the scheduling priority from high to low.

4. The method of claim 3, wherein the data scheduling policy comprises:

a first data scheduling policy comprising a scheduling priority of the first sub-stream being higher than a scheduling priority of the second sub-stream;

a second data scheduling policy comprising determining scheduling priorities of the first sub-stream and the second sub-stream based on transmission parameters of the first sub-stream and transmission parameters of the second sub-stream;

a third data scheduling policy comprising selecting the second sub-stream.

5. The method of claim 4, wherein the pre-partitioned signal strength levels comprise:

a first signal strength level, a second signal strength level, and a third signal strength level; wherein the first signal strength level is higher than the second signal strength level, which is higher than the third signal strength level;

the first signal strength level corresponds to a first data scheduling policy, the second signal strength level corresponds to a second data scheduling policy, and the third signal strength level corresponds to a third data scheduling policy.

6. The method according to claim 4, characterized in that said transmission parameters comprise at least round trip time RTT values of the sub-flows;

the second data scheduling policy specifically includes: and determining the scheduling priority of the first sub-flow and the second sub-flow based on the RTT value of the first sub-flow, the RTT value of the second sub-flow and the RTT quantization difference between the first sub-flow and the second sub-flow.

7. The method of claim 4, wherein the first sub-flow is a cell sub-flow and the second sub-flow is a wireless fidelity (wifi) sub-flow.

8. An apparatus for scheduling data, the apparatus comprising:

the acquisition unit is used for acquiring network quality evaluation parameters of the current network;

the processing unit is used for determining a target data scheduling strategy of data scheduling based on the network quality evaluation parameter;

and the selecting unit is used for selecting the target sub-flow for data scheduling based on the target data scheduling strategy.

9. An apparatus for data scheduling, the apparatus comprising: a processor and a memory configured to store a computer program capable of running on the processor,

wherein the processor is configured to perform the steps of the method of any one of claims 1 to 7 when running the computer program.

10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.

Technical Field

The present application relates to network technologies, and in particular, to a data scheduling method, apparatus, and storage medium.

Background

A Multipath Transmission Control Protocol (MPTCP) is a Multipath parallel Transmission Protocol based on a conventional Transmission Control Protocol (TCP), and an end-to-end device places data on multiple paths through the MPTCP for parallel Transmission, and can improve throughput and robustness of data Transmission by jointly using multiple interfaces.

In the existing MPTCP protocol, an evaluation index of path quality mainly utilizes transmission delay of data on the path, the transmission delay is one of visual indexes representing the path quality, and an evaluation method for the index is to measure Round-Trip Time (RTT) of the path. RTT on a path represents the total time delay from the start of sending a packet on the path by the sender to the time the sender receives an acknowledgement for the datagram from the receiver on the path (the receiver sends an acknowledgement immediately after receiving the packet). The smaller the RTT, the higher the transmission quality of the path, and vice versa. During service scheduling, MPTCP uses the sub-flow with smaller RTT as better service transmission, and meanwhile, a small number of schemes consider the congestion degree of the sub-flow, and judge the quality of the sub-flow according to the congestion degree.

When the state and quality of the sub-flows are measured based on the RTT of the sub-flows, the adjustment scheme is single, and a certain delay exists in measuring the RTT, so that the path selection efficiency is low.

Disclosure of Invention

In order to solve the foregoing technical problem, embodiments of the present application are intended to provide a data scheduling method, an apparatus, and a storage medium.

The technical scheme of the application is realized as follows:

in a first aspect, a data scheduling method is provided, and the method includes:

acquiring a network quality evaluation parameter of a current network;

determining a target data scheduling strategy for data scheduling based on the network quality evaluation parameter;

and selecting a target sub-flow for data scheduling based on the target data scheduling strategy.

In a second aspect, an apparatus for scheduling data is provided, the apparatus comprising:

the acquisition unit is used for acquiring network quality evaluation parameters of the current network;

the processing unit is used for determining a target data scheduling strategy of data scheduling based on the network quality evaluation parameter;

and the selecting unit is used for selecting the target sub-flow for data scheduling based on the target data scheduling strategy.

In a third aspect, an apparatus for scheduling data is provided, including: a processor and a memory configured to store a computer program operable on the processor, wherein the processor is configured to perform the steps of the aforementioned method when executing the computer program.

In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the steps of the aforementioned method.

The data scheduling method, device and storage medium provided by the embodiment of the application comprise the following steps: acquiring a network quality evaluation parameter of a current network; determining a target data scheduling strategy for data scheduling based on the network quality evaluation parameter; and selecting a target sub-flow for data scheduling based on the target data scheduling strategy. Therefore, the network quality of the current network is used as the basis for determining the data scheduling strategy, and the data scheduling strategy which is most matched with the current network quality is selected, so that different services are scheduled to the best sub-stream transmission, and the overall service quality of the network is improved.

Drawings

Fig. 1 is a first flowchart of a data scheduling method according to an embodiment of the present application;

fig. 2 is a second flowchart of a data scheduling method in an embodiment of the present application;

FIG. 3 is a schematic flow chart illustrating the determination of a data scheduling policy in an embodiment of the present application;

fig. 4 is a schematic diagram of a first component structure of a data scheduling apparatus in an embodiment of the present application;

fig. 5 is a schematic diagram of a second component structure of the data scheduling apparatus in the embodiment of the present application.

Detailed Description

So that the manner in which the features and elements of the present embodiments can be understood in detail, a more particular description of the embodiments, briefly summarized above, may be had by reference to embodiments, some of which are illustrated in the appended drawings.

In the existing MPTCP protocol, an evaluation index of path quality mainly utilizes transmission delay of data on the path, the transmission delay is one of visual indexes representing the path quality, and an evaluation method for the index is to measure an RTT value of the path. RTT on a path represents the total time delay from the start of sending a packet on the path by the sender to the time the sender receives an acknowledgement for the datagram from the receiver on the path (the receiver sends an acknowledgement immediately after receiving the packet). The smaller the RTT, the higher the transmission quality of the path, and vice versa. In the prior art, only the RTT value or the congestion degree of the sub-flow is considered during route selection, and the influence of the current network environment condition on data transmission is not fully considered, and the network environment state has an explicit influence on the network performance and the transmission of the data flow, so that the decision of the existing service scheduling policy is one-sided, which may result in erroneous determination, thereby affecting the selection of the sub-flow and the transmission and scheduling of the service.

For the deficiency that the existing MPTCP simply performs data scheduling according to RTT, the present application provides a data scheduling method in consideration of a network environment state, fig. 1 is a first flow diagram of the data scheduling method in the embodiment of the present application, and as shown in fig. 1, the method may specifically include:

step 101: acquiring a network quality evaluation parameter of a current network;

here, when data scheduling is performed, a network quality evaluation parameter of the current network is obtained, the network quality evaluation parameter is used for evaluating the current network environment state, a scheduling policy of the service data is determined in consideration of the influence of the current network environment state, and the problem that service transmission service is poor due to the adoption of the current scheduling scheme is avoided.

For example, the network quality evaluation parameter may be a signal strength parameter of a signal network, where a smaller signal strength indicates a poorer network quality, and a larger signal strength indicates a higher network quality.

Step 102: determining a target data scheduling strategy for data scheduling based on the network quality evaluation parameter;

here, different network quality evaluation parameters correspond to different data scheduling policies, and a target data scheduling policy corresponding to the network quality evaluation parameter of the current network is determined according to the correspondence between the two.

Specifically, the data scheduling policy is used to determine a scheduling priority of the at least two sub-streams, that is, a sequential order of selection of the at least two sub-streams.

In some embodiments, the network quality assessment parameters include at least: network signal strength; the determining a target data scheduling policy for data scheduling based on the network quality assessment parameter includes: determining a target signal strength level where the network signal strength is located from pre-divided signal strength levels; and determining a target data scheduling strategy corresponding to the target signal strength grade based on the corresponding relation between the signal strength grade and the data scheduling strategy.

In the implementation of the present application, the network signal strength is divided into at least two strength levels. For example, the signal strength levels are divided into: a first signal strength level and a second signal strength level; wherein the first signal strength level is higher than the second signal strength level.

Correspondingly, the data scheduling policy also includes a first data scheduling policy and a second data scheduling policy. The first signal strength level corresponds to a first data scheduling policy and the second signal strength level corresponds to a second data scheduling policy.

Step 103: and selecting a target sub-flow for data scheduling based on the target data scheduling strategy.

Specifically, based on the target data scheduling policy, determining scheduling priorities of at least two sub-streams; and selecting the target sub-stream from the at least two sub-streams according to the sequence of the scheduling priority from high to low.

That is, the data scheduling policy is to determine the scheduling priorities of different sub-streams, and sequentially select the sub-streams for data scheduling according to the order of the scheduling priorities from high to low.

In practical application, the first sub-flow may be a cell (cell) sub-flow, the second sub-flow may be a Wireless-Fidelity (wifi) sub-flow, that is, when the current signal strength is high, the network quality is good, the cell sub-flow is preferentially selected for data scheduling, when the current signal strength is low, the network quality is poor, the wifi sub-flow is preferentially selected for data scheduling, and when the current signal strength is in an intermediate level, the scheduling priority of the first sub-flow and the scheduling priority of the second sub-flow need to be further determined according to RTT values of the first sub-flow and the second sub-flow, so as to improve and ensure that different services are scheduled to the best sub-flow transmission.

In practical applications, the executing subject in steps 101 to 103 may be an intelligent terminal with communication capability, such as a smart phone, a notebook computer, a wearable device, an intelligent home device, and the like.

By adopting the technical scheme, the network quality of the current network is taken as the basis for determining the data scheduling strategy, and the data scheduling strategy which is most matched with the current network quality is selected, so that different services are scheduled to the best sub-stream transmission, and the overall service quality of the network is improved.

On the basis of the foregoing embodiments, the present application provides a more specific data scheduling method, and fig. 2 is a second flow chart of the data scheduling method in the embodiment of the present application, where as shown in fig. 2, the method specifically includes:

step 201: acquiring the network signal intensity of the current network;

in practical applications, the current network may be a mobile communication network. For example, the current network signal strength is characterized by using the reference signal received power, that is, the reference signal received power is obtained, and the current signal strength level is determined according to the magnitude of the reference signal received power.

Step 202: determining a target signal intensity level where the current network signal intensity is located from pre-divided signal intensity levels;

in practical applications, the network signal strength is divided into at least three strength levels. For example, the signal strength levels are divided into: a first signal strength level, a second signal strength level, and a third signal strength level; wherein the first signal strength level is higher than the second signal strength level, which is higher than the third signal strength level.

For example, a first signal strength level is a signal strength greater than-105 dB, a second signal strength level is a signal strength less than or equal to-105 dB and greater than-120 dB, and a third signal strength level is a signal strength less than-120 dB. A higher signal level indicates a stronger current signal strength.

Step 203: determining a target data scheduling strategy corresponding to the target signal strength grade based on the corresponding relation between the signal strength grade and the data scheduling strategy;

in some embodiments, the data scheduling policy comprises: a first data scheduling policy comprising a scheduling priority of the first sub-stream being higher than a scheduling priority of the second sub-stream; a second data scheduling policy comprising determining scheduling priorities of the first sub-stream and the second sub-stream based on transmission parameters of the first sub-stream and transmission parameters of the second sub-stream; a third data scheduling policy comprising selecting the second sub-stream.

Correspondingly, the correspondence between the signal strength level and the data scheduling policy includes: the first signal strength level corresponds to a first data scheduling policy, the second signal strength level corresponds to a second data scheduling policy, and the third signal strength level corresponds to a third data scheduling policy.

That is, when the current signal strength is the highest level (i.e., the first signal strength level), the scheduling priority of the first sub-stream is higher; when the current signal strength is an intermediate level (namely a second signal strength level), further determining the scheduling priority of the first sub-flow and the second sub-flow according to the RTT value; the scheduling priority of the second sub-stream is higher when the current signal strength is the lowest level (i.e., the third signal strength level).

In practical applications, the transmission parameters at least include round trip time RTT values of the sub-flows; correspondingly, the second data scheduling policy specifically includes: and determining the scheduling priority of the first sub-flow and the second sub-flow based on the RTT value of the first sub-flow, the RTT value of the second sub-flow and the RTT quantization difference between the first sub-flow and the second sub-flow.

In some embodiments, the second signal strength level is an intermediate level, which may also be subdivided into two or more intermediate signal strength levels. For example, the second signal strength level is subdivided into three sub-levels, the second signal strength level comprising: a first sub-level, a second sub-level, and a third sub-level; wherein the first sub-level is higher than the second sub-level, which is higher than the third sub-level;

for example, a first signal strength level is a signal strength greater than-105 dB, a second signal strength level is a signal strength less than or equal to-105 dB and greater than-120 dB, and a third signal strength level is a signal strength less than-120 dB. And dividing a section with the signal intensity of less than or equal to-105 dB and more than-120 dB into a first sub-level with less than or equal to-105 dB and more than-114 dB, a second sub-level with less than or equal to-114 dB and more than-118 dB and a third sub-level with less than or equal to-118 dB and more than-120 dB.

Correspondingly, when the intermediate strength level is divided into two or more sub-levels, the second data scheduling policy may also form different sub-scheduling policies according to the transmission parameter decision policies of different sub-streams.

For example, the second scheduling policy is further divided into three sub-policies, including: a first sub-policy, including that the RTT value of the first sub-flow is smaller than the RTT value of the second sub-flow, and determining that the scheduling priority of the first sub-flow is higher than the scheduling priority of the second sub-flow; the RTT value of the first sub-flow is larger than the RTT value of the second sub-flow, and the scheduling priority of the second sub-flow is higher than that of the first sub-flow;

a second sub-policy, including determining that the scheduling priority of the first sub-flow is higher than the scheduling priority of the second sub-flow when the RTT value of the first sub-flow is smaller than the RTT value of the second sub-flow and the RTT quantization difference is greater than a first threshold; when the RTT value of the first sub-flow is smaller than the RTT value of the second sub-flow and the RTT quantization difference value is smaller than a first threshold value, determining that the scheduling priority of the second sub-flow is higher than the scheduling priority of the first sub-flow; the RTT value of the first sub-flow is larger than the RTT value of the second sub-flow, and the scheduling priority of the second sub-flow is higher than that of the first sub-flow;

a third sub-policy, comprising determining that the scheduling priority of the second sub-flow is higher than the scheduling priority of the first sub-flow when the RTT value of the second sub-flow is smaller than a second threshold; when the RTT of the second sub-flow is greater than the second threshold, the RTT of the first sub-flow is less than the RTT of the second sub-flow, and the RTT quantization difference is greater than the first threshold, it is determined that the scheduling priority of the first sub-flow is higher than the scheduling priority of the second sub-flow; when the RTT of the second sub-flow is greater than the second threshold, the RTT of the first sub-flow is less than the RTT of the second sub-flow, and the RTT quantization difference is less than the first threshold, it is determined that the scheduling priority of the second sub-flow is higher than the scheduling priority of the first sub-flow; and when the RTT value of the second sub-flow is greater than the second threshold and the RTT value of the first sub-flow is greater than the RTT value of the second sub-flow, determining that the scheduling priority of the second sub-flow is higher than the scheduling priority of the first sub-flow.

Illustratively, the correspondence between the signal strength level and the data scheduling policy includes: the first signal strength level corresponds to a first data scheduling policy, and the first sub-level corresponds to the first sub-policy; the second sub-level corresponds to the second sub-policy; the third sub-level corresponds to the third sub-policy; the third signal strength level corresponds to a third data scheduling policy.

In practical applications, when the target signal strength level is the second signal strength level, the method further includes: and acquiring the RRT value of the first sub-flow and the RRT value of the second sub-flow. And performing sub-flow priority judgment according to the RTT values of the first sub-flow and the second sub-flow.

FIG. 3 is a schematic flow chart illustrating the determination of a data scheduling policy in an embodiment of the present application; as shown in fig. 3, the specific method for determining the data scheduling policy includes:

step 301: judging the received power of the reference signal;

here, the reference signal received power is used to characterize the current network signal strength, the first sub-stream is a cell sub-stream, and the second sub-stream is a wifi sub-stream.

Step 302: when the reference signal received power is larger than a first threshold value, preferentially selecting a first sub-stream;

for example, the first threshold may be-105 dB, and the Cell sub-flow scheduling data is preferentially adopted, that is, the scheduling priority of the Cell sub-flow is higher than that of the wifi sub-flow.

Step 303: the reference signal receiving power is smaller than or equal to a first threshold and larger than a second threshold, and a first judgment is made based on the RTT value of the sub-flow;

for example, the second threshold is-114 dB, and the first decision based on the RTT value of the sub-flow is to determine the scheduling priority by using the second data scheduling policy.

a) And comparing the RTT values of the Cell sub-flow and the wifi sub-flow, and if the RTT of the Cell is less than the RTT of the wifi, preferentially adopting Cell sub-flow scheduling data.

b) And if the RTT of the Cell is greater than the RTT of the wifi, the wifi sub-flow scheduling data is preferentially adopted.

Step 304: the reference signal receiving power is smaller than or equal to a second threshold and larger than a third threshold, and a second judgment is made based on the RTT value of the sub-flow;

for example, the third threshold is-118 dB, and the second decision based on the RTT value is to use a third data scheduling policy to determine the scheduling priority.

a) If the RTT of the Cell sub-flow is smaller than the RTT of the wifi sub-flow and the RTT quantization difference is larger than a specific threshold, preferentially adopting Cell sub-flow scheduling data

b) If RTT of the Cell sub-flow is smaller than RTT of the wifi sub-flow but RTT quantization difference is smaller than a specific threshold, then wifi sub-flow scheduling data is preferentially adopted

c) And if the RTT of the Cell sub-flow is greater than that of the wifi sub-flow, the wifi sub-flow is preferentially adopted to schedule data.

Step 305: the reference signal receiving power is smaller than or equal to a third threshold and larger than a fourth threshold, and a third judgment is made based on the RTT value of the sub-flow;

for example, the fourth threshold is-120 dB, and the third decision based on the RTT value is to determine the scheduling priority by using a fourth data scheduling policy.

a) If the RTT value of the wifi sub-flow is less than 250ms, the wifi sub-flow is preferentially adopted to schedule data,

b) if the RTT value of the wifi sub-flow is greater than 250ms, the RTT of the Cell sub-flow is smaller than the RTT of the wifi sub-flow, and the RTT quantization difference is greater than a specific threshold, preferentially adopting Cell sub-flow scheduling data

c) If the RTT value of the wifi sub-flow is greater than 250ms, the RTT of the Cell sub-flow is smaller than the RTT of the wifi sub-flow, and the RTT quantization difference is smaller than a specific threshold, then the wifi sub-flow is preferentially adopted to schedule data.

d) And if the RTT value of the wifi sub-flow is greater than 250ms and the RTT of the Cell sub-flow is greater than the RTT of the wifi sub-flow, preferentially adopting the wifi sub-flow to schedule data.

Step 306: when the reference signal received power is smaller than a fourth threshold value, preferentially selecting the second sub-stream;

for example, the fourth threshold may be-120 dB, wifi substream scheduling data is selected, and cell substream scheduling data is prohibited.

In practical application, the current signal strength is high, which indicates that the network quality is good, the cell sub-stream is preferentially selected for data scheduling, the current signal strength is low, which indicates that the network quality is poor, the wireless fidelity (wifi) sub-stream is preferentially selected for data scheduling, and when the current signal strength is in the middle level, the scheduling priorities of the first sub-stream and the second sub-stream need to be further judged according to the RTT values of the first sub-stream and the second sub-stream, so as to improve and ensure that different services are scheduled to the best sub-stream transmission.

It should be noted that, the above scheme for determining the scheduling priority of the first sub-flow and the second sub-flow based on the RTT value is only an illustrative example, and is not intended to limit the scheduling policy of the present application, and any scheduling policy further mined based on the scheduling policy by using the RTT value falls within the protection scope of the present application.

Step 204: determining scheduling priorities of at least two sub-streams based on the target data scheduling policy;

step 205: and selecting the target sub-stream from the at least two sub-streams according to the sequence of the scheduling priority from high to low.

And determining the scheduling priority of different sub-streams according to the selected data scheduling strategy, and sequentially selecting the sub-streams for data scheduling according to the sequence of the scheduling priority from high to low to ensure that different services are scheduled to the optimal sub-stream transmission so as to ensure the overall service quality of the network.

By adopting the technical scheme, the data transmission performance of the cell network is judged by sensing the current network signal state in real time, the network signal strength is graded, and different grades correspond to different data transmission capacities of the cell network. And selecting the priority scheduling cell sub-stream or wifi sub-stream according to one of the signal intensity levels of the current signal intensity, so as to ensure that different services are scheduled to the best sub-stream transmission, thereby ensuring the overall service quality of the network and improving the internet experience of the user.

An embodiment of the present application further provides a data scheduling apparatus, and as shown in fig. 4, the apparatus includes:

an obtaining unit 401, configured to obtain a network quality evaluation parameter of a current network;

a processing unit 402, configured to determine a target data scheduling policy for data scheduling based on the network quality assessment parameter;

a selecting unit 403, configured to select a target sub-stream for data scheduling based on the target data scheduling policy.

In some embodiments, the network quality assessment parameters include at least: network signal strength; a processing unit 402, specifically configured to determine a target signal strength level at which the network signal strength is located from pre-divided signal strength levels; and determining a target data scheduling strategy corresponding to the target signal strength grade based on the corresponding relation between the signal strength grade and the data scheduling strategy.

In some embodiments, the selecting unit 403 is specifically configured to determine a scheduling priority of at least two sub-streams based on the target data scheduling policy; and selecting the target sub-stream from the at least two sub-streams according to the sequence of the scheduling priority from high to low.

In some embodiments, the data scheduling policy comprises: a first data scheduling policy comprising a scheduling priority of the first sub-stream being higher than a scheduling priority of the second sub-stream; a second data scheduling policy comprising determining scheduling priorities of the first sub-stream and the second sub-stream based on transmission parameters of the first sub-stream and transmission parameters of the second sub-stream; a third data scheduling policy comprising selecting the second sub-stream.

In some embodiments, the pre-divided signal strength levels comprise: a first signal strength level, a second signal strength level, and a third signal strength level; wherein the first signal strength level is higher than the second signal strength level, which is higher than the third signal strength level; the first signal strength level corresponds to a first data scheduling policy, the second signal strength level corresponds to a second data scheduling policy, and the third signal strength level corresponds to a third data scheduling policy.

In some embodiments, the transmission parameters comprise at least round trip time RTT values for sub-flows; the second data scheduling policy specifically includes: and determining the scheduling priority of the first sub-flow and the second sub-flow based on the RTT value of the first sub-flow, the RTT value of the second sub-flow and the RTT quantization difference between the first sub-flow and the second sub-flow.

In some embodiments, the obtaining unit 401 is further configured to obtain the RRT value of the first sub-flow and the RRT value of the second sub-flow when the target signal strength level is a second signal strength level.

In some embodiments, the second data scheduling policy specifically includes:

a first sub-policy, including that the RTT value of the first sub-flow is smaller than the RTT value of the second sub-flow, and determining that the scheduling priority of the first sub-flow is higher than the scheduling priority of the second sub-flow; the RTT value of the first sub-flow is larger than the RTT value of the second sub-flow, and the scheduling priority of the second sub-flow is higher than that of the first sub-flow;

a second sub-policy, including determining that the scheduling priority of the first sub-flow is higher than the scheduling priority of the second sub-flow when the RTT value of the first sub-flow is smaller than the RTT value of the second sub-flow and the RTT quantization difference is greater than a first threshold; when the RTT value of the first sub-flow is smaller than the RTT value of the second sub-flow and the RTT quantization difference value is smaller than a first threshold value, determining that the scheduling priority of the second sub-flow is higher than the scheduling priority of the first sub-flow; the RTT value of the first sub-flow is larger than the RTT value of the second sub-flow, and the scheduling priority of the second sub-flow is higher than that of the first sub-flow;

a third sub-policy, comprising determining that the scheduling priority of the second sub-flow is higher than the scheduling priority of the first sub-flow when the RTT value of the second sub-flow is smaller than a second threshold; when the RTT of the second sub-flow is greater than the second threshold, the RTT of the first sub-flow is less than the RTT of the second sub-flow, and the RTT quantization difference is greater than the first threshold, it is determined that the scheduling priority of the first sub-flow is higher than the scheduling priority of the second sub-flow; when the RTT of the second sub-flow is greater than the second threshold, the RTT of the first sub-flow is less than the RTT of the second sub-flow, and the RTT quantization difference is less than the first threshold, it is determined that the scheduling priority of the second sub-flow is higher than the scheduling priority of the first sub-flow; and when the RTT value of the second sub-flow is greater than the second threshold and the RTT value of the first sub-flow is greater than the RTT value of the second sub-flow, determining that the scheduling priority of the second sub-flow is higher than the scheduling priority of the first sub-flow.

In some embodiments, the pre-divided signal strength levels comprise:

a first signal strength level, a second signal strength level, and a third signal strength level; wherein the first signal strength level is higher than the second signal strength level, which is higher than the third signal strength level;

the second signal strength level comprises: a first sub-level, a second sub-level, and a third sub-level; wherein the first sub-level is higher than the second sub-level, which is higher than the third sub-level;

the first signal strength level corresponds to a first data scheduling policy, and the first sub-level corresponds to the first sub-policy; the second sub-level corresponds to the second sub-policy; the third sub-level corresponds to the third sub-policy; the third signal strength level corresponds to a third data scheduling policy.

In some embodiments, the first sub-flow is a cell sub-flow and the second sub-flow is a wifi sub-flow.

By adopting the device, the network quality of the current network is taken as the basis for determining the data scheduling strategy, and the data scheduling strategy which is most matched with the current network quality is selected, so that different services are scheduled to the best sub-stream transmission, and the overall service quality of the network is improved.

An embodiment of the present application further provides another data scheduling apparatus, as shown in fig. 5, the apparatus further includes: a processor 501 and a memory 502 configured to store a computer program capable of running on the processor; the steps of the method in the embodiments of the present application are implemented by the processor 501 when executing the computer program in the memory 502.

In practice, of course, the various components of the device are coupled together by a bus system 503, as shown in FIG. 5. It will be appreciated that the bus system 503 is used to enable communications among the components. The bus system 503 includes a power bus, a control bus, and a status signal bus in addition to the data bus. For clarity of illustration, however, the various buses are labeled as bus system 503 in fig. 5.

In practical application, the data scheduling device can be applied to an MPTCP functional module of a mobile terminal, and the module can judge the quality of a current data network by acquiring the signal state of the current network in real time and make a decision on data stream transmission scheduling based on MPTCP. If the signal quality is weak, the WIFI substream is prone to be selected for service transmission, and when the signal quality is strong, the Cell substream is prone to be selected for service transmission, so that the overall service quality of the network is guaranteed, and the user internet experience is improved.

The embodiments of the present application further provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the method according to any of the embodiments.

In practical applications, the processor may be at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processing Device (DSPD), a Programmable logic Device (P L D, a Programmable L ic Device), a Field-Programmable Gate Array (FPGA), a controller, a microcontroller, and a microprocessor.

The Memory may be a volatile Memory (volatile Memory), such as a Random-Access Memory (RAM); or a non-volatile Memory (non-volatile Memory), such as a Read-Only Memory (ROM), a flash Memory (flash Memory), a Hard Disk (HDD), or a Solid-State Drive (SSD); or a combination of the above types of memories and provides instructions and data to the processor.

It should be noted that: "first," "second," and the like are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.

The methods disclosed in the several method embodiments provided in the present application may be combined arbitrarily without conflict to obtain new method embodiments.

Features disclosed in several of the product embodiments provided in the present application may be combined in any combination to yield new product embodiments without conflict.

The features disclosed in the several method or device embodiments provided in the present application may be combined in any combination to arrive at a new method or device embodiment without conflict.

The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

14页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:数据传输方法、装置及计算机存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!