[go: up one dir, main page]

CN113452758A - Service access method and device - Google Patents

Service access method and device Download PDF

Info

Publication number
CN113452758A
CN113452758A CN202110626266.7A CN202110626266A CN113452758A CN 113452758 A CN113452758 A CN 113452758A CN 202110626266 A CN202110626266 A CN 202110626266A CN 113452758 A CN113452758 A CN 113452758A
Authority
CN
China
Prior art keywords
target service
service
target
translator
service access
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110626266.7A
Other languages
Chinese (zh)
Inventor
李铭轩
唐雄燕
曹畅
刘秋妍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202110626266.7A priority Critical patent/CN113452758A/en
Publication of CN113452758A publication Critical patent/CN113452758A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/63Routing a service request depending on the request content or context
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/12Shortest path evaluation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/30Routing of multiclass traffic

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention provides a service access method and a service access device, relates to the technical field of computers, and can accurately and reasonably determine a target computing node, improve the creation efficiency of a pod and a target service and further improve the effectiveness of service access. The method comprises the following steps: a main control node receives a service access request sent by UE, wherein the service access request comprises a demand index corresponding to a target service, and the service access request is used for requesting to determine at least one target computing node corresponding to the target service; the master control node sends a container scheduling indication message to the translator, wherein the container scheduling indication message comprises a requirement index corresponding to the target service.

Description

Service access method and device
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a service access method and a service access device.
Background
Currently, a pod can be deployed on a certain computing node, and then the creation process of a certain application program is completed. Specifically, a computing node (e.g., a target computing node) for deploying a pod may be determined from a Kubernetes system (hereinafter referred to as the K8s system). Illustratively, as shown in fig. 1, the K8s system 10 may include a control node 101, a computing node 102, a computing node 103, and a computing node 104. The control node 101 may select a compute node with a remaining computational resource greater than 0 and a highest priority from the compute nodes 102, 103, and 104. Assuming that the remaining computing resources of the above 3 computing nodes are all greater than 0, and the priority of the computing node 104 is higher than the priority of the computing node 103 and the priority of the computing node 102, the control node 101 may determine that the computing node 104 is the target computing node, i.e., determine that a pod is deployed in the computing node 104.
However, the above-described method based on the remaining computing resources of the computing nodes and the priorities of the computing nodes may not be effective in determining the appropriate target computing node. For example, the computing node 104 determined above may not be able to complete the deployment process of the pod for some reason, and may not be able to complete the creation process of the application, affecting the user experience.
Disclosure of Invention
Embodiments of the present invention provide a service access method and apparatus, which can accurately and reasonably determine a target computing node, improve the creation efficiency of a pod and a target service, and further improve the effectiveness of service access.
In a first aspect, an embodiment of the present invention provides a service access method, including: a main control node receives a service access request sent by User Equipment (UE), wherein the service access request comprises a demand index corresponding to a target service, and the service access request is used for requesting to determine at least one target computing node corresponding to the target service; the master control node sends a container scheduling indication message to the translator, wherein the container scheduling indication message comprises a requirement index corresponding to the target service.
In a second aspect, an embodiment of the present invention provides a service access method, including: the translator receives a container scheduling indication message sent by a master control node, wherein the container scheduling indication message comprises a demand index corresponding to a target service; the translator determines a deployment strategy corresponding to the target service according to the demand index corresponding to the target service, the network quality condition of the plurality of pieces of routing equipment and the resource operation condition of the computing node corresponding to each of the plurality of pieces of routing equipment; the translator sends the demand index corresponding to the target service and the deployment strategy corresponding to the target service to the main routing device.
In a third aspect, an embodiment of the present invention provides a service access method, including: the main routing equipment receives a demand index corresponding to the target service and a deployment strategy corresponding to the target service, wherein the demand index is sent by the translator; the main routing equipment determines the next hop of digital channel routing equipment based on the demand index corresponding to the target service, the deployment strategy corresponding to the target service and the optimal path algorithm; and the main routing equipment sends the demand index corresponding to the target service and the deployment strategy corresponding to the target service to the digital access routing equipment of the next hop, so that the digital access routing equipment of the next hop determines whether the target computing node exists in a plurality of computing nodes to be identified, and the plurality of computing nodes to be identified are computing nodes corresponding to the digital access routing equipment of the next hop.
In a fourth aspect, an embodiment of the present invention provides a service access apparatus, including: the device comprises a receiving module and a sending module; the receiving module is used for receiving a service access request sent by UE, wherein the service access request comprises a demand index corresponding to a target service, and the service access request is used for requesting to determine at least one target computing node corresponding to the target service; the sending module is configured to send a container scheduling indication message to the translator, where the container scheduling indication message includes a requirement indicator corresponding to the target service.
In a fifth aspect, an embodiment of the present invention provides a service access apparatus, including: the device comprises a receiving module, a determining module and a sending module; the receiving module is used for receiving a container scheduling indication message sent by the master control node, wherein the container scheduling indication message comprises a demand index corresponding to a target service; the determining module is configured to determine a deployment policy corresponding to the target service according to a requirement index corresponding to the target service, network quality conditions of multiple pieces of routing equipment, and resource operation conditions of computing nodes corresponding to the multiple pieces of routing equipment; the sending module is configured to send the requirement index corresponding to the target service and the deployment policy corresponding to the target service to the main routing device.
In a sixth aspect, an embodiment of the present invention provides a service access apparatus, including: the device comprises a receiving module, a determining module and a sending module; the receiving module is used for receiving the demand index corresponding to the target service and the deployment strategy corresponding to the target service, which are sent by the translator; the determining module is used for determining the next hop of digital channel routing equipment based on the demand index corresponding to the target service, the deployment strategy corresponding to the target service and the optimal path algorithm; the sending module is configured to send the requirement index corresponding to the target service and the deployment policy corresponding to the target service to the digital access routing device of the next hop, so that the digital access routing device of the next hop determines whether the target computing node exists in a plurality of computing nodes to be identified, where the plurality of computing nodes to be identified are computing nodes corresponding to the digital access routing device of the next hop.
In a seventh aspect, an embodiment of the present invention provides another service access apparatus, including: a processor, a memory, a bus, and a communication interface; the memory is used for storing computer execution instructions, the processor is connected with the memory through a bus, and when the service access device runs, the processor executes the computer execution instructions stored in the memory, so that the service access device executes the service access method provided by the first aspect, the second aspect or the third aspect.
In an eighth aspect, an embodiment of the present invention provides a computer-readable storage medium, which includes a computer program, and when the computer program runs on a computer, the computer is caused to execute a service access method provided in the first aspect, the second aspect, or the third aspect.
In a ninth aspect, an embodiment of the present invention provides a computer program product containing instructions, which when run on a computer, causes the computer to execute a service access method provided in the first aspect, the second aspect, or the third aspect.
In the service access method and the device provided by the embodiment of the invention, a main control node receives a service access request sent by UE, wherein the service access request comprises a demand index corresponding to a target service, and then the main control node sends a container scheduling indication message to a translator; after receiving the container scheduling indication message, the translator may determine a deployment policy corresponding to the target service according to a requirement index corresponding to the target service, network quality conditions of multiple pieces of routing equipment, and resource operation conditions of computing nodes corresponding to the multiple pieces of routing equipment, and then the translator may send the requirement index corresponding to the target service and the deployment policy corresponding to the target service to the main routing equipment; after receiving the demand index and the deployment policy, the main routing device may determine, based on the demand index, the deployment policy, and an optimal path algorithm, a digital-to-access routing device of a next hop, and then the main routing device sends the demand index and the deployment policy to the digital-to-access routing device of the next hop, so that the digital-to-access routing device of the next hop determines whether a target computing node exists in a plurality of computing nodes to be identified (i.e., computing nodes corresponding to the digital-to-access routing device of the next hop). In the embodiment of the invention, the target computing node (i.e. the computing node for creating the target service, specifically the pod corresponding to the target service) and the target number access routing device corresponding to the target computing node can be determined based on the requirement index, the deployment strategy and the optimal path algorithm, so that the target computing node can be accurately and reasonably determined, the creating efficiency of the pod and the target service is improved, and the effectiveness of service access is further improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below.
Fig. 1 is a schematic network architecture diagram of a K8s system according to an embodiment of the present invention;
fig. 2 is a schematic network architecture diagram of a service access system according to an embodiment of the present invention;
fig. 3 is a hardware schematic diagram of a server according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a service access method according to an embodiment of the present invention;
fig. 5 is a schematic diagram of another service access method provided in an embodiment of the present invention;
fig. 6 is a schematic diagram of another service access method provided in an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a service access device according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of another service access device according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of another service access device according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of another service access device according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of another service access device according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of another service access device according to an embodiment of the present invention.
Detailed Description
The service access method and device provided by the embodiment of the invention will be described in detail below with reference to the accompanying drawings.
The terms "first" and "second", etc. in the description and drawings of the present application are used for distinguishing between different objects and not for describing a particular order of the objects.
Furthermore, the terms "including" and "having," and any variations thereof, as referred to in the description of the present application, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements but may alternatively include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that, in the embodiments of the present invention, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
The term "and/or" as used herein includes the use of either or both of the two methods.
In the description of the present application, the meaning of "a plurality" means two or more unless otherwise specified.
Based on the problems existing in the background art, embodiments of the present invention provide a service access method and apparatus, where a main control node receives a service access request sent by a UE, where the service access request includes a requirement index corresponding to a target service, and then the main control node sends a container scheduling indication message to a translator; after receiving the container scheduling indication message, the translator may determine a deployment policy corresponding to the target service according to a requirement index corresponding to the target service, network quality conditions of multiple pieces of routing equipment, and resource operation conditions of computing nodes corresponding to the multiple pieces of routing equipment, and then the translator may send the requirement index corresponding to the target service and the deployment policy corresponding to the target service to the main routing equipment; after receiving the demand index and the deployment policy, the main routing device may determine, based on the demand index, the deployment policy, and an optimal path algorithm, a digital-to-access routing device of a next hop, and then the main routing device sends the demand index and the deployment policy to the digital-to-access routing device of the next hop, so that the digital-to-access routing device of the next hop determines whether a target computing node exists in a plurality of computing nodes to be identified (i.e., computing nodes corresponding to the digital-to-access routing device of the next hop). In the embodiment of the invention, the target computing node (i.e. the computing node for creating the target service, specifically the pod corresponding to the target service) and the target number access routing device corresponding to the target computing node can be determined based on the requirement index, the deployment strategy and the optimal path algorithm, so that the target computing node can be accurately and reasonably determined, the creating efficiency of the pod and the target service is improved, and the effectiveness of service access is further improved.
A service access method and apparatus provided in an embodiment of the present invention may be applied to a service access system, as shown in fig. 2, the service access system includes a main control node 201, a translator 202, a main routing device 203, a number path routing device 204, a number path routing device 205, a number path routing device 206, a number path routing device 207, a computation node 208, a computation node 209, a computation node 210, a computation node 211, a computation node 212, a computation node 213, a computation node 214, a computation node 215, and a computation node 216. In general, in practical applications, the connections between the above-mentioned devices or service functions may be wireless connections, and fig. 2 is illustrated with solid lines for convenience of intuitively representing the connection relationships between the devices.
The main control node 201 is configured to send an information obtaining request to the translator 203, that is, to request to obtain network quality conditions of a plurality of number path routing devices (including the number path routing device 204, the number path routing device 205, the number path routing device 206, and the number path routing device 207) and resource operation conditions of computing nodes (including the computing node 208, the computing node 209, the computing node 210, the computing node 211, the computing node 212, the computing node 213, the computing node 214, the computing node 215, and the computing node 216) corresponding to the number path routing devices.
The translator 202 is configured to receive the container scheduling indication message sent by the main control node 201.
And the main routing device 203 is configured to determine a next hop digital path routing device based on the demand index corresponding to the target service, the deployment policy corresponding to the target service, and the optimal routing algorithm.
The number-path routing device (including the number-path routing device 204, the number-path routing device 205, the number-path routing device 206, and the number-path routing device 207) may be configured to receive the demand index corresponding to the target service sent by the main routing device 203 and the deployment policy corresponding to the target service.
The computing nodes (including computing node 208, computing node 209, computing node 210, computing node 211, computing node 212, computing node 213, computing node 214, computing node 215, and computing node 216) may be configured to create a target service, and in particular, to create a pod corresponding to the target service.
It should be noted that 1 master node, 1 translator, 1 master routing device, 4 routing devices, and 9 computing nodes shown in fig. 2 are only one example in the embodiment of the present invention, and in the embodiment of the present invention, the number of each of the multiple devices shown in fig. 2 is not specifically limited.
An embodiment of the present invention provides a service access device, where the service access device may be a server, and fig. 3 is a schematic diagram of a hardware structure of a server that executes a service access method provided in an embodiment of the present invention. As shown in fig. 3, the server 30 includes a processor 301, a memory 302, a network interface 303, and the like.
The processor 301 is a core component of the server 30, and the processor 301 is configured to run an operating system of the server 30 and application programs (including a system application program and a third-party application program) on the server 30, so as to implement a service access method performed by the server 30.
In this embodiment, the processor 301 may be a Central Processing Unit (CPU), a microprocessor, a Digital Signal Processor (DSP), an application-specific integrated circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof, which is capable of implementing or executing various exemplary logic blocks, modules, and circuits described in connection with the disclosure of the embodiment of the present invention; a processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, a DSP and a microprocessor, or the like.
Optionally, the processor 301 of the server 30 includes one or more CPUs, which are single-core CPUs (single-CPUs) or multi-core CPUs (multi-CPUs).
The memory 302 includes, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical memory, or the like. The memory 302 holds the code for the operating system.
Optionally, the processor 301 implements the service access method in the embodiment of the present invention by reading the instruction stored in the memory 302, or the processor 301 implements the service access method provided in the embodiment of the present invention by using an instruction stored inside. In the case that the processor 301 implements the service access method provided by the embodiment of the present invention by reading the execution saved in the memory, the memory stores an instruction for implementing the service access method provided by the embodiment of the present invention.
The network interface 303 is a wired interface, such as a Fiber Distributed Data Interface (FDDI) interface or a Gigabit Ethernet (GE) interface. Alternatively, the network interface 303 is a wireless interface. The network interface 303 is used for the server 30 to communicate with other devices.
The memory 302 is used for storing network quality conditions of a plurality of routing devices and resource operation conditions of computing nodes corresponding to the routing devices. The at least one processor 301 further executes the method according to the embodiment of the present invention according to the network quality condition of the multiple digital routing devices and the resource operation condition of the computing nodes corresponding to the multiple digital routing devices, which are stored in the memory 302. For more details of the processor 301 to implement the above functions, reference is made to the following description of various method embodiments.
Optionally, the server 30 further includes a bus, and the processor 301 and the memory 302 are connected to each other through the bus 304, or in other manners.
Optionally, the server 30 further includes an input/output interface 305, and the input/output interface 305 is configured to connect with an input device and receive a service access request input by a user through the input device. Input devices include, but are not limited to, a keyboard, a touch screen, a microphone, and the like. The input/output interface 305 is also used for connecting with an output device, and outputting the service access result (i.e. determining the target number routing device and the target computing node) of the processor 301. Output devices include, but are not limited to, a display, a printer, and the like.
In conjunction with the communication system shown in fig. 2, the service access method provided by the embodiment of the present invention is completely described below from the perspective of interaction between devices in the communication system.
As shown in fig. 4, the service access method provided by the embodiment of the present invention may include S101 to S111.
S101, the main control node receives a service access request sent by UE.
The service access request comprises a requirement index corresponding to a target service, and the service access request is used for requesting to determine at least one target computing node corresponding to the target service.
Specifically, the user may create the service access request on the UE through the Yaml configuration script, and the UE sends the service access request to the main control node, so that the main control node may receive the service access request.
It should be understood that the target service is one of a plurality of services (or service functions) corresponding to a certain application, the target service may correspond to a plurality of processes, one process corresponds to (or becomes by encapsulation) one pod, and one pod is created in order to run the process corresponding to the pod. That is, the target service may correspond to a plurality of pods, and the at least one target computing node is configured to create the plurality of pods, and specifically, each computing node of the at least one target computing node may create at least one of the plurality of pods.
In the embodiment of the present invention, the requirement index corresponding to the target service is an index required for creating the target service (specifically, creating a pod), and the index may include a network requirement index and a resource requirement index. Specifically, the network requirement index is a network index required in a routing process, and includes a maximum delay of a target service (e.g., 10 milliseconds (ms)); the resource requirement index is a resource index required for creating the target service, and includes a type (for example, CPU) of a computing resource required for creating the target service and a requirement value (for example, 1GB) corresponding to the computing resource.
S102, the master node sends a container scheduling indication message to the translator.
Wherein, the container scheduling indication message includes a requirement index corresponding to the target service.
It should be understood that the master node is a control node in the K8s system, and the instruction (i.e. the container scheduling indication message) created in the K8s system by the user is in a passing text format visible to the user, and at this time, the master node needs to send the container scheduling indication message to the translator, so that the translator can parse the instruction and translate the content in the instruction into the language (or a script that can be executed) corresponding to the network device (e.g. the routing device and the computing node), thereby completing the creation process of the target service.
S103, the translator receives a container scheduling indication message sent by the master node.
S104, the translator determines a deployment strategy corresponding to the target service according to the requirement index corresponding to the target service, the network quality condition of the multiple pieces of routing equipment and the resource operation condition of the computing node corresponding to each of the multiple pieces of routing equipment.
It should be understood that a plurality of routing devices may correspond to a plurality of computing nodes, and the routing device may actively report the network quality condition and the resource operation condition of each of the plurality of computing nodes corresponding to the routing device to the translator. Specifically, the network quality condition is used to characterize relevant parameters of the number of routing devices in the network, including delay, jitter, next hop device, quality of service (QoS), quality of experience (QoE), and the like of the number of routing devices; the resource operation condition of a computing node is used to characterize the computing or storage capability of the computing node, and may specifically include a type of the computing resource (e.g., a CPU or a Graphics Processing Unit (GPU)), a remaining resource amount of the computing node, and the like.
It can be understood that the deployment policy is a principle target required for creating the target service, that is, a resource operation condition of a computing node (i.e., a target computing node) that creates the target service and a network quality condition of a number path routing device (hereinafter referred to as a target number path routing device) corresponding to the computing node need to satisfy an index included in the deployment policy.
In an implementation manner of the embodiment of the present invention, the deployment policy may include a delay range corresponding to the target service and a minimum resource amount corresponding to the target service, where a maximum value in the delay range is less than or equal to a maximum delay of the target service, and the minimum resource amount is greater than or equal to a required value corresponding to the computing resource. In the subsequent application process, the delay of the target number routing device should satisfy the delay range, and the remaining resource amount of the target computing node should be greater than the minimum resource amount.
In this embodiment of the present invention, the translator may determine, according to a requirement index corresponding to the target service, a network quality condition of the multiple pieces of routing equipment, and a resource operation condition of a computing node corresponding to each piece of routing equipment in the multiple pieces of routing equipment, a deployment policy corresponding to the target service, so that the routing equipment (including the main routing equipment and the number of routing equipment) may determine, based on the deployment policy, a next N-hop equipment (N ≧ 1), and determine the target computing node from the multiple computing nodes corresponding to the next N-hop equipment.
S105, the translator sends the demand index corresponding to the target service and the deployment strategy corresponding to the target service to the main routing device.
S106, the main routing device receives the demand index corresponding to the target service and the deployment strategy corresponding to the target service, wherein the demand index is sent by the translator.
S107, the main routing equipment determines the next hop of digital channel routing equipment based on the demand index corresponding to the target service, the deployment strategy corresponding to the target service and the optimal path algorithm.
In an implementation manner of the embodiment of the present invention, the main routing device may first select, from a plurality of number path routing devices having a communication relationship, a plurality of number path routing devices that satisfy a requirement indicator (hereinafter referred to as a first condition) corresponding to a target service, then select, from the plurality of number path routing devices that satisfy the first condition, a plurality of number path routing devices that satisfy a deployment policy (hereinafter referred to as a second condition) corresponding to the target service, and determine, in combination with an optimal routing algorithm, the number path routing device of the next hop from the plurality of number path routing devices that satisfy the second condition.
For example, table 1 below is an example of network quality of 5 number of path-driven devices corresponding to the main routing device.
TABLE 1
Digital channel routing device Priority of devices Time delay
Digital channel routing device 1 Height of 10ms
Digital channel routing device 2 Height of 5ms
Digital channel routing device 3 Height of 3ms
Digital path routing device 4 In 2ms
Digital channel routing device 5 In 5ms
Assuming that the demand index corresponding to the target service includes that the priority of the target number of routing devices is high, and the delay range included in the deployment policy corresponding to the target service is (0,5 ms), the main routing device may determine that the number of routing devices 2 and the number of routing devices 3 are the number of routing devices that satisfy the second condition, and further may determine, based on an optimal path algorithm, the number of routing devices of a next hop from the 2 number of routing devices.
And S108, the main routing equipment sends the demand index corresponding to the target service and the deployment strategy corresponding to the target service to the next-hop digital channel routing equipment, so that the next-hop digital channel routing equipment determines whether the target computing node exists in the plurality of computing nodes to be identified.
And the plurality of computing nodes to be identified are computing nodes corresponding to the next hop of digital access routing equipment.
S109, the first number of paths of routing equipment receives the demand index corresponding to the target service sent by the main routing equipment and the deployment strategy corresponding to the target service.
It will be appreciated that the first number of ways routing device is the next hop number of ways routing device described above.
S110, determining whether a target computing node exists in the plurality of computing nodes to be identified by the first number of paths based on the demand index corresponding to the target service and the deployment strategy corresponding to the target service.
In an implementation manner of the embodiment of the present invention, the requirement index corresponding to the target service includes a type of a computing resource required for creating the target service, and the deployment policy corresponding to the target service includes a minimum resource amount corresponding to the target service.
In the embodiment of the present invention, when the operating condition of the first to-be-identified computing node meets the requirement index corresponding to the target service and the deployment policy corresponding to the target service, the first number of path routing devices may determine that the plurality of to-be-identified computing nodes exist in the target computing node, and the first number of path routing devices may also determine that the first to-be-identified computing node is the target computing node, where the first to-be-identified computing node is one of the plurality of to-be-identified computing nodes.
For example, table 2 below is an example of the respective operating conditions of the plurality of to-be-identified computing nodes corresponding to the first number of path-limited devices.
TABLE 2
To-be-identified computing node Type of computing resource Amount of remaining resources
To-be-identified computing node 1 GPU 5G
To-be-identified computing node 2 GPU 10G
To-be-identified computing node 3 CPU 10G
Assuming a requirement index corresponding to the target service (specifically, the type of the computing resource required by the target service is GPU), and a deployment strategy corresponding to the target service (specifically, the minimum resource amount corresponding to the target service is 4G), the first number of paths are determined by the device to have the target computing node, specifically, the computing node 1 to be identified may be determined as the target computing node, and the computing node 2 to be identified may also be determined as the target computing node.
Optionally, in a case that the operation conditions of the at least two to-be-identified computing nodes meet the requirement index corresponding to the target service and the deployment policy corresponding to the target service, the first number of pass-by devices may further select one target computing node from the at least two to-be-identified computing nodes according to the respective operation conditions (specifically, the remaining resource amount) of the at least two to-be-identified computing nodes, and for example, the to-be-identified computing node with the largest remaining resource amount may be determined as the target computing node.
And S111, under the condition that a target computing node exists in the plurality of computing nodes to be identified, the first number of paths send the demand indexes corresponding to the target service to the target computing node by the equipment.
To this end, the target computing node may start to create a pod corresponding to the target service, and allocate a corresponding computing resource to the pod based on the demand index corresponding to the target service.
In the service access method provided by the embodiment of the present invention, a main control node receives a service access request sent by a UE, where the service access request includes a requirement index corresponding to a target service, and then the main control node sends a container scheduling indication message to a translator; after receiving the container scheduling indication message, the translator may determine a deployment policy corresponding to the target service according to a requirement index corresponding to the target service, network quality conditions of multiple pieces of routing equipment, and resource operation conditions of computing nodes corresponding to the multiple pieces of routing equipment, and then the translator may send the requirement index corresponding to the target service and the deployment policy corresponding to the target service to the main routing equipment; after receiving the demand index and the deployment policy, the main routing device may determine, based on the demand index, the deployment policy, and an optimal path algorithm, a digital-to-access routing device of a next hop, and then the main routing device sends the demand index and the deployment policy to the digital-to-access routing device of the next hop, so that the digital-to-access routing device of the next hop determines whether a target computing node exists in a plurality of computing nodes to be identified (i.e., computing nodes corresponding to the digital-to-access routing device of the next hop). In the embodiment of the invention, the target computing node (i.e. the computing node for creating the target service, specifically the pod corresponding to the target service) and the target number access routing device corresponding to the target computing node can be determined based on the requirement index, the deployment strategy and the optimal path algorithm, so that the target computing node can be accurately and reasonably determined, the creating efficiency of the pod and the target service is improved, and the effectiveness of service access is further improved.
As shown in fig. 5, in an implementation manner, after S101, the service access method provided in the embodiment of the present invention may further include S201 to S207.
S201, the main control node sends an information acquisition request to the translator.
The information obtaining request is used for requesting to obtain the network quality conditions of the plurality of digital channel routing devices and the resource operation conditions of the computing nodes corresponding to the plurality of digital channel routing devices.
S202, the translator receives an information acquisition request sent by the master control node.
S203, the translator sends, to the master node, the network quality condition of the multiple routing devices and the resource operation condition of the computing node corresponding to each of the multiple routing devices.
S204, the main control node receives the network quality condition of the plurality of routing devices and the resource operation condition of the computing node corresponding to each of the plurality of routing devices, wherein the network quality condition is sent by the translator.
S205, the main control node determines the priority corresponding to the target service based on the requirement index corresponding to the target service, the network quality condition of the multiple pieces of routing equipment and the resource operation condition of the computing node corresponding to each of the multiple pieces of routing equipment, and adds identification information to the target service.
It should be understood that one identification information corresponds to one service, and the master node adds the identification information to the target service, i.e. so that the subsequent device can determine the service type of the target service based on the identification information.
Optionally, the requirement index may include a delay requirement and a resource requirement, and the master control node may determine a service with a lower delay requirement and/or a higher resource requirement as a high-priority service; the service with better network quality (for example, the average delay of a plurality of routing devices is lower) and/or better resource operation (for example, the average remaining resource amount of a plurality of computing nodes is larger) can also be determined as the high-priority service. In the embodiment of the present invention, the master control node may determine, as an example, a service with a low delay requirement, a low average delay, and a large average remaining resource amount as a high priority service, and determine other services as low priority services, based on the above three information.
S206, the main control node sends the priority corresponding to the target service and the identification information of the target service to the translator.
S207, the translator receives the priority corresponding to the target service and the identification information of the target service sent by the master node.
It can be understood that, the translator may receive the priority corresponding to each of the multiple services sent by the master node and the identification information of each of the multiple services, so that a target service may be preferentially forwarded based on the priority corresponding to each of the multiple services and the identification information of each of the multiple services, and further, when the target service is a high-priority service, the target routing device may preferentially receive or forward the relevant information of the target service, and the target computing node may preferentially allocate resources to the target service and preferentially create the target service.
In the service access method provided by the embodiment of the invention, after receiving a service access request sent by the UE, the master control node may send an information acquisition request to the translator; after receiving the information acquisition request, the translator sends network quality conditions of a plurality of digital channel routing devices and resource operation conditions of computing nodes corresponding to the digital channel routing devices to the main control node; the main control node determines the priority corresponding to the target service based on the requirement index corresponding to the target service, the network quality condition of the multiple pieces of routing equipment and the resource operation condition of the computing node corresponding to each of the multiple pieces of routing equipment, adds identification information for the target service, and sends the priority corresponding to the target service and the identification information of the target service to the translator. In this embodiment of the present invention, after receiving the priority and the identification information, the translator may determine a forwarding or processing order corresponding to the target service based on the priority and the identification information. Specifically, when the target service is a high-priority service, the target number access routing device may preferentially receive or forward the related information of the target service, and the target computing node may preferentially create the target service (i.e., the pod corresponding to the target service), so that computing resources may be reasonably allocated, and the efficiency of data forwarding is improved.
As shown in fig. 6, the service access method provided in the embodiment of the present invention may further include S301-S306.
S301, the first target computing node sends the service information of the first pod to the main control node.
The first pod is one of a plurality of pods corresponding to a target service, and the service information of the first pod includes a virtual Internet Protocol (IP) address of the first pod, port information corresponding to the first pod, and a service identifier of the target service, where the service identifier is used to identify a service type of the target service.
It should be appreciated that the first target computing node is the computing node that created the first pod, and that the first target computing node may assign a virtual IP address and port information for the first pod. And after the first pod is created, the first target computing node may send service information of the first pod to a master node, and further, other pods may interact with the first pod based on the virtual IP address and the port information.
Specifically, a sdec module may be included in one of the computing nodes, and after the first pod is created, the first pod may send the virtual IP address and the port information to the sdec module, and the sdec module performs cell broadcasting.
S302, the main control node receives the service information of the first pod sent by the first target computing node.
S303, the main control node inquires other target calculation nodes from the etcd database based on the service identification of the target service.
And the other target computing nodes are computing nodes except the first target computing node in at least one target node corresponding to the target service.
It should be understood that the etcd database is a key-value pair storage system. In the embodiment of the invention, the association relation and the mapping relation of each pod in the plurality of pods can be stored in the etcd database. Taking the first pod as an example, the etcd database may store an association relationship of the first pod and a mapping relationship of the first pod, where the association relationship is used to characterize which pods belong to the same service (i.e., a target service) as the first pod, and the mapping relationship is used to characterize which computing node (i.e., a first target computing node) the first pod belongs to.
Optionally, the master node may further send the service information of the first pod to the etcd database, so that the etcd database may store and backup the content included in the service information.
S304, the master node broadcasts the service information of the first pod in the target cluster.
The target cluster is a cluster formed by the first target computing node and the other target computing nodes, that is, the main control node sends the service information of the first pod to the other target nodes respectively.
S305, the second target computing node receives the service information of the first pod sent by the main control node.
With reference to the description of the foregoing embodiment, it should be understood that the service information of the first pod includes a virtual IP address of the first pod, port information corresponding to the first pod, and a service identifier of the target service, and the second target computing node is one of the other target computing nodes.
S306, under the condition that the second target computing node comprises the second pod, the second target computing node sends a service creation request to the first target computing node.
The second pod is a pod other than the first pod in the plurality of pods corresponding to the target service, and the service creation request includes data corresponding to the second pod.
It should be understood that the second target computing node includes the second pod, which indicates that the second target computing node is also a computing node corresponding to the target service, that is, the creation of the target service requires the cooperative processing between the second target computing node (specifically, the second pod) and the first target computing node (specifically, the first pod), so that the second target computing node can send data corresponding to the second pod to the first target computing node, and reach the first pod through the specific IP address inside the first target computing node (i.e., the virtual IP address of the first pod) and the port information (the port information corresponding to the first pod), thereby completing the creation process of the target service.
Alternatively, the service creation request may arrive at the first pod via the sidecar module described above.
In the service access method provided by the embodiment of the present invention, a first target computing node sends service information of a first pod to a main control node, where the service information includes a virtual IP address of the first pod, port information corresponding to the first pod, and a service identifier of a target service; after receiving the service information, the master node may query other target computing nodes from the etcd database based on the service identifier of the target service, and broadcast the service information in a target cluster (i.e., a cluster formed by the first target computing node and other target computing nodes). After receiving the service information, the second target computing node (i.e., one of the other target computing nodes) sends a service creation request to the first target computing node if it is determined that the second target computing node includes the second pod, so that the creation process of the target service can be completed. In the embodiment of the present invention, the master control node may receive and broadcast the service information of the first pod in the target cluster, and then the target computing node (i.e., the second target computing node) corresponding to the other pod (including the second pod) corresponding to the target service may send the service creation request to the first target computing node, thereby completing the creation process of the target service, and being capable of reasonably determining the other target computing node, thereby improving the efficiency of service creation.
In the embodiment of the present invention, the main control node, the translator, the main routing device, and the like may be divided into functional modules according to the above method examples, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. It should be noted that, the division of the modules in the embodiment of the present invention is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
In a case that the functional modules are divided according to respective functions, fig. 7 shows a schematic diagram of a possible structure of the service access device (specifically, the master node) in the foregoing embodiment, as shown in fig. 7, the service access device 40 may include: a receiving module 401 and a transmitting module 402.
A receiving module 401, configured to receive a service access request sent by a UE, where the service access request includes a requirement indicator corresponding to a target service, and the service access request is used to request to determine at least one target computing node corresponding to the target service.
A sending module 402, configured to send a container scheduling indication message to the translator, where the container scheduling indication message includes a requirement indicator corresponding to the target service.
Optionally, the service access device 40 may further include a determining module 403.
The sending module 402 is further configured to send an information obtaining request to the translator, where the information obtaining request is used to request to obtain network quality conditions of multiple digital access devices and resource operation conditions of computing nodes corresponding to the multiple digital access devices.
The receiving module 401 is further configured to receive the network quality condition of the multiple digital channel routing devices and the resource operation condition of the computing node corresponding to each of the multiple digital channel routing devices, where the network quality condition is sent by the translator.
A determining module 403, configured to determine a priority corresponding to the target service based on the requirement index corresponding to the target service, the network quality conditions of the multiple pieces of digital routing equipment, and the resource operating conditions of the computing nodes corresponding to the multiple pieces of digital routing equipment, and add identification information to the target service.
The sending module 402 is further configured to send the priority corresponding to the target service and the identification information of the target service to the translator.
In case of integrated units, fig. 8 shows a possible structure diagram of the service access device (specifically, the master node) involved in the above embodiments. As shown in fig. 8, the service access device 50 may include: a processing module 501 and a communication module 502. The processing module 501 may be used to control and manage the actions of the service access device 50. The communication module 502 may be used to support communication of the service access device 50 with other entities. Optionally, as shown in fig. 8, the service access device 50 may further include a storage module 503 for storing program codes and data of the service access device 50.
The processing module 501 may be a processor or a controller (for example, the processor 301 shown in fig. 3). The communication module 502 may be a transceiver, a transceiver circuit, or a communication interface, etc. (e.g., may be the network interface 303 as shown in fig. 3 described above). The storage module 503 may be a memory (e.g., may be the memory 302 described above with reference to fig. 3).
When the processing module 501 is a processor, the communication module 502 is a transceiver, and the storage module 503 is a memory, the processor, the transceiver, and the memory may be connected by a bus. The bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc.
In the case of dividing the function modules according to the respective functions, fig. 9 shows a schematic diagram of a possible structure of the service access device (specifically, the translator) in the above embodiment, as shown in fig. 9, the service access device 60 may include: a receiving module 601, a determining module 602, and a sending module 603.
A receiving module 601, configured to receive a container scheduling indication message sent by a master node, where the container scheduling indication message includes a requirement indicator corresponding to a target service.
A determining module 602, configured to determine a deployment policy corresponding to the target service according to the requirement index corresponding to the target service, the network quality conditions of the multiple pieces of routing equipment, and the resource operation conditions of the computing nodes corresponding to the multiple pieces of routing equipment.
The sending module 603 is configured to send the requirement index corresponding to the target service and the deployment policy corresponding to the target service to the main routing device.
Optionally, the receiving module 601 is further configured to receive an information obtaining request sent by the main control node, where the information obtaining request is used to request to obtain a network quality condition of the multiple number of routing devices and a resource operation condition of a computing node corresponding to each of the multiple number of routing devices.
The sending module 603 is further configured to send, to the master node, the network quality condition of the multiple number-pass routing devices and the resource operation condition of the computing node corresponding to each of the multiple number-pass routing devices.
The receiving module 601 is further configured to receive the priority corresponding to the target service and the identification information of the target service, where the priority is sent by the main control node.
In the case of integrated units, fig. 10 shows a possible structural diagram of the service access means (specifically, the translator) involved in the above-described embodiment. As shown in fig. 10, the service access device 70 may include: a processing module 701 and a communication module 702. The processing module 701 may be used to control and manage the actions of the service access device 70. Communication module 702 may be used to support communication of service access device 70 with other entities. Optionally, as shown in fig. 10, the service access device 70 may further include a storage module 703 for storing program codes and data of the service access device 70.
The processing module 701 may be a processor or a controller (for example, the processor 301 shown in fig. 3). The communication module 702 may be a transceiver, a transceiver circuit, or a communication interface, etc. (e.g., may be the network interface 303 as shown in fig. 3 described above). The storage module 703 may be a memory (e.g., may be the memory 302 described above with reference to fig. 3).
When the processing module 701 is a processor, the communication module 702 is a transceiver, and the storage module 703 is a memory, the processor, the transceiver, and the memory may be connected by a bus. The bus may be a PCI bus or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc.
In the case of dividing each functional module by corresponding functions, fig. 11 shows a possible structural schematic diagram of the service access device (specifically, the master routing device) involved in the foregoing embodiment, as shown in fig. 11, the service access device 80 may include: a receiving module 801, a determining module 802 and a sending module 803.
The receiving module 801 is configured to receive a requirement index corresponding to a target service sent by the translator and a deployment policy corresponding to the target service.
The determining module 802 is configured to determine the next hop digital path routing device based on the requirement index corresponding to the target service, the deployment policy corresponding to the target service, and the optimal path algorithm.
A sending module 803, configured to send the requirement index corresponding to the target service and the deployment policy corresponding to the target service to the digital access routing device of the next hop, so that the digital access routing device of the next hop determines whether the target computing node exists in a plurality of computing nodes to be identified, where the plurality of computing nodes to be identified are computing nodes corresponding to the digital access routing device of the next hop.
In the case of an integrated unit, fig. 12 shows a possible structural diagram of the service access device (specifically, the master routing device) involved in the above embodiment. As shown in fig. 12, the service access device 90 may include: a processing module 901 and a communication module 902. The processing module 901 may be used to control and manage the actions of the service access device 70. The communication module 902 may be used to support communication of the service access device 90 with other entities. Optionally, as shown in fig. 12, the service access device 90 may further include a storage module 903 for storing program codes and data of the service access device 90.
The processing module 901 may be a processor or a controller (for example, the processor 301 shown in fig. 3). The communication module 902 may be a transceiver, a transceiver circuit, or a communication interface, etc. (e.g., may be the network interface 303 as shown in fig. 3 described above). The storage module 903 may be a memory (e.g., may be the memory 302 described above with reference to fig. 3).
When the processing module 901 is a processor, the communication module 902 is a transceiver, and the storage module 903 is a memory, the processor, the transceiver, and the memory may be connected through a bus. The bus may be a PCI bus or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc.
It should be understood that, in various embodiments of the present invention, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented using a software program, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions described in accordance with the embodiments of the invention are all or partially effected when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website, computer, server, or data center to another website, computer, server, or data center via wire (e.g., coaxial cable, fiber optics, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or can comprise one or more data storage devices, such as a server, a data center, etc., that can be integrated with the medium. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1.一种业务访问方法,其特征在于,包括:1. a service access method, is characterized in that, comprises: 主控节点接收用户设备UE发送的业务访问请求,所述业务访问请求中包括目标业务对应的需求指标,所述业务访问请求用于请求确定所述目标业务对应的至少一个目标计算节点;The master control node receives a service access request sent by the user equipment UE, where the service access request includes a demand indicator corresponding to a target service, and the service access request is used to request to determine at least one target computing node corresponding to the target service; 所述主控节点向转译器发送容器调度指示消息,所述容器调度指示消息中包括所述目标业务对应的需求指标。The master control node sends a container scheduling instruction message to the translator, where the container scheduling instruction message includes a demand indicator corresponding to the target service. 2.根据权利要求1所述业务访问方法,其特征在于,在所述主控节点接收UE发送的业务访问请求之后,所述方法还包括:2. The service access method according to claim 1, wherein after the master control node receives the service access request sent by the UE, the method further comprises: 所述主控节点向所述转译器发送信息获取请求,所述信息获取请求用于请求获取多个数通路由设备的网络质量情况以及所述多个数通路由设备各自对应的计算节点的资源运行情况;The master control node sends an information acquisition request to the translator, and the information acquisition request is used to request to acquire the network quality of the multiple digital routing devices and the resources of the computing nodes corresponding to the multiple digital routing devices. operation; 所述主控节点接收所述转译器发送的所述多个数通路由设备的网络质量情况以及所述多个数通路由设备各自对应的计算节点的资源运行情况;receiving, by the master control node, the network quality status of the multiple data-path routing devices and the resource operation status of the computing nodes corresponding to the multiple data-path routing devices, which are sent by the translator; 所述主控节点基于所述目标业务对应的需求指标、所述多个数通路由设备的网络质量情况以及所述多个数通路由设备各自对应的计算节点的资源运行情况确定所述目标业务对应的优先级,并且为所述目标业务添加标识信息;The master control node determines the target service based on the demand index corresponding to the target service, the network quality of the multiple data-path routing devices, and the resource operation conditions of the computing nodes corresponding to the multiple data-path routing devices. corresponding priority, and adding identification information for the target service; 所述主控节点向所述转译器发送所述目标业务对应的优先级和所述目标业务的标识信息。The master control node sends the priority corresponding to the target service and the identification information of the target service to the translator. 3.一种业务访问方法,其特征在于,包括:3. A service access method, comprising: 转译器接收主控节点发送的容器调度指示消息,所述容器调度指示消息中包括目标业务对应的需求指标;The translator receives the container scheduling instruction message sent by the master control node, where the container scheduling instruction message includes the demand index corresponding to the target service; 所述转译器根据所述目标业务对应的需求指标、多个数通路由设备的网络质量情况以及所述多个数通路由设备各自对应的计算节点的资源运行情况,确定所述目标业务对应的部署策略;The translator determines the target service corresponding to the target service according to the demand index corresponding to the target service, the network quality of the multiple data-path routing devices, and the resource operation conditions of the computing nodes corresponding to the multiple data-path routing devices. deployment strategy; 所述转译器向主路由设备发送所述目标业务对应的需求指标和所述目标业务对应的部署策略。The translator sends the demand index corresponding to the target service and the deployment strategy corresponding to the target service to the main routing device. 4.根据权利要求3所述的业务访问方法,其特征在于,所述方法还包括:4. The service access method according to claim 3, wherein the method further comprises: 所述转译器接收所述主控节点发送的信息获取请求,所述信息获取请求用于请求获取所述多个数通路由设备的网络质量情况以及所述多个数通路由设备各自对应的计算节点的资源运行情况;The translator receives an information acquisition request sent by the master control node, and the information acquisition request is used to request to acquire the network quality of the multiple data path routing devices and the corresponding calculation of the multiple data path routing devices. Node resource operation; 所述转译器向所述主控节点发送所述多个数通路由设备的网络质量情况以及所述多个数通路由设备各自对应的计算节点的资源运行情况;The translator sends, to the master control node, the network quality status of the multiple data-path routing devices and the resource operation status of the computing nodes corresponding to the multiple digital-path routing devices; 所述转译器接收所述主控节点发送的所述目标业务对应的优先级和所述目标业务的标识信息。The translator receives the priority corresponding to the target service and the identification information of the target service sent by the master control node. 5.一种业务访问方法,其特征在于,包括:5. A service access method, comprising: 主路由设备接收转译器发送的目标业务对应的需求指标和所述目标业务对应的部署策略;The main routing device receives the demand index corresponding to the target service and the deployment strategy corresponding to the target service sent by the translator; 所述主路由设备基于所述目标业务对应的需求指标、所述目标业务对应的部署策略以及最优路径算法,确定下一跳的数通路由设备;The main routing device determines the next-hop digital path routing device based on the demand index corresponding to the target service, the deployment strategy corresponding to the target service and the optimal path algorithm; 所述主路由设备将所述目标业务对应的需求指标和所述目标业务对应的部署策略发送至所述下一跳的数通路由设备,以使得所述下一跳的数通路由设备确定多个待识别计算节点中是否存在所述目标计算节点,所述多个待识别计算节点为所述下一跳的数通路由设备对应的计算节点。The main routing device sends the demand index corresponding to the target service and the deployment strategy corresponding to the target service to the next-hop digital routing device, so that the next-hop digital routing device determines the number of routes. Whether the target computing node exists in the computing nodes to be identified, and the computing nodes to be identified are computing nodes corresponding to the next-hop data path routing device. 6.一种业务访问装置,其特征在于,包括接收模块和发送模块;6. A service access device, comprising a receiving module and a sending module; 所述接收模块,用于接收用户设备UE发送的业务访问请求,所述业务访问请求中包括目标业务对应的需求指标,所述业务访问请求用于请求确定所述目标业务对应的至少一个目标计算节点;The receiving module is configured to receive a service access request sent by the user equipment UE, where the service access request includes a demand index corresponding to a target service, and the service access request is used to request to determine at least one target calculation corresponding to the target service node; 所述发送模块,用于向转译器发送容器调度指示消息,所述容器调度指示消息中包括所述目标业务对应的需求指标。The sending module is configured to send a container scheduling instruction message to the translator, where the container scheduling instruction message includes a demand indicator corresponding to the target service. 7.根据权利要求6所述的业务访问装置,其特征在于,所述业务访问装置还包括确定模块;7. The service access device according to claim 6, wherein the service access device further comprises a determination module; 所述发送模块,还用于向所述转译器发送信息获取请求,所述信息获取请求用于请求获取多个数通路由设备的网络质量情况以及所述多个数通路由设备各自对应的计算节点的资源运行情况;The sending module is further configured to send an information acquisition request to the translator, where the information acquisition request is used to request to acquire the network quality of the multiple data path routing devices and the respective calculations corresponding to the multiple data path routing devices. Node resource operation; 所述接收模块,还用于接收所述转译器发送的所述多个数通路由设备的网络质量情况以及所述多个数通路由设备各自对应的计算节点的资源运行情况;The receiving module is further configured to receive the network quality status of the multiple data-path routing devices and the resource operation status of the respective computing nodes corresponding to the multiple digital-path routing devices sent by the translator; 所述确定模块,用于基于所述目标业务对应的需求指标、所述多个数通路由设备的网络质量情况以及所述多个数通路由设备各自对应的计算节点的资源运行情况确定所述目标业务对应的优先级,并且为所述目标业务添加标识信息;The determining module is configured to determine the said target service based on the demand index corresponding to the target service, the network quality of the multiple data access devices, and the resource operation conditions of the computing nodes corresponding to the multiple digital access devices. the priority corresponding to the target service, and adding identification information for the target service; 所述发送模块,还用于向所述转译器发送所述目标业务对应的优先级和所述目标业务的标识信息。The sending module is further configured to send the priority corresponding to the target service and the identification information of the target service to the translator. 8.一种业务访问装置,其特征在于,包括:接收模块、确定模块以及发送模块;8. A service access device, comprising: a receiving module, a determining module and a sending module; 所述接收模块,用于接收主控节点发送的容器调度指示消息,所述容器调度指示消息中包括目标业务对应的需求指标;The receiving module is configured to receive a container scheduling instruction message sent by the master control node, where the container scheduling instruction message includes a demand indicator corresponding to the target service; 所述确定模块,用于根据所述目标业务对应的需求指标、多个数通路由设备的网络质量情况以及所述多个数通路由设备各自对应的计算节点的资源运行情况,确定所述目标业务对应的部署策略;The determining module is configured to determine the target according to the demand index corresponding to the target service, the network quality of the multiple data-path routing devices, and the resource operation status of the computing nodes corresponding to the multiple data-path routing devices. The deployment strategy corresponding to the business; 所述发送模块,用于向主路由设备发送所述目标业务对应的需求指标和所述目标业务对应的部署策略。The sending module is configured to send the demand index corresponding to the target service and the deployment strategy corresponding to the target service to the main routing device. 9.根据权利要求8所述的业务访问装置,其特征在于,9. The service access device according to claim 8, wherein, 所述接收模块,还用于接收所述主控节点发送的信息获取请求,所述信息获取请求用于请求获取所述多个数通路由设备的网络质量情况以及所述多个数通路由设备各自对应的计算节点的资源运行情况;The receiving module is further configured to receive an information acquisition request sent by the master control node, where the information acquisition request is used to request acquisition of the network quality of the multiple digital routing devices and the multiple digital routing devices The resource operation of the corresponding computing nodes; 所述发送模块,还用于向所述主控节点发送所述多个数通路由设备的网络质量情况以及所述多个数通路由设备各自对应的计算节点的资源运行情况;The sending module is further configured to send, to the master control node, the network quality status of the multiple data-path routing devices and the resource operation status of the computing nodes corresponding to the multiple data-path routing devices; 所述接收模块,还用于接收所述主控节点发送的所述目标业务对应的优先级和所述目标业务的标识信息。The receiving module is further configured to receive the priority corresponding to the target service and the identification information of the target service sent by the master control node. 10.一种业务访问装置,其特征在于,包括:接收模块、确定模块以及发送模块;10. A service access device, comprising: a receiving module, a determining module and a sending module; 所述接收模块,用于接收转译器发送的目标业务对应的需求指标和所述目标业务对应的部署策略;The receiving module is configured to receive the demand index corresponding to the target service and the deployment strategy corresponding to the target service sent by the translator; 所述确定模块,用于基于所述目标业务对应的需求指标、所述目标业务对应的部署策略以及最优路径算法,确定下一跳的数通路由设备;The determining module is configured to determine the next-hop digital path routing device based on the demand index corresponding to the target service, the deployment strategy corresponding to the target service and the optimal path algorithm; 所述发送模块,用于将所述目标业务对应的需求指标和所述目标业务对应的部署策略发送至所述下一跳的数通路由设备,以使得所述下一跳的数通路由设备确定多个待识别计算节点中是否存在所述目标计算节点,所述多个待识别计算节点为所述下一跳的数通路由设备对应的计算节点。The sending module is configured to send the demand index corresponding to the target service and the deployment strategy corresponding to the target service to the next-hop digital routing device, so that the next-hop digital routing device It is determined whether the target computing node exists in a plurality of to-be-identified computing nodes, and the plurality of to-be-identified computing nodes are computing nodes corresponding to the next-hop data path routing device.
CN202110626266.7A 2021-06-04 2021-06-04 Service access method and device Pending CN113452758A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110626266.7A CN113452758A (en) 2021-06-04 2021-06-04 Service access method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110626266.7A CN113452758A (en) 2021-06-04 2021-06-04 Service access method and device

Publications (1)

Publication Number Publication Date
CN113452758A true CN113452758A (en) 2021-09-28

Family

ID=77810806

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110626266.7A Pending CN113452758A (en) 2021-06-04 2021-06-04 Service access method and device

Country Status (1)

Country Link
CN (1) CN113452758A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114461149A (en) * 2022-02-09 2022-05-10 镁佳(北京)科技有限公司 K8 s-based distributed data storage method and device
CN115426362A (en) * 2022-08-31 2022-12-02 广东电网有限责任公司 Method and device for processing protection service data, electronic equipment and storage medium
CN115991223A (en) * 2023-03-23 2023-04-21 北京全路通信信号研究设计院集团有限公司 Rail transit computing system and method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180063145A1 (en) * 2016-08-24 2018-03-01 Intel Corporation Computer product, method, and system to dynamically provide discovery services for host nodes of target systems and storage resources in a network
CN109117265A (en) * 2018-07-12 2019-01-01 北京百度网讯科技有限公司 The method, apparatus, equipment and storage medium of schedule job in the cluster
CN109167835A (en) * 2018-09-13 2019-01-08 重庆邮电大学 A kind of physics resource scheduling method and system based on kubernetes
CN111176803A (en) * 2019-11-06 2020-05-19 腾讯科技(深圳)有限公司 Business processing method, device, server and storage medium
CN111522661A (en) * 2020-04-22 2020-08-11 腾讯科技(深圳)有限公司 A microservice management system, deployment method and related equipment
CN112799825A (en) * 2019-11-13 2021-05-14 中国移动通信有限公司研究院 A task processing method and network device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180063145A1 (en) * 2016-08-24 2018-03-01 Intel Corporation Computer product, method, and system to dynamically provide discovery services for host nodes of target systems and storage resources in a network
CN109117265A (en) * 2018-07-12 2019-01-01 北京百度网讯科技有限公司 The method, apparatus, equipment and storage medium of schedule job in the cluster
CN109167835A (en) * 2018-09-13 2019-01-08 重庆邮电大学 A kind of physics resource scheduling method and system based on kubernetes
CN111176803A (en) * 2019-11-06 2020-05-19 腾讯科技(深圳)有限公司 Business processing method, device, server and storage medium
CN112799825A (en) * 2019-11-13 2021-05-14 中国移动通信有限公司研究院 A task processing method and network device
CN111522661A (en) * 2020-04-22 2020-08-11 腾讯科技(深圳)有限公司 A microservice management system, deployment method and related equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114461149A (en) * 2022-02-09 2022-05-10 镁佳(北京)科技有限公司 K8 s-based distributed data storage method and device
CN115426362A (en) * 2022-08-31 2022-12-02 广东电网有限责任公司 Method and device for processing protection service data, electronic equipment and storage medium
CN115991223A (en) * 2023-03-23 2023-04-21 北京全路通信信号研究设计院集团有限公司 Rail transit computing system and method

Similar Documents

Publication Publication Date Title
CN114040467B (en) A method, device, server and storage medium for determining a transmission path
CN113452758A (en) Service access method and device
WO2020073903A1 (en) Latency-sensitive network communication method and apparatus thereof
US9904566B2 (en) Selecting virtual machine placement by computing network link utilization and link variance
US20120079147A1 (en) Bus control device
CN110896355A (en) Network slice selection method and device
CN109802997B (en) Node equipment selection method and related equipment thereof
CN112084027B (en) Network-on-chip data transmission method, device, network-on-chip, equipment and medium
KR101724552B1 (en) Technologies for aligning network flows to processing resources
CN112039796B (en) Data packet transmission method and device, storage medium and electronic equipment
CN104243405A (en) Request processing method, device and system
WO2022142277A1 (en) Method and system for dynamically adjusting communication architecture
CN111741512B (en) A kind of private network access method and device
US11252078B2 (en) Data transmission method and apparatus
CN115766876A (en) Resource scheduling method, device, equipment and storage medium
CN112737806B (en) Network traffic migration method and device
CN115550456A (en) Service scheduling method and device
CN118509399B (en) A message processing method, device, electronic device and storage medium
CN112492635B (en) Method and device for determining scheduling priority
CN111740922B (en) Data transmission method, device, electronic equipment and medium
KR101800320B1 (en) Network on chip system based on bus protocol, design method for the same and computer readable recording medium in which program of the design method is recorded
CN113316212A (en) Transmission method and device for base station forward data stream
CN108632070B (en) Configuration method and server of virtual network device
CN113472591B (en) Method and device for determining service performance
CN112291778B (en) A kind of network optimization method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210928