A scheduling method, device and storage medium

By using the scheduling parameter model to adjust cloud disk upload and download configuration parameters, the problems of poor upload and download efficiency and resource utilization in the existing technology are solved, and efficient resource utilization and user experience improvement are achieved in different scenarios.

CN117271081BActive Publication Date: 2024-09-27CHINA MOBILE INTERNET CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311227343.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-21
Publication Date
2024-09-27
Estimated Expiration
2043-09-21

AI Technical Summary

Technical Problem

Existing technology cannot optimize cloud disk upload and download functions without affecting user experience, and cannot adapt to dynamic configuration of upload and download parameters for multiple scenarios and real-time information on multiple mobile phones, resulting in poor upload and download efficiency and poor resource utilization.

Method used

By obtaining training data of terminal equipment, including transmission configuration parameters and performance parameters, use scheduling parameter model prediction and training, generate model parameters, adjust upload and download configuration parameters to adapt to different scenarios and resource constraints, and achieve upload and download efficiency and resource optimization. balance.

Benefits of technology

Without affecting user experience, it maximizes upload and download efficiency, adapts to various application scenarios, optimizes resource utilization, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117271081B
    Figure CN117271081B
Patent Text Reader

Abstract

The present invention proposes a scheduling method, device and storage medium, which relate to the field of network transmission technology. The method includes: obtaining training data, wherein the training data includes a first transmission configuration parameter of a terminal device and a performance parameter of the terminal device at a corresponding moment, and includes a second transmission configuration parameter adopted by the terminal device after adopting the first transmission configuration parameter; inputting the first transmission configuration parameter and the performance parameter into a scheduling parameter model to obtain a prediction parameter output by the scheduling parameter model; training the scheduling parameter model according to the difference between the prediction parameter and the second transmission configuration parameter to obtain the model parameters of the trained scheduling parameter model; sending the model parameters to the terminal device. The present invention can gradually adapt the configuration parameters of upload and download to various application scenarios according to the needs of users, maximize the efficiency of upload and download under the constraints of resources and scenarios, and improve the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of network transmission technology, and in particular to a scheduling method, device and storage medium. Background Art

[0002] With the development of information technology, cloud disk applications have enriched information sources and improved information security and reliability. Uploading and downloading are the core functions of cloud disks. How to achieve the maximum functional load without affecting user experience has become an important issue.

[0003] When the cloud disk is uploading and downloading in the background, the situation that affects the user experience changes in real time. In the prior art, the parameter information of the upload and download configuration is set by obtaining the parameters set by the user, or the upload and download parameters are set only according to the parameter setting templates configured for several scenarios. This cannot completely cover the user scenarios, and it is difficult to optimize the functional load. Summary of the invention

[0004] The present invention aims to solve one of the technical problems in the related art at least to a certain extent.

[0005] To this end, a first object of the present invention is to propose a scheduling method to achieve maximum functional load without affecting user experience.

[0006] The second objective of the present invention is to propose another scheduling method.

[0007] The third object of the present invention is to provide a scheduling device.

[0008] The fourth objective of the present invention is to provide another scheduling device.

[0009] A fifth objective of the present invention is to provide an electronic device.

[0010] A sixth object of the present invention is to provide a computer-readable storage medium.

[0011] To achieve the above object, a first aspect of the present invention provides a scheduling method, including:

[0012] Acquire training data, wherein the training data includes a first transmission configuration parameter of a terminal device and a performance parameter of the terminal device at a corresponding moment, and includes a second transmission configuration parameter adopted by the terminal device after adopting the first transmission configuration parameter;

[0013] Inputting the first transmission configuration parameter and the performance parameter into a scheduling parameter model to obtain a prediction parameter output by the scheduling parameter model;

[0014] Training the scheduling parameter model according to a difference between the prediction parameter and the second transmission configuration parameter to obtain model parameters of the trained scheduling parameter model;

[0015] The model parameters are sent to the terminal device.

[0016] To achieve the above object, the second aspect of the present invention proposes another scheduling method, including:

[0017] Receiving model parameters sent by the network device;

[0018] Generating a trained scheduling parameter model according to the model parameters;

[0019] Based on actual transmission configuration parameters used by the terminal device and actual performance parameters of the terminal device, using the scheduling parameter model to predict target transmission configuration parameters;

[0020] The target transmission configuration parameters are used to schedule uplink and / or downlink transmission of the terminal device.

[0021] To achieve the above-mentioned purpose, a third aspect of the present invention provides a scheduling device, including:

[0022] an acquisition module, configured to acquire training data, wherein the training data includes a first transmission configuration parameter of a terminal device and a performance parameter of the terminal device at a corresponding moment, and includes a second transmission configuration parameter adopted by the terminal device after adopting the first transmission configuration parameter;

[0023] An input module, configured to input the first transmission configuration parameter and the performance parameter into a scheduling parameter model to obtain a prediction parameter output by the scheduling parameter model;

[0024] A training module, used for training the scheduling parameter model according to the difference between the prediction parameter and the second transmission configuration parameter to obtain model parameters of the trained scheduling parameter model;

[0025] A sending module is used to send the model parameters to the terminal device.

[0026] To achieve the above-mentioned purpose, the fourth aspect of the present invention proposes another scheduling device including:

[0027] A receiving module, used for receiving model parameters sent by a network device;

[0028] A generation module, used to generate a trained scheduling parameter model according to the model parameters;

[0029] A prediction module, configured to predict target transmission configuration parameters using the scheduling parameter model based on actual transmission configuration parameters used by the terminal device and actual performance parameters of the terminal device;

[0030] The scheduling module is used to schedule the uplink and / or downlink transmission of the terminal device using the target transmission configuration parameters.

[0031] To achieve the above-mentioned object, a fifth aspect of the present invention provides an electronic device, including:

[0032] processor;

[0033] a memory for storing executable instructions for the processor;

[0034] The processor is configured to execute the instructions to implement a scheduling method as proposed in the present invention.

[0035] To achieve the above-mentioned purpose, the sixth aspect of the present invention proposes a computer-readable storage medium. When the instructions in the storage medium are executed by the processor of an electronic device, the electronic device can execute a scheduling method as proposed in the present invention.

[0036] The present invention has at least the following beneficial effects:

[0037] The present invention provides a scheduling method, which obtains training data, wherein the training data includes a first transmission configuration parameter of a terminal device and a performance parameter of the terminal device at a corresponding moment, and includes a second transmission configuration parameter adopted by the terminal device after adopting the first transmission configuration parameter; inputs the first transmission configuration parameter and the performance parameter into a scheduling parameter model to obtain a prediction parameter output by the scheduling parameter model; trains the scheduling parameter model according to the difference between the prediction parameter and the second transmission configuration parameter to obtain a model parameter of the trained scheduling parameter model; and sends the model parameter to the terminal device. The present invention can gradually adapt the configuration parameters of upload and download to various application scenarios according to user needs, balance the efficiency and resources of upload and download, maximize the efficiency of upload and download under resource and scenario constraints, and improve user experience.

[0038] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0040] Figure 1 A schematic diagram of a flow chart of a scheduling method provided by an embodiment of the present invention;

[0041] Figure 2 A flowchart of another scheduling method provided by an embodiment of the present invention;

[0042] Figure 3 A RNN model structure diagram provided by an embodiment of the present invention;

[0043] Figure 4 The embodiment of the present invention provides Figure 3 The expanded diagram of

[0044] Figure 5 The embodiment of the present invention provides Figure 3 Detailed network diagram;

[0045] Figure 6 A flowchart of another scheduling method provided by an embodiment of the present invention;

[0046] Figure 7 A flowchart of another scheduling method provided by an embodiment of the present invention;

[0047] Figure 8 A schematic diagram of the structure of a scheduling device provided by an embodiment of the present invention;

[0048] Fig. 9 A schematic diagram of the structure of another scheduling device provided by an embodiment of the present invention;

[0049] Fig.10 A block diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0050] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.

[0051] The scheduling method and device according to the embodiments of the present invention are described below with reference to the accompanying drawings.

[0052] Figure 1 A flowchart of a scheduling method provided by an embodiment of the present invention.

[0053] With the development of information technology, the hardware processing capabilities of terminal devices are getting stronger and stronger, and the network bandwidth is getting higher and higher. During the operation of cloud disks, several important indicators that affect the user experience of mobile terminals include central processing unit (CPU) occupancy, memory occupancy, refresh rate, power consumption, remaining storage space, background applications, and the user's current operation status.

[0054] Since the situations in which the cloud disk upload and download functions in the background affect the user experience are changing in real time, for example, when the user is playing a game, the game process occupies a high CPU and memory. At this time, if the cloud disk application sets higher upload and download parameters in the background, it will lead to a poor user experience. For example, the user's current network status is not good and the packet loss rate is high. Setting a larger upload and download cache is a waste of terminal user's mobile phone resources. In addition, if the user's terminal battery is low, setting higher upload and download parameters will cause the user's battery to be consumed too quickly, which will also lead to a poor user experience. There are dozens of such scenarios.

[0055] The existing upload and download related methods mainly include the following solutions:

[0056] 1. When uploading local files, they are divided into multiple pieces, uploaded in multiple threads, and merged in parallel on the cloud, which greatly improves the efficiency of file upload. When downloading files, combined with permission control, the cloud dynamically matches according to information and provides multiple lines for downloading, which is conducive to improving the efficiency of file download in cloud disk scenarios.

[0057] 2. The client obtains local configuration information, network node information, upload / download bandwidth, and sends a configuration request to the upload policy server. The configuration request carries local configuration information, network node information, and upload / download bandwidth. The upload policy server determines the client's upload scheduling configuration policy based on the configuration request and sends the upload scheduling configuration policy to the client. The client adjusts the upload bandwidth and the blocking / non-blocking state of the network node based on the upload scheduling configuration policy. This solution can adaptively adjust the user's upload bandwidth and the connection of the network node, so that the client's upload scheduling maintains good compatibility with the node's own service capabilities and network environment conditions, can better adapt to the user's download tasks, and effectively improve network upload efficiency.

[0058] 3. The undownloaded part of the file is divided into a left area and a right area. The download requests of the two areas are carried out simultaneously, and the two areas are allowed to intersect. The initial value size of the left area can be set according to specific business needs, and the size of the right area is set according to the obtained download request. Based on the download request, the two areas are dynamically adjusted until the task is completely downloaded. This solution avoids the problem of frequent switching due to the logic of the application layer due to the urgency of the data, and can greatly improve the service quality of the upper-level application. At the same time, the length of the left and right areas can be dynamically adjusted according to the completion quality of the two areas, improving data download efficiency and reducing system overhead.

[0059] Among them, Solution 1 only uses slice multi-threading to improve the upload and download efficiency, but does not explain the slice size and the size of the open thread, let alone intelligent scheduling. It is impossible to dynamically configure the optimal upload and download parameters under the influence of multiple scenarios, multiple mobile phone real-time information and other parameters.

[0060] The upload scheduling scheme adopted in Solution 2 is determined by the locally configured upload scheduling scheme and the network bandwidth. This scheme adopts a fixed calculation method for upload and download scheduling. It is impossible to add new factors that affect upload and download later, and it is impossible to dynamically calculate the upload and download priority or adjust the upload and download strategy based on the content of the upload and download and various scenarios.

[0061] In solution 3, the download scheduling divides the downloaded files into two areas, the left and the right, mainly for the purpose of saving bandwidth resources. The scheduling algorithm does not take into account the impact of multiple factors on multiple uploads and downloads, and does not take into account the differences in upload and download scheduling in various scenarios.

[0062] In view of the above problems, an embodiment of the present invention provides a scheduling method to achieve the maximum functional load without affecting the user experience, such as Figure 1 As shown, the method is applied to a network device and comprises the following steps:

[0063] Step 101, obtaining training data, wherein the training data includes a first transmission configuration parameter of a terminal device and a performance parameter of the terminal device at a corresponding moment, and includes a second transmission configuration parameter adopted by the terminal device after adopting the first transmission configuration parameter.

[0064] Optionally, terminal equipment generally refers to equipment with communication processing and control functions, such as mobile phones, computers, etc.

[0065] In an embodiment of the present invention, the first transmission configuration parameter is a configuration parameter for uploading and downloading by the terminal device, such as the number of upload threads, the number of download threads, the upload segment size, the download segment size, the write data block size, the read data block size, etc.

[0066] In the embodiment of the present invention, the performance parameters are information parameters related to the performance of the terminal device, such as uplink bandwidth, downlink bandwidth, memory usage percentage, CPU usage, page refresh rate and other information.

[0067] In the embodiment of the present invention, the second transmission configuration parameter is an updated transmission configuration parameter obtained by updating the first transmission configuration parameter.

[0068] Step 102: input the first transmission configuration parameter and the performance parameter into a scheduling parameter model to obtain a prediction parameter output by the scheduling parameter model.

[0069] Optionally, the scheduling parameter model may be a recurrent neural network (RNN model), and the first transmission configuration parameters and performance parameters are input into the scheduling parameter model, and the first transmission configuration parameters and performance parameters at the next moment are output as prediction parameters.

[0070] Step 103: training the scheduling parameter model according to the difference between the predicted parameter and the second transmission configuration parameter to obtain model parameters of the trained scheduling parameter model.

[0071] Optionally, the difference between the prediction parameter and the second transmission configuration parameter may be a difference value between the prediction parameter and the second transmission configuration parameter.

[0072] Optionally, the difference between the predicted parameter and the second transmission configuration parameter is used as the loss value to adjust the scheduling parameter model; the second transmission configuration parameter at the next moment is obtained, the first transmission configuration parameter at the next moment is input into the adjusted scheduling parameter model, the predicted parameter at the next moment is obtained, and the difference between the predicted parameter at the next moment and the second transmission configuration parameter at the next moment is used as the loss value to adjust the scheduling parameter model; until the model converges, the model parameters of the trained scheduling parameter model are obtained.

[0073] Step 104: Send the model parameters to the terminal device.

[0074] The model parameters of the trained scheduling parameter model are sent to the terminal device so that the terminal device generates the trained scheduling parameter model according to the model parameters; based on the actual transmission configuration parameters adopted by the terminal device and the actual performance parameters of the terminal device, the scheduling parameter model is used to predict the target transmission configuration parameters; and the target transmission configuration parameters are used to schedule the uplink and / or downlink transmission of the terminal device.

[0075] When faced with a new scenario, you can collect data sets in large quantities in this scenario, and use the trained model parameters to continue training to obtain a new model. This new model has the ability to intelligently adjust the configuration parameters of upload and download in the new scenario.

[0076] In this embodiment, training data is obtained, wherein the training data includes a first transmission configuration parameter of a terminal device and a performance parameter of the terminal device at a corresponding moment, and includes a second transmission configuration parameter adopted by the terminal device after adopting the first transmission configuration parameter; the first transmission configuration parameter and the performance parameter are input into a scheduling parameter model to obtain a prediction parameter output by the scheduling parameter model; the scheduling parameter model is trained according to the difference between the prediction parameter and the second transmission configuration parameter to obtain a model parameter of the trained scheduling parameter model; and the model parameter is sent to the terminal device. The present invention can gradually adapt the configuration parameters of upload and download to various application scenarios according to the needs of users. It does not take the maximum upload and download efficiency as the first priority, but balances the upload and download efficiency and resources, maximizes the upload and download efficiency under the constraints of resources and scenarios, and improves the user experience.

[0077] In order to clearly illustrate the previous embodiment, this embodiment provides another scheduling method. Figure 2 A flowchart of another scheduling method provided by an embodiment of the present invention.

[0078] like Figure 2 As shown, the method may include the following steps:

[0079] Step 201: Receive multiple monitoring data sent by a terminal device, wherein each monitoring data includes: a first transmission configuration parameter and a performance parameter at a corresponding moment, and a second transmission configuration parameter and feedback information of the second transmission configuration parameter.

[0080] Optionally, the first transmission configuration parameter is the transmission configuration parameter at time T0, and the transmission configuration parameter includes the number of upload threads, the number of download threads, the upload segment size, the download segment size, the write data block size, the read data block size, the read buffer area, the write buffer area, and the upload and download priority.

[0081] In the embodiment of the present invention, the transmission configuration parameters at time T0 are respectively recorded as w01, w02, w03, ..., w0m, and the first transmission configuration parameters take default values.

[0082] The performance parameters at time T0 include the uplink bandwidth, downlink bandwidth, memory usage percentage, storage write speed, storage read speed, CPU temperature, CPU share, remaining upload and download file percentage, and page refresh rate.

[0083] In the embodiment of the present invention, the performance parameters at time T0 are recorded as x01, x02, x03, . . . , x0n.

[0084] Optionally, the second transmission configuration parameter is a transmission configuration parameter obtained by updating the first transmission configuration parameter.

[0085] In an embodiment of the present invention, the second transmission configuration parameter is a transmission configuration parameter that is reset after a period of time (△t), and is w01+random(n1), w02+random(n2), w03+random(n3), ..., w0m++random(nm), where random is a random number, that is, the second transmission configuration parameter is obtained by adding or subtracting a random number on the basis of the first transmission configuration parameter at time T0.

[0086] Optionally, the feedback information includes a user score and at least one item of terminal operation data.

[0087] In the embodiment of the present invention, after Δs, the mobile phone parameters x11, x12, x13, ..., x1n at time T1 are recorded, and the user's score of using the mobile phone is recorded between 0 and 10. The user's score and the mobile phone information at time T1 are combined to determine the current usage status value, which is recorded between 0 and 10 as feedback information. Among them, the user's subjective score accounts for 50%, and the mobile phone information accounts for 50%. If there is no user subjective score item, the mobile phone information accounts for 100%.

[0088] Step 202: Based on the feedback information, multiple monitoring data are screened to obtain training data.

[0089] Optionally, when at least one item of terminal operation data is greater than the corresponding upper threshold, the score of the corresponding monitoring data is determined to be the maximum score; when each item of terminal operation data is less than the corresponding lower threshold, the score of the corresponding monitoring data is determined to be the minimum value; when each item of terminal operation data is not greater than the corresponding upper threshold and at least one item of terminal operation data is greater than or equal to the lower threshold, a weighted sum is taken between the user score and at least one item of terminal operation data to obtain the score of the corresponding monitoring data; based on the score of each piece of monitoring data, monitoring data with a score in the set score range is screened as training data.

[0090] In the embodiment of the present invention, a maximum critical value M and a minimum critical value N are set for each terminal operation data. If any one item exceeds the maximum critical value M, it is marked as 10, indicating resource overload; if all items are less than the critical value N, they are marked as 0, indicating low resource load. In other cases, they are added with equal weights.

[0091] The first transmission configuration parameter and performance parameter collected at time T0 are recorded as w0 and x0 as input data; the output data is the second transmission configuration parameter data w1 at time T0+△t, and the input data and output data appear in pairs. Finally, the input data and output data with scores between 6 and 9 are filtered out as training data sets.

[0092] It should be noted that the above method can be used to obtain training data in various user scenarios. The larger the amount of data for deep learning, the better.

[0093] Furthermore, the input parameters and output parameters can be uniformly adjusted to numbers between 0 and 100 through normalization processing to prevent the output parameters from being distorted during the training process due to differences in the parameters.

[0094] Among them, the numbers involving percentages are normalized by multiplying them by 100; data with large differences in order of magnitude can be divided into different levels by setting thresholds; and data with small differences can be normalized by calculating the mean and variance.

[0095] As a possible implementation, for data with small differences, the variance of plus or minus three times the mean is divided into 100 points. The value above the maximum value is recorded as 100, and the value below three times the minimum variance is recorded as 0.

[0096] Optionally, 70% of all the acquired data are randomly selected as training data, and the other 30% are used as validation data to prevent overfitting of data training.

[0097] Step 203: input the first transmission configuration parameter and the performance parameter into the scheduling parameter model to obtain the prediction parameter output by the scheduling parameter model.

[0098] In the embodiment of the present invention, a standard deep learning RNN training model is used to train the scheduling parameter model. The RNN model structure is as follows: Figure 3 As shown in the figure, the input is X, the hidden layer is S, the output is O, and U, W, and V are all parameters in the RNN model. The RNN model uses 2 hidden layers, where the first layer is set to 128 and the second layer is set to 64.

[0099] Figure 3 Expand according to the timeline Figure 4 As shown, the input at time t-1 is x t-1 , the value of the hidden layer is s t-1 , the output value is o t-1 ; The input at time t is x t , the value of the hidden layer is s t , the output value is o t ; The input at time t+1 is x t+1 , the value of the hidden layer is st+1 , the output value is o t+1 U, W, and V are all parameters in the RNN model.

[0100] The specific network diagram is as follows Figure 5 As shown in the figure, U, W, and V are all weight matrices in the RNN model. The input at time t is m first transmission configuration parameters, which are X 1 , X 2 , X 3 , …, X m The hidden layer has n values, namely S 1 , S 2 , …, S n The output value is O 1 and O 2 .

[0101] In the RNN network, the value of the hidden layer at time t depends not only on the m first transmission configuration parameters at time t, but also on the value of the hidden layer at time t-1, that is, S t The value of X does not only depend on t , also depends on S t-1 The calculation method of the recurrent neural network can be expressed by the following formula:

[0102] O t =g(V·S t )

[0103] S t =f(U·X t +W·S t-1 )

[0104] In the embodiment of the present invention, X t is the normalized data of the performance parameters at time t, S t-1 is the first transmission configuration parameter at time t-1, O t To output the prediction parameters that need to be configured at time t.

[0105] Step 204: training the scheduling parameter model according to the difference between the predicted parameter and the second transmission configuration parameter to obtain model parameters of the trained scheduling parameter model.

[0106] Optionally, the difference between the prediction parameter and the second transmission configuration parameter may be a difference value between the prediction parameter and the second transmission configuration parameter.

[0107] In an embodiment of the present invention, the difference between the predicted parameter and the second transmission configuration parameter is used as a loss value to adjust the scheduling parameter model; the second transmission configuration parameter at time t+1 is obtained, the first transmission configuration parameter at time t+1 is input into the adjusted scheduling parameter model, the predicted parameter at time t+1 is obtained, the difference between the predicted parameter at time t+1 and the second transmission configuration parameter at time t+1 is used as a loss value to adjust the scheduling parameter model; until the model converges, the model parameters of the trained scheduling parameter model are obtained.

[0108] After a large amount of data training, the parameters U, W, and V of the trained scheduling parameter model are determined.

[0109] Step 205 , selecting a set proportion of training data from the set of training data to test the trained scheduling parameter model, and sending the model parameters to the terminal device.

[0110] In the embodiment of the present invention, the set ratio may be 30%, and 30% of the training data is selected to test the trained scheduling parameter model.

[0111] As the amount of training data increases, model parameters can cover more scenarios.

[0112] Furthermore, the parameters U, W, and V of the scheduling parameter model determined after training are provided to the terminal device for download.

[0113] In this embodiment, multiple monitoring data sent by a terminal device are received, wherein each monitoring data includes: a first transmission configuration parameter and a performance parameter at a corresponding moment, and a second transmission configuration parameter and feedback information of the second transmission configuration parameter; based on the feedback information, multiple monitoring data are screened to obtain training data; the first transmission configuration parameter and the performance parameter are input into a scheduling parameter model to obtain a prediction parameter output by the scheduling parameter model; the scheduling parameter model is trained according to the difference between the prediction parameter and the second transmission configuration parameter to obtain model parameters of the trained scheduling parameter model; a set proportion of training data is selected from the set of training data to test the trained scheduling parameter model, and the model parameters are sent to the terminal device. The present invention can gradually adapt the configuration parameters of upload and download to various application scenarios according to the needs of users, and does not take the maximum upload and download efficiency as the first priority, but balances the upload and download efficiency and resources, maximizes the upload and download efficiency under the constraints of resources and scenarios, and improves the user experience.

[0114] This embodiment provides another scheduling method. Figure 6 A flowchart of another scheduling method provided by an embodiment of the present invention.

[0115] like Figure 6As shown, the method is applied to a terminal device and may include the following steps:

[0116] Step 601: Receive model parameters sent by a network device.

[0117] Optionally, the model parameters are parameters U, W, V of the scheduling parameter model determined after training, and the model parameters are received by downloading and sent by the network device.

[0118] Step 602: Generate a trained scheduling parameter model based on the model parameters.

[0119] Optionally, the model parameters are loaded into the RNN model to generate a trained scheduling parameter model.

[0120] Step 603: Based on the actual transmission configuration parameters used by the terminal device and the actual performance parameters of the terminal device, a scheduling parameter model is used to predict the target transmission configuration parameters.

[0121] Optionally, actual transmission configuration parameters used by the terminal device and actual performance parameters of the terminal device are input into the generated scheduling parameter model, and target transmission configuration parameters predicted by the scheduling parameter model are output.

[0122] Step 604: Use the target transmission configuration parameters to schedule uplink and / or downlink transmission of the terminal device.

[0123] Optionally, the output target transmission configuration parameters are used as transmission configuration parameters of the terminal device to schedule uplink and / or downlink transmission of the terminal device.

[0124] In this embodiment, the model parameters sent by the network device are received; according to the model parameters, a trained scheduling parameter model is generated; based on the actual transmission configuration parameters used by the terminal device and the actual performance parameters of the terminal device, the scheduling parameter model is used to predict the target transmission configuration parameters; and the target transmission configuration parameters are used to schedule the uplink and / or downlink transmission of the terminal device. The present invention can gradually adapt the configuration parameters of upload and download to various application scenarios according to the needs of users. It does not take the maximum upload and download efficiency as the first priority, but balances the upload and download efficiency and resources, maximizes the upload and download efficiency under the constraints of resources and scenarios, and improves the user experience.

[0125] To make it clear Figure 6 The embodiment shown in the figure provides another scheduling method. Figure 7 A flowchart of another scheduling method provided by an embodiment of the present invention.

[0126] like Figure 7 As shown, the method may include the following steps:

[0127] Step 701: Send monitoring data to a network device.

[0128] The monitoring data include: the first transmission configuration parameter and the performance parameter at the corresponding moment, and the second transmission configuration parameter and feedback information of the second transmission configuration parameter.

[0129] Optionally, obtain a first transmission configuration parameter adopted by the terminal device at a first moment and a performance parameter at a corresponding moment; update the first transmission configuration parameter based on a random number to obtain an updated second transmission configuration parameter; execute the second transmission configuration parameter to adopt the second transmission configuration parameter to schedule the uplink and / or downlink transmission of the terminal device; at a second moment after the execution of the second transmission configuration parameter reaches a set duration, collect feedback information of the second transmission configuration parameter.

[0130] Optionally, the first transmission configuration parameter is the transmission configuration parameter at time T0, and the transmission configuration parameter includes the number of upload threads, the number of download threads, the upload segment size, the download segment size, the write data block size, the read data block size, the read buffer area, the write buffer area, and the upload and download priority.

[0131] In the embodiment of the present invention, the transmission configuration parameters at time T0 are respectively recorded as w01, w02, w03, ..., w0m, and the first transmission configuration parameters take default values.

[0132] The performance parameters at time T0 include the uplink bandwidth, downlink bandwidth, memory usage percentage, storage write speed, storage read speed, CPU temperature, CPU share, remaining upload and download file percentage, and page refresh rate.

[0133] In the embodiment of the present invention, the performance parameters at time T0 are recorded as x01, x02, x03, . . . , x0n.

[0134] Optionally, the second transmission configuration parameter is a transmission configuration parameter obtained by updating the first transmission configuration parameter.

[0135] In an embodiment of the present invention, the second transmission configuration parameter is a transmission configuration parameter that is reset after a period of time (△t), and is w01+random(n1), w02+random(n2), w03+random(n3), ..., w0m++random(nm), where random is a random number, that is, the second transmission configuration parameter is obtained by adding or subtracting a random number on the basis of the first transmission configuration parameter at time T0.

[0136] Optionally, at a second moment after the execution of the second transmission configuration parameter reaches a set time, user scores and at least one item of terminal operation data are collected; and the collected user scores and at least one item of terminal operation data are used as feedback information of the second transmission configuration parameter.

[0137] In the embodiment of the present invention, after Δs, the mobile phone parameters x11, x12, x13, ..., x1n at time T1 are recorded, and the user's score of using the mobile phone is recorded between 0 and 10. The user's score and the mobile phone information at time T1 are combined to determine the current usage status value, which is recorded between 0 and 10 as feedback information. Among them, the user's subjective score accounts for 50%, and the mobile phone information accounts for 50%. If there is no user subjective score item, the mobile phone information accounts for 100%.

[0138] Step 702: Receive model parameters sent by the network device.

[0139] Step 703: Generate a trained scheduling parameter model based on the model parameters.

[0140] For step 702 and step 703, reference may be made to the relevant description of step 601 and step 602 in the aforementioned embodiment, which will not be described in detail in this embodiment.

[0141] Step 704: Based on the actual transmission configuration parameters used by the terminal device and the actual performance parameters of the terminal device, a scheduling parameter model is used to predict the target transmission configuration parameters.

[0142] Optionally, actual transmission configuration parameters used by the terminal device and actual performance parameters of the terminal device are input into the generated scheduling parameter model, and target transmission configuration parameters predicted by the scheduling parameter model are output.

[0143] Furthermore, the output target transmission configuration parameter is a normalized value between 0 and 100, and is reversely calculated one by one through a normalization method of corresponding parameters to match the actual application data value.

[0144] Step 705: Use the target transmission configuration parameters to schedule uplink and / or downlink transmission of the terminal device.

[0145] For step 705, reference may be made to the related description of step 604 in the aforementioned embodiment, which will not be described in detail in this embodiment.

[0146] In this embodiment, monitoring data is sent to the network device; model parameters sent by the network device are received; a trained scheduling parameter model is generated according to the model parameters; the scheduling parameter model is used to predict the target transmission configuration parameters based on the actual transmission configuration parameters used by the terminal device and the actual performance parameters of the terminal device; the target transmission configuration parameters are used to schedule the uplink and / or downlink transmission of the terminal device. The present invention can gradually adapt the configuration parameters of upload and download to various application scenarios according to the needs of users. It does not take the maximum upload and download efficiency as the first priority, but balances the upload and download efficiency and resources, maximizes the upload and download efficiency under the constraints of resources and scenarios, and improves the user experience.

[0147] In order to implement the above embodiment, the present invention also proposes a scheduling device.

[0148] Figure 8 A schematic diagram of the structure of a scheduling device provided in an embodiment of the present invention.

[0149] like Figure 8 As shown, the scheduling device 800 includes: an acquisition module 801, an input module 802, a training module 803 and a sending module 804.

[0150] An acquisition module 801 is used to acquire training data, wherein the training data includes a first transmission configuration parameter of a terminal device and a performance parameter of the terminal device at a corresponding moment, and includes a second transmission configuration parameter adopted by the terminal device after adopting the first transmission configuration parameter;

[0151] An input module 802, configured to input the first transmission configuration parameter and the performance parameter into the scheduling parameter model to obtain a prediction parameter output by the scheduling parameter model;

[0152] A training module 803, configured to train the scheduling parameter model according to the difference between the prediction parameter and the second transmission configuration parameter to obtain model parameters of the trained scheduling parameter model;

[0153] The sending module 804 is used to send the model parameters to the terminal device.

[0154] Furthermore, in a possible implementation of the embodiment of the present invention, the acquisition module 801 is further configured to:

[0155] Receiving multiple monitoring data sent by the terminal device, wherein each monitoring data includes: a first transmission configuration parameter and a performance parameter at a corresponding moment, and a second transmission configuration parameter and feedback information of the second transmission configuration parameter;

[0156] Based on the feedback information, multiple monitoring data are screened to obtain training data.

[0157] When at least one terminal operation data is greater than the corresponding upper threshold, the score of the corresponding monitoring data is determined to be the maximum score;

[0158] When all terminal operation data are less than the corresponding lower limit threshold, the score of the corresponding monitoring data is determined to be the minimum value;

[0159] When all terminal operation data are not greater than the corresponding upper threshold, and at least one terminal operation data is greater than or equal to the lower threshold, a weighted sum is taken between the user score and at least one terminal operation data to obtain the score of the corresponding monitoring data;

[0160] According to the scores of each piece of monitoring data, the monitoring data with scores within the set score range are selected as training data.

[0161] Furthermore, in a possible implementation of the embodiment of the present invention, the input module 802 is further configured to:

[0162] Normalizing the first transmission configuration parameter and the performance parameter;

[0163] Inputting the normalized first transmission configuration parameter and the normalized performance parameter into the scheduling parameter model to obtain an output of the scheduling parameter model;

[0164] The output of the scheduling parameter model is mapped to obtain the predicted parameters.

[0165] Furthermore, in a possible implementation of the embodiment of the present invention, the sending module 804 is further configured to:

[0166] From the set of training data, a set proportion of training data is selected to test the trained scheduling parameter model.

[0167] It should be noted that the above explanation of the scheduling method embodiment is also applicable to the scheduling device of this embodiment and will not be repeated here.

[0168] In order to implement the above embodiment, the present invention also proposes another scheduling device.

[0169] Fig. 9 A schematic diagram of the structure of another scheduling device provided in an embodiment of the present invention.

[0170] like Fig. 9 As shown, the scheduling device 900 includes: a receiving module 901, a generating module 902, a predicting module 903 and a scheduling module 904.

[0171] Receiving module 901, used for receiving model parameters sent by network equipment;

[0172] A generation module 902 is used to generate a trained scheduling parameter model according to the model parameters;

[0173] A prediction module 903, configured to predict target transmission configuration parameters using a scheduling parameter model based on actual transmission configuration parameters used by the terminal device and actual performance parameters of the terminal device;

[0174] The scheduling module 904 is used to schedule the uplink and / or downlink transmission of the terminal device using the target transmission configuration parameters.

[0175] Furthermore, in a possible implementation of the embodiment of the present invention, the scheduling device 900 is further used for:

[0176] Obtaining a first transmission configuration parameter used by the terminal device at a first moment and a performance parameter at a corresponding moment;

[0177] Updating the first transmission configuration parameter based on the random number to obtain an updated second transmission configuration parameter;

[0178] Execute the second transmission configuration parameter to schedule uplink and / or downlink transmission of the terminal device using the second transmission configuration parameter;

[0179] At a second moment after the second transmission configuration parameter is executed for a set time period, collecting feedback information of the second transmission configuration parameter;

[0180] Monitoring data is sent to the network device, wherein the monitoring data includes: a first transmission configuration parameter and a performance parameter at a corresponding moment, and a second transmission configuration parameter and feedback information of the second transmission configuration parameter.

[0181] At a second moment after the second transmission configuration parameter is executed for a set time, collecting a user score and at least one item of terminal operation data;

[0182] The collected user scores and at least one item of terminal operation data are used as feedback information of the second transmission configuration parameter.

[0183] Fig.10 is a block diagram of an electronic device 1000 according to an exemplary embodiment.

[0184] like Fig.10 As shown, the electronic device 1000 includes:

[0185] The memory 1001 and the processor 1002, a bus 1003 connecting different components (including the memory 1001 and the processor 1002), the memory 1001 stores a computer program, and when the processor 1002 executes the program, the scheduling method of the embodiment of the present invention is implemented.

[0186] Bus 1003 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus structures. For example, these architectures include but are not limited to Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus and Peripheral Component Interconnect (PCI) bus.

[0187] The electronic device 1000 typically includes a variety of electronic device readable media. These media can be any available media that can be accessed by the electronic device 1000, including volatile and non-volatile media, removable and non-removable media.

[0188] The memory 1001 may also include computer system readable media in the form of volatile memory, such as random access memory (RAM) 1004 and / or cache memory 1005. The electronic device 1000 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 1006 may be used to read and write non-removable, non-volatile magnetic media ( Fig.10 not shown, usually called a "hard drive"). Although Fig.10 Not shown in the figure, a disk drive for reading and writing a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 1003 via one or more data medium interfaces. The memory 1001 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present invention.

[0189] A program / utility 1008 having a set (at least one) of program modules 1007 may be stored, for example, in the memory 1001, such program modules 1007 including but not limited to an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. The program modules 1007 generally perform the functions and / or methods of the embodiments described herein.

[0190] The electronic device 1000 may also communicate with one or more external devices 1009 (e.g., keyboard, pointing device, display 1011, etc.), one or more devices that enable a user to interact with the electronic device 1000, and / or any device that enables the electronic device 1000 to communicate with one or more other computing devices (e.g., network card, modem, etc.). Such communication may be performed through an input / output (I / O) interface 1012. Furthermore, the electronic device 1000 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through a network adapter 1013. Fig.10 As shown, the network adapter 1013 communicates with other modules of the electronic device 1000 via the bus 1003. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in conjunction with the electronic device 1000, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0191] The processor 1002 executes various functional applications and data processing by running the programs stored in the memory 1001 .

[0192] It should be noted that the implementation process and technical principles of the electronic device of this embodiment refer to the aforementioned explanation of the scheduling method of the embodiment of the present invention, and will not be repeated here.

[0193] In order to implement the above embodiment, the present invention further proposes a computer-readable storage medium. When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute the above scheduling method.

[0194] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0195] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0196] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present invention belong.

[0197] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, a "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic devices), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.

[0198] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0199] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0200] In addition, each functional unit in each embodiment of the present invention may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0201] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present invention have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present invention. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present invention.

Claims

1. A scheduling method, characterized in that: Applied to network equipment, including: Acquire training data, wherein the training data includes a first transmission configuration parameter of a terminal device and a performance parameter of the terminal device at a corresponding moment, wherein the first transmission configuration parameter is a configuration parameter for uploading and downloading by the terminal device, and the performance parameter is an information parameter related to the performance of the terminal device, and includes a second transmission configuration parameter adopted by the terminal device after adopting the first transmission configuration parameter; Inputting the first transmission configuration parameter and the performance parameter into a scheduling parameter model to obtain a prediction parameter output by the scheduling parameter model; Training the scheduling parameter model according to a difference between the prediction parameter and the second transmission configuration parameter to obtain model parameters of the trained scheduling parameter model; Sending the model parameters to the terminal device; The obtaining of training data comprises: Receiving a plurality of monitoring data sent by the terminal device, wherein each piece of the monitoring data includes: the first transmission configuration parameter and the performance parameter at a corresponding moment, and the second transmission configuration parameter and feedback information of the second transmission configuration parameter; Based on the feedback information, the plurality of monitoring data are screened to obtain the training data.

2. The method according to claim 1, characterized in that The feedback information includes a user score and at least one terminal operation data; the screening of the plurality of monitoring data based on the feedback information to obtain the training data includes: When the at least one item of terminal operation data is greater than the corresponding upper limit threshold, determining the score of the corresponding monitoring data to be the maximum score; When all the terminal operation data are less than the corresponding lower limit threshold, the score of the corresponding monitoring data is determined to be the minimum value; When all items of the terminal operation data are not greater than the corresponding upper threshold, and at least one item of the terminal operation data is greater than or equal to the lower threshold, a weighted sum of the user score and the at least one item of the terminal operation data is performed to obtain a score of the corresponding monitoring data; According to the scores of the respective monitoring data, the monitoring data with scores within a set score range are selected as the training data.

3. The method according to claim 1, characterized in that The step of inputting the first transmission configuration parameter and the performance parameter into a scheduling parameter model to obtain a prediction parameter output by the scheduling parameter model includes: Normalizing the first transmission configuration parameter and the performance parameter; Inputting the normalized first transmission configuration parameter and the normalized performance parameter into the scheduling parameter model to obtain an output of the scheduling parameter model; The output of the scheduling parameter model is mapped to obtain the prediction parameters.

4. The method according to any one of claims 1 to 3, characterized in that: Before sending the model parameters to the terminal device, the method further includes: A set proportion of training data is selected from the set of training data to test the trained scheduling parameter model.

5. A scheduling method, characterized in that: Applied to terminal equipment, including: Receiving model parameters sent by a network device according to the scheduling method according to any one of claims 1 to 4; Generating a trained scheduling parameter model according to the model parameters; Based on actual transmission configuration parameters used by the terminal device and actual performance parameters of the terminal device, using the scheduling parameter model to predict target transmission configuration parameters; The target transmission configuration parameters are used to schedule uplink and / or downlink transmission of the terminal device.

6. The method according to claim 5, characterized in that The method further comprises: Acquire a first transmission configuration parameter used by the terminal device at a first moment and the performance parameter at a corresponding moment; Updating the first transmission configuration parameter based on a random number to obtain an updated second transmission configuration parameter; Executing the second transmission configuration parameter to schedule uplink and / or downlink transmission of the terminal device using the second transmission configuration parameter; At a second moment after the execution of the second transmission configuration parameter reaches a set time length, collecting feedback information of the second transmission configuration parameter; Monitoring data is sent to the network device, wherein the monitoring data includes: the first transmission configuration parameter and the performance parameter at a corresponding moment, and the second transmission configuration parameter and feedback information of the second transmission configuration parameter.

7. The method according to claim 6, characterized in that The collecting feedback information of the second transmission configuration parameter at a second moment after the execution of the second transmission configuration parameter reaches a set time length includes: At a second moment after the second transmission configuration parameter is executed for a set time, collecting a user score and at least one item of terminal operation data; The collected user score and the at least one item of terminal operation data are used as feedback information of the second transmission configuration parameter.

8. A scheduling device, characterized in that: include: an acquisition module, configured to acquire training data, wherein the training data includes a first transmission configuration parameter of a terminal device and a performance parameter of the terminal device at a corresponding moment, wherein the first transmission configuration parameter is a configuration parameter for uploading and downloading by the terminal device, and the performance parameter is an information parameter related to the performance of the terminal device, and includes a second transmission configuration parameter adopted by the terminal device after adopting the first transmission configuration parameter; An input module, configured to input the first transmission configuration parameter and the performance parameter into a scheduling parameter model to obtain a prediction parameter output by the scheduling parameter model; A training module, used for training the scheduling parameter model according to the difference between the prediction parameter and the second transmission configuration parameter to obtain model parameters of the trained scheduling parameter model; A sending module, used for sending the model parameters to the terminal device; The obtaining of training data comprises: Receiving a plurality of monitoring data sent by the terminal device, wherein each piece of the monitoring data includes: the first transmission configuration parameter and the performance parameter at a corresponding moment, and the second transmission configuration parameter and feedback information of the second transmission configuration parameter; Based on the feedback information, the plurality of monitoring data are screened to obtain the training data.

9. A scheduling device, characterized in that: include: A receiving module, used to receive model parameters sent by a network device according to the scheduling method according to any one of claims 1 to 4; A generation module, used to generate a trained scheduling parameter model according to the model parameters; A prediction module, configured to predict target transmission configuration parameters using the scheduling parameter model based on actual transmission configuration parameters used by the terminal device and actual performance parameters of the terminal device; The scheduling module is used to schedule the uplink and / or downlink transmission of the terminal device using the target transmission configuration parameters.

10. An electronic device, characterized in that: include: processor; a memory for storing executable instructions for the processor; The processor is configured to execute the instructions to implement the method according to any one of claims 1 to 4 or claims 5 to 7.

11. A computer-readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the method as claimed in any one of claims 1 to 4 or claims 5 to 7.