Network resource scheduling method and device, electronic equipment and storage medium

By scheduling network resource based on the attribute information of networked devices and network task service indicator information, the problem that network resource scheduling in the prior art is difficult to meet customer needs and improve service quality.

CN119996190APending Publication Date: 2025-05-13BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311500129.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-10
Publication Date
2025-05-13

AI Technical Summary

Technical Problem

In the prior art, network resource scheduling is difficult to meet customer needs, resulting in poor service quality, especially in the changing environment of home networking equipment.

Method used

Based on the attribute information of the networked device and the network task service indicator information, the stability and attribute information of the networked device and the changes in the network task service indicators are determined, and network resources are then dispatched.

Benefits of technology

Select a more stable networked device that meets network resource scheduling requests for network resource scheduling to ensure that network resource scheduling meets customer needs, thereby improving the service quality of network resource scheduling.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119996190A_ABST
    Figure CN119996190A_ABST
Patent Text Reader

Abstract

The invention relates to a network resource scheduling method and device, electronic equipment and a storage medium, and the method comprises the steps: determining first information and second information of networked equipment based on attribute information of the networked equipment and network task service index information of the networked equipment, the first information is used for representing the stability of the networked device, and the second information is used for representing the attribute information of the networked device and the change condition of the network task service index within a preset time period after the current time; and under the condition that a network resource scheduling request is received, scheduling of network resources is carried out on the out-of-network equipment determined based on the first information and the second information. According to the network resource scheduling method and device, the networking device meeting the network resource scheduling request can be selected for network resource scheduling, so that the network resource scheduling meets the customer demand, and the service quality of the network resource scheduling is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a method and device for scheduling network resources, an electronic device, and a storage medium. Background Art

[0002] The existing method for utilizing idle network resources of networked devices is to simply determine whether the networked devices have free resources and then utilize the network resources. However, for home networked devices, in scenarios where the environment is changeable, the existing method is difficult to meet customer needs, resulting in poor service quality. Summary of the invention

[0003] The present application provides a method and device for scheduling network resources, an electronic device and a storage medium to solve the problem in the prior art that network resource scheduling is difficult to meet customer needs and leads to poor service quality.

[0004] In a first aspect, the present application provides a method for scheduling network resources, comprising: determining first information and second information of the networked device based on attribute information of the networked device and network task service indicator information of the networked device, wherein the first information is used to characterize the stability of the networked device, and the second information is used to characterize changes in the attribute information of the networked device and the network task service indicator within a preset time period after the current time; in the event of receiving a network resource scheduling request, scheduling network resources for the networked device determined based on the first information and the second information.

[0005] In the second aspect, the present application provides a scheduling device for network resources, including: a first determination module, used to determine first information and second information of the networked device based on attribute information of the networked device and network task service indicator information of the networked device, wherein the first information is used to characterize the stability of the networked device, and the second information is used to characterize changes in the attribute information of the networked device and the network task service indicator within a preset time period after the current time; a scheduling module, used to schedule network resources for the networked device determined based on the first information and the second information when a network resource scheduling request is received.

[0006] In a third aspect, the present application provides an electronic device comprising: at least one communication interface; at least one bus connected to the at least one communication interface; at least one processor connected to the at least one bus; and at least one memory connected to the at least one bus, wherein the processor is configured to execute the scheduling method for network resources described in the first aspect of the present application.

[0007] In a fourth aspect, the present application further provides a computer storage medium storing computer executable instructions, wherein the computer executable instructions are used to execute the method for scheduling network resources described in the first aspect of the present application.

[0008] The above-mentioned technical scheme provided by the embodiment of the present application has the following advantages compared with the prior art: in the embodiment of the present application, the stability of the networked device and the changes in the attribute information and the network task service indicators are determined through the attribute information and the network task service indicators of the networked device, and then the network resources are scheduled, so that the networked device that meets the network resource scheduling request can be selected for network resource scheduling, rather than simply judging whether the networked device has remaining resources to schedule the network resources. Therefore, the networked device may have resources at this time, but after a period of time, the resources may be insufficient to support the current network resource scheduling request. Therefore, it is necessary to select a more stable networked device to meet the current network resource scheduling request for network resource scheduling, so that the network resource scheduling meets customer needs and improves the service quality of network resource scheduling. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0010] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0011] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.

[0012] Figure 1 A flowchart of a method for scheduling network resources provided in an embodiment of the present application;

[0013] Figure 2 A schematic diagram of a method for scheduling idle network resources of a networking device provided in an embodiment of the present application;

[0014] Figure 3 A schematic diagram of real-time network task indicator tracking in a method for scheduling idle network resources of a networked device provided in an embodiment of the present application;

[0015] Figure 4A schematic diagram of the structure of a network resource scheduling device provided in an embodiment of the present application;

[0016] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0017] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0018] The disclosure below provides many different embodiments or examples to implement different structures of the present invention. In order to simplify the disclosure of the present invention, the parts and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the present invention. In addition, the present invention can repeat reference numbers and / or letters in different examples. This repetition is for the purpose of simplification and clarity, and does not itself indicate the relationship between the various embodiments and / or settings discussed.

[0019] First, the relevant terms in this application are explained;

[0020] CDN (Content Delivery Network) is a technical architecture used to improve the transmission speed and availability of Internet content. Its main goal is to distribute static or dynamic content such as websites, applications, images, videos, etc. to server networking devices in various locations around the world, allowing users to obtain the required content from closer servers, thereby reducing delays and increasing loading speeds.

[0021] ECN (Edge Content Network) is similar to CDN, but uses edge computing networking devices close to users to distribute content, thereby reducing latency. These networking devices are closer to end devices than the central networking devices of traditional CDN, enabling faster data transmission. The advantages of ECN include lower costs, flexible deployment, and suitability for applications with high real-time requirements. Unlike CDN, ECN focuses on providing services at edge networking devices, thereby improving user experience and reducing latency.

[0022] Network task: In the scheduling system, it refers to a type of request that provides data through a computer network. For example, when accessing a picture through a browser, the browser needs to download the picture data from a CDN / ECN networked device, and the HTTP (Hypertext Transfer Protocol) request initiated by obtaining the picture is called a network task.

[0023] There are two main types of networking in ECN: one is the server in the edge computer room, which has good performance, strong service capabilities and stable operation. The networking methods usually include metropolitan area network, enterprise dedicated line, etc. The other is home networking equipment, usually routers, set-top boxes and other equipment, which have weak performance and poor stability. The networking method usually only has ADSL (Asymmetric Digital Subscriber Line Device).

[0024] Figure 1 A flowchart of a method for scheduling network resources provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the steps of the method include:

[0025] Step 101, based on the attribute information of the networked device and the network task service indicator information of the networked device, determining first information and second information of the networked device, wherein the first information is used to characterize the stability of the networked device, and the second information is used to characterize the change of the attribute information and the network task service indicator of the networked device within a preset time period after the current time;

[0026] It should be noted that the networking device in the embodiment of the present application may refer to a home networking device, such as a router, a set-top box, a home computer, etc. In addition, in the specific example of the embodiment of the present application, taking the networking device as a home computer as an example, the attribute information of the networking device refers to CPU-related attribute information (such as processor architecture, processor performance), memory-related attribute information (such as memory information), and disk-related attribute information (such as disk capacity, disk remaining space, etc.). The network task service index of the networking device may refer to network task information (such as the number of different types of network tasks) and network task quality information (such as task response time, network transmission speed, task success rate, etc.).

[0027] Step 102: When a network resource scheduling request is received, scheduling of network resources is performed on the network-connected device determined based on the first information and the second information.

[0028] Through the above steps 101 and 102, in the embodiment of the present application, the stability of the networked device and the changes in the attribute information and the network task service indicators are determined through the attribute information and the network task service indicators of the networked device, and then the network resources are scheduled, so that the networked device that meets the network resource scheduling request can be selected for network resource scheduling, rather than simply judging whether the networked device has remaining resources to schedule the network resources. Therefore, the networked device may have resources at this time, but after a period of time, the resources may be insufficient to support the current network resource scheduling request. Therefore, it is necessary to select a more stable networked device to meet the current network resource scheduling request for network resource scheduling, so that the network resource scheduling meets customer needs and improves the service quality of network resource scheduling.

[0029] For the scenario of home networking devices, home networking devices have the following problems:

[0030] 1. Weak device performance: Home networking devices usually use embedded processors, which have much lower performance than servers. When processing too many network tasks, it may lead to resource exhaustion and affect service quality.

[0031] 2. Resource sharing: Home networking devices usually have one device that performs multiple roles. For example, a router needs to process network packet transmission and reception, and a set-top box needs to run player applications. These additional roles will compete with the network task handler for system resources, causing the processing of network tasks to become slow.

[0032] 3. Network hijacking or blocking: Home ADSL networks are different from enterprise dedicated lines and other bandwidths. Operators may restrict the passage of some traffic due to cost considerations or security restrictions, which may cause network task service failures.

[0033] Therefore, through the embodiment of the present application, when the networking device is a home networking device, the home network device can be further reasonably utilized to schedule network resources to avoid the occurrence of the above-mentioned problems as much as possible.

[0034] In an optional implementation manner of the embodiment of the present application, the method of determining the first information and the second information of the networked device based on the attribute information of the networked device and the network task service indicator information of the networked device involved in the above step 101 may further include:

[0035] Step 11, obtaining attribute information of the networked device and network task service indicator information of the networked device within the second preset time period; wherein the attribute information includes at least one of the following: CPU information, memory information, disk information, and network information; and the network task service indicator includes at least one of the following: network task information and network task quality information;

[0036] In a specific example, the CPU information may refer to the processor architecture (such as X86 architecture), processor performance (CPU main frequency, CPU cache, etc.), percentage of processor resources remaining, etc. Memory information may include: total memory, remaining memory, etc. Disk information may include disk capacity, disk remaining space, disk performance (read and write speed, read and write delay). Network information may include total bandwidth, speed measurement bandwidth, network performance (network delay, network packet loss rate), and service port. Network task information may refer to the number count of different types of network tasks, and network task quality information may include task response time, network transmission speed, task success rate, etc.

[0037] Step 12, determining the stability level of the networked device based on the attribute information and the network task service indicator to determine the first information; wherein the stability level is proportional to the remaining resources of the networked device represented by the attribute information, and inversely proportional to the fluctuation of the network resources represented by the network task service indicator;

[0038] In the embodiment of the present application, the stability level is proportional to the remaining resources of the networked device represented by the attribute information, which means that the more unused the networked device's own resources, such as disks and memory, are, the higher the corresponding stability level is. In the specific example, the stability level can be divided into 3 levels, 5 levels, etc., which can be divided accordingly according to actual needs. It should be noted that, under normal circumstances, the attributes of the device and the network task service indicators usually show periodic fluctuations. Based on this, the stability level is inversely proportional to the fluctuation of the network resources represented by the network task service indicators, which means that the greater the fluctuation, the worse the stability.

[0039] Step 13: predicting the periodic fluctuation of the attribute information and the network task service indicator of the networked device within a preset time period after the current time based on the attribute information and the network task service indicator to determine the second information.

[0040] In a specific example, the periodic fluctuation situation may specifically include the remaining percentage of processor resources, remaining memory, disk performance, total bandwidth, network performance, and all network task service indicators, etc.

[0041] It can be seen that in the embodiment of the present application, the stability of the networked device and the periodic changes of the device attribute network task service indicators are determined by the attribute information of the networked device and the network task service indicators as the basis for network resource scheduling, so as to ensure that the subsequently called networked devices can meet the requirements of the network resource scheduling request, so as to meet customer needs and improve service quality.

[0042] In an optional implementation manner of an embodiment of the present application, in the case of receiving a network resource scheduling request involved in the above step 102, the method of scheduling network resources for the outbound networking device determined based on the first information and the second information may further include:

[0043] Step 21, obtaining a corresponding file index based on a network resource scheduling request;

[0044] In the embodiment of the present application, the file index is used to find the list of networked devices where the file requested by the user is stored, and the file index refers to the file index constructed by the file list stored in the networked device itself.

[0045] Step 22, selecting a networking device whose stability meets the requirements of the network resource scheduling request, and a networking device whose attribute information and network task service indicators meet the requirements of the network resource scheduling request;

[0046] In a specific example, for example, the current network resource scheduling request is used to request the download of a TV series, which has fifty episodes. It can be seen that the capacity of the TV series requested to be downloaded by the network resource scheduling request is large, and it is necessary to download the TV series from a networked device with better stability. If the current stability level is divided into 5 levels, the level of the networked device required by the network resource scheduling request is the 5th level, that is, the highest level of networked device, and then a networked device with smaller periodic fluctuations is also needed, that is, the current networked device is called by other fewer network resource scheduling requests.

[0047] Step 23: Perform network resource scheduling based on the file index through the selected networking device.

[0048] It can be seen that in the embodiment of the present application, through the above steps 21 to 23, the stability of the networked device is evaluated and then the networked device that matches the network resource scheduling request is selected for network resource scheduling to meet user needs and ensure the stability of network resource scheduling. Compared with the prior art of simply judging whether the networked device has free resources to schedule network resources, the service quality of network resource scheduling is improved.

[0049] In an optional implementation manner of the embodiment of the present application, the method of the optional implementation manner of the embodiment of the present application may also include:

[0050] Step 31, in the case of selecting a networking device that satisfies the stability of the networking device required by the network resource scheduling request, and a networking device that satisfies the attribute information and network task service indicators required by the network resource scheduling request, determining third information corresponding to the networking device, wherein the third information is used to characterize information of resources required by the network resources;

[0051] Step 32, when the networked device performs network resource scheduling, the fourth information and the fifth information are reported, wherein the fourth information is used to characterize the information of the actual resources of the network resource scheduling, and the fifth information is used to characterize the execution status of the network task corresponding to the network resource scheduling on the networked device.

[0052] In a specific example, the third information may include recording the scheduling time, the scheduled resources, the unique identifier of the networked device, the unique identifier of the user, etc. The fourth information may include the allocation delay of the network task, the execution delay of the network task, the transmission speed of the network task, etc. The fifth information is used to characterize the execution status of the network task corresponding to the network resource scheduling on the networked device.

[0053] The method of the embodiment of the present application may also include:

[0054] Step 41, respectively obtaining the quantity of the third information and the fourth information;

[0055] Step 42, when the amount of the third information is greater than the amount of the fourth information, determining that the network resource scheduling of the networking device fails;

[0056] Step 43: When the number of network resource scheduling failures of the networked device reaches a preset number, suspend the network resource scheduling of the networked device.

[0057] In the embodiment of the present application, under normal circumstances, the data quantity of the third information and the fourth information of the same networked device should be consistent within a period of time, that is, the number of network tasks scheduled to the networked device should be the same as the number of network tasks the networked device should receive. If an unexpected situation occurs, for example, due to a network problem of the networked device, the task request of the client cannot be received or the client problem does not request the networked device, the quantity of the third information and the fourth information will be unequal. It can be seen that in the embodiment of the present application, the networked device that is currently not suitable for network resource scheduling can be determined through the third information and the fourth information, and then the network resource scheduling can be suspended to select a more suitable networked device that does not affect the user's network resource scheduling.

[0058] In addition, in the embodiment of the present application, the method of the embodiment of the present application may also include:

[0059] Step 51, counting the fourth information and the fifth information of the networked devices within the first preset time period to obtain a statistical result;

[0060] Step 52: Determine the performance of the networked device in executing network resource scheduling based on the statistical results.

[0061] In an embodiment of the present application, the quantity of the fourth information and the fifth information are consistent, that is, each network resource scheduling will cause the networked device to receive the scheduled network task (the fourth information) and the processing status of the networked device completing the network task (the fifth information). However, in the event of a network resource scheduling failure, the fourth information and the fifth information will be less than the third information. Therefore, the performance of the networked device can be determined by the fourth information and the fifth information. For example, since the quantity of the fourth information and the fifth information is equal, if the proportion of the fifth information used to characterize the failure of network task execution in the statistical results is higher, it indicates that the performance of the current networked device is poor. If the comparison ratio of the fifth information used to characterize the successful execution of the network task in the statistical results is higher, it indicates that the performance of the current networked device is better.

[0062] In an optional implementation manner of the embodiment of the present application, before obtaining the attribute information of the networked device and the network task service indicator information of the networked device within the second preset time period, the method of the embodiment of the present application further includes:

[0063] Step 61, obtaining and saving attribute information of networked devices and network task service indicator information of networked devices.

[0064] In the embodiment of the present application, it is necessary to first obtain and save the attribute information of the networked devices and the network task service indicator information of the networked devices in order to facilitate the subsequent scheduling of network resources.

[0065] The present application is explained below in conjunction with a specific implementation of an embodiment of the present application. The specific implementation provides a method for scheduling idle network resources of a networking device. In the specific implementation, a home networking device is taken as an example. Figure 2 , the method comprises the following steps:

[0066] Step 201, the home networking device sends basic device attributes and network task service indicators to the data receiving service;

[0067] Among them, the basic attributes of the device include: CPU (processor): processor architecture, processor performance, and percentage of processor resources remaining. Memory: total memory, remaining memory. Disk: disk capacity, remaining disk space, disk performance (read and write speed, read and write latency). Network: total bandwidth, speed measurement bandwidth, network performance (network latency, network packet loss rate), and service ports.

[0068] Network task service indicators include: network task information (count of the number of network tasks of different types), network task quality information (task response time, network transmission speed, task success rate).

[0069] Step 203, the data receiving service saves the received information into the data storage;

[0070] Step 204, the device evaluation service may obtain basic device attributes and network task service indicators for a period of time from the data storage device, and process them according to a preset algorithm to obtain a device stability classification and a prediction of attributes and indicators for a period of time thereafter;

[0071] Step 205, the device evaluation service sends the data obtained in the previous step to the scheduling service;

[0072] Step 206, when the scheduling service receives the scheduling request, it can select a networked device with stability, attributes and indicators that meet the requirements according to the preset configuration and algorithm and the customer's business needs.

[0073] Through the above steps 201 to 206, the history of networked devices is evaluated and the future is predicted based on the basic attributes of the devices and the network task service indicators, so as to discover and avoid networked devices that periodically deteriorate, so that the scheduling can avoid using these networked devices for service in advance, thereby avoiding the problem of reduced service quality.

[0074] Furthermore, in the specific implementation of the present application, although stability evaluation can evaluate the stability of networked devices and predict future property changes, it is inevitable that there will be inaccuracies in statistics. Therefore, in the specific implementation of the present application, real-time network task indicator tracking can also be used to enable the scheduling system to promptly discover defective networked devices. Figure 3 , the method steps of this specific implementation may also include:

[0075] Step 301: The user initiates a scheduling request to the scheduling service to query available networked devices;

[0076] Step 302, the scheduling service obtains file and device related information from the data storage device, returns the appropriate networked device address through a preset algorithm and configuration, and stores a piece of data A (recording the scheduling time, scheduled resources, networked device unique identifier, and user unique identifier).

[0077] Step 303, based on the networked device address, request resources (network task) from the networked device;

[0078] Step 304: The networked device receives and processes the network task, and reports the task execution information B (network task allocation delay, network task execution delay, network task transmission speed) and task execution status C (success or failure, and failure reason and status code) to the scheduling server when the execution starts and after the execution is completed.

[0079] Step 305, the data receiving service saves the received data to the data storage;

[0080] Step 306, the scheduling service reads data A and data B for comparison. If the number of B is less than A, it can be determined as a scheduling failure. When the number of failures reaches a preset number, the scheduling problem network device is suspended from performing network resource scheduling.

[0081] Step 307, by collecting statistics on information B and status C over a period of time, a comprehensive quality index of the network device over a period of time can be obtained to determine the specific performance of the network device in executing the network task.

[0082] In the embodiment of the present application, by evaluating the stability of the equipment and tracking the indicators of the scheduled network tasks in real time, a more accurate scheduling of the networked equipment is achieved, and the quality indicators of the home networked equipment in the ECN system for processing network tasks are improved.

[0083] Corresponding to the above Figure 1 The present application also provides a network resource scheduling device, such as Figure 4 As shown, the device comprises:

[0084] A first determination module 402 is used to determine first information and second information of the networked device based on the attribute information of the networked device and the network task service indicator information of the networked device, wherein the first information is used to characterize the stability of the networked device, and the second information is used to characterize the change of the attribute information and the network task service indicator of the networked device within a preset time period after the current time;

[0085] The scheduling module 404 is used to schedule network resources based on the outbound networking device determined by the first information and the second information when a network resource scheduling request is received.

[0086] In an embodiment of the present application, network resources are scheduled after the stability of the networked device and the changes in the attribute information and network task service indicators are determined through the attribute information and network task service indicators of the networked device, so that the networked device that meets the network resource scheduling request can be selected for network resource scheduling, rather than simply judging whether the networked device performs network resource scheduling based on whether the networked device has remaining resources. Therefore, the networked device may have resources at this time, but after a period of time, the resources may be insufficient to support the needs of the current network resource scheduling request, so it is necessary to select a more stable networked device to meet the needs of the current network resource scheduling request for network resource scheduling, so that the network resource scheduling meets customer needs and improves the service quality of network resource scheduling.

[0087] In an optional implementation manner of an embodiment of the present application, the first determination module 402 in the embodiment of the present application may further include: a first acquisition unit, used to acquire attribute information of the networked device and network task service indicator information of the networked device within a second preset time period; wherein the attribute information includes at least one of the following: CPU information, memory information, disk information, network information; the network task service indicator includes at least one of the following: network task information and network task quality information; a first determination unit, used to determine the stability level of the networked device based on the attribute information and the network task service indicator to determine the first information; wherein the stability level is proportional to the remaining resources of the networked device represented by the attribute information, and inversely proportional to the network resource fluctuation represented by the network task service indicator; a second determination unit, used to predict the periodic fluctuation of the attribute information and the network task service indicator of the networked device within a preset time period after the current time based on the attribute information and the network task service indicator to determine the second information.

[0088] In an optional implementation manner of the embodiment of the present application, the scheduling module 404 in the embodiment of the present application may further include: a second acquisition unit, used to obtain the corresponding file index based on the network resource scheduling request; a selection unit, used to select a networked device that meets the stability requirements of the network resource scheduling request, and a networked device that meets the attribute information and network task service indicators required by the network resource scheduling request; a scheduling unit, used to perform network resource scheduling based on the file index through the selected networked device.

[0089] In an optional implementation manner of the embodiment of the present application, the device in the embodiment of the present application may also include: a second determination module, used to determine the third information corresponding to the networked device when selecting a networked device that meets the stability of the networked device required by the network resource scheduling request, and meets the attribute information and network task service indicators required by the network resource scheduling request, wherein the third information is used to characterize the information of resources required for the network resources; a reporting module, used to report fourth information and fifth information when the networked device performs network resource scheduling, wherein the fourth information is used to characterize the information of actual resources for network resource scheduling, and the fifth information is used to characterize the execution status of the network task corresponding to the network resource scheduling on the networked device.

[0090] In an optional implementation manner of the embodiment of the present application, the device in the embodiment of the present application may also include: an acquisition module, used to obtain the quantity of the third information and the fourth information respectively; a third determination module, used to determine that the network resource scheduling of the networked device has failed when the quantity of the third information is greater than the quantity of the fourth information; a pause module, used to pause the network resource scheduling of the networked device when the number of network resource scheduling failures of the networked device reaches a preset number.

[0091] In an optional implementation manner of the embodiment of the present application, the device in the embodiment of the present application may also include: a statistical module, used to count the fourth information and fifth information of the networked device within a first preset time period to obtain statistical results; a fourth determination module, used to determine the performance of the networked device in executing network resource scheduling based on the statistical results.

[0092] In an optional implementation manner of the embodiment of the present application, the device in the embodiment of the present application may also include: a processing module for obtaining and saving the attribute information of the networked devices and the network task service indicator information of the networked devices before obtaining the attribute information of the networked devices and the network task service indicator information of the networked devices within a second preset time period.

[0093] like Figure 5 As shown, the embodiment of the present application provides an air conditioner control device, including a processor 511, a communication interface 512, a memory 513 and a communication bus 514, wherein the processor 511, the communication interface 512, and the memory 513 communicate with each other through the communication bus 514.

[0094] Memory 513, used for storing computer programs;

[0095] In one embodiment of the present application, the processor 511 is used to execute the program stored in the memory 513 to implement the scheduling method of network resources provided by any of the aforementioned method embodiments, and the role it plays is similar and will not be repeated here.

[0096] An embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the method for scheduling network resources provided in any of the aforementioned method embodiments are implemented.

[0097] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0098] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0099] It should be understood that the terms used herein are only for the purpose of describing specific example embodiments and are not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms "one", "an" and "said" as used herein may also be meant to include plural forms. The terms "include", "comprise", "contain", and "have" are inclusive, and therefore specify the existence of stated features, steps, operations, elements and / or parts, but do not exclude the existence or addition of one or more other features, steps, operations, elements, parts, and / or combinations thereof. The method steps, processes, and operations described herein are not interpreted as necessarily requiring them to be performed in the specific order described or illustrated, unless the execution order is clearly indicated. It should also be understood that additional or alternative steps may be used.

[0100] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.

Claims

1. A method for scheduling network resources, characterized in that: include: Determine first information and second information of the networked device based on attribute information of the networked device and network task service indicator information of the networked device, wherein the first information is used to characterize the stability of the networked device, and the second information is used to characterize changes in the attribute information of the networked device and the network task service indicator within a preset time period after the current time; When a network resource scheduling request is received, network resources are scheduled for the networked device determined based on the first information and the second information.

2. The method according to claim 1, characterized in that: Based on the attribute information of the networked device and the network task service indicator information of the networked device, determining the first information and the second information of the networked device includes: Acquire attribute information of the networked device and network task service indicator information of the networked device within a second preset time period; wherein the attribute information includes at least one of the following: CPU information, memory information, disk information, and network information; the network task service indicator includes at least one of the following: network task information and network task quality information; Determine the stability level of the networked device based on the attribute information and the network task service indicator to determine the first information; wherein the stability level is proportional to the remaining resources of the networked device represented by the attribute information, and inversely proportional to the network resource fluctuation represented by the network task service indicator; Based on the attribute information and the network task service indicator, the periodic fluctuation of the attribute information and the network task service indicator of the networked device within a preset time period after the current time is predicted to determine the second information.

3. The method according to claim 2, characterized in that In the case of receiving a network resource scheduling request, scheduling network resources for the outbound networking device determined based on the first information and the second information includes: Acquire a corresponding file index based on the network resource scheduling request; Selecting a networking device that satisfies the stability of the network resource scheduling request, and a networking device that satisfies the attribute information and the network task service indicator required by the network resource scheduling request; The selected networked device performs network resource scheduling based on the file index.

4. The method according to claim 3, characterized in that The method further comprises: In the case of selecting a networking device that satisfies the stability of the networked device required by the network resource scheduling request, and the attribute information and the network task service indicator required by the network resource scheduling request, determining third information corresponding to the networking device, wherein the third information is used to characterize information of resources required by the network resources; When the networked device performs network resource scheduling, fourth information and fifth information are reported, wherein the fourth information is used to characterize information about actual resources for network resource scheduling, and the fifth information is used to characterize the execution status of the network task corresponding to the network resource scheduling on the networked device.

5. The method according to claim 4, characterized in that The method further comprises: respectively obtaining the quantities of the third information and the fourth information; In a case where the amount of the third information is greater than the amount of the fourth information, determining that the network resource scheduling of the networking device fails; When the number of network resource scheduling failures of the networking device reaches a preset number, the networking device is suspended from performing network resource scheduling.

6. The method according to claim 4, characterized in that The method further comprises: Counting the fourth information and the fifth information of the networked device within a first preset time period to obtain a statistical result; The performance of the network resource scheduling executed by the networking device is determined according to the statistical result.

7. The method according to claim 2, characterized in that: Before acquiring the attribute information of the networked device and the network task service indicator information of the networked device within the second preset time period, the method further includes: Acquire and save the attribute information of the networked device and the network task service indicator information of the networked device.

8. A network resource scheduling device, characterized in that: include: A first determination module is used to determine first information and second information of the networked device based on attribute information of the networked device and network task service indicator information of the networked device, wherein the first information is used to characterize the stability of the networked device, and the second information is used to characterize changes in the attribute information of the networked device and the network task service indicator within a preset time period after the current time; The scheduling module is used to schedule network resources based on the outbound networking device determined by the first information and the second information when a network resource scheduling request is received.

9. An electronic device, comprising: at least one communication interface; at least one bus connected to the at least one communication interface; at least one processor coupled to the at least one bus; At least one memory connected to the at least one bus, wherein the processor is configured to execute the network resource scheduling method described in any one of claims 1 to 7 of the present application.

10. A computer storage medium storing computer executable instructions, wherein the computer executable instructions are used to execute the method for scheduling network resources as described in any one of claims 1 to 7 of the present application.