A service scheduling method, device, communication equipment and storage medium
By combining distributed and centralized scheduling, and using entry nodes and centralized controllers to generate global computing power information, the problem of the network's inability to perceive data center services and resource deployment is solved, and efficient business scheduling and resource utilization are achieved.
Patent Information
- Application Number
- CN202111339767.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-12
- Publication Date
- 2025-10-03
- Estimated Expiration
- 2041-11-12
AI Technical Summary
The network cannot perceive the service and resource deployment information within the data center, resulting in user requests not being scheduled to the best service node, affecting user experience and reducing the efficiency of network computing resources.
A solution combining distributed scheduling and centralized scheduling is adopted to achieve scheduling within the communication domain through the local characteristics of the entry node, and to use a centralized controller for global scheduling, generate or update global computing power information, and determine the optimal service node.
It improves the real-time performance and efficiency of business scheduling, avoids the problems of limited scope of distributed scheduling and excessive delay of centralized scheduling, and improves service quality and resource utilization.
Smart Images

Figure CN116133128B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data communication networks, and in particular to a service scheduling method, device, communication equipment and storage medium. Background Art
[0002] The network status and the resource information of the data center are not aware of each other. The network cannot perceive the service and resource deployment information within the data center. When a user requests a service, the network cannot direct the service request to the best service node, affecting the user experience and reducing the efficiency of computing resources in the network.
[0003] Currently, these issues can be addressed through distributed routing scheduling and service deployment combined with centralized service scheduling. Distributed routing scheduling primarily leverages a computing network architecture to establish a unified resource and service view across the entire network's computing resources, enabling mutual awareness of network status and data center service and resource status. Distributed computing routing nodes then forward user computing power requests to the optimal node. This approach often performs scheduling within several adjacent areas, limiting its applicability. Service deployment combined with centralized service scheduling draws on the centralized management and cloud computing pooling scheduling concepts of Network Functions Virtualization (NFV) / Software Defined Networking (SDN). Through a centralized controller, computing power and network information is collected from ubiquitous computing devices, and application management, scheduling, and deployment and distribution are performed. This provides users with optimal computing power allocation and network connectivity solutions. However, with a centralized controller, service scheduling is centralized within the controller, resulting in excessive latency and a high risk of becoming a performance bottleneck. Summary of the Invention
[0004] To solve existing technical problems, embodiments of the present invention provide a service scheduling method, apparatus, communication equipment, and storage medium.
[0005] To achieve the above-mentioned purpose, the technical solution of the embodiment of the present invention is implemented as follows:
[0006] In a first aspect, an embodiment of the present invention provides a service scheduling method, the method comprising:
[0007] The network device receives the service request sent by the first node when there is no node supporting the service corresponding to the service request in the first domain and the second domain; the first node is a node in the first domain or the second domain that receives the service request sent by the user equipment; the first domain and the second domain are each other's announcement domains;
[0008] The network device determines the second node based on pre-acquired global computing power information.
[0009] In the above scheme, the method also includes: the network device sends the service request to the second node; wherein, the second node is a node in a third domain, and the third domain is different from the first domain and the second domain; the second node supports the service corresponding to the service request, or the second node can schedule other nodes that support the corresponding service for the service request.
[0010] In the above solution, the method further includes: the network device sending the information of the second node to the user equipment through the first node.
[0011] In the above solution, the method further includes: the network device respectively receiving first computing power information sent by a third node and second computing power information sent by a fourth node, the first computing power information including computing power information of at least some nodes in the first domain; the second computing power information including computing power information of at least some nodes in the second domain; the third node is a node supporting sending the first computing power information of the first domain to the network device, and the fourth node is a node supporting sending the second computing power information in the second domain to the network device;
[0012] The global computing power information is generated or updated based on the first computing power information and the second computing power information.
[0013] In the above solution, the method also includes: the network device sends the first computing power information to the fourth node, and sends the second computing power information to the third node.
[0014] In the above scheme, the method also includes: the network device monitors the number of service requests regarding the service, and when the number of service requests reaches a preset threshold, determines a fifth node in the first domain and / or the second domain, and sends a deployment instruction for the service to the fifth node.
[0015] In a second aspect, an embodiment of the present invention further provides a service scheduling method, the method comprising:
[0016] A first node receives a service request from a user equipment; the first node is a node in a first domain or a second domain, and the first domain and the second domain are mutually advertised domains;
[0017] The first node searches for a node that supports the service corresponding to the service request in the notification domain;
[0018] In the case that no node supporting the service corresponding to the service request is found in the announcement domain, the first node sends the service request to a network device.
[0019] In the above scheme, the method also includes: the first node receives information of the second node sent by the network device, and sends the information of the second node to the user device; the second node supports the service corresponding to the service request, or the second node can schedule other nodes that support the corresponding service for the service request.
[0020] In the above solution, the method further includes: when the first node finds a node that supports the service corresponding to the service request in the notification domain, sending the service request to the node.
[0021] In the above solution, the method further includes: when the first node supports sending the first computing power information in the first domain to the network device, the first node sends the first computing power information to the network device, where the first computing power information includes computing power information of at least some nodes in the first domain; or,
[0022] When the first node supports sending the second computing power information within the second domain to the network device, the first node sends the second computing power information to the network device, where the second computing power information includes computing power information of at least some nodes within the second domain; the first computing power information and / or the second computing power information are used by the network device to generate or update global computing power information.
[0023] In the above solution, the method further includes: when the first node supports sending the first computing power information of the first domain to the network device, the first node receives the second computing power information sent by the network device, and sends the second computing power information to other nodes in the first domain; or,
[0024] When the first node supports sending the second computing power information of the second domain to the network device, the first node receives the first computing power information sent by the network device and sends the first computing power information to other nodes in the second domain.
[0025] In the above solution, the first node searches for a node that supports the service corresponding to the service request within the notification domain, including: the first node searches for a node that supports the service corresponding to the service request based on the second computing power information and the first computing power information.
[0026] In a third aspect, an embodiment of the present invention further provides a service scheduling device, the device comprising: a first communication unit and a first processing unit; wherein,
[0027] The first communication unit is configured to receive the service request sent by the first node when there is no node supporting the service corresponding to the service request in the first domain and the second domain; the first node is a node in the first domain or the second domain that receives the service request sent by the user equipment; the first domain and the second domain are each other's announcement domains;
[0028] The first processing unit is used to determine the second node based on pre-acquired global computing power information.
[0029] In a fourth aspect, an embodiment of the present invention further provides a service scheduling device, the device comprising: a second communication unit and a second processing unit; wherein,
[0030] The second communication unit is configured to receive a service request from a user equipment; the first node is a node in the first domain or the second domain, and the first domain and the second domain are mutually notified domains;
[0031] The second processing unit is configured to search, within the notification domain, for a node that supports the service corresponding to the service request;
[0032] The second communication unit is further configured to send the service request to the network device when the second processing unit fails to find a node supporting the service corresponding to the service request in the announcement domain.
[0033] In a fifth aspect, an embodiment of the present invention further provides a service scheduling system, comprising: a network device, a node in a first domain, and a node in a second domain, wherein the first domain and the second domain are mutually notified domains; the first domain or the second domain includes a first node; wherein,
[0034] The first node is configured to receive a service request from a user equipment; search within the announcement domain for a node that supports the service corresponding to the service request; and send the service request to the network device if no node that supports the service corresponding to the service request is found within the announcement domain;
[0035] The network device is used to receive a service request sent by the first node; and determine the second node based on pre-acquired global computing power information.
[0036] In a sixth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method described in the first or second aspect of the embodiment of the present invention.
[0037] In the seventh aspect, an embodiment of the present invention also provides a communication device, including a memory, a processor, and a computer program stored in the memory and runnable on the processor, wherein when the processor executes the program, the steps of the method described in the first or second aspect of the embodiment of the present invention are implemented.
[0038] The service scheduling method, apparatus, communication equipment and storage medium provided by the embodiment of the present invention include: a first node receives a service request from a user device; the first node is a node in a first domain or a second domain, and the first domain and the second domain are mutually notified domains; searching for a node supporting the service corresponding to the service request in the notified domain; sending the service request to a network device if no node supporting the service corresponding to the service request is found in the notified domain; the network device receives the service request sent by the first node; and determining the second node based on pre-acquired global computing power information. By adopting the technical solution of the embodiment of the present invention, scheduling within the communication domain is realized based on the local characteristics of the entry node (such as the first node); and global scheduling is realized through a centralized controller (such as a network device). That is, a solution combining distributed scheduling and centralized scheduling is adopted to improve the real-time performance of scheduling and the efficiency of service; in addition, the problem of limited scope of distributed routing scheduling is avoided, and the problem of excessive delay in centralized service scheduling is reduced. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 A schematic diagram of a system architecture for applying the service scheduling method according to an embodiment of the present invention;
[0040] Figure 2 Schematic diagram of the process of the service scheduling method according to an embodiment of the present invention Figure 1 ;
[0041] Figure 3 Schematic diagram of the process of the service scheduling method according to an embodiment of the present invention Figure 2 ;
[0042] Figure 4 Schematic diagram of the interactive process of the service scheduling method according to an embodiment of the present invention Figure 1 ;
[0043] Figure 5 Schematic diagram of the interactive process of the service scheduling method according to an embodiment of the present invention Figure 2 ;
[0044] Figure 6 Schematic diagram of the interactive process of the service scheduling method according to an embodiment of the present invention Figure 3 ;
[0045] Figure 7 Schematic diagram of the structure of the service scheduling device according to an embodiment of the present invention Figure 1 ;
[0046] Figure 8 Schematic diagram of the structure of the service scheduling device according to an embodiment of the present invention Figure 2 ;
[0047] Figure 9 Schematic diagram of the hardware structure of a communication device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0048] The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0049] The technical solutions of the embodiments of the present invention can be applied to various communication systems, such as a Global System of Mobile Communication (GSM) system, a Long Term Evolution (LTE) system, or a 5G system. Optionally, a 5G system or a 5G network may also be referred to as a New Radio (NR) system or an NR network.
[0050] Exemplarily, the communication system applied in the embodiment of the present invention may include a network device and a terminal device (also referred to as a terminal, a communication terminal, etc.); the network device may be a device that communicates with the terminal device. The network device may provide communication coverage within a certain area and may communicate with terminals located in the area. Optionally, the network device may be a base station in each communication system, such as an evolved base station (eNB, Evolutional Node B) in an LTE system, or a base station (gNB) in a 5G system or NR system.
[0051] It should be understood that in the embodiments of the present application, devices having communication functions in the network / system may be referred to as communication devices. Communication devices may include network devices and terminals having communication functions. The network devices and terminal devices may be the specific devices described above and will not be described in detail here. Communication devices may also include other devices in the communication system, such as network controllers, mobility management entities, and other network entities, which are not limited in the embodiments of the present invention.
[0052] It should be understood that the terms "system" and "network" are often used interchangeably herein. The term "and / or" is simply a description of an association between related objects, indicating that three possible relationships exist. For example, "A and / or B" can represent: A exists alone, A and B exist simultaneously, or B exists alone. Furthermore, the character " / " generally indicates that the related objects are in an "or" relationship.
[0053] Figure 1 Schematic diagram of the system architecture of the application of the service scheduling method according to the embodiment of the present invention; Figure 1As shown, the system includes a centralized controller and various computing nodes. Different regions have different computing nodes. For example, domain 1 shown in the figure includes computing nodes R1 to R7, and domain 2 includes computing nodes R1 to R7. Different domains have different edge nodes or entry nodes. It should be noted that in actual applications, the system is not limited to the two domains shown in the figure and the number of nodes in each domain. More domains may be included in the system, and each domain may include fewer or more computing nodes. This is not limited in this embodiment.
[0054] In the system architecture of this embodiment, for each domain, the computing power information of each computing node is announced within the domain. For example, for domain 1, each computing node sends its own node information to other computing nodes in the domain, so that each computing node in the domain can obtain the node information of each computing node in the domain.
[0055] In the system architecture of this embodiment, a specific computing node is set up for each domain, such as computing node R7 in domain 1 and computing node R1 in domain 2. This specific computing node can obtain computing power information of nodes in its respective domain and report the obtained computing power information to the centralized controller so that the centralized controller can generate global computing power information. In other embodiments, this specific computing node can also be called an inter-domain node or inter-domain router, etc.
[0056] At least based on the above system architecture, the following embodiments of the present invention are proposed.
[0057] An embodiment of the present invention provides a service scheduling method. Figure 2 Schematic diagram of the process of the service scheduling method according to an embodiment of the present invention Figure 1 ;like Figure 2 As shown, the method includes:
[0058] Step 101: When there is no node supporting the service corresponding to the service request in a first domain or a second domain, a network device receives a service request sent by a first node; the first node is a node in the first domain or the second domain that receives the service request sent by a user equipment; the first domain and the second domain are each other's announcement domains;
[0059] Step 102: The network device determines a second node based on pre-acquired global computing power information.
[0060] The service scheduling method of this embodiment is applied to a network device, and the network device may be Figure 1 In other embodiments, the network device may also be called a control device, a controller, a centralized control device, etc., and this embodiment does not limit the name.
[0061] In this embodiment, a new notification domain is added. For example, the first domain and the second domain serve as each other's notification domains. Of course, the number of domains serving as each other's notification domains is not limited to two, and more than two domains may serve as each other's notification domains. This embodiment does not impose any restrictions on this. In actual applications, the first domain and the second domain may be determined to serve as each other's notification domains through pre-configuration or pre-agreed agreement.
[0062] In the notification domain, each node can obtain the computing power information of other nodes in the domain through the computing power information notification within the domain. In addition, it can also obtain the computing power information of each node in the notification domain and other domains except the domain where it is located. For example Figure 1 Node R1 in domain 1 can obtain the computing power information of each node in domain 2. After receiving a service request from a user device, the first node can query within the announcement domains (first and second domains) whether there is a node that supports the service corresponding to the service request. If no node supports the service corresponding to the service request, the first node sends the service request to the network device, which determines a second node that supports the service corresponding to the service request based on the pre-acquired global computing power information.
[0063] The nodes in this embodiment may also be referred to as computing nodes. The first node is the node that receives the service request from the user equipment. Since it is at the edge (i.e., the first node can communicate directly with the user equipment), it may also be referred to as an edge node or an entry node. For example, the first node may be the node closest to the user equipment, such as Figure 1 The computing node R1 in .
[0064] The present invention combines distributed and centralized scheduling. This approach leverages the local nature of entry nodes (e.g., the first node) to achieve scheduling within the communication domain. Global scheduling is achieved through a centralized controller (e.g., a network device). This approach improves the real-time nature of scheduling and enhances service efficiency. It also avoids the limited scope of distributed routing scheduling and reduces the excessive latency associated with centralized service scheduling.
[0065] In this embodiment, the network device pre-acquires global computing power information, which includes computing power information of each node in the first domain and the second domain, as well as computing power information of nodes in other domains. Because the first node does not find a node that supports the service corresponding to the service request within the notification domains (the first domain and the second domain) through querying, the network device determines a second node that supports the service corresponding to the service request by querying the global computing power information. The second node is a node in a domain other than the first domain and the second domain, and the second node provides the corresponding service for the service request of the user device through the second node.
[0066] In some optional embodiments of the present invention, the method also includes: the network device sends the service call request to the second node; wherein, the second node is a node within a third domain, and the third domain is different from the first domain and the second domain; the second node supports the service corresponding to the service request, or the second node can schedule other nodes that support the corresponding service for the service request.
[0067] In this embodiment, the second node may be a node in a third domain that is different from the first and second domains. As one embodiment, if the second node itself supports the service corresponding to the service request, the network device sends the service request to the second node, and the second node provides the corresponding service. As another embodiment, the second node is an entry node, entry gateway, or functional node with a scheduling function. After querying the global computing power information, the network device sends the service request to the second node. The second node determines the node that supports the service corresponding to the service request by querying the computing power information within its domain.
[0068] In some optional embodiments of the present invention, the method further includes: the network device sending the information of the second node to the user equipment via the first node, so that the user equipment can initiate a service request to the second node based on the information of the second node.
[0069] In some optional embodiments of the present invention, the method also includes: the network device receives first computing power information sent by a third node and second computing power information sent by a fourth node, respectively, the first computing power information includes computing power information of at least some nodes in the first domain; the second computing power information includes computing power information of at least some nodes in the second domain; the third node is a node that supports sending the first computing power information of the first domain to the network device, and the fourth node is a node that supports sending the second computing power information in the second domain to the network device; the first node is the same as or different from the third node, or the first node is the same as or different from the fourth node; the global computing power information is generated or updated based on the first computing power information and the second computing power information.
[0070] In this embodiment, the third node and the fourth node can be respectively used as specific computing nodes in their respective domains, or can also be called inter-domain nodes or inter-domain routing devices, etc. The third node and the fourth node have the function of reporting the computing power information of at least some nodes in their respective domains to the network device. For example, the third node can be Figure 1 The computing node R7 in the middle domain 1, the fourth node can be Figure 1Computing node R1 in domain 2 in the first domain. Through the intra-domain notification mechanism, the third node can obtain the computing power information of at least some nodes in the first domain, that is, the first computing power information, and the fourth node can obtain the computing power information of at least some nodes in the second domain, that is, the second computing power information. Through the inter-domain notification mechanism, the third node reports the obtained first computing power information to the network device, and the fourth node reports the obtained second computing power information to the network device.
[0071] For example, in the case of the first inter-domain advertisement, the first computing power information may include the computing power information of all nodes in the first domain, and the second computing power information may include the computing power information of all nodes in the second domain. Of course, the network device also obtains the computing power information of all nodes in other domains. Furthermore, the network device may generate global computing power information based on at least the obtained first computing power information and the obtained second computing power information.
[0072] In the case of a non-initial inter-domain announcement, the first computing power information may include computing power information of some nodes in the first domain, or may include computing power information of all nodes; correspondingly, the second computing power information may include computing power information of some nodes in the second domain, or may include computing power information of all nodes. The network device may update global computing power information based on the first computing power information and the second computing power information.
[0073] Exemplarily, the above-mentioned computing power information (such as computing power information of each node, first computing power information, second computing power information, global computing power information, etc.) may include at least one of the information such as computing power deployment location, service type supported by the node, service identification, computing power resource type, real-time status of computing power, etc.
[0074] In this embodiment, the first node is the same as or different from the third node, that is, the first node may be a node that performs inter-domain announcements within the first domain, or may not be a node that performs inter-domain announcements; or, the first node is the same as or different from the fourth node, that is, the first node may be a node that performs inter-domain announcements within the second domain, or may not be a node that performs inter-domain announcements.
[0075] In this embodiment, for each domain, the computing power information of at least some nodes in the domain is reported through a specific node (such as the third node in the first domain and the fourth node in the second domain). There is no need for each node to report the computing power information separately, which greatly reduces the amount of information reported in the computing power information.
[0076] In some optional embodiments, the method further includes: the network device sending the first computing power information to the fourth node, and sending the second computing power information to the third node.
[0077] In this embodiment, when inter-domain notification is performed for the first time, the first computing power information may include the computing power information of all nodes in the first domain, and the second computing power information may include the computing power information of all nodes in the second domain. The network device then sends the first computing power information to the fourth node and the second computing power information to the third node, so that each node in the notification domain can not only obtain the computing power information of each node in its own domain, but also obtain the computing power information of all nodes in the notification domain other than its own domain. This allows each node in the notification domain to generate node computing power information corresponding to the notification domain, and this node computing power information includes the computing power information of all nodes in the notification domain. When inter-domain notification is not performed for the first time, the first computing power information may include the computing power information of some nodes in the first domain, or the computing power information of all nodes; accordingly, the second computing power information may include the computing power information of some nodes in the second domain, or the computing power information of all nodes. The network device then sends the first computing power information to the fourth node and the second computing power information to the third node, thereby enabling each node within the advertised domain to update its stored node computing power information corresponding to the advertised domain. Thus, in step 101, the first node can determine whether there is a node that supports the service corresponding to the service request based on the acquired computing power information of each node within the first and second domains.
[0078] In some optional embodiments of the present invention, the method further includes: the network device monitors the number of service requests regarding the service, and when the number of service requests reaches a preset threshold, determines a fifth node within the first domain and / or the second domain, and sends a deployment instruction for the service to the fifth node.
[0079] In this embodiment, when a certain type of service request is consistently unsatisfied within the advertised domain, the network device may consider deploying the corresponding service within the advertised domain. Specifically, by monitoring the number of service requests for the service, it indicates that nodes within the first and second domains are unable to provide the service corresponding to the service request. Upon detecting that the number reaches a preset threshold, the network device identifies a fifth node within the advertised domain and sends a deployment instruction for the service to the fifth node. Specifically, the network device issues a service replica corresponding to the service request to the fifth node, thereby deploying the service on the fifth node. This improves service deployment efficiency.
[0080] Based on the above embodiments, an embodiment of the present invention further provides a service scheduling method. Figure 3 Schematic diagram of the process of the service scheduling method according to an embodiment of the present invention Figure 2 ;like Figure 3 As shown, the method includes:
[0081] Step 201: A first node receives a service request from a user equipment; the first node is a node in a first domain or a second domain, and the first domain and the second domain are each other's announcement domains;
[0082] Step 202: The first node searches for a node in the notification domain that supports the service corresponding to the service request;
[0083] Step 203: When no node supporting the service corresponding to the service request is found in the notification domain, the first node sends the service request to a network device.
[0084] The service scheduling method of this embodiment is applied to the first node. The first node may be Figure 1 The first node is a node that receives the service request from the user equipment. Since it is at the edge (i.e., the first node can directly communicate with the user equipment), it can also be called an edge node or an entry node. For example, the first node can be the node closest to the user equipment, such as Figure 1 The computing node R1 in .
[0085] In this embodiment, a new notification domain is added. For example, the first domain and the second domain serve as each other's notification domains. Of course, the number of domains serving as each other's notification domains is not limited to two, and more than two domains may serve as each other's notification domains. This embodiment does not impose any restrictions on this. In actual applications, the first domain and the second domain may be determined to serve as each other's notification domains through pre-configuration or pre-agreed agreement.
[0086] In the notification domain, each node can obtain the computing power information of other nodes in the domain through the computing power information notification within the domain. In addition, it can also obtain the computing power information of each node in the notification domain and other domains except the domain where it is located. For example Figure 1 Node R1 in domain 1 can obtain the computing power information of each node in domain 2. After receiving a service request from a user device, the first node can query within the announcement domains (first and second domains) whether there is a node that supports the service corresponding to the service request. If no node supports the service corresponding to the service request, the first node sends the service request to the network device, which determines a second node that supports the service corresponding to the service request based on the pre-acquired global computing power information.
[0087] The present invention combines distributed and centralized scheduling. This approach leverages the local nature of entry nodes (e.g., the first node) to achieve scheduling within the communication domain. Global scheduling is achieved through a centralized controller (e.g., a network device). This approach improves the real-time nature of scheduling and enhances service efficiency. It also avoids the limited scope of distributed routing scheduling and reduces the excessive latency associated with centralized service scheduling.
[0088] In some optional embodiments of the present invention, the method further includes: when the first node finds a node that supports the service corresponding to the service request in the notification domain, sending the service request to the node.
[0089] In some optional embodiments of the present invention, the method also includes: when the first node supports sending the first computing power information within the first domain to the network device, the first node sends the first computing power information to the network device, and the first computing power information includes the computing power information of at least some nodes within the first domain; or, when the first node supports sending the second computing power information within the second domain to the network device, the first node sends the second computing power information to the network device, and the second computing power information includes the computing power information of at least some nodes within the second domain; the first computing power information and / or the second computing power information are used by the network device to generate or update global computing power information.
[0090] In this embodiment, the first domain and the second domain each have a specific node configured to report computing power information of at least some of the nodes within the domain to a network device. If the first node supports sending first computing power information within the first domain to the network device, the first node sends the first computing power information to the network device. If the first node supports sending second computing power information within the second domain to the network device, the first node sends the second computing power information to the network device. By reporting computing power information of at least some of the nodes within the domain to the network device, the network device generates or updates global computing power information based on the computing power information reported by the specific nodes in each domain.
[0091] In some optional embodiments of the present invention, the method further includes: when the first node supports sending the first computing power information of the first domain to the network device, the first node receives the second computing power information sent by the network device, and sends the second computing power information to other nodes in the first domain; or, when the first node supports sending the second computing power information of the second domain to the network device, the first node receives the first computing power information sent by the network device, and sends the first computing power information to other nodes in the second domain.
[0092] In this embodiment, in order to realize scheduling within the notification domain, when the first node is a specific node within the first domain (that is, the first node supports sending the first computing power information of the first domain to the network device), the first node receives the second computing power information sent by the network device, and sends the second computing power information to other nodes within the first domain, so that each node in the first domain can obtain the computing power information of each node in the second domain in addition to knowing the computing power information of each node in the domain; correspondingly, when the first node is a specific node in the second domain (that is, the first node supports sending the second computing power information of the second domain to the network device), the first node receives the first computing power information sent by the network device, and sends the first computing power information to other nodes within the second domain, so that each node in the second domain can obtain the computing power information of each node in the first domain in addition to knowing the computing power information of each node in the domain.
[0093] As an example, in the case of the first inter-domain announcement, the first computing power information may include the computing power information of all nodes in the first domain, and the second computing power information may include the computing power information of all nodes in the second domain. If the first node is a specific node in the first domain, the first node receives the second computing power information sent by the network device and sends the second computing power information to other nodes in the first domain. In this way, each node in the first domain can generate node computing power information corresponding to the announcement domain based on the first computing power information and the second computing power information. This node computing power information includes the computing power information of all nodes in the announcement domain. The same applies to the case where the first node is a specific node in the second domain and is not further described here.
[0094] As another example, in the case where this is not the first inter-domain announcement, the first computing power information may include the computing power information of some nodes in the first domain, or the computing power information of all nodes; correspondingly, the second computing power information may include the computing power information of some nodes in the second domain, or the computing power information of all nodes. In the case where the first node is a specific node in the first domain, the first node receives the second computing power information sent by the network device and sends the second computing power information to other nodes in the first domain, so that each node in the first domain can update its own stored node computing power information corresponding to the announcement domain. The same applies to the case where the first node is a specific node in the second domain, which will not be repeated here.
[0095] In some optional embodiments of the present invention, the first node searches for a node supporting the service corresponding to the service request within the notification domain, including: the first node searches for a node supporting the service corresponding to the service request based on the second computing power information and the first computing power information. In this way, the computing power information of each node within the notification domain (i.e., the first domain and the second domain) (i.e., the node computing power information corresponding to the notification domain) is obtained by the first node to search for a node supporting the service corresponding to the service request.
[0096] In some optional embodiments of the present invention, the method also includes: the first node receives information of the second node sent by the network device, and sends the information of the second node to the user device; the second node supports the service corresponding to the service request, or the second node can schedule other nodes that support the corresponding service for the service request.
[0097] In this embodiment, the second node may be a node in a third domain that is different from the first domain and the second domain. As an implementation method, the second node itself supports the service corresponding to the service request; as another implementation method, the second node can schedule other nodes that support the corresponding service for the service request, that is, the second node is an entry node, entry gateway or functional node with a scheduling function. After querying the global computing power information, the network device sends the service request to the second node, and the second node determines the node that supports the service corresponding to the service request by querying the computing power information in its domain. The network device then sends the information of the second node to the user device through the first node, so that the user device can initiate a service request to the second node based on the information of the second node, so that the second node that supports the corresponding service can provide the service, or the second node can schedule the service request to other nodes in its domain, and other nodes can provide the service.
[0098] The service scheduling method according to an embodiment of the present invention is described below with reference to a specific example. In the following example, domains 1 and 2 are used as notification domains. Domain 1 includes nodes 1 and 2, where node 2 is a specific node (or domain boundary node). Domain 2 includes nodes 1 and 2, where node 1 is a specific node (or domain boundary node). Of course, domains 1 and 2 may also include other nodes. The following example only uses two nodes as an example for description.
[0099] Example 1
[0100] This example is an example of computing power information notification. Figure 4 Schematic diagram of the interactive process of the service scheduling method according to an embodiment of the present invention Figure 1 ;like Figure 4 As shown, the method includes:
[0101] Step 301: Nodes in domains 1 and 2 communicate computing power information to each other; this includes other nodes in domain 1 (such as node 1) communicating computing power information to node 2, and other nodes in domain 2 (such as node 2) communicating computing power information to node 1.
[0102] For example, taking domain 1 as an example, the nodes in domain 1 notify each other of computing power information, that is, node 2 receives the computing power information of node 1 (of course, it also receives the computing power information notified by other nodes in the domain).
[0103] Step 302: Node 2 in domain 1 notifies the computing power information to the network device, and node 1 in domain 2 notifies the computing power information to the network device.
[0104] For example, taking domain 1 as an example, node 2 in domain 1 generates first computing power information from the computing power information of at least some nodes in the domain and sends the first computing power information to the network device. If this is the first inter-domain announcement, the first computing power information may include the computing power information of all nodes in domain 1. If this is not the first inter-domain announcement, the first computing power information may include the computing power information of some nodes in domain 1 or the computing power information of all nodes in domain 1.
[0105] Step 303: The network device generates or updates global computing power information based on the received computing power information of each domain.
[0106] Step 304: The network device sends the inter-domain computing power information for the announced domain. For example, in step 304a, the network device sends the computing power information of domain 2 (i.e., the second computing power information) to node 2 of domain 1. In step 304b, the network device sends the computing power information of domain 1 (i.e., the first computing power information) to node 1 of domain 2.
[0107] Step 305: Specific nodes in each domain communicate computing power information between domains. For example, in step 305a, Node 2 in Domain 1 communicates the computing power information of Domain 2 (i.e., the second computing power information) to other nodes in Domain 1 (e.g., Node 1). In step 305b, Node 1 in Domain 2 communicates the computing power information of Domain 1 (i.e., the first computing power information) to other nodes in Domain 2 (e.g., Node 2).
[0108] Example 2
[0109] This example is an example of business scheduling. Figure 5 Schematic diagram of the interactive process of the service scheduling method according to an embodiment of the present invention Figure 2 ;like Figure 5 As shown, the method includes:
[0110] Step 401: User equipment sends a service request to a nearby node (eg, node 1 in domain 1).
[0111] Step 402: Node 1 of domain 1 queries the computing power information in the notification domain to determine whether there is a node that supports the service corresponding to the service request.
[0112] Step 403: If it is determined that there is no node supporting the service corresponding to the service request, send the service request to the network device.
[0113] Step 404: The network device determines node 3 (equivalent to the second node in the aforementioned embodiment) by searching the global computing power information.
[0114] The node 3 supports the service corresponding to the service request, or can schedule other nodes that support the corresponding service for the service request, that is, the node 3 can be an entry node or an edge node in other domains.
[0115] Step 405: The network node sends the information of node 3 to the user equipment through node 1 of domain 1, so that the user equipment can directly initiate a service request to node 3.
[0116] Example 3
[0117] This example is a service deployment example. Figure 6 Schematic diagram of the interactive process of the service scheduling method according to an embodiment of the present invention Figure 3 ;like Figure 6 As shown, the method includes:
[0118] Step 501: User equipment sends a service request to a nearby node (eg, node 1 in domain 1).
[0119] Step 502: Node 1 of domain 1 queries the computing power information in the notification domain to determine whether there is a node that supports the service corresponding to the service request.
[0120] Step 503: If it is determined that there is no node supporting the service corresponding to the service request, send the service request to the network device.
[0121] Step 504: The network device monitors the number of service requests for the service, and when the number of service requests reaches a preset threshold, determines a node in domain 1 and / or domain 2, and sends a deployment instruction of the service to the node.
[0122] In this example, dynamic service deployment based on user service requests can be considered. Building on Example 2, when a user's service request cannot be met within the notification domain, it is reported to the network device. The network device maintains relevant records of such service requests. For example, it can maintain the number of service requests within a certain notification domain within a certain time range. When the number of service requests reaches a preset threshold, indicating that the number of service scheduling requests for this service within the notification domain is high and the existing service deployment cannot meet the demand, the network device can then deploy the corresponding service within the notification domain.
[0123] Based on the above embodiments, an embodiment of the present invention further provides a service scheduling device. Figure 7 Schematic diagram of the structure of the service scheduling device according to an embodiment of the present invention Figure 1 ;like Figure 7 As shown, the device includes: a first communication unit 11 and a first processing unit 12; wherein,
[0124] The first communication unit 11 is configured to receive the service request sent by the first node when there is no node supporting the service corresponding to the service request in the first domain and the second domain; the first node is a node in the first domain or the second domain that receives the service request sent by the user equipment; the first domain and the second domain are each other's announcement domains;
[0125] The first processing unit 12 is configured to determine the second node based on pre-acquired global computing power information.
[0126] In some optional embodiments of the present invention, the first communication unit 11 is also used to send the service request to the second node; wherein the second node is a node in a third domain, and the third domain is different from the first domain and the second domain; the second node supports the service corresponding to the service request, or the second node can schedule other nodes that support the corresponding service for the service request.
[0127] In some optional embodiments of the present invention, the first communication unit 11 is further configured to send the information of the second node to the user equipment through the first node.
[0128] In some optional embodiments of the present invention, the first communication unit 11 is further configured to respectively receive first computing power information sent by a third node and second computing power information sent by a fourth node, wherein the first computing power information includes computing power information of at least some nodes in the first domain; the second computing power information includes computing power information of at least some nodes in the second domain; the third node is a node that supports sending the first computing power information of the first domain to the network device, and the fourth node is a node that supports sending the second computing power information in the second domain to the network device;
[0129] The first processing unit 12 is further configured to generate or update the global computing power information based on the first computing power information and the second computing power information.
[0130] In some optional embodiments of the present invention, the first communication unit 11 is further configured to send the first computing power information to the fourth node and send the second computing power information to the third node.
[0131] In some optional embodiments of the present invention, the first processing unit 12 is further used to monitor the number of service requests regarding the service, and when the number of service requests reaches a preset threshold, determine a fifth node within the first domain and / or the second domain, and send a deployment instruction for the service to the fifth node through the first communication unit 11.
[0132] In an embodiment of the present invention, the device is applied to a network device. In practical applications, the first processing unit 12 in the device can be implemented by a central processing unit (CPU), a digital signal processor (DSP), a microcontroller unit (MCU), or a field-programmable gate array (FPGA); and the first communication unit 11 in the device can be implemented by a communication module (including: a basic communication kit, an operating system, a communication module, a standardized interface and protocol, etc.) and a transceiver antenna.
[0133] An embodiment of the present invention further provides a service scheduling device, which is applied to a first node. Figure 8 Schematic diagram of the structure of the service scheduling device according to an embodiment of the present invention Figure 2 ;like Figure 8 As shown, the device includes: a second communication unit 21 and a second processing unit 22; wherein,
[0134] The second communication unit 21 is configured to receive a service request from a user equipment; the first node is a node in the first domain or the second domain, and the first domain and the second domain are notification domains for each other;
[0135] The second processing unit 22 is configured to search within the notification domain for a node that supports the service corresponding to the service request;
[0136] The second communication unit 21 is further configured to send the service request to the network device when the second processing unit 22 fails to find a node supporting the service corresponding to the service request in the announcement domain.
[0137] In some optional embodiments of the present invention, the second communication unit 21 is further used to receive information of a second node sent by the network device, and send the information of the second node to the user equipment; the second node supports the service corresponding to the service request, or the second node can schedule other nodes that support the corresponding service for the service request.
[0138] In some optional embodiments of the present invention, the second communication unit 21 is further configured to, when the second processing unit 22 finds a node supporting the service corresponding to the service request in the notification domain, send the service request to the node.
[0139] In some optional embodiments of the present invention, the second communication unit 21 is further used to send the first computing power information in the first domain to the network device when the first node supports sending the first computing power information in the first domain to the network device, and the first computing power information includes the computing power information of at least some nodes in the first domain; or, when the first node supports sending the second computing power information in the second domain to the network device, the first node sends the second computing power information to the network device, and the second computing power information includes the computing power information of at least some nodes in the second domain; the first computing power information and / or the second computing power information are used by the network device to generate or update global computing power information.
[0140] In some optional embodiments of the present invention, the second communication unit 21 is further used to receive the second computing power information sent by the network device and send the second computing power information to other nodes in the first domain when the first node supports sending the first computing power information of the first domain to the network device; or, is further used to receive the first computing power information sent by the network device and send the first computing power information to other nodes in the second domain when the first node supports sending the second computing power information of the second domain to the network device.
[0141] In some optional embodiments of the present invention, the second processing unit 22 is configured to search for a node that supports the service corresponding to the service request based on the second computing power information and the first computing power information.
[0142] In an embodiment of the present invention, the second processing unit 22 in the device can be implemented by a CPU, DSP, MCU or FPGA in actual applications; the second communication unit 21 in the device can be implemented by a communication module (including: basic communication kit, operating system, communication module, standardized interface and protocol, etc.) and a transceiver antenna in actual applications.
[0143] It should be noted that the service scheduling device provided in the above embodiment only uses the division of the above-mentioned program modules as an example to illustrate service scheduling. In actual applications, the above-mentioned processing can be assigned to different program modules as needed, that is, the internal structure of the device can be divided into different program modules to complete all or part of the above-mentioned processing. In addition, the service scheduling device provided in the above embodiment and the service scheduling method embodiment are based on the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.
[0144] The embodiment of the present invention also provides a service scheduling system, the structure of which can be found in Figure 1 The system includes: a network device, a node in a first domain and a node in a second domain, the first domain and the second domain are mutually advertised domains; the first domain or the second domain includes a first node; wherein,
[0145] The first node is configured to receive a service request from a user device; search within the notification domain for a node that supports the service corresponding to the service request; and send the service request to the network device if no node that supports the service corresponding to the service request is found within the notification domain.
[0146] The network device is used to receive a service request sent by the first node; and determine the second node based on pre-acquired global computing power information.
[0147] In some optional embodiments of the present invention, the network device is further used to send the service request to the second node; wherein the second node is a node within a third domain, and the third domain is different from the first domain and the second domain; the second node supports the service corresponding to the service request, or the second node can schedule other nodes that support the corresponding service for the service request.
[0148] In some optional embodiments of the present invention, the network device is further configured to send information of the second node to the first node;
[0149] The first node is further configured to receive information about the second node sent by the network device, and send the information about the second node to the user equipment.
[0150] In some optional embodiments of the present invention, the first node is further configured to, when a node supporting the service corresponding to the service request is found in the notification domain, send the service request to the node.
[0151] In some optional embodiments of the present invention, the first node is further configured to, if the first node supports sending first computing power information in the first domain to the network device, send the first computing power information to the network device, where the first computing power information includes computing power information of at least some nodes in the first domain; or, if the first node supports sending second computing power information in the second domain to the network device, send the second computing power information to the network device, where the second computing power information includes computing power information of at least some nodes in the second domain;
[0152] The network device is also used to generate or update the global computing power information based on the first computing power information and the second computing power information; the first computing power information and / or the second computing power information are used by the network device to generate or update the global computing power information.
[0153] In some optional embodiments of the present invention, the network device is further configured to send the second computing power information to the first node if the first node supports sending the first computing power information in the first domain to the network device;
[0154] The first node is further configured to send the second computing power information to other nodes in the first domain;
[0155] Alternatively, the network device is further configured to send the first computing power information to the first node if the first node supports sending the second computing power information in the second domain to the network device;
[0156] The first node is further used to send the first computing power information to other nodes in the second domain.
[0157] In some optional embodiments of the present invention, the first node is used to search for a node that supports the service corresponding to the service request based on the second computing power information and the first computing power information.
[0158] In some optional embodiments of the present invention, the network device is further used to monitor the number of service requests regarding the service, and when the number of service requests reaches a preset threshold, determine a fifth node within the first domain and / or the second domain, and send a deployment instruction for the service to the fifth node.
[0159] An embodiment of the present invention further provides a communication device, which may be the network device or node in the aforementioned embodiment. Figure 9 FIG. 1 is a schematic diagram of the hardware structure of a communication device according to an embodiment of the present invention. Figure 9As shown, the communication device includes a memory 32, a processor 31, and a computer program stored in the memory 32 and executable on the processor 31. When the processor 31 executes the program, the steps of the service scheduling method applied to the network device according to the embodiment of the present invention are implemented; or, when the processor 31 executes the program, the steps of the service scheduling method applied to the node according to the embodiment of the present invention are implemented.
[0160] Optionally, the communication device further includes one or more network interfaces 33. The various components in the communication device are coupled together via a bus system 34. It is understood that the bus system 34 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 34 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Figure 9 Various buses are labeled as bus system 34 .
[0161] It is understood that the memory 32 can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM); the magnetic surface memory can be a magnetic disk or a magnetic tape. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus random access memory (DRRAM).The memory 32 described in the embodiments of the present invention is intended to include, but is not limited to, these and any other suitable types of memory.
[0162] The methods disclosed in the above embodiments of the present invention can be applied to or implemented by processor 31. Processor 31 may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed by hardware integrated logic circuits in processor 31 or by software instructions. The above processor 31 may be a general-purpose processor, a DSP, or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, etc. Processor 31 can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of the present invention. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of the present invention can be directly implemented and executed by a hardware decoding processor, or by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium located in memory 32. Processor 31 reads information from memory 32 and, in conjunction with its hardware, completes the steps of the above method.
[0163] In an exemplary embodiment, the communication device may be implemented by one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), FPGAs, general-purpose processors, controllers, MCUs, microprocessors, or other electronic components to perform the aforementioned method.
[0164] In an exemplary embodiment, the present invention further provides a computer-readable storage medium, such as a memory 32 including a computer program. The computer program can be executed by the processor 31 of the communication device to perform the steps of the aforementioned method. The computer-readable storage medium can be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface mount storage, optical disk, or CD-ROM; or various devices including any one or any combination of the aforementioned memories.
[0165] The computer-readable storage medium provided by an embodiment of the present invention stores a computer program thereon, which, when executed by a processor, implements the steps of the service scheduling method applied in a network device according to an embodiment of the present invention; or, when executed by a processor, implements the steps of the service scheduling method applied in a node according to an embodiment of the present invention.
[0166] The methods disclosed in the several method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.
[0167] The features disclosed in the several product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.
[0168] The features disclosed in the several method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.
[0169] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.
[0170] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0171] In addition, all functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0172] Those skilled in the art will understand that all or part of the steps of implementing the above-mentioned method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above-mentioned method embodiment; and the aforementioned storage medium includes: mobile storage devices, ROM, RAM, disks or optical disks, etc. Various media that can store program codes.
[0173] Alternatively, if the above-mentioned integrated unit of the present invention is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes a number of instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.
[0174] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any modifications or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present invention should be included in the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be based on the scope of protection of the claims.
Claims
1. A service scheduling method, characterized in that: The method comprises: The network device receives the service request sent by the first node when there is no node supporting the service corresponding to the service request in the first domain and the second domain; the first node is a node in the first domain or the second domain that receives the service request sent by the user equipment; the first domain and the second domain are mutually announced domains; the service request is sent to the network device by the first node based on the computing power information obtained of each node in the announcement domain, when no node supporting the service corresponding to the service request is found in the announcement domain; the computing power information of each node in the announcement domain includes the computing power information of each node in the domain where the first node is located, and the computing power information of each node in other domains in the announcement domain except the domain where the first node is located, and the other domains and the domain where the first node is located are mutually announced domains; the computing power information of each node in the domain where the first node is located is obtained by notifying the computing power information within the domain; the computing power information of each node in other domains in the announcement domain except the domain where the first node is located is obtained by the network device; The network device determines the second node based on pre-acquired global computing power information.
2. The method according to claim 1, characterized in that The method further comprises: The network device sends the service request to the second node; The second node is a node in a third domain, and the third domain is different from the first domain and the second domain; the second node supports the service corresponding to the service request, or the second node can schedule other nodes that support the corresponding service for the service request.
3. The method according to claim 1, characterized in that The method further comprises: The network device sends the information of the second node to the user equipment through the first node.
4. The method according to any one of claims 1 to 3, characterized in that The method further comprises: The network device receives first computing power information sent by a third node and second computing power information sent by a fourth node, respectively, where the first computing power information includes computing power information of at least some nodes in the first domain; and the second computing power information includes computing power information of at least some nodes in the second domain. The third node is a node that supports sending the first computing power information of the first domain to the network device, and the fourth node is a node that supports sending the second computing power information in the second domain to the network device. The global computing power information is generated or updated based on the first computing power information and the second computing power information.
5. The method according to claim 4, characterized in that The method further comprises: The network device sends the first computing power information to the fourth node and sends the second computing power information to the third node.
6. The method according to any one of claims 1 to 3, characterized in that The method further comprises: The network device monitors the number of service requests for the service, and when the number of service requests reaches a preset threshold, determines a fifth node in the first domain and / or the second domain, and sends a deployment instruction of the service to the fifth node.
7. A service scheduling method, characterized in that: The method comprises: A first node receives a service request from a user equipment; the first node is a node in a first domain or a second domain, and the first domain and the second domain are mutually advertised domains; The first node searches for a node in the notification domain that supports the service corresponding to the service request based on the obtained computing power information of each node in the notification domain; the computing power information of each node in the notification domain includes computing power information of each node in the domain where the first node is located, and computing power information of each node in other domains within the notification domain except the domain where the first node is located, where the other domains and the domain where the first node is located are mutually notification domains; the computing power information of each node in the domain where the first node is located is obtained by notifying computing power information within the domain; the computing power information of each node in other domains within the notification domain except the domain where the first node is located is obtained through network equipment; In the case that no node supporting the service corresponding to the service request is found in the announcement domain, the first node sends the service request to a network device.
8. The method according to claim 7, characterized in that The method further comprises: The first node receives the information of the second node sent by the network device and sends the information of the second node to the user equipment; the second node supports the service corresponding to the service request, or the second node can schedule other nodes that support the corresponding service for the service request.
9. The method according to claim 7, characterized in that The method further comprises: When the first node finds a node that supports the service corresponding to the service request in the notification domain, the first node sends the service request to the node.
10. The method according to any one of claims 7 to 9, characterized in that The method further comprises: In a case where the first node supports sending the first computing power information in the first domain to the network device, the first node sends the first computing power information to the network device, where the first computing power information includes computing power information of at least some nodes in the first domain; or When the first node supports sending the second computing power information within the second domain to the network device, the first node sends the second computing power information to the network device, where the second computing power information includes computing power information of at least some nodes within the second domain; the first computing power information and / or the second computing power information are used by the network device to generate or update global computing power information.
11. The method according to claim 10, characterized in that The method further comprises: In a case where the first node supports sending the first computing power information of the first domain to the network device, the first node receives the second computing power information sent by the network device and sends the second computing power information to other nodes in the first domain; or In the case where the first node supports sending the second computing power information of the second domain to the network device, the first node receives the first computing power information sent by the network device and sends the first computing power information to other nodes in the second domain.
12. The method according to claim 11, characterized in that The first node searches for a node supporting the service corresponding to the service request in the notification domain, including: The first node searches for a node that supports the service corresponding to the service request based on the second computing power information and the first computing power information.
13. A service scheduling device, characterized in that: Applied to a network device, the apparatus comprises: a first communication unit and a first processing unit; wherein, The first communication unit is configured to receive the service request sent by the first node when there is no node supporting the service corresponding to the service request in the first domain and the second domain; the first node is a node in the first domain or the second domain that receives the service request sent by the user equipment; the first domain and the second domain are mutually notification domains; the service request is sent to the network device by the first node based on the obtained computing power information of each node in the notification domain when no node supporting the service corresponding to the service request is found in the notification domain; the computing power information of each node in the notification domain includes the computing power information of each node in the domain where the first node is located, and the computing power information of each node in other domains within the notification domain except the domain where the first node is located, and the other domains and the domain where the first node is located are mutually notification domains; the computing power information of each node in the domain where the first node is located is obtained by notifying the computing power information within the domain; the computing power information of each node in other domains within the notification domain except the domain where the first node is located is obtained through the network device; The first processing unit is used to determine the second node based on pre-acquired global computing power information.
14. A service scheduling device, characterized in that: Applied to a first node, the device includes: a second communication unit and a second processing unit; wherein, The second communication unit is configured to receive a service request from a user equipment; the first node is a node in the first domain or the second domain, and the first domain and the second domain are mutually notified domains; The second processing unit is configured to search, within the announcement domain, for a node that supports the service corresponding to the service request based on the obtained computing power information of each node within the announcement domain; the computing power information of each node within the announcement domain includes computing power information of each node within the domain where the first node is located, and computing power information of each node in other domains within the announcement domain except the domain where the first node is located, where the other domains and the domain where the first node is located are mutually announcement domains; the computing power information of each node within the domain where the first node is located is obtained by notifying computing power information within the domain; the computing power information of each node in other domains within the announcement domain except the domain where the first node is located is obtained through network equipment; The second communication unit is further configured to send the service request to the network device when the second processing unit fails to find a node supporting the service corresponding to the service request in the announcement domain.
15. A business scheduling system, characterized in that: The system includes: a network device, a node in a first domain and a node in a second domain, the first domain and the second domain are mutually advertised domains; the first domain or the second domain includes a first node; wherein, The first node is configured to receive a service request from a user device; based on the obtained computing power information of each node in the notification domain, search for a node in the notification domain that supports the service corresponding to the service request; if no node supporting the service corresponding to the service request is found in the notification domain, send the service request to the network device; the computing power information of each node in the notification domain includes the computing power information of each node in the domain where the first node is located, and the computing power information of each node in other domains in the notification domain except the domain where the first node is located, the other domains and the domain where the first node is located are mutually notification domains; the computing power information of each node in the domain where the first node is located is obtained by notifying the computing power information within the domain; the computing power information of each node in other domains in the notification domain except the domain where the first node is located is obtained through the network device; The network device is used to receive a service request sent by the first node; and determine the second node based on pre-acquired global computing power information.
16. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented; or When the program is executed by a processor, the steps of the method according to any one of claims 7 to 12 are implemented.
17. A communication device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the steps of the method according to any one of claims 1 to 6 are implemented; or When the processor executes the program, the steps of the method according to any one of claims 7 to 12 are implemented.
Citation Information
Patent Citations
Network system, instance management and control method, equipment and storage medium
CN111800282A
Method for searching edge computing server and related device
WO2021023042A1