Traffic scheduling method, device, system and storage medium

By setting up the initial pool and working pool in the edge cloud network, and dynamically adjusting the number of edge cloud nodes based on application traffic, the problem of application traffic scheduling in the edge cloud is solved, and efficient resource utilization and low latency are achieved.

CN113315719BActive Publication Date: 2024-09-13ALIBABA GROUP HOLDING LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010124804.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-02-27
Publication Date
2024-09-13
Estimated Expiration
2040-02-27

AI Technical Summary

Technical Problem

It is difficult to achieve reasonable scheduling of application traffic in edge cloud networks. Traditional centralized cloud networks cannot meet the terminal's latency and bandwidth requirements for cloud resources. Moreover, the number of edge cloud nodes is large and the resource scale is small, so traditional traffic scheduling methods are not suitable.

Method used

Set up the initial pool and working pool to allow the number of edge cloud nodes in the working pool to be dynamically variable and dynamically scale according to the size of application traffic. The scheduling policy matches the traffic attributes to schedule traffic to appropriate nodes to achieve dynamic on-demand allocation of resources.

Benefits of technology

It improves the resource utilization of the edge cloud network, reduces the delay, and ensures the normal operation and service quality of applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113315719B
    Figure CN113315719B
Patent Text Reader

Abstract

The embodiment of the present application provides a traffic scheduling method, device, system and storage medium. In the embodiment of the present application, for applications in the edge cloud network, an initial pool and a working pool are set, and the number of edge cloud nodes or edge cloud devices in the working pool is allowed to be dynamically variable; wherein, the initial pool cooperates with the working pool, and when the application traffic cannot be scheduled to the working pool, the application traffic can be scheduled to the edge cloud nodes or edge cloud devices in the initial pool to ensure the normal operation of the application; and in the working pool, the number of edge cloud nodes or edge cloud devices in the working pool can be dynamically scaled according to the size of the application traffic, so as to realize dynamic on-demand allocation of resources and greatly improve the resource utilization of the edge cloud network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] With the advent of the 5G and Internet of Things era and the gradual increase in cloud computing applications, terminals have increasingly higher requirements for cloud resources in terms of latency, bandwidth and other performance. Traditional centralized cloud networks can no longer meet the terminals' growing demand for cloud resources.

[0003] With the emergence of edge computing technology, the concept of edge cloud has emerged. How to reasonably schedule application traffic in edge cloud is an urgent problem to be solved in the development of edge cloud. Summary of the invention

[0004] Multiple aspects of the present application provide a traffic scheduling method, device, system and storage medium to improve resource utilization, achieve traffic localization and reduce latency.

[0005] An embodiment of the present application provides a traffic scheduling method, including: obtaining current traffic from a first application, the first application corresponds to an initial pool and a working pool, and the number of edge cloud nodes in the working pool is dynamically variable; if the current traffic does not meet the scheduling strategy corresponding to the working pool, the current traffic is scheduled to the edge cloud node in the initial pool.

[0006] An embodiment of the present application also provides a traffic scheduling method, including: obtaining first traffic information, the first traffic information being information about the traffic of a first application scheduled to an initial pool; if it is determined based on the first traffic information that a new edge cloud node needs to be added to a working pool corresponding to the first application, then adding a first edge cloud node to the working pool; and scheduling at least part of the subsequent traffic in the first application that originally needed to be scheduled to the initial pool to the first edge cloud node.

[0007] An embodiment of the present application also provides a traffic scheduling method, including: obtaining second traffic information, the second traffic information is information about the traffic of the first application scheduled to its working pool; if it is determined according to the second traffic information that the edge cloud node in the working pool needs to be reduced, then the second edge cloud node in the working pool is reduced; and subsequent traffic in the first application that originally needs to be scheduled to the second edge cloud node is scheduled to the remaining edge cloud nodes in the working pool and / or the edge cloud nodes in the initial pool corresponding to the first application.

[0008] An embodiment of the present application also provides an edge cloud network, including: a traffic control system and multiple edge cloud nodes; the traffic control system is used to obtain the current traffic from a first application, the first application corresponds to an initial pool and a working pool, the initial pool includes at least one edge cloud node, the working pool can include edge cloud nodes and the number of edge cloud nodes it includes can be dynamically changed; the traffic control system is also used to: when the current traffic does not meet the scheduling strategy corresponding to the working pool, schedule the current traffic to the edge cloud node in the initial pool.

[0009] An embodiment of the present application also provides a flow control device, including: a memory, a processor; the memory is used to store a computer program; when the computer program is executed by the processor, the processor implements the steps in any flow scheduling method provided in the embodiment of the present application.

[0010] An embodiment of the present application also provides a traffic scheduling method, including: obtaining current traffic from a first application, the first application corresponds to an initial pool and a working pool, and the number of edge cloud devices in the working pool is dynamically variable; if the current traffic does not meet the scheduling policy corresponding to the working pool, scheduling the current traffic to the edge cloud device in the initial pool.

[0011] An embodiment of the present application also provides a computer-readable storage medium storing a computer program. When the computer program is executed by one or more processors, the one or more processors implement the steps of any traffic scheduling method provided in the embodiment of the present application.

[0012] In an embodiment of the present application, an initial pool and a working pool are set for applications in an edge cloud network, and the number of edge cloud nodes or edge cloud devices in the working pool is allowed to be dynamically variable; wherein, the initial pool cooperates with the working pool, and when the application traffic cannot be scheduled to the working pool, the application traffic can be scheduled to the edge cloud nodes or edge cloud devices in the initial pool to ensure the normal operation of the application; and in the working pool, the number of edge cloud nodes or edge cloud devices in the working pool can be dynamically scaled according to the size of the application traffic, thereby realizing dynamic on-demand allocation of resources and greatly improving the resource utilization of the edge cloud network. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0014] Figure 1a A schematic diagram of the structure of a network system provided for an exemplary embodiment of the present application;

[0015] Figure 1bA schematic diagram of a structure of a flow control system that schedules flow according to a scheduling strategy provided by an exemplary embodiment of the present application;

[0016] Figure 1c A schematic diagram of a structure of another flow control system that schedules flow according to a scheduling strategy provided by an exemplary embodiment of the present application;

[0017] Figure 1d A schematic diagram of the structure of another network system provided for an exemplary embodiment of the present application;

[0018] Figure 1e A schematic diagram of a structure for reducing edge cloud nodes in a working pool provided by an exemplary embodiment of the present application;

[0019] Figure 2a A flow chart of a traffic scheduling method provided for an exemplary embodiment of the present application;

[0020] Figure 2b A flow chart of another traffic scheduling method provided for an exemplary embodiment of the present application;

[0021] Figure 2c A flow chart of another flow scheduling method provided for an exemplary embodiment of the present application;

[0022] Figure 2d A flow chart of another flow scheduling method provided for an exemplary embodiment of the present application;

[0023] Figure 3a A flow chart of another flow scheduling method provided for an exemplary embodiment of the present application;

[0024] Figure 3b A flow chart of another flow scheduling method provided for an exemplary embodiment of the present application;

[0025] Figure 3c A flow chart of another flow scheduling method provided for an exemplary embodiment of the present application;

[0026] Figure 4 A schematic structural diagram of a flow control device provided for an exemplary embodiment of the present application. DETAILED DESCRIPTION

[0027] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only 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 the present application.

[0028] With the emergence of edge computing technology, edge cloud networks have emerged. Various applications are deployed in edge cloud networks, which also face the problem of traffic scheduling. A relatively simple solution is to directly refer to the traffic scheduling method of public cloud or central cloud. However, edge cloud networks have their own characteristics: there are more edge cloud nodes, the physical locations are more widely distributed, and the number of resources contained in a single edge cloud node is relatively small. These characteristics determine that the traffic scheduling method of public cloud or central cloud is not applicable to edge cloud networks. Therefore, how to reasonably schedule application traffic in edge cloud is an urgent problem to be solved in the development of edge cloud.

[0029] In response to the traffic scheduling problem faced by the edge cloud network, in an embodiment of the present application, an initial pool and a working pool are set for the applications in the edge cloud network, and the number of edge cloud nodes or edge cloud devices in the working pool is allowed to be dynamically variable; wherein, the initial pool cooperates with the working pool, and when the application traffic cannot be scheduled to the working pool, the application traffic can be scheduled to the edge cloud nodes or edge cloud devices in the initial pool to ensure the normal operation of the application; and in the working pool, the number of edge cloud nodes or edge cloud devices in the working pool can be dynamically scaled according to the size of the application traffic, thereby realizing dynamic on-demand allocation of resources and greatly improving the resource utilization of the edge cloud network.

[0030] The technical solutions provided by various embodiments of the present application are described in detail below in conjunction with the accompanying drawings.

[0031] Figure 1a A schematic diagram of the structure of a network system is provided for an exemplary embodiment of the present application. Figure 1a As shown, the network system 100 includes: a traffic control system 101 and multiple edge cloud nodes 102.

[0032] The network system 100 of this embodiment is a cloud computing platform built on edge infrastructure based on cloud computing technology and edge computing capabilities. It is a cloud platform with computing, networking, storage, security and other capabilities at an edge location.

[0033] Corresponding to the central cloud or traditional cloud computing platform, the network system 100 of this embodiment can be regarded as an edge cloud network system. Edge cloud is a relative concept. Edge cloud refers to a cloud computing platform that is relatively close to the terminal. In other words, unlike the central cloud or traditional cloud computing platform, the central cloud or traditional cloud computing platform may include a data center with scaled resources and centralized locations, while the edge cloud nodes cover a wider network range, and therefore have the characteristic of being closer to the terminal. The resource scale of a single edge cloud node is small, but the number of edge cloud nodes is large, and multiple edge cloud nodes constitute the components of the edge cloud in this embodiment. The terminal in this embodiment refers to the demand end of cloud computing services, such as a terminal or user end in the Internet, or a terminal or user end in the Internet of Things. The edge cloud network is a network built based on the infrastructure between the central cloud or traditional cloud computing system and the terminal.

[0034] The network system 100 includes at least one edge cloud node 102, and each edge cloud node 102 includes a series of edge infrastructures, including but not limited to: distributed data centers (DCs), wireless computer rooms or clusters, operators' communication networks, core network equipment, base stations, edge gateways, home gateways, computing devices or storage devices and other edge devices and corresponding network environments, etc. It is explained here that the locations, capabilities and infrastructures included in different edge cloud nodes 102 may be the same or different.

[0035] It should be noted that the network system 100 of this embodiment can be combined with a central network such as a central cloud or a traditional cloud computing platform, and further combined with a terminal to form a "cloud-edge-end three-body collaboration" network architecture. In this network architecture, tasks such as network forwarding, storage, computing, and intelligent data analysis can be placed in each edge cloud node 102 in the network system 100 for processing. Since each edge cloud node 102 is closer to the terminal, the response delay can be reduced, the pressure on the central cloud or traditional cloud computing platform can be reduced, and the bandwidth cost can be reduced. In addition, the network system 100 of this embodiment can also be directly combined with a terminal to form an "edge-to-end" network architecture.

[0036] Regardless of the network structure, various applications can be deployed in the network system 100 to provide various services to the outside. These applications are mainly deployed on the resources provided by one or more edge cloud nodes 102. Optionally, these applications include applications deployed by users or tenants of the network system 100, and may also include applications deployed by the provider of the network system 100. Among them, users or tenants of the network system 100 can rent or purchase corresponding resources in the network system 100, and deploy their own applications on the rented or purchased resources. These applications can provide certain services for themselves, such as data storage services, and can also provide services to their subordinate users, such as providing video playback services, email services, game services, etc. to subordinate users. The applications deployed by the provider of the network system 100 are mainly to provide basic services to users or tenants of the network system 100, such as application deployment services, resource balancing services, etc.

[0037] Regardless of which applications are deployed in the network system 100, how to reasonably schedule the application traffic in the network system 100 is the basis for ensuring that multiple edge cloud nodes 102 perform cloud computing services with correct and stable logic, and is also an important challenge faced by the network system 100. Among them, application traffic refers to various network requests that the application needs to process. For payment applications, its traffic includes but is not limited to: payment requests, requests to bind payment channels, and requests to add payment accounts or bank cards, etc. For game applications, its traffic includes but is not limited to: registration requests, prop purchase requests, online game requests, account recharge requests, plug-in requests, etc.

[0038] In the network system 100 of the present embodiment, a flow control system 101 is deployed. The flow control system 101 is mainly responsible for the unified scheduling of application traffic in the network system 100, that is, various application traffic of the network system 100 first arrives at the flow control system 101, and the flow control system 101 is responsible for reasonably scheduling these application traffic to the edge cloud node 102 where the corresponding application is deployed for processing, so as to improve resource utilization. Among them, the process of traffic scheduling for different applications by the flow control system 101 is the same or similar. For the convenience of description, the flow scheduling process is exemplified by taking the first application 103 as an example in the embodiment of the present application. Among them, the first application 103 is any application deployed in the network system 100. The first application 103 can be any type of application, for example, it can be a video application, a game application, a shopping application, or an email application.

[0039] Assume that the first application 103 is a game application deployed in the network system 100 by a tenant of the network system 100, and the first application 103 provides online game services. The first application 103 may have many game players, who may be scattered across the country or even around the world. These game players use their terminal devices such as smart phones, personal computers or tablets to play games online. During the game process, they will initiate various requests to the first application 103, such as requests to purchase props, requests to match teammates, requests to obtain game scenes, etc. The application traffic of the first application 103 may be large, and the application traffic of the first application 103 may fluctuate due to various factors such as time or game upgrades. For tenants, the first application 103 can be deployed in the rented N edge cloud nodes 102. In this case, when the traffic of the first application 103 exceeds the bearing capacity of the N edge cloud nodes 102, the game player's request cannot be responded to in time, and even a more serious delay may occur, and the user experience will be reduced. To avoid this problem, the tenant can rent more edge cloud nodes 102, for example, M, and deploy the first application 103 in all the M edge cloud nodes 102 to provide sufficient computing resources. However, when the application traffic is small, there is a waste of resources for the edge cloud nodes 102 where the first application 103 is deployed but not used. Wherein, M and N are positive integers, and M>N.

[0040] In this embodiment, an initial pool 104 and a working pool 105 are set for the first application 103. The initial pool 104 includes an edge cloud node 102 on which the first application 103 is deployed. Optionally, an instance corresponding to the first application 103 is pre-created on the edge cloud node 102 on which the first application 103 is deployed, and the instance can process the traffic of the first application 103. The number of edge cloud nodes 102 on which the first application 103 is deployed can be one or more. For example, the edge cloud nodes 102 on which the first application 103 is deployed included in the initial pool 104 can be 1, 2, 3, 10 or 15, etc. In general, the number of edge cloud nodes 102 on which the first application 103 is deployed contained in the initial pool 104 is fixed or substantially unchanged (i.e., the frequency of change is relatively low). Relative to the initial pool 104, the working pool 105 is actually a dynamic resource pool, and the number of edge cloud nodes 102 contained in the working pool 105 can be 0 (i.e., the working pool 105 does not contain any edge cloud node 102) or non-0. When the number of edge cloud nodes 102 included in the working pool 105 is non-zero, the first application 103 will also be deployed on these edge cloud nodes 102, and the application traffic of the first application 103 can also be processed. The number of edge cloud nodes 102 in the working pool 105 can be dynamically variable according to the amount of traffic of the first application 103, so as to realize dynamic on-demand allocation of resources.

[0041] In this embodiment, the traffic control system 101 maintains the scheduling policy corresponding to the working pool 105, which is mainly used to indicate which traffic of the first application 103 can be scheduled to the working pool 105. Based on this, when the traffic control system 101 obtains the current traffic from the first application, it can determine whether the current traffic meets the scheduling policy corresponding to the working pool 105; if the current traffic does not meet the scheduling policy corresponding to the working pool 105, the current traffic is scheduled to the edge cloud node 102 in the initial pool 104. Optionally, if the current traffic meets the scheduling policy corresponding to the working pool 105, the current traffic is scheduled to the edge cloud node in the working pool 105.

[0042] In an embodiment of the present application, an initial pool 104 and a working pool 105 are set for applications in an edge cloud network, and the number of edge cloud nodes 102 in the working pool 105 is allowed to be dynamically variable; wherein, the initial pool 104 cooperates with the working pool 105, and when the application traffic cannot be scheduled to the working pool 105, the application traffic can be scheduled to the edge cloud node 102 in the initial pool 104 to ensure the normal operation of the application; and in the working pool 105, the number of edge cloud nodes 102 in the working pool 105 can be dynamically scaled according to the size of the application traffic, thereby realizing dynamic on-demand allocation of resources and greatly improving the resource utilization of the edge cloud network.

[0043] In this embodiment, the specific content of the scheduling strategy corresponding to the working pool 105 is not limited. In an optional embodiment, the scheduling strategy corresponding to the working pool 105 includes: the scheduling conditions that the traffic needs to meet and the descriptive information indicating which edge cloud node the traffic needs to be scheduled to. Among them, the scheduling conditions that the traffic needs to meet may include but are not limited to: the region where the traffic comes from, the operator to which the traffic belongs, the type of traffic, etc. The traffic type may include but is not limited to: login requests, payment requests, order submission requests, etc. The descriptive information of the edge cloud node 102 refers to the access information of the edge cloud node, and the access information refers to the information that can successfully access the edge cloud node 102, which can be its IP address, MAC address, URL address or other unique identifiers.

[0044] In combination with the above scheduling strategy, the process of determining whether the current traffic meets the scheduling strategy corresponding to the working pool 105 includes: matching the attributes of the current traffic with the scheduling conditions in the scheduling strategy corresponding to the working pool 105; if no scheduling conditions are matched, it is determined that the current traffic does not meet the scheduling strategy corresponding to the working pool; if any scheduling condition is matched, it is determined that the current traffic meets the scheduling strategy corresponding to the working pool 105. Further, in the case of matching, the access information of the edge cloud node 102 corresponding to the matched scheduling condition is obtained from the scheduling strategy corresponding to the working pool 105; the current traffic is scheduled to the edge cloud node 102 in the working pool 105 corresponding to the access information.

[0045] like Figure 1b As shown, assuming that the scheduling condition in the scheduling policy is the operator to which the traffic belongs, the access information of the edge cloud node 102 is the MAC address, and assuming that the scheduling policies currently corresponding to the working pool 105 include: operator a1->MAC address m1, operator a2->MAC address m2, operator a3->MAC address m3, etc. Correspondingly, there is an edge cloud node b1 corresponding to MAC1, an edge cloud node b2 corresponding to MAC2, and an edge cloud node b3 corresponding to MAC3 in the working pool 105. Based on this, after receiving the current traffic from the first application 103, the traffic control system 101 obtains the attributes of the current traffic and matches the attributes of the current traffic with the scheduling conditions in the scheduling policy corresponding to the working pool 105. Case 1: If the operator attribute of the current traffic indicates that the current traffic comes from operator a1, the traffic control system 101 schedules the current traffic to the edge cloud node b1 corresponding to the MAC address m1 in the working pool 105. Case 2: If the operator attribute of the current traffic indicates that the current traffic comes from operator a4, the scheduling policy corresponding to operator a4 is not included in the scheduling policy of the current working pool 105, indicating that the current traffic does not meet the scheduling policy corresponding to the working pool 105, and the current traffic is scheduled to the edge cloud node 102 in the initial pool 104.

[0046] like Figure 1c As shown, assuming that the scheduling conditions in the scheduling policy include the region from which the traffic comes and the operator to which the traffic belongs, the access information of the edge cloud node 102 is the IP address, and assuming that the scheduling policies currently corresponding to the working pool 105 include: region c1+operator d1->IP address e1, region c2+operator d2->IP address e2, region c3+operator d3->IP address e3, etc. Correspondingly, the working pool 105 includes: edge cloud node f1 corresponding to IP address e1, edge cloud node f2 corresponding to IP address e2, and edge cloud node f3 corresponding to IP address e3. Based on this, after receiving the current traffic from the first application 103, the traffic control system 101 obtains the attributes of the current traffic and matches the attributes of the current traffic with the scheduling conditions in the scheduling policy corresponding to the working pool 105. Case 1: If the current traffic comes from operator d1 in region c1, the traffic control system 101 schedules the current traffic to the edge cloud node f1 corresponding to IP address e1 in the working pool 105. Case 2: If the regional attribute of the current traffic indicates that the current traffic comes from region c4, the current scheduling policy does not include the scheduling policy corresponding to region c4, indicating that the current traffic does not meet the scheduling policy corresponding to the working pool 105, and the current traffic is scheduled to the edge cloud node 102 in the initial pool 104.

[0047] Further, in order to achieve on-demand distribution of traffic, the number of edge cloud nodes 102 in the working pool 105 is dynamically changed. In an optional embodiment, as shown in 1d, the network system 100 further includes: a first information collection node 106 and a resource management node 107. The first information collection node 106 and the resource management node 107 are in communication connection.

[0048] Among them, the first information collection node 106 is used to obtain the first traffic information and report it to the resource management node 107. The first traffic information is the information of the traffic of the first application 103 being scheduled to the initial pool 104. The resource management node 107 is used to determine whether it is necessary to add a new edge cloud node 102 to the working pool 105 based on the first traffic information, and if the judgment result is yes, add a first edge cloud node 108 to the working pool 105; and in the subsequent traffic scheduling process, control the traffic control system 101 to schedule at least part of the subsequent traffic in the first application 103 that was originally required to be scheduled to the initial pool 104 to the first edge cloud node 108. In the embodiment of the present application, the first edge cloud node 108 can be one or more, and there is no limitation on this. Figure 1d In the figure, only the case where there is one first edge cloud node 108 is shown.

[0049] In the embodiment of the present application, the node form of the first information collection node 106 is not limited, and any node form that can collect information and has a reporting function is applicable to the embodiment of the present application. For example, the node form can be a physical server, terminal, CPU chip, FPGA chip, etc.; it can also be a logical functional module, etc. In addition, in the embodiment of the present application, the number of first information collection nodes 106 is not limited. For example, the number of first information collection nodes 106 can be one or more. Furthermore, the deployment form of the first information collection node 106 is not limited. The first information collection node 106 can be independently deployed in the initial pool 104 and communicate with each edge cloud node 102 in the initial pool 104; or, it can also be deployed on each edge cloud node 102 in the initial pool 104. Figure 1d , it is shown that the first information collection node 106 is deployed on each edge cloud node 102 in the initial pool 104. Optionally, the first information collection node 106 can be implemented as a service mesh, which can handle service communication, data collection and analysis reporting, routing control, etc. Therefore, the service mesh can be used to collect the first traffic information and send it to the resource management node 107.

[0050] In the embodiment of the present application, the node form of the resource management node 107 is not limited. For example, the node form can be a physical server, terminal, CPU chip or FPGA chip, etc.; it can also be a logical functional module, etc. In addition, in the embodiment of the present application, the number of resource management nodes 107 is not limited, for example, it can be one or more. Figure 1d , the situation when the number of resource management nodes 107 is 1 is shown. In the embodiment of the present application, the deployment form of the resource management node 107 is not limited. Optionally, the resource management node 107 can be independently deployed in the network system 100 from the initial pool 104 and the working pool 105. Alternatively, the resource management node 107 can also be deployed in one or several edge cloud nodes 102 in the initial pool 104 or the working pool 105.

[0051] In the embodiment of the present application, the content of the first flow information is not limited, and the first flow information can be any relevant information that can reflect the attributes of the flow scheduled to the initial pool 104. For example, a four-tuple or a five-tuple of the flow scheduled to the initial pool 104 can be collected as the first flow information. The four-tuple includes: source IP address, destination IP address, source port, destination port; the five-tuple includes: source IP address, destination IP address, protocol number, source port, destination port.

[0052] After the first information collection node 106 collects the first flow information (e.g., a five-tuple), it will report it to the resource management node 107. After receiving the first flow information reported by the first information collection node 106, the resource management node 107 can determine whether it is necessary to add a new edge cloud node to the working pool 105 based on the first flow information. In an optional embodiment, a node addition strategy can be pre-set, and the resource management node 107 can determine whether the preset node addition strategy is triggered based on the first flow information; if so, it is determined that a new edge cloud node needs to be added to the working pool 105.

[0053] Among them, the node addition strategy can be flexibly set according to application requirements. Depending on the node addition strategy, the method of determining whether the node addition strategy is triggered will also be different. The following takes different node addition strategies as an example to illustrate the implementation method of determining whether the node addition strategy is triggered. For example, determining whether the preset node addition strategy is triggered includes at least one of the following judgment operations:

[0054] Determination operation 1: judging, according to the first flow information, whether the total flow of the first application 103 scheduled to the initial pool 104 is greater than a set first flow threshold;

[0055] Determination operation 2: judging, according to the first traffic information, whether the traffic of the first application 103 that is scheduled to the initial pool 104 and comes from the designated operator is greater than a set second traffic threshold;

[0056] Determination operation 3: determining, according to the first traffic information, whether the traffic of the first application 103 that is scheduled to the initial pool 104 and comes from the specified region is greater than a set third traffic threshold;

[0057] Determination operation 4: judging, according to the first traffic information, whether the traffic of the first application 103 that is scheduled to the initial pool 104 and belongs to the specified traffic type is greater than a set fourth traffic threshold;

[0058] Determination operation 5: determining whether the load of the edge cloud node 102 in the initial pool 104 exceeds a set load threshold according to the first traffic information;

[0059] If the judgment result of at least one judgment operation is yes, it is determined that the preset node adding strategy is triggered.

[0060] In the embodiment of the present application, the first flow threshold, the second flow threshold, the third flow threshold, the fourth flow threshold and the load threshold are not limited. The first flow threshold, the second flow threshold, the third flow threshold, the fourth flow threshold and the load threshold can be but not limited to 30%, 50%, 70%, 90% and so on of the total flow in the initial pool 104. Among them, the judgment operations 1-5 correspond to different node addition strategies respectively, which can be used one by one or in any combination. In the judgment operation 1-4, if the result is yes, it means that the flow of the specified attribute needs to be allocated to the working pool 105. In the judgment operation 5, according to the first flow information, it is judged that the load of the edge cloud node in the initial pool 104 exceeds the set load threshold, indicating that the flow information in the initial pool 104 is too large, and it needs to be dispatched to the working pool 105, on the one hand to relieve the pressure of the initial pool 104, and on the other hand to reduce the delay. Among them, when the preset node increase strategy is triggered, it can be determined that the first edge cloud node 108 needs to be added to the working pool 105.

[0061] Optionally, an implementation method of adding a first edge cloud node 108 to the working pool 105 includes: selecting a first edge cloud node to be added to the working pool 105 from the network system 100 according to the first traffic information; creating an instance corresponding to the first application 103 on the first edge cloud node according to the image file of the first application 103. Mirroring is a form of file storage, and the data on one disk has an identical copy on another disk, which is a mirror file. Among them, when the first edge cloud node 108 is added, the image file of the first application 103 is used to create a corresponding instance on the first edge cloud node 108. The instance is the same as the instance created during initialization in the initial pool. It is a specific implementation or carrier of the first application, which can process the traffic of the first application and provide corresponding services. Among them, the implementation form of the instance can be a virtual machine, a container, a function computing service or a native application. In this embodiment, resources can be allocated to the first application on demand, and corresponding instances can be created in real time when resources are allocated, which can save resources and improve resource utilization.

[0062] In the embodiment of the present application, the method of selecting the first edge cloud node 108 according to the first traffic information is not limited. All implementation methods that can select the first edge cloud node 108 that needs to be added in the working pool 105 from the network system 100 according to the first traffic information are applicable to the embodiment of the present application. In an optional embodiment, the method of selecting the first edge cloud node 108 includes: according to the first traffic information, identifying the region from which the traffic scheduled to the initial pool 104 in the first application 103 comes, the operator and / or type attributes to which the traffic belongs; from the network system 100, select an edge cloud node that matches the region, operator and / or type attributes as the first edge cloud node 108. The selection operation here refers to the process of selecting the first edge cloud node 108 from other edge cloud nodes except the initial pool 104 and the working pool 105. In different scenarios, different traffic attributes can be used, and the implementation method of selecting the first edge cloud node will also be different according to different traffic attributes. The following is an exemplary description:

[0063] Example 1: The first information collection node 106 collects the first traffic information and reports it to the resource management node 107. The resource management node 107 identifies that the region from which the traffic scheduled to the initial pool 104 comes is region g1 based on the first traffic information. Furthermore, in the network system 100, an edge cloud node matching region g1 is selected as the first edge cloud node 108 to be added to the working pool 105. For example, an edge cloud node located in region g1, or an edge cloud node located around region g1, can be selected as the first edge cloud node 108.

[0064] Example 2: The first information collection node 106 collects the first traffic information and reports it to the resource management node 107. The resource management node 107 identifies that the operator to which the traffic scheduled to the initial pool 104 belongs is operator h2 based on the first traffic information. In the network system 100, an edge cloud node matching operator h2 is selected as the first edge cloud node 108 to be added to the working pool 105. For example, an edge cloud node including the infrastructure provided by operator h2 or an edge cloud node provided by operator h2 may be selected as the first edge cloud node 108.

[0065] Example 3: The first information collection node 106 collects the first traffic information and reports it to the resource management node 107. The resource management node 107 identifies the type of traffic scheduled to the initial pool 104 as type i3 (e.g., login traffic) based on the first traffic information. In the network system 100, the edge cloud node responsible for processing type i3 is selected as the first edge cloud node 108 that needs to be added to the working pool 105. In this example, different types of traffic can be processed by different edge cloud nodes.

[0066] Example 4: The first information collection node 106 collects the first traffic information and reports it to the resource management node 107. The resource management node 107 identifies, based on the first traffic information, that the traffic scheduled to the initial pool 104 comes from region g4, and the operator to which it belongs is operator h4. In the network system 100, an edge cloud node 102 that matches region g4 and operator h4 is selected as the first edge cloud node 108 that needs to be added to the working pool 105. For example, an edge cloud node located in region g4 and including the infrastructure provided by operator h4, or an edge cloud node located in region g4 and provided by operator h4, can be selected as the first edge cloud node 108.

[0067] Example 5: The first information collection node 106 collects the first traffic information and reports it to the resource management node 107. The resource management node 107 identifies that the traffic scheduled to the initial pool 104 comes from region g5 and is of type i5 (e.g., payment traffic) based on the first traffic information. In the network system 100, an edge cloud node matching region g5 and type i5 is selected as the first edge cloud node 108 to be added to the working pool 105. For example, an edge cloud node located in region g5 and responsible for processing traffic type i5 can be selected as the first edge cloud node 108.

[0068] Example 6: The first information collection node 106 collects the first traffic information and reports it to the resource management node 107. The resource management node 107 identifies, based on the first traffic information, that the operator to which the traffic scheduled to the initial pool 104 belongs is operator h6, and the type is type i6 (for example, traffic requesting coupons). In the network system 100, an edge cloud node that matches operator h6 and type i6 is selected as the first edge cloud node 108 that needs to be added to the working pool 105. For example, an edge cloud node provided by operator h6 and responsible for processing traffic type i6 can be selected as the first edge cloud node 108.

[0069] Example 7: The first information collection node 106 collects the first traffic information and reports it to the resource management node 107. The resource management node 107 identifies, based on the first traffic information, that the traffic scheduled to the initial pool 104 comes from region g7, belongs to operator h7, and is of type i7. In the network system 100, an edge cloud node that matches region g7, operator h6, and type i7 is selected as the first edge cloud node 108 that needs to be added to the working pool 105. For example, an edge cloud node located in region g7, provided by operator h6, and responsible for processing traffic type i7 can be selected as the first edge cloud node 108.

[0070] Regardless of which of the above examples is used, by selecting the first edge cloud node 108 according to the region where the traffic comes from, traffic localization can be achieved, latency can be reduced, and service quality can be improved.

[0071] In another optional embodiment, the resource management node 107 controls the traffic control system 101 to schedule at least part of the subsequent traffic in the first application 103 that was originally required to be scheduled to the initial pool 104 to the first edge cloud node 108, including: the resource management node 107 adds the access information of the first edge cloud node 108 and its corresponding scheduling conditions in the scheduling strategy corresponding to the working pool 105; if there is traffic that meets the scheduling conditions in the subsequent traffic from the first application 103, the traffic control system 101 will schedule the traffic that meets the scheduling conditions to the first edge cloud node 108 according to the access information. In the embodiment of the present application, the specific implementation method of adding the access information of the first edge cloud node 108 and its corresponding scheduling conditions in the scheduling strategy corresponding to the working pool 105 by the resource management node 107 is not limited. For example, the resource management node 107 may directly add the access information of the first edge cloud node 108 and its corresponding scheduling conditions to the scheduling policy corresponding to the working pool 105 to form a new scheduling policy, and then send the new scheduling policy to the traffic control system 101; or the resource management node 107 may send the access information of the first edge cloud node 108 and its corresponding scheduling conditions to the traffic control system 101 to control the traffic control system 101 to add the access information of the first edge cloud node 108 and its corresponding scheduling conditions to the scheduling policy corresponding to the working pool 105.

[0072] The above embodiment focuses on describing the process of adding new edge cloud nodes to the working pool 105 when the traffic scheduled to the initial pool 104 increases, which can relieve the pressure of the initial pool 104 and reduce the communication delay. In addition to this case, when the traffic scheduled to the working pool 105 in the first application 103 increases and meets the conditions for adding new edge cloud nodes (for example, exceeding the carrying capacity of existing edge cloud nodes), new edge cloud nodes can also be added to the working pool 105. In order to facilitate timely adding edge cloud nodes to the working pool 105 in this case, as shown in FIG. Figure 1d As shown, the network system 100 also includes: a second information collection node 111. The second information collection node 111 is responsible for obtaining the second traffic information and reporting it to the resource management node 107. The second traffic information is the information of the traffic in the first application 103 that is scheduled to the working pool 105. The resource management node 107 can also be used to: determine whether it is necessary to add a new edge cloud node to the working pool 105 based on the second traffic information, and if the judgment result is yes, add a third edge cloud node 109 to the working pool 105; and in the subsequent traffic scheduling process, control the traffic control system 101 to schedule at least part of the traffic in the first application 103 that needs to be scheduled to the working pool 105 to the third edge cloud node 109. Among them, the third edge cloud node 109 can be one or more, in Figure 1dIn the figure, only the case where there is one third edge cloud node 109 is shown.

[0073] In the embodiment of the present application, the node form of the second information collection node 111 is not limited, and any node form that can collect information and has a reporting function is applicable to the embodiment of the present application. For example, the node form can be a physical server, terminal, CPU chip or FPGA chip, etc.; it can also be a logical functional module, etc. In the embodiment of the present application, the number of second information collection nodes 111 is not limited, for example, it can be one or more. Furthermore, the deployment form of the second information collection node 111 is not limited. The second information collection node 111 can be independently deployed in the working pool 105 and communicate with each edge cloud node 102 in the working pool 105; or, it can also be deployed on each edge cloud node in the working pool 105. Figure 1d , it is shown that the second information collection node 111 is deployed on each edge cloud node in the working pool 105. Optionally, the second information collection node 111 can be implemented as a service grid, which can handle service communication, data collection and analysis reporting, routing control, etc. Therefore, the service grid can be used to collect the second traffic information and send it to the resource management node 107.

[0074] In the embodiment of the present application, the specific implementation of adding the third edge cloud node 109 in the working pool 105 is not limited. All implementations that can add the third edge cloud node 109 in the working pool 105 are applicable to the embodiment of the present application. Optionally, according to the second traffic information, the region from which the traffic scheduled to the working pool 105 in the first application 103 comes, the operator to which the traffic belongs, and / or the type attribute are identified; from the network system 100, an edge cloud node matching the region, operator, and / or type attribute is selected as the third edge cloud node 109. The selection operation here refers to the process of selecting the third edge cloud node 109 from other edge cloud nodes other than the initial pool 104 and the working pool 105. In different scenarios, different traffic attributes can be used, and the implementation methods of selecting the third edge cloud node will also be different according to different traffic attributes. Among them, the implementation method of selecting the third edge cloud node according to different traffic attributes is the same or similar to the implementation method of selecting the first edge cloud node according to different traffic attributes. Please refer to the aforementioned exemplary embodiment, which will not be repeated here.

[0075] In an optional embodiment, the resource management node 107 controls the traffic control system 101 to schedule at least part of the traffic in the first application 103 that needs to be scheduled to the working pool 105 to the third edge cloud node 09, including: adding the access information of the third edge cloud node 109 and its corresponding scheduling conditions in the scheduling strategy corresponding to the working pool 105; in this way, the traffic control system 101 will schedule subsequent traffic from the first application 103 to the third edge cloud node 109 according to the added scheduling strategy.

[0076] In the embodiment of the present application, the specific implementation method of adding the access information of the third edge cloud node 109 and its corresponding scheduling conditions to the scheduling policy corresponding to the working pool 105 by the resource management node 107 is not limited. For example, the resource management node 107 may directly add the access information of the third edge cloud node 109 and its corresponding scheduling conditions to the scheduling policy corresponding to the working pool 105 to form a new scheduling policy, and then send the new scheduling policy to the traffic control system 101; or the resource management node 107 may send the access information of the third edge cloud node 109 and its corresponding scheduling conditions to the traffic control system 101 to control the traffic control system 101 to add the access information of the third edge cloud node 109 and its corresponding scheduling conditions to the scheduling policy corresponding to the working pool 105.

[0077] In the above embodiment, the process of dynamically increasing the edge cloud nodes in the working pool 105 when the traffic of the first application 103 increases is described in detail. The traffic of the first application 103 changes dynamically and may increase or decrease. When the traffic scheduled to the working pool 105 decreases, the number of edge cloud nodes in the working pool 105 can also be dynamically reduced. In an optional embodiment, the resource management node 107 is also used to: determine whether it is necessary to reduce the edge cloud nodes in the working pool 105 based on the second traffic information, and if the judgment result is yes, reduce the second edge cloud node 110 in the working pool 105; and in the subsequent traffic scheduling process, control the traffic control system 101 to schedule the subsequent traffic in the first application 103 that was originally required to be scheduled to the second edge cloud node 110 to the remaining edge cloud nodes in the working pool 105 and / or the edge cloud node 102 in the initial pool. Among them, the second edge cloud node 110 can be one or more, in Figure 1d In the figure, only the case where there is one second edge cloud node 110 is shown.

[0078] In an optional embodiment, reducing the second edge cloud node 110 in the working pool 105 includes: identifying the traffic size of the first application 103 that is scheduled to each edge cloud node in the working pool 105 according to the second traffic information; selecting the second edge cloud node 110 according to the traffic size on each edge cloud node in the working pool 105; and removing the second edge cloud node 110 from the working pool 105. For example, according to the traffic size on each edge cloud node in the working pool 105, an edge cloud node with a traffic less than a set threshold can be selected from the working pool 105 as the second edge cloud node 110. Alternatively, according to the traffic size on each edge cloud node in the working pool 105, an edge cloud node with the smallest traffic can be selected from the working pool 105 as the second edge cloud node 110. Alternatively, according to the traffic size on each edge cloud node in the working pool 105 and the processing capacity of each edge cloud node, the load proportion of each edge cloud node in the working pool 105 can be calculated; and then the edge cloud node with the largest load proportion (or greater than the set proportion threshold) can be selected as the second edge cloud node 110.

[0079] Further optionally, before removing the second edge cloud node 110, the resources occupied by the first application 103 on the second edge cloud node 110 may also be released. For example, the instance corresponding to the first application 103 is deleted from the second edge cloud node 110 to release the occupied resources.

[0080] In an optional embodiment, the resource management node 107 controls the traffic control system 101 to schedule the subsequent traffic in the first application 103 that was originally required to be scheduled to the second edge cloud node 110 to the remaining edge cloud nodes 102 in the working pool 105 and / or the edge cloud nodes 102 in the initial pool 104, including: deleting the access information of the second edge cloud node 110 and its corresponding scheduling conditions in the scheduling policy corresponding to the working pool 105; in this way, the traffic control system 101 will schedule the subsequent traffic from the first application 103 to the remaining edge cloud nodes 102 in the working pool and / or the edge cloud nodes 102 in the initial pool 104 according to the deleted scheduling policy.

[0081] In the embodiment of the present application, the specific implementation method of deleting the access information and corresponding scheduling conditions of the second edge cloud node 110 from the scheduling policy corresponding to the working pool 105 by the resource management node 107 is not limited. For example, the resource management node 107 may directly delete the access information and corresponding scheduling conditions of the second edge cloud node 110 from the scheduling policy corresponding to the working pool 105 to form a new scheduling policy, and then send the new scheduling policy to the traffic control system 101; or the resource management node 107 may send a deletion instruction to the traffic control system 101 to instruct the traffic control system 101 to delete the access information and corresponding scheduling conditions of the second edge cloud node 110 from the scheduling policy corresponding to the working pool 105.

[0082] The following example illustrates the situation of reducing the second edge cloud node 110 in the working pool 105. Figure 1e As shown, assuming that the scheduling condition in the scheduling strategy is the operator to which the traffic belongs, the second edge cloud node 110 with an IP address of k1 in the working pool 105 is responsible for processing the traffic from operator j1 in the first application 103, and the edge cloud node 102 with an IP address of k2 is responsible for processing the traffic from operator j2 in the first application 103, and the initial pool 104 includes an edge cloud node 102 with an IP address of k3.

[0083] The second information collection node 111 obtains the second traffic information, and the resource management node 107 analyzes the traffic on each edge cloud node in the working pool 105 according to the traffic size of the second traffic information, and selects the edge cloud node with smaller traffic (i.e., the edge cloud node with IP address k1) as the second edge cloud node 110, releases the resources occupied by the first application 103 on the second edge cloud node 110, and removes the second edge cloud node 110 from the working pool 105. The resource management node 107 deletes the access information of the second edge cloud node 110 and its corresponding scheduling conditions in the scheduling strategy corresponding to the working pool 105 to form a new scheduling strategy. Figure 1e In the figure, the second edge cloud node 110, the access information of the second edge cloud node 110 and the corresponding scheduling conditions are in a dotted box, indicating a deleted state.

[0084] Optionally, if the scheduling strategy allows traffic sharing within the working pool 105, when the traffic control system 101 receives subsequent traffic from the operator j1 (i.e., subsequent traffic that originally needs to be scheduled to the second edge cloud node 110), it can schedule the subsequent traffic from the operator j1 to the edge cloud node 102 with IP address k2 in the working pool 105, such as Figure 1eExample 1 is shown by the solid line. Alternatively, if the scheduling policy does not allow traffic sharing within the working pool 105, when the traffic control system 101 receives the subsequent traffic from the operator j1 (i.e., the subsequent traffic that originally needs to be scheduled to the second edge cloud node 110), it can schedule the subsequent traffic from the operator j1 to the edge cloud node 102 with the IP address k3 in the initial pool 104, as shown in FIG. Figure 1e Example 2 is shown in dashed line.

[0085] It is explained here that the network system provided by this embodiment can provide its users with a variety of service forms for their selection. The various service forms include at least: a dynamic service form combining the initial pool and the working pool provided in the embodiment of the present application and a traditional service form. The traditional service form refers to a service form in which instances corresponding to user applications are pre-deployed on edge cloud nodes purchased or rented by users, and resources do not change dynamically. For users, they can flexibly choose the required service form from a variety of service forms according to their application needs. For example, if the user prioritizes service quality and stability, they can choose the traditional service form; if the user prioritizes lower resource costs and traffic localization, they can choose to use a dynamic service form.

[0086] It is hereby explained that in the above-mentioned system embodiment, in the process of traffic scheduling for each application, the resource granularity used to carry the application traffic is the edge cloud node, but it is not limited to this. In the embodiment of the present application, the edge cloud node includes a series of edge infrastructures, some of which have certain computing or processing capabilities, and some are communication links and network environments, etc. In order to simplify the description, these edge infrastructures with certain computing or processing capabilities are referred to as edge cloud devices. Logically, the edge cloud node is a collection of edge cloud devices and other edge infrastructures. Based on this, in the above-mentioned system embodiment, in the process of traffic scheduling for each application, the resource granularity used to carry the application traffic can be edge cloud devices in addition to edge cloud nodes. Below, still taking the first application as an example, the traffic scheduling process with edge cloud devices as the resource granularity is briefly explained.

[0087] In the network system provided in the embodiment of the present application, an initial pool and a working pool can be set for the first application. The initial pool includes an edge cloud device with a first application deployed. Optionally, an instance corresponding to the first application is pre-created on the edge cloud device with the first application deployed, and the instance can process the traffic of the first application. The number of edge cloud devices with the first application deployed can be one or more, and these edge cloud devices can come from the same edge cloud node or from different edge cloud nodes, without limitation. Generally speaking, the number of edge cloud devices with the first application deployed in the initial pool is fixed or basically unchanged (i.e., the frequency of change is relatively low). Relative to the initial pool, the working pool is actually a dynamic resource pool, and the number of edge cloud devices contained in the working pool can be 0 (i.e., the working pool does not contain any edge cloud devices) or non-0. In the case where the number of edge cloud devices contained in the working pool is non-0, the first application will also be deployed on these edge cloud devices, and the application traffic of the first application can also be processed. The number of edge cloud devices in the working pool can be dynamically variable according to the amount of traffic of the first application, so as to realize dynamic on-demand allocation of resources. Similarly, the edge cloud devices in the working pool can come from the same edge cloud node or from different edge cloud nodes. In addition, the edge cloud devices in the working pool are different from the edge cloud devices in the initial pool, but the two resource pools can include edge cloud devices from the same edge cloud node or from different edge cloud nodes.

[0088] Among them, the difference between using edge cloud devices as resource granularity and using edge cloud nodes as resource granularity to schedule traffic for each application is mainly that the resource granularity is different, and the other contents are basically the same or similar. Therefore, the detailed implementation process of using edge cloud devices as resource granularity to schedule traffic for each application, such as specific scheduling strategies, detailed traffic scheduling process, and changes to edge cloud devices in the working pool and the initial pool, can be found in the above-mentioned embodiments, and will not be repeated here.

[0089] In an embodiment of the present application, an initial pool and a working pool are set for applications in an edge cloud network, and the number of edge cloud devices in the working pool is allowed to be dynamically variable; wherein, the initial pool cooperates with the working pool, and when the application traffic cannot be scheduled to the working pool, the application traffic can be scheduled to the edge cloud device in the initial pool to ensure the normal operation of the application; and in the working pool, the number of edge cloud devices in the working pool can be dynamically scaled according to the size of the application traffic, thereby realizing dynamic on-demand allocation of resources and greatly improving the resource utilization of the edge cloud network.

[0090] In addition to the above-mentioned system embodiments, the present application also provides some embodiments of traffic scheduling methods. The networking method embodiments provided by the present application are described below.

[0091] Figure 2aA flow chart of a traffic scheduling method provided by an exemplary embodiment of the present application; Figure 2a As shown, the method includes:

[0092] 21. Obtain the current traffic from the first application. The first application corresponds to an initial pool and a working pool. The number of edge cloud nodes in the working pool is dynamically variable.

[0093] 22. If the current traffic does not meet the scheduling strategy corresponding to the working pool, the current traffic will be scheduled to the edge cloud node in the initial pool.

[0094] In the embodiment of the present application, the first application is taken as an example to illustrate the traffic scheduling method. Among them, the first application is any application deployed in the edge cloud network. The first application can be any type of application, for example, it can be a video application, a game application, a shopping application, or an email application. The current traffic of the first application refers to the various network requests that the application needs to process. For payment applications, its traffic includes but is not limited to: payment requests, requests to bind payment channels, and requests to add payment accounts or bank cards, etc. For game applications, its traffic includes but is not limited to: registration requests, prop purchase requests, online game requests, account recharge requests, plug-in requests, and so on.

[0095] In this embodiment, the first application corresponds to an initial pool and a working pool. The initial pool includes edge cloud nodes deployed with the first application, and the edge cloud nodes deployed with the first application can process the traffic of the first application, and the number can be one or more. For example, the edge cloud nodes deployed with the first application included in the initial pool can be 1, 2, 3, 10 or 15, etc. Generally speaking, the number of edge cloud nodes deployed with the first application contained in the initial pool is fixed or basically unchanged (that is, the frequency of change is relatively low). Relative to the initial pool, the working pool is actually a dynamic resource pool, and the number of edge cloud nodes contained in the working pool can be 0 (that is, the working pool does not contain any edge cloud nodes) or non-0. In the case where the number of edge cloud nodes contained in the working pool is non-0, the first application will also be deployed on these edge cloud nodes, and the application traffic of the first application can also be processed. The number of edge cloud nodes in the working pool can be dynamically variable according to the amount of traffic of the first application, so as to realize dynamic on-demand allocation of resources.

[0096] In this embodiment, the working pool 105 corresponds to a scheduling strategy, which is mainly used to indicate which traffic of the first application can be scheduled to the working pool. Based on this, when the current traffic from the first application is obtained, it can be determined whether the current traffic meets the scheduling strategy corresponding to the working pool; if the current traffic does not meet the scheduling strategy corresponding to the working pool, the current traffic is scheduled to the edge cloud node in the initial pool. Optionally, if the current traffic meets the scheduling strategy corresponding to the working pool, the current traffic is scheduled to the edge cloud node in the working pool.

[0097] In an embodiment of the present application, an initial pool and a working pool are set for applications in an edge cloud network, and the number of edge cloud nodes in the working pool is allowed to be dynamically variable; wherein, the initial pool cooperates with the working pool, and when the application traffic cannot be scheduled to the working pool, the application traffic can be scheduled to the edge cloud nodes in the initial pool to ensure the normal operation of the application; and in the working pool, the number of edge cloud nodes in the working pool can be dynamically scaled according to the size of the application traffic, thereby realizing dynamic on-demand allocation of resources and greatly improving the resource utilization of the edge cloud network.

[0098] In this embodiment, the specific content of the scheduling strategy corresponding to the working pool is not limited. In an optional embodiment, the scheduling strategy corresponding to the working pool includes: the scheduling conditions that the traffic needs to meet and the descriptive information indicating which edge cloud node the traffic needs to be scheduled to. Among them, the scheduling conditions that the traffic needs to meet may include but are not limited to: the region where the traffic comes from, the operator to which the traffic belongs, the type of traffic, etc. The traffic type may include but is not limited to: login requests, payment requests, order submission requests, etc. The descriptive information of the edge cloud node refers to the access information of the edge cloud node, and the access information refers to the information that can successfully access the edge cloud node, which can be its IP address, MAC address, URL address or other unique identifiers.

[0099] In combination with the above scheduling strategy, the process of determining whether the current traffic satisfies the scheduling strategy corresponding to the working pool includes: matching the attributes of the current traffic with the scheduling conditions in the scheduling strategy corresponding to the working pool; if no scheduling conditions are matched, it is determined that the current traffic does not meet the scheduling strategy corresponding to the working pool; if any scheduling condition is matched, it is determined that the current traffic meets the scheduling strategy corresponding to the working pool. Further, in the case of matching, the access information of the edge cloud node corresponding to the matched scheduling condition is obtained from the scheduling strategy corresponding to the working pool; the current traffic is scheduled to the edge cloud node corresponding to the access information in the working pool.

[0100] Furthermore, in order to achieve on-demand distribution of traffic, the number of edge cloud nodes in the working pool is dynamically changed. In an optional embodiment, Figure 2b As shown, the traffic scheduling method further includes, in addition to step 21 and step 22:

[0101] 23. Obtain first traffic information, where the first traffic information is information about traffic in the first application that is scheduled to the initial pool;

[0102] 24. If it is determined according to the first traffic information that a new edge cloud node needs to be added to the working pool, then a first edge cloud node is added to the working pool;

[0103] 25. Schedule at least part of the subsequent traffic in the first application that was originally scheduled to the initial pool to the first edge cloud node.

[0104] In this embodiment, the execution order of the operations described in steps 21-22 and the operations described in steps 23-25 ​​is not limited. Figure 2b In the figure, steps 23-25 ​​are illustrated after step 22.

[0105] In the embodiment of the present application, the content of the first flow information is not limited, and the first flow information can be any relevant information that can reflect the attributes of the flow scheduled to the initial pool. For example, a four-tuple or five-tuple of the flow scheduled to the initial pool 104 can be collected as the first flow information. Among them, the four-tuple includes: source IP address, destination IP address, source port, destination port; the five-tuple includes: source IP address, destination IP address, protocol number, source port, destination port. Among them, according to the port information or protocol number in the four-tuple or five-tuple, the type of these flows can be known; further, according to the mapping relationship between IP address, port information and operator, region and other information, it can be known which regions and which operator these flows come from.

[0106] After obtaining the first flow information (e.g., a five-tuple), it can be determined whether it is necessary to add a new edge cloud node to the working pool according to the first flow information. In an optional embodiment, a node addition strategy can be pre-set, and then it can be determined whether the preset node addition strategy is triggered according to the first flow information; if so, it is determined that a new edge cloud node needs to be added to the working pool.

[0107] Among them, the node addition strategy can be flexibly set according to application requirements. Depending on the node addition strategy, the method of determining whether the node addition strategy is triggered will also be different. The following takes different node addition strategies as an example to illustrate the implementation method of determining whether the node addition strategy is triggered. For example, determining whether the preset node addition strategy is triggered includes at least one of the following judgment operations:

[0108] Determination operation 1: judging, according to the first flow information, whether the total flow of the first application scheduled to the initial pool is greater than a set first flow threshold;

[0109] Determination operation 2: determining, according to the first traffic information, whether the traffic in the first application that is scheduled to the initial pool and comes from the designated operator is greater than a set second traffic threshold;

[0110] Determination operation 3: determining, according to the first traffic information, whether the traffic in the first application that is scheduled to the initial pool and comes from the specified region is greater than a set third traffic threshold;

[0111] Determination operation 4: determining, according to the first traffic information, whether the traffic of the first application that is scheduled to the initial pool and belongs to the specified traffic type is greater than a set fourth traffic threshold;

[0112] Determination operation 5: determining whether the load of the edge cloud node in the initial pool exceeds a set load threshold according to the first traffic information;

[0113] If the judgment result of at least one judgment operation is yes, it is determined that the preset node adding strategy is triggered.

[0114] In the embodiment of the present application, the first traffic threshold, the second traffic threshold, the third traffic threshold, the fourth traffic threshold and the load threshold are not limited. The first traffic threshold, the second traffic threshold, the third traffic threshold, the fourth traffic threshold and the load threshold can be but not limited to 30%, 50%, 70%, 90% and so on of the total traffic in the initial pool. Among them, the judgment operations 1-5 correspond to different node addition strategies respectively, which can be used one by one or in any combination. In the judgment operation 1-4, if the result is yes, it means that the traffic of the specified attribute needs to be allocated to the working pool. In the judgment operation 5, according to the first traffic information, it is judged that the load of the edge cloud node in the initial pool exceeds the set load threshold, indicating that the traffic information in the initial pool is too large and needs to be scheduled to the working pool, which can relieve the pressure of the initial pool on the one hand and reduce the delay on the other hand. Among them, when the preset node increase strategy is triggered, it can be determined that the first edge cloud node needs to be added to the working pool.

[0115] Optionally, an implementation method of adding a first edge cloud node to the working pool includes: selecting the first edge cloud node to be added to the working pool from the edge cloud network according to the first traffic information; creating an instance corresponding to the first application on the first edge cloud node according to the image file of the first application. Mirroring is a form of file storage, and the data on one disk has an identical copy on another disk, which is the image file. Among them, when adding the first edge cloud node, the image file of the first application is used to create a corresponding instance on the first edge cloud node. The instance is the same as the instance created during initialization in the initial pool. It is a specific implementation or carrier of the first application, which can process the traffic of the first application and provide corresponding services. Among them, the implementation form of the instance can be a virtual machine, a container, a function computing service or a native application. In this embodiment, resources can be allocated to the first application on demand, and the corresponding instance can be created in real time when the resources are allocated, which can save resources and improve resource utilization.

[0116] In the embodiments of the present application, the method of selecting the first edge cloud node according to the first traffic information is not limited. All implementation methods that can select the first edge cloud node that needs to be added to the working pool from the edge cloud network according to the first traffic information are applicable to the embodiments of the present application. In an optional embodiment, the method of selecting the first edge cloud node includes: according to the first traffic information, identifying the region from which the traffic scheduled to the initial pool in the first application comes, the operator and / or type attributes to which the traffic belongs; from the edge cloud network, selecting an edge cloud node that matches the region, operator and / or type attributes as the first edge cloud node. The selection operation here refers to the process of selecting the first edge cloud node from other edge cloud nodes except the initial pool and the working pool. In different scenarios, different traffic attributes can be used, and the implementation methods of selecting the first edge cloud node will also be different according to different traffic attributes. Please refer to the system embodiment for exemplary descriptions, which will not be repeated here.

[0117] Regardless of which of the above examples is used, by selecting the first edge cloud node 108 according to the region where the traffic comes from, traffic localization can be achieved, latency can be reduced, and service quality can be improved.

[0118] In another optional embodiment, at least part of the subsequent traffic in the first application that was originally required to be scheduled to the initial pool is scheduled to the first edge cloud node, specifically including: adding the access information of the first edge cloud node and its corresponding scheduling conditions in the scheduling strategy corresponding to the working pool; if traffic that meets the scheduling conditions appears in the subsequent traffic from the first application, the traffic that meets the scheduling conditions is scheduled to the first edge cloud node based on the access information.

[0119] The above embodiment focuses on the process of adding new edge cloud nodes to the working pool when the traffic scheduled to the initial pool increases, which can relieve the pressure on the initial pool and reduce communication latency. In addition to this case, when the traffic scheduled to the working pool in the first application increases and meets the conditions for adding new edge cloud nodes (for example, exceeding the capacity of existing edge cloud nodes), new edge cloud nodes can also be added to the working pool. In an optional embodiment, Figure 2c As shown, the traffic scheduling method of this embodiment includes the following steps in addition to steps 21-25:

[0120] 26c. Obtain second flow information, where the second flow information is information about the flow of the first application scheduled to the work pool;

[0121] 27c. If it is determined according to the second traffic information that a new edge cloud node needs to be added to the working pool, a third edge cloud node is added to the working pool;

[0122] 28c. Schedule at least part of the traffic in the first application that needs to be scheduled to the working pool to the third edge cloud node.

[0123] In this embodiment, the execution order of the operations described in steps 21-22, the operations described in steps 23-25, and the operations described in steps 26c-28c is not limited. Figure 2c In the figure, steps 26c-28c are illustrated as being located after step 25.

[0124] In the embodiments of the present application, the specific implementation method of adding the third edge cloud node in the working pool is not limited. All implementation methods that can add the third edge cloud node in the working pool are applicable to the embodiments of the present application. Optionally, according to the second traffic information, the region from which the traffic scheduled to the working pool in the first application comes, the operator and / or type attribute to which the traffic belongs are identified; from the edge cloud network, an edge cloud node that matches the region, operator and / or type attribute is selected as the third edge cloud node. The selection operation here refers to the process of selecting a third edge cloud node from other edge cloud nodes other than the initial pool and the working pool. In different scenarios, different traffic attributes can be used, and the implementation method of selecting the third edge cloud node will also be different according to different traffic attributes. Among them, the implementation method of selecting the third edge cloud node according to different traffic attributes is the same or similar to the implementation method of selecting the first edge cloud node according to different traffic attributes. Please refer to the aforementioned exemplary embodiment and will not be repeated here.

[0125] In an optional embodiment, at least part of the traffic in the first application that needs to be scheduled to the working pool is scheduled to the third edge cloud node, including: adding access information of the third edge cloud node and its corresponding scheduling conditions in the scheduling strategy corresponding to the working pool; and scheduling subsequent traffic from the first application to the third edge cloud node according to the added scheduling strategy.

[0126] In the above embodiment, the process of dynamically increasing the edge cloud nodes in the working pool when the traffic of the first application increases is described in detail. The traffic of the first application changes dynamically and may increase or decrease. When the traffic scheduled to the working pool decreases, the number of edge cloud nodes in the working pool may also be dynamically reduced. In an optional embodiment, Figure 2d As shown, the traffic scheduling method of this embodiment includes the following steps in addition to steps 21-25:

[0127] 26d. Obtain second flow information, where the second flow information is information about the flow in the first application that is scheduled to the working pool;

[0128] 27d. If it is determined according to the second traffic information that the edge cloud node in the working pool needs to be reduced, then the second edge cloud node in the working pool is reduced;

[0129] 28d. Schedule the subsequent traffic in the first application that was originally required to be scheduled to the second edge cloud node to the remaining edge cloud nodes in the working pool and / or the edge cloud nodes in the initial pool.

[0130] In this embodiment, the execution order of the operations described in steps 21-22, the operations described in steps 23-25, and the operations described in steps 26d-28d is not limited. Figure 2d In the figure, steps 26d-28d are illustrated as being located after step 25.

[0131] In the embodiment of the present application, the specific implementation method of reducing the second edge cloud node in the working pool is not limited. All implementation methods that can reduce the second edge cloud node in the working pool are applicable to the embodiment of the present application. Optionally, according to the second traffic information, the traffic size scheduled to each edge cloud node in the working pool in the first application is identified; according to the traffic size on each edge cloud node in the working pool, a second edge cloud node is selected; and the second edge cloud node is removed from the working pool. For example, according to the traffic size on each edge cloud node in the working pool, an edge cloud node with a traffic less than a set threshold can be selected from the working pool as the second edge cloud node. Alternatively, according to the traffic size on each edge cloud node in the working pool, an edge cloud node with the smallest traffic can be selected from the working pool as the second edge cloud node. Alternatively, according to the traffic size on each edge cloud node in the working pool and the processing capacity of each edge cloud node, the load proportion of each edge cloud node in the working pool can be calculated; and then the edge cloud node with the largest load proportion (or greater than the set proportion threshold) is selected as the second edge cloud node.

[0132] Further optionally, before removing the second edge cloud node, the resources occupied by the first application on the second edge cloud node may be released. For example, the instance corresponding to the first application is deleted from the second edge cloud node to release the occupied resources.

[0133] In an optional embodiment, subsequent traffic in the first application that was originally required to be scheduled to the second edge cloud node is scheduled to the remaining edge cloud nodes in the working pool and / or the edge cloud nodes in the initial pool, including: deleting the access information of the second edge cloud node and its corresponding scheduling conditions in the scheduling policy corresponding to the working pool; and scheduling subsequent traffic from the first application to the remaining edge cloud nodes in the working pool and / or the edge cloud nodes in the initial pool according to the deleted scheduling policy.

[0134] The exemplary embodiment of the present application also provides a flow chart of another flow scheduling method, such as Figure 3a As shown, the method includes:

[0135] 31a. Obtain first traffic information, where the first traffic information is information about the traffic of the first application scheduled to the initial pool;

[0136] 32a. If it is determined according to the first traffic information that an edge cloud node needs to be added to the working pool corresponding to the first application, then a first edge cloud node is added to the working pool;

[0137] 33a. Schedule at least part of the subsequent traffic in the first application that was originally required to be scheduled to the initial pool to the first edge cloud node.

[0138] The embodiments of the present application Figure 2bCompared with the embodiment shown, the main differences are: Figure 2b The embodiment shown is in Figure 2a The embodiments of the present application are described based on the embodiments shown in the figure, and the embodiments of the present application are independent of Figure 2a In the embodiment shown, other contents are the same or similar to those of the aforementioned embodiment and are not described again here. Please refer to the description of the aforementioned embodiment.

[0139] The exemplary embodiment of the present application also provides a flow chart of another flow scheduling method, such as Figure 3b As shown, the method includes:

[0140] 31b. Obtain second flow information, where the second flow information is information about the flow of the first application being scheduled to its working pool;

[0141] 32b. If it is determined according to the second traffic information that the edge cloud node in the working pool needs to be reduced, then the second edge cloud node in the working pool is reduced; and

[0142] 33b. Schedule the subsequent traffic in the first application that was originally required to be scheduled to the second edge cloud node to the remaining edge cloud nodes in the working pool and / or the edge cloud nodes in the initial pool corresponding to the first application.

[0143] In an alternative embodiment, Figure 3b The method shown also includes: if it is determined based on the second traffic information that a new edge cloud node needs to be added to the working pool, then a third edge cloud node is added to the working pool; and at least part of the subsequent traffic in the first application that needs to be scheduled to the working pool is scheduled to the third edge cloud node.

[0144] The embodiments of the present application Figure 2d Compared with the embodiment shown, the main differences are: Figure 2d The embodiment shown is in Figure 2b The embodiments of the present application are described based on the embodiments shown in the figure, and the embodiments of the present application are independent of Figure 2b In the embodiment shown, other contents are the same or similar to those of the aforementioned embodiment and are not described again here. Please refer to the description of the aforementioned embodiment.

[0145] Figure 3c The exemplary embodiment of the present application provides a flow chart of a traffic scheduling method. Figure 3c As shown, the method includes:

[0146] 31c. Obtain the current traffic from the first application. The first application corresponds to an initial pool and a working pool. The number of edge cloud devices in the working pool is dynamically variable.

[0147] 32c. If the current traffic does not meet the scheduling policy corresponding to the working pool, the current traffic is scheduled to the edge cloud device in the initial pool.

[0148] Further optionally, if the current traffic meets the scheduling policy corresponding to the working pool, the current traffic is scheduled to the edge cloud device in the working pool.

[0149] In this embodiment, an initial pool and a working pool may be set for the first application. The initial pool includes edge cloud devices on which the first application is deployed. Optionally, an instance corresponding to the first application is pre-created on the edge cloud device on which the first application is deployed, and the instance can handle the traffic of the first application. The number of edge cloud devices on which the first application is deployed may be one or more, and these edge cloud devices may come from the same edge cloud node or from different edge cloud nodes, without limitation. Generally speaking, the number of edge cloud devices on which the first application is deployed contained in the initial pool is fixed or substantially unchanged (i.e., the frequency of changes is relatively low).

[0150] Relative to the initial pool, the working pool is actually a dynamic resource pool. The number of edge cloud devices included in the working pool can be 0 (that is, the working pool does not contain any edge cloud devices) or non-zero. When the number of edge cloud devices included in the working pool is non-zero, the first application will also be deployed on these edge cloud devices, and the application traffic of the first application can also be processed. The number of edge cloud devices in the working pool can be dynamically variable according to the amount of traffic of the first application, so as to realize dynamic on-demand allocation of resources. Similarly, the edge cloud devices in the working pool can come from the same edge cloud node or from different edge cloud nodes.

[0151] In addition, the edge cloud devices in the working pool are different from the edge cloud devices in the initial pool, but the two resource pools may include edge cloud devices from the same edge cloud node or from different edge cloud nodes.

[0152] In this embodiment, in the process of traffic scheduling for the first application, the resource granularity used to carry the application traffic is the edge cloud device, not the edge cloud node. Logically, the edge cloud node can be regarded as a collection of edge cloud devices. The edge cloud device here mainly refers to the edge infrastructure with certain computing or processing capabilities contained in the edge cloud node. Of course, in addition to the edge cloud device, the edge cloud node also includes some other edge infrastructures such as signal links and network environments, which are not limited to this.

[0153] Among them, the difference between using edge cloud devices as resource granularity and using edge cloud nodes as resource granularity to schedule traffic for the first application is mainly that the resource granularity is different, and the other contents are basically the same or similar. Therefore, the detailed implementation process of using edge cloud devices as resource granularity to schedule traffic for the first application, such as specific scheduling strategies, detailed traffic scheduling process, and changes to edge cloud devices in the working pool and the initial pool, can be found in the aforementioned embodiments, and will not be repeated here.

[0154] In an embodiment of the present application, an initial pool and a working pool are set for applications in an edge cloud network, and the number of edge cloud devices in the working pool is allowed to be dynamically variable; wherein, the initial pool cooperates with the working pool, and when the application traffic cannot be scheduled to the working pool, the application traffic can be scheduled to the edge cloud device in the initial pool to ensure the normal operation of the application; and in the working pool, the number of edge cloud devices in the working pool can be dynamically scaled according to the size of the application traffic, thereby realizing dynamic on-demand allocation of resources and greatly improving the resource utilization of the edge cloud network.

[0155] It should be noted that the execution subject of each step of the method provided in the above embodiment can be the same device, or the method can be executed by different devices. For example, the execution subject of steps 21 to 23 can be device A; for another example, the execution subject of steps 21 and 22 can be device A, and the execution subject of step 23 can be device B; and so on.

[0156] In addition, in some of the processes described in the above embodiments and the accompanying drawings, multiple operations that appear in a specific order are included, but it should be clearly understood that these operations may not be executed in the order in which they appear in this article or executed in parallel, and the sequence numbers of the operations, such as 21, 22, etc., are only used to distinguish between different operations, and the sequence numbers themselves do not represent any execution order. In addition, these processes may include more or fewer operations, and these operations may be executed in sequence or in parallel. It should be noted that the descriptions of "first", "second", etc. in this article are used to distinguish different messages, devices, modules, etc., do not represent the order of precedence, and do not limit the "first" and "second" to be different types.

[0157] Figure 4 The schematic diagram of the structure of a flow control device provided by the exemplary embodiment of the present application is shown in FIG. Figure 4 As shown, the device includes: a memory 402 and a processor 401 .

[0158] The memory 402 is used to store computer programs and can be configured to store various other data to support operations on the flow control device. Examples of such data include instructions for any application or method operating on the flow control device, contact data, phone book data, messages, pictures, videos, etc.

[0159] Memory 402 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0160] In this embodiment, the processor 401 is coupled to the memory 402 and is used to execute a computer program for: obtaining current traffic from a first application, the first application corresponding to an initial pool and a working pool, and the number of edge cloud nodes in the working pool is dynamically variable; if the current traffic does not meet the scheduling policy corresponding to the working pool, the current traffic is scheduled to the edge cloud node in the initial pool. The first application is any application deployed in the network system where the edge cloud node is located.

[0161] In an optional embodiment, the processor 401 is further used to: if the current traffic meets the scheduling policy corresponding to the working pool, schedule the current traffic to the edge cloud node in the working pool.

[0162] In an optional embodiment, the processor 401 is also used to: obtain first traffic information, which is information about the traffic in the first application that is scheduled to the initial pool; if it is determined based on the first traffic information that a new edge cloud node needs to be added to the working pool, then a first edge cloud node is added to the working pool; and at least part of the subsequent traffic in the first application that originally needed to be scheduled to the initial pool is scheduled to the first edge cloud node.

[0163] In an optional embodiment, when the processor 401 adds a new first edge cloud node to the working pool, it is specifically used to: select the first edge cloud node that needs to be added to the working pool from the edge cloud network according to the first traffic information; and create an instance corresponding to the first application on the first edge cloud node according to the image file of the first application.

[0164] In an optional embodiment, when the processor 401 selects the first edge cloud node that needs to be added to the working pool from the edge cloud network based on the first traffic information, it is specifically used to: identify the region, operator and / or type attributes of the traffic scheduled to the initial pool in the first application based on the first traffic information; and select an edge cloud node that matches the region, operator and / or type attributes from the edge cloud network as the first edge cloud node.

[0165] In an optional embodiment, when the processor 401 schedules at least part of the subsequent traffic in the first application that was originally required to be scheduled to the initial pool to the first edge cloud node, it is specifically used to: add the access information of the first edge cloud node and its corresponding scheduling conditions in the scheduling strategy corresponding to the working pool; if traffic that meets the scheduling conditions appears in the subsequent traffic from the first application, the traffic that meets the scheduling conditions is scheduled to the first edge cloud node based on the access information.

[0166] In an optional embodiment, when the processor 401 determines whether a new edge cloud node needs to be added to the working pool based on the first traffic information, it is specifically used to: determine whether a preset node addition strategy is triggered based on the first traffic information; if so, determine that a new edge cloud node needs to be added to the working pool.

[0167] In an optional embodiment, when the processor 401 determines whether the preset node increase strategy is triggered based on the first traffic information, it is specifically used to perform at least one of the following judgment operations: determine whether the total traffic scheduled to the initial pool in the first application is greater than the set first traffic threshold based on the first traffic information; determine whether the traffic scheduled to the initial pool in the first application and from the designated operator is greater than the set second traffic threshold based on the first traffic information; determine whether the traffic scheduled to the initial pool in the first application and from the designated area is greater than the set third traffic threshold based on the first traffic information; determine whether the traffic scheduled to the initial pool in the first application and belonging to the designated traffic type is greater than the set fourth traffic threshold based on the first traffic information; determine whether the load of the edge cloud node in the initial pool exceeds the set load threshold based on the first traffic information; if the judgment result of at least one judgment operation is yes, it is determined that the preset node increase strategy is triggered.

[0168] In an optional embodiment, the processor 401 is also used to: obtain second traffic information, which is information about the traffic scheduled to the working pool in the first application; if it is determined according to the second traffic information that the edge cloud nodes in the working pool need to be reduced, then the second edge cloud nodes in the working pool are reduced; and subsequent traffic that originally needed to be scheduled to the second edge cloud node in the first application is scheduled to the remaining edge cloud nodes in the working pool and / or the edge cloud nodes in the initial pool.

[0169] In an optional embodiment, when reducing the second edge cloud node in the working pool, the processor 401 is specifically used to: identify the traffic size of each edge cloud node in the working pool to which the first application is scheduled based on the second traffic information; select a second edge cloud node from the edge cloud nodes in the working pool based on the traffic size on each edge cloud node in the working pool; and remove the second edge cloud node from the working pool.

[0170] In an optional embodiment, when the processor 401 schedules subsequent traffic in the first application that was originally required to be scheduled to the second edge cloud node to the remaining edge cloud nodes in the working pool and / or the edge cloud nodes in the initial pool, it is specifically used to: delete the access information of the second edge cloud node and its corresponding scheduling conditions in the scheduling policy corresponding to the working pool; and schedule subsequent traffic from the first application to the remaining edge cloud nodes in the working pool and / or the edge cloud nodes in the initial pool according to the deleted scheduling policy.

[0171] In an optional embodiment, the processor 401 is also used to: obtain second traffic information, which is information about the traffic of the first application scheduled to the working pool; if it is determined based on the second traffic information that a new edge cloud node needs to be added to the working pool, then a third edge cloud node is added to the working pool; and at least part of the traffic in the first application that needs to be scheduled to the working pool is scheduled to the third edge cloud node.

[0172] In an optional embodiment, the processor 401 is further used to: pre-create an instance corresponding to the first application on the edge cloud node in the initial pool.

[0173] Further, if Figure 4 As shown, the flow control device also includes: a communication component 403, a display 407, a power component 408, an audio component 409 and other components. Figure 4 Only some components are shown schematically, which does not mean that the flow control device only includes Figure 4 Components shown.

[0174] It should be noted that, in addition to having all the functions described in this embodiment, the traffic control device of this embodiment can also be implemented as the traffic control system 101 in the above-mentioned system embodiment, which is used to separately perform traffic scheduling operations to the initial pool and the working pool; or, it can also be implemented as the resource management node 107 in the above-mentioned system embodiment, which is used to execute operations of adding new edge cloud nodes to the working pool, or executing operations of reducing edge cloud nodes in the working pool.

[0175] Further optionally, the traffic control device provided in this embodiment can also use the edge cloud device as the resource granularity for carrying the application traffic to schedule the traffic for the first application. Specifically, the processor 401 in the traffic control device executes the computer program stored in the memory 402, and is also used to: obtain the current traffic from the first application, the first application corresponds to an initial pool and a working pool, and the number of edge cloud devices in the working pool is dynamically variable; and when the current traffic does not meet the scheduling policy corresponding to the working pool, schedule the current traffic to the edge cloud device in the initial pool. Further optionally, the processor 401 is also used to: when the current traffic meets the scheduling policy corresponding to the working pool, schedule the current traffic to the edge cloud device in the working pool.

[0176] Among them, the difference between using edge cloud devices as resource granularity and using edge cloud nodes as resource granularity to perform traffic scheduling for the first application is mainly that the resource granularity is different, and the other contents are basically the same or similar. Therefore, when using edge cloud devices as resource granularity to perform traffic scheduling for the first application, the relevant functions of processor 401 are basically the same or similar to those when using edge cloud nodes as resource granularity to perform traffic scheduling for the first application, and will not be repeated here.

[0177] Accordingly, an embodiment of the present application further provides a computer-readable storage medium storing a computer program, and when the computer program is executed, each step that can be performed by the flow control device in the above method embodiment can be implemented.

[0178] Above Figure 4 The communication component in is configured to facilitate wired or wireless communication between the device where the communication component is located and other devices. The device where the communication component is located can access a wireless network based on a communication standard, such as WiFi, 2G, 3G, 4G / LTE, 5G and other mobile communication networks, or a combination thereof. In an exemplary embodiment, the communication component receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0179] Above Figure 4 The display in the embodiment includes a screen, which may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.

[0180] Above Figure 4 The power supply component in the device provides power to various components of the device where the power supply component is located. The power supply component may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device where the power supply component is located.

[0181] Above Figure 4The audio component in can be configured to output and / or input audio signals. For example, the audio component includes a microphone (MIC), and when the device where the audio component is located is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in a memory or sent via a communication component. In some embodiments, the audio component also includes a speaker for outputting an audio signal.

[0182] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0183] The present invention is described with reference to the flowchart and / or block diagram of the method, device (system), and computer program product according to the embodiment of the present invention. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the process and / or box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0184] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0185] These computer program instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0186] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0187] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0188] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0189] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0190] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims

1. A traffic scheduling method, It is characterized in that include: Acquire current traffic from a first application, the first application corresponding to an initial pool and a working pool, and the number of edge cloud nodes in the working pool is dynamically variable; If the current traffic does not satisfy the scheduling strategy corresponding to the working pool, the current traffic is scheduled to the edge cloud node in the initial pool; the first traffic information is obtained, and the first traffic information is information about the traffic scheduled to the initial pool in the first application; If it is determined according to the first traffic information that a new edge cloud node needs to be added to the working pool, then a first edge cloud node is added to the working pool; as well as At least part of the subsequent traffic in the first application that was originally required to be scheduled to the initial pool is scheduled to the first edge cloud node.

2. The method according to claim 1, It is characterized in that Also includes: If the current traffic meets the scheduling strategy corresponding to the working pool, the current traffic is scheduled to the edge cloud node in the working pool.

3. The method according to claim 1, It is characterized in that Adding a first edge cloud node to the working pool includes: According to the first traffic information, selecting a first edge cloud node to be added to the working pool from the edge cloud network; According to the image file of the first application, an instance corresponding to the first application is created on the first edge cloud node.

4. The method according to claim 3, It is characterized in that According to the first traffic information, selecting a first edge cloud node to be added to the working pool from the edge cloud network includes: Identify, according to the first traffic information, the region, operator and / or type attributes of the traffic scheduled to the initial pool in the first application; From the edge cloud network, select an edge cloud node that matches the region, operator and / or type attributes as the first edge cloud node.

5. The method according to claim 1, It is characterized in that Scheduling at least part of the subsequent traffic in the first application that was originally scheduled to the initial pool to the first edge cloud node includes: In the scheduling strategy corresponding to the work pool, add the access information of the first edge cloud node and its corresponding scheduling conditions; If traffic that meets the scheduling condition appears in subsequent traffic from the first application, the traffic that meets the scheduling condition is scheduled to the first edge cloud node according to the access information.

6. The method according to claim 1, It is characterized in that Determining whether it is necessary to add an edge cloud node to the working pool according to the first traffic information includes: According to the first traffic information, determining whether a preset node adding strategy is triggered; If so, it is determined that a new edge cloud node needs to be added to the working pool.

7. The method according to claim 6, It is characterized in that Judging, according to the first traffic information, whether a preset node adding strategy is triggered includes at least one of the following judging operations: According to the first flow information, determining whether the total flow of the first application scheduled to the initial pool is greater than a set first flow threshold; Determine, according to the first traffic information, whether the traffic in the first application that is scheduled to the initial pool and comes from a designated operator is greater than a set second traffic threshold; Determine, according to the first traffic information, whether the traffic in the first application that is scheduled to the initial pool and comes from a specified region is greater than a set third traffic threshold; According to the first traffic information, determining whether the traffic of the first application that is scheduled to the initial pool and belongs to the specified traffic type is greater than a set fourth traffic threshold; According to the first traffic information, determining whether the load of the edge cloud node in the initial pool exceeds a set load threshold; If the judgment result of at least one judgment operation is yes, it is determined that the preset node adding strategy is triggered.

8. The method according to any one of claims 1 to 7, It is characterized in that Also includes: Acquire second flow information, where the second flow information is information about the flow scheduled to the working pool in the first application; If it is determined according to the second traffic information that the edge cloud node in the working pool needs to be reduced, then the second edge cloud node in the working pool is reduced; as well as Schedule the subsequent traffic in the first application that was originally required to be scheduled to the second edge cloud node to the remaining edge cloud nodes in the working pool and / or the edge cloud nodes in the initial pool.

9. The method according to claim 8, It is characterized in that Reducing the second edge cloud node in the working pool includes: According to the second traffic information, identifying the traffic size of the first application scheduled to each edge cloud node in the working pool; Selecting the second edge cloud node from the working pool according to the traffic size on each edge cloud node; Remove the second edge cloud node from the working pool.

10. The method according to claim 8, It is characterized in that Scheduling subsequent traffic in the first application that originally needs to be scheduled to the second edge cloud node to the remaining edge cloud nodes in the working pool and / or the edge cloud nodes in the initial pool includes: In the scheduling policy corresponding to the working pool, deleting the access information of the second edge cloud node and its corresponding scheduling conditions; According to the scheduling policy after deletion, the subsequent traffic from the first application is scheduled to the remaining edge cloud nodes in the working pool and / or the edge cloud nodes in the initial pool.

11. The method according to any one of claims 1 to 7, It is characterized in that Also includes: Acquire second flow information, where the second flow information is information about the flow of the first application scheduled to the working pool; If it is determined according to the second traffic information that a new edge cloud node needs to be added to the working pool, then a third edge cloud node is added to the working pool; as well as At least part of the traffic in the first application that needs to be scheduled to the working pool is scheduled to the third edge cloud node.

12. The method according to any one of claims 1 to 7, It is characterized in that An instance corresponding to the first application is pre-created on the edge cloud node in the initial pool.

13. A traffic scheduling method, It is characterized in that include: Acquire first traffic information, where the first traffic information is information about traffic of the first application scheduled to the initial pool; If it is determined according to the first traffic information that a new edge cloud node needs to be added to the working pool corresponding to the first application, then a first edge cloud node is added to the working pool; as well as At least part of the subsequent traffic in the first application that was originally required to be scheduled to the initial pool is scheduled to the first edge cloud node.

14. A traffic scheduling method, It is characterized in that include: Acquire first flow information, where the first flow information is information about flow scheduled to the initial pool in the first application; If it is determined according to the first traffic information that a new edge cloud node needs to be added to the working pool, then a first edge cloud node is added to the working pool; as well as Dispatching at least part of the subsequent traffic in the first application that was originally required to be dispatched to the initial pool to the first edge cloud node; Acquire second flow information, where the second flow information is information about the flow of the first application scheduled to its working pool; If it is determined according to the second traffic information that the edge cloud node in the working pool needs to be reduced, then the second edge cloud node in the working pool is reduced; as well as Schedule the subsequent traffic in the first application that was originally required to be scheduled to the second edge cloud node to the remaining edge cloud nodes in the working pool and / or the edge cloud nodes in the initial pool corresponding to the first application.

15. The method according to claim 14, It is characterized in that Also includes: If it is determined according to the second traffic information that a new edge cloud node needs to be added to the working pool, then a third edge cloud node is added to the working pool; as well as At least part of the subsequent traffic in the first application that needs to be scheduled to the working pool is scheduled to the third edge cloud node.

16. An edge cloud network, It is characterized in that include: A traffic control system, a first information collection node, a resource management node, and multiple edge cloud nodes; The traffic control system is used to obtain current traffic from a first application, the first application corresponds to an initial pool and a working pool, the initial pool includes at least one edge cloud node, the working pool may include edge cloud nodes and the number of edge cloud nodes included therein may be dynamically variable; The traffic control system is also used to: when the current traffic does not meet the scheduling policy corresponding to the working pool, schedule the current traffic to the edge cloud node in the initial pool; The first information collection node is used to obtain first flow information and report it to the resource management node, where the first flow information is information about the flow of the first application scheduled to the initial pool; The resource management node is used to determine whether it is necessary to add a new edge cloud node to the working pool according to the first traffic information, and if the determination result is yes, add a first edge cloud node to the working pool; And schedule at least part of the subsequent traffic in the first application that originally needs to be scheduled to the initial pool to the first edge cloud node.

17. The system according to claim 16, It is characterized in that The traffic control system is also used to: when the current traffic meets the scheduling policy corresponding to the working pool, schedule the current traffic to the edge cloud node in the working pool.

18. The system according to claim 16, It is characterized in that The first information collection node is created on an edge cloud node in the initial pool.

19. A flow control device, It is characterized in that include: Memory and processor; The memory is used to store a computer program; when the computer program is executed by the processor, the processor is caused to implement the steps in the method according to any one of claims 1 to 15.

20. A computer-readable storage medium storing a computer program, It is characterized in that When the computer program is executed by one or more processors, the one or more processors are caused to implement the steps in the method according to any one of claims 1 to 15.