CN112188547B - Service processing method and device - Google Patents

Service processing method and device Download PDF

Info

Publication number
CN112188547B
CN112188547B CN202010942458.4A CN202010942458A CN112188547B CN 112188547 B CN112188547 B CN 112188547B CN 202010942458 A CN202010942458 A CN 202010942458A CN 112188547 B CN112188547 B CN 112188547B
Authority
CN
China
Prior art keywords
mec node
mec
service
node
processing
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.)
Active
Application number
CN202010942458.4A
Other languages
Chinese (zh)
Other versions
CN112188547A (en
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
Research Institute of China United Network Communications Corp 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 CN202010942458.4A priority Critical patent/CN112188547B/en
Publication of CN112188547A publication Critical patent/CN112188547A/en
Application granted granted Critical
Publication of CN112188547B publication Critical patent/CN112188547B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/12Wireless traffic scheduling

Abstract

The embodiment of the invention provides a service processing method and device, relates to the technical field of communication, and can improve the service processing efficiency. The method comprises the following steps: the method comprises the steps that under the condition that the residual computing power of a first MEC node is smaller than a first target computing power, the first MEC node sends a first computing power sharing request message to a plurality of MEC nodes; the first MEC node receives a first computing power sharing response message sent by at least one MEC node; the first MEC node determines the service distribution proportion of the target service according to the first target computing power, the residual computing power of the first MEC node and the residual computing power of the at least one MEC node; the first MEC node processes the data message corresponding to the target service according to the first proportion; and the first MEC node respectively sends data messages corresponding to the target service to the at least one MEC node according to the proportion of each MEC node in the at least one MEC node for processing the target service.

Description

Service processing method and device
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a service processing method and device.
Background
Currently, a Mobile Edge Computing (MEC) node is capable of handling traffic of a User Equipment (UE). Specifically, the UE sends a service processing request message to the bearer network device, where the service processing request message is used to process a service, and the service processing request message includes computing power corresponding to the service; since one area may correspond to one MEC node, after receiving the service processing request message, the bearer network device may determine, according to the area where the UE is located, a target MEC node corresponding to the area, and send the service processing request message to the target MEC node, so that the target MEC node processes the service.
However, in the above method, when the remaining computing power of the target MEC node is less than the computing power corresponding to the service, it may need to wait for the target MEC node to complete processing of other services, that is, in a case that the remaining computing power of the target MEC node is sufficient, the target MEC computing power node may process the service smoothly, so that the efficiency of service processing may be low.
Disclosure of Invention
Embodiments of the present invention provide a service processing method and apparatus, where a first MEC node does not need to wait for the first MEC node to complete processing of other services (i.e., does not need to wait for computing power of the first MEC node to be restored) before processing a target service, so that service processing efficiency can be improved.
In a first aspect, an embodiment of the present invention provides a service processing method, including: when the residual computing power of a first MEC node is smaller than a first target computing power, the first MEC node sends a first computing power sharing request message to a plurality of MEC nodes, wherein the first computing power sharing request message is used for requesting the plurality of MEC nodes to assist the first MEC node in processing a target service, and the first target computing power is the computing power corresponding to the target service; the first MEC node receives a first computing power sharing response message sent by at least one MEC node, wherein the first computing power sharing response message comprises the residual computing power of the at least one MEC node, the first computing power sharing response message is used for informing the first MEC node, the at least one MEC node can assist the first MEC node in processing the target service, and the residual computing power of the at least one MEC node is greater than 0; the first MEC node determines a service distribution proportion of the target service according to the first target computing power, the remaining computing power of the first MEC node and the remaining computing power of the at least one MEC node, wherein the service distribution proportion comprises a first proportion and a proportion for each MEC node in the at least one MEC node to process the target service, and the first proportion is a proportion for the first MEC node to process the target service; the first MEC node processes the data message corresponding to the target service according to the first proportion; and the first MEC node respectively sends data messages corresponding to the target service to the at least one MEC node according to the proportion of processing the target service by each MEC node in the at least one MEC node, so that the at least one MEC node processes the data messages.
In a second aspect, an embodiment of the present invention provides a service processing method, including: a second MEC node receives a first force sharing request message sent by a first MEC node, wherein the first force sharing request message is used for requesting the second MEC node to assist the first MEC node in processing a target service; when the remaining computing power of the second MEC node is greater than 0, the second MEC node sends a first computing power sharing response message to the first MEC node, wherein the first computing power sharing response message includes the remaining computing power of the second MEC node, the first computing power sharing response message is used for notifying the first MEC node, and the second MEC node can assist the first MEC node in processing the target service; the second MEC node receives a data packet corresponding to the target service, where the data packet is a data packet corresponding to a second percentage, where the second percentage is a percentage of the target service processed by the second MEC node in a service distribution proportion of the target service, where the service distribution proportion is determined by the first MEC node according to a first target computing power, a remaining computing power of the first MEC node, and a remaining computing power of at least one MEC node that can assist the first MEC node in processing the target service, where the first target computing power is a computing power corresponding to the target service, and the second MEC node is one of the at least one MEC node; the second MEC node processes the data message.
In a third aspect, an embodiment of the present invention provides a service processing apparatus, including: the device comprises a sending module, a receiving module and a processing module; the sending module is configured to send a first computing power sharing request message to a plurality of MEC nodes when the remaining computing power of the service processing apparatus is smaller than a first target computing power, where the first computing power sharing request message is used to request the plurality of MEC nodes to assist the service processing apparatus in processing a target service, and the first target computing power is a computing power corresponding to the target service; the receiving module is configured to receive a first computation power sharing response message sent by at least one MEC node, where the first computation power sharing response message includes a remaining computation power of the at least one MEC node, the first computation power sharing response message is used to notify the service processing apparatus, the at least one MEC node may assist the service processing apparatus in processing the target service, and the remaining computation power of the at least one MEC node is greater than 0; the processing module is configured to determine a service distribution proportion of the target service according to the first target computing power, the remaining computing power of the service processing apparatus, and the remaining computing power of the at least one MEC node, where the service distribution proportion includes a first proportion and a proportion of each MEC node in the at least one MEC node to process the target service, and the first proportion is a proportion of the service processing apparatus to process the target service; processing the data message corresponding to the target service according to the first proportion; the sending module is further configured to send data packets corresponding to the target service to the at least one MEC node according to the proportion of each MEC node in the at least one MEC node for processing the target service, so that the at least one MEC node processes the data packets.
In a fourth aspect, an embodiment of the present invention provides a service processing apparatus, including: the device comprises a receiving module, a sending module and a processing module; the receiving module is configured to receive a first computation power sharing request message sent by a first MEC node, where the first computation power sharing request message is used to request the service processing apparatus to assist the first MEC node in processing a target service; the sending module is configured to send a first computation power sharing response message to the first MEC node when the remaining computation power of the service processing apparatus is greater than 0, where the first computation power sharing response message includes the remaining computation power of the service processing apparatus, and the first computation power sharing response message is used to notify the first MEC node, and the service processing apparatus may assist the first MEC node in processing the target service; the receiving module is further configured to receive a data packet corresponding to the target service, where the data packet is a data packet corresponding to a second percentage, where the second percentage is a percentage in which the service processing device processes the target service in a service distribution proportion of the target service, where the service distribution proportion is determined by the first MEC node according to a first target computing power, a remaining computing power of the first MEC node, and a remaining computing power of at least one MEC node that can assist the first MEC node in processing the target service, where the first target computing power is a computing power corresponding to the target service, and the service processing device is one of the at least one MEC node; the processing module is used for processing the data message.
In a fifth aspect, an embodiment of the present invention provides another service processing 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 processing device runs, the processor executes the computer execution instructions stored in the memory, so that the service processing device executes the service processing method provided by the first aspect.
In a sixth aspect, an embodiment of the present invention provides another service processing 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 processing device runs, the processor executes the computer execution instructions stored in the memory, so that the service processing device executes the service processing method provided by the second aspect.
In a seventh aspect, an embodiment of the present invention provides a computer-readable storage medium, which includes instructions, and when the computer-readable storage medium is executed on a service processing apparatus, the service processing apparatus is caused to execute a service processing method provided in the foregoing first aspect.
In an eighth aspect, an embodiment of the present invention provides a computer-readable storage medium, which includes instructions, and when the computer-readable storage medium is run on a service processing apparatus, the service processing apparatus is caused to execute a service processing method provided in the second aspect.
In a ninth aspect, an embodiment of the present invention provides a computer program product including instructions, which, when running on a computer, causes the computer to execute the service processing method according to the first aspect and any one of the implementation manners.
In a tenth aspect, an embodiment of the present invention provides a computer program product including instructions, which, when run on a computer, causes the computer to execute the service processing method of the second aspect and any implementation manner thereof.
In the service processing method and apparatus provided in the embodiment of the present invention, when the remaining computing power of the first MEC node is less than the first target computing power (i.e., the computing power corresponding to the target service), the first MEC node sends a first computing power sharing request message to the multiple MEC nodes, where the computing power sharing request message is used to request the multiple MEC nodes to assist the first MEC node in assisting in processing the target service; and then, when determining that the residual computing power of at least one MEC node (for example, a second MEC node) in the plurality of MEC nodes is greater than 0, sending a first computing power sharing response message to the first MEC node, that is, notifying the first MEC node that the second MEC node can assist the first MEC node in processing the target service, so that the first MEC node can acquire the residual computing power of the at least one MEC node. Then, the first MEC node determines a service distribution proportion of the target service according to the first target computing power, the remaining computing power of the first MEC node and the remaining computing power of at least one MEC node, wherein the service distribution proportion comprises a first occupation ratio (namely the occupation ratio of the first MEC node to process the target service) and occupation ratios of each MEC node in the at least one MEC node to process the target service; further, the first MEC node processes the data message corresponding to the target service according to the first proportion, and the first MEC node sends the data message corresponding to the target service to at least one MEC node according to the proportion of each MEC node in the at least one MEC node for processing the target service; and then at least one MEC node assists the first MEC node in processing the data message corresponding to the target service. In the embodiment of the invention, the first MEC node requests the plurality of MEC nodes to assist the processing target service under the condition that the first MEC node does not have enough computing power to support the processing target service, so that the first MEC node does not need to wait for the processing target service after the first MEC node completes the processing of other services (namely, does not need to wait for the computing power of the first MEC node to be recovered), and the processing efficiency of the service can be 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 5G communication system according to an embodiment of the present invention;
fig. 2 is a hardware schematic diagram of a server according to an embodiment of the present invention;
fig. 3 is a first schematic diagram of a communication method according to an embodiment of the present invention;
fig. 4 is a second schematic diagram of a communication method according to an embodiment of the present invention;
fig. 5 is a first schematic structural diagram of a first MEC node according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a first MEC node according to an embodiment of the present invention;
fig. 7 is a first schematic structural diagram of a second MEC node according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a second MEC node according to an embodiment of the present invention.
Detailed Description
The following describes in detail a service processing method and apparatus provided in an embodiment of the present invention with reference to the accompanying drawings.
The terms "first" and "second" etc. in the description and drawings of the present application are used to distinguish different objects and not to describe a particular order of objects, e.g. a first MEC node and a second MEC node etc. are used to distinguish different MEC nodes and not to describe a particular order of MEC nodes.
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 method and an apparatus for processing a service, where when a remaining computing power of a first MEC node is less than a first target computing power (i.e., a computing power corresponding to a target service), the first MEC node sends a first computing power sharing request message to a plurality of MEC nodes, where the computing power sharing request message is used to request the plurality of MEC nodes to assist the first MEC node in assisting in processing the target service; and then, when determining that the residual computing power of at least one MEC node (for example, a second MEC node) in the plurality of MEC nodes is greater than 0, sending a first computing power sharing response message to the first MEC node, that is, notifying the first MEC node that the second MEC node can assist the first MEC node in processing the target service, so that the first MEC node can acquire the residual computing power of the at least one MEC node. Then, the first MEC node determines a service distribution proportion of the target service according to the first target computing power, the remaining computing power of the first MEC node and the remaining computing power of at least one MEC node, wherein the service distribution proportion comprises a first occupation ratio (namely the occupation ratio of the first MEC node to process the target service) and occupation ratios of each MEC node in the at least one MEC node to process the target service; further, the first MEC node processes the data message corresponding to the target service according to the first proportion, and the first MEC node sends the data message corresponding to the target service to at least one MEC node according to the proportion of each MEC node in the at least one MEC node for processing the target service; and then at least one MEC node assists the first MEC node in processing the data message corresponding to the target service. In the embodiment of the invention, the first MEC node requests the plurality of MEC nodes to assist the processing target service under the condition that the first MEC node does not have enough computing power to support the processing target service, so that the first MEC node does not need to wait for the processing target service after the first MEC node completes the processing of other services (namely, does not need to wait for the computing power of the first MEC node to be recovered), and the processing efficiency of the service can be improved.
The service processing method and apparatus provided in the embodiment of the present invention may be applied to a wireless communication system, and taking the wireless communication system as a 5G communication system as an example, as shown in fig. 1, the 5G communication system includes a UE101, a network device 102, a bearer network device 103, a service processing system 104, and a 5G core network (5G core network, 5GC) device. Specifically, the business processing system 104 includes an MEC node 1041, an MEC node 1042, an MEC node 1043, an MEC node 1044, an MEC node 1045, an MEC node 1046, and an MEC node 1047. In general, in practical applications, the connections between the above-mentioned devices or service functions may be wireless connections, and fig. 1 illustrates the connections between the devices by solid lines for convenience of intuitively representing the connections between the devices.
The network device 102 is used for the UE101 to access a network, and the network device 102 may include a base station, an evolved node base (eNB), a next generation base station (gNB), a new radio base station (new radio eNB), a macro base station, a micro base station, a high frequency base station or a Transmission and Reception Point (TRP), a non-third generation partnership project (3 GPP) access network (such as WiFi), and/or a non-3GPP interworking function (N3 GPP IWF), and the like.
The MEC node 1041 is configured to receive, from the bearer network device 103, a service processing request message sent by the UE101, and process a target service. In this embodiment of the present invention, the MEC node 1041 is further configured to send a first computation sharing request message to other MEC nodes (for example, MEC node 1042, MEC node 1043, MEC node 1044, and MEC node 1045) to request the other MEC nodes to assist the MEC node 1041 in processing the target service, when the remaining computation is smaller than the first target computation.
Optionally, in this embodiment of the present invention, the MEC node and the like may be independent devices, or may be a server integrated with functions of the MEC node.
For example, the hardware structure of the MEC node is described by taking the example that the functions of the MEC node are integrated in a server. As shown in fig. 2, the server 20 includes a processor 201, a memory 202, a network interface 203, and the like.
The processor 201 is a core component of the server 20, and the processor 201 is configured to run an operating system of the server 20 and application programs (including a system application program and a third-party application program) on the server 20, so as to implement a service processing method performed by the server 20.
In this embodiment, the processor 201 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 201 of the server 20 includes one or more CPUs, which are single-core CPUs (single-CPUs) or multi-core CPUs (multi-CPUs).
The memory 202 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 202 holds the code for the operating system.
Optionally, the processor 201 implements the service processing method in the embodiment of the present invention by reading the instruction stored in the memory 202, or the processor 201 implements the service processing method provided in the embodiment of the present invention by using an instruction stored inside. In the case that the processor 201 implements the service processing 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 processing method provided by the embodiment of the present invention.
The network interface 203 is a wired interface, such as a Fiber Distributed Data Interface (FDDI) interface or a Gigabit Ethernet (GE) interface. Alternatively, the network interface 203 is a wireless interface. The network interface 203 is used for the server 20 to communicate with other devices.
The memory 202 is used to store the remaining computing power of the server 20. Optionally, the memory 202 is further configured to store the first target computation power, the remaining computation power of the at least one MEC node, and the like. The at least one processor 201 further performs the method described in the embodiments of the present invention according to the remaining computing power of the server 20, the first target computing power and the remaining computing power of the at least one MEC node, which are stored in the memory 202. For more details of the above functions implemented by the processor 201, reference is made to the following description of various method embodiments.
Optionally, the server 20 further includes a bus, and the processor 201 and the memory 202 are connected to each other through the bus 204, or in other manners.
Optionally, the server 20 further includes an input/output interface 205, where the input/output interface 205 is configured to connect with an input device, and receive a service processing request message of a target service 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 205 is also used for connecting with an output device, and outputting the service processing result (i.e. the service allocation ratio of the target service) of the processor 201. Output devices include, but are not limited to, a display, a printer, and the like.
In the embodiment of the present invention, in an MEC node processing service scenario, when a residual computing power of a certain MEC node (e.g., a first MEC node) is insufficient, at least one MEC node needs to be determined to assist the first MEC node in processing a target service.
With reference to the communication system shown in fig. 1, taking the first MEC node as the MEC node 1041 in fig. 1 as an example, the service processing method provided by the embodiment of the present invention is completely described from the perspective of interaction of each device in the service processing system 104 of the communication system, so as to illustrate a process in which the first MEC node determines at least one MEC node that can assist the first MEC node in processing the target service and performs service processing.
As shown in fig. 3, the service processing method provided by the embodiment of the present invention may include S101-S108.
S101, the first MEC node acquires a service processing request message of a target service.
Wherein, the service processing request message includes the calculation power corresponding to the target service. In the embodiment of the invention, the computing power corresponding to the target service is collectively referred to as the first target computing power.
It should be understood that, when the UE has a target service that needs to request the first MEC node to process, the network device may send a service processing request message of the target service to the bearer network device, and the bearer network device sends the service processing request message to the first MEC node, so that the first MEC node processes the target service.
S102, under the condition that the residual computing power of the first MEC node is smaller than the first target computing power, the first MEC node sends a first computing power sharing request message to the MEC nodes.
Wherein the first allocation request message is used for requesting the plurality of MEC nodes to assist the first MEC node in processing the target service.
It is to be understood that, when the remaining computing power of the first MEC node is less than the first target computing power, it indicates that the first MEC node has insufficient computing power to support its own processing of the target service, and at this time, the first MEC node may send a first computing power sharing request message to the multiple MEC nodes, requesting the multiple MEC nodes to assist the first MEC node in processing the target service, that is, requesting the multiple MEC nodes to assist the first MEC node in sharing the first target computing power.
The plurality of MEC nodes are MEC nodes having a connection relationship with the first MEC node. That is, when the remaining computation power of the first MEC node is less than the first target computation power, the first MEC node sends a first computation power sharing request message to a plurality of MEC nodes having a connection relationship with the first MEC node.
For example, as shown in fig. 1, assuming that the first MEC node is an MEC node 1041, the multiple MEC nodes are an MEC node 1042, an MEC node 1043, an MEC node 1044, and an MEC node 1045, and the MEC node 1041 sends the first computation sharing request message to the MEC node 1042, the MEC node 1043, the MEC node 1044, and the MEC node 1045, respectively.
Table 1 below shows an example of a message format of the first computing power sharing request message, where the first computing power sharing request message includes identification information of a first MEC node, an Internet Protocol (IP) address of the first MEC node, used computing power of the first MEC node, remaining computing power of the first MEC node, and a first target computing power, as shown in table 1.
TABLE 1
Figure BDA0002674096290000091
From table 1, it can be determined that the remaining computation power of the first MEC node is less than the first target computation power, and the first MEC node needs the computation power of 10k (thousand) operations per second (TOPS) shared by the plurality of MEC nodes to complete the processing of the target service.
S103, the MEC nodes receive a first calculation power sharing request message sent by the first MEC node.
And S104, under the condition that the residual computing power of at least one MEC node is greater than 0, at least one MEC node sends a first computing power sharing response message to the first MEC node.
It is to be understood that the at least one MEC node is one or more of the plurality of MEC nodes each having sent a first algorithm sharing response message to the first MEC node, respectively. The first computing power sharing response message includes the remaining computing power of the at least one MEC node, and the first computing power sharing response message is used for notifying the first MEC node, and the at least one MEC node may assist the first MEC node in processing the target service.
It is to be understood that the remaining computing power of at least one MEC node being greater than 0 indicates that the at least one MEC node is capable of processing the traffic, and it is also to be understood that the at least one MEC node is capable of assisting the first MEC node in processing the target traffic, where each MEC node of the at least one MEC node may send the first computing power sharing response message to the first MEC node.
For example, with reference to table 1, assuming that the second MEC node is one of the at least one MEC node, as shown in table 2, the second MEC node is an example of a message format of a first computation power sharing response message sent to the first MEC node by the second MEC node, where the first computation power sharing response message includes, in addition to information included in the first computation power sharing request message, second MEC node identification information, an IP address of the second MEC node, and remaining computation power of the second MEC node. The second MEC node is a response node corresponding to the first MEC node, that is, a node responding to the first force sharing request message.
TABLE 2
Figure BDA0002674096290000101
From table 2, it can be determined that the remaining computing power of the second MEC node is greater than 0 and that the second MEC node can share the computing power of 5k TOPS for the first MEC node at most.
S105, the first MEC node receives a first computing power sharing response message sent by at least one MEC node.
In conjunction with the description of the above embodiments, it should be understood that the remaining computing power of the at least one MEC node is included in the first computing power sharing response message, and the first computing power sharing response message is used to notify the first MEC node that the at least one MEC node may assist the first MEC node in processing the target service.
It can be understood that, after the plurality of MEC nodes receive the first computation power sharing request message sent by the first MEC node, at least one MEC node with a remaining computation power greater than 0 in the plurality of MEC nodes may send a first computation power sharing response message to the first MEC node, that is, notify the first MEC node that it may assist the first MEC node in processing the target service.
S106, the first MEC node determines the service distribution proportion of the target service according to the first target computing power, the residual computing power of the first MEC node and the residual computing power of at least one MEC node.
The service distribution proportion of the target service comprises a first occupation ratio and occupation ratios of processing the target service by each MEC node in at least one MEC node, wherein the first occupation ratio is the occupation ratio of processing the target service by the first MEC node.
In an implementation manner of the embodiment of the present invention, when the first MEC node needs all of the at least one MEC node to participate in the processing process of the target service (that is, the first MEC node selects all MEC nodes responding to the first computation sharing response message to assist the MEC node in processing the target service), the step S106 may be implemented by the step a to the step C.
And step A, the first MEC node determines the sum of the calculation power to be allocated of the first MEC node and the calculation power to be allocated of at least one MEC node according to the first target calculation power and the residual calculation power of the first MEC node.
The calculation capacity to be shared of the first MEC node is the residual calculation capacity of the first MEC node, and the sum of the calculation capacities to be shared of the at least one MEC node is the difference value between the first target calculation capacity and the residual calculation capacity of the first MEC node.
And step B, the first MEC node determines the contribution computing power of each MEC node in the at least one MEC node according to the sum of the residual computing power of the at least one MEC node and the contribution computing power of the at least one MEC node.
Optionally, the chargeable budget of one MEC node of the at least one MEC node satisfies:
Figure BDA0002674096290000111
wherein, ω is1Representing the contribution of an MEC node0Representing a sum of deserved budget forces, ω'1Represents the residual computing power, ω'0Representing the total remaining computation power of the at least one MEC node (i.e., the sum of the remaining computation power of each of the at least one MEC node).
In connection with the above example in fig. 1, it is assumed that the remaining computation power of the plurality of MEC nodes is greater than 0, that is, the at least one MEC node includes MEC node 1042, MEC node 1043, MEC node 1044, and MEC node 1045. Further, assuming that the residual computing powers of the 4 MEC nodes are all 5k TOPS, the first target computing power is 20k TOPS, and the residual computing power of the first MEC node is 10k TOPS, the first MEC node determines that the total computing power to be allocated to the 4 MEC nodes is 10k TOPS, and further determines that the respective computing powers to be allocated to the 4 MEC nodes are all 2.5k TOPS.
And step C, the first MEC node determines the service distribution proportion of the target service according to the contribution calculation force of the first MEC node and the contribution calculation force of each MEC node in at least one MEC node.
The service distribution proportion is a ratio of the calculation power to be distributed of the first MEC node to the calculation power to be distributed of each MEC node in the at least one MEC node.
With reference to the example in step B, the first MEC node determines that the traffic distribution ratio of the target traffic is 4:1:1:1: 1. Specifically, the plurality of ratios included in the traffic distribution ratio are 0.5 (first ratio), 0.125, and 0.125, respectively.
In another implementation manner of the embodiment of the present invention, the first MEC node may also select a part of MEC nodes (i.e., one or more MEC nodes) from the at least one MEC node to assist the at least one MEC node in processing the target service, and specifically, the step S106 may also be implemented by steps D to G.
And D, the first MEC node determines the sum of the calculation power to be allocated of the first MEC node and the calculation power to be allocated of at least one MEC node according to the first target calculation power and the residual calculation power of the first MEC node.
The calculation capacity to be shared of the first MEC node is the residual calculation capacity of the first MEC node, and the sum of the calculation capacities to be shared of the at least one MEC node is the difference value between the first target calculation capacity and the residual calculation capacity of the first MEC node.
And E, the first MEC node determines whether the residual computing power of the second MEC node is larger than or equal to the sum of the computing powers to be allocated of at least one MEC node.
Wherein the second MEC node is an MEC node with the largest residual computational power in the at least one MEC node.
And F, under the condition that the residual computing power of the second MEC node is larger than or equal to the sum of the distributable computing powers of the at least one MEC node, the first MEC node determines the sum of the distributable computing powers of the at least one MEC node as the distributable computing power of the second MEC node.
And G, the first MEC node determines the ratio of the calculation power to be shared of the first MEC node to the calculation power to be shared of the second MEC node as the service distribution proportion of the target service.
It should be understood that, at this time, the first MEC node and the second MEC node can share the first target power, that is, the first MEC node can complete the processing of the target service with the assistance of the second MEC node.
Optionally, in case the first MEC node determines that the remaining computing power of the second MEC node is less than the sum of the accrued computing powers of at least one MEC node, the first MEC node determines the remaining computing power of the second MEC node as the accrued computing power of the second MEC node, and the first MEC node determines whether the remaining computing power of the third MEC node is greater than or equal to the accrued computing power difference.
The third MEC node is an MEC node with the largest residual calculation force except the second MEC node in the at least one MEC node, and the difference value of the calculation forces to be allocated is the difference value between the sum of the calculation forces to be allocated of the at least one MEC node and the calculation force to be allocated of the second MEC node.
Similarly, if the remaining computing power of the third MEC node is greater than or equal to the difference between the calculation forces to be shared, the first MEC node determines the difference between the calculation forces to be distributed as the calculation force to be distributed of the third MEC node, and at this time, the service distribution proportion of the target service is the ratio of the calculation force to be distributed of the first MEC node to the calculation force to be distributed of the second MEC node and the calculation force to be distributed of the third MEC node; otherwise, the first MEC node continues to determine the assignable computing power of the fourth MEC node based on the remaining computing power of the MEC node with smaller remaining computing power (e.g., the fourth MEC node) until the sum of the assignable computing powers of the at least one MEC node is distributed.
In connection with the example in S102 described above, it is assumed that the remaining computation forces of the MEC node 1041, the MEC node 1042, the MEC node 1043, the MEC node 1044, and the MEC node 1045 in fig. 1 are 10k TOPS, 5k TOPS, 4k TOPS, 3k TOPS, and 2k TOPS, respectively, and the first target computation force is 20k TOPS. The first MEC node (i.e., MEC node 1041) determines that the allocated forces of the first MEC node, the second MEC node (i.e., MEC node 1042), the third MEC node (i.e., MEC node 1043), and the fourth MEC node (i.e., MEC node 1044) are 10k TOPS, 5k TOPS, 4k TOPS, and 1k TOPS in sequence, and the traffic allocation ratio of the target traffic is 10:5:4: 1. Wherein the first occupation ratio is 0.5, the second occupation ratio (i.e., occupation ratio of the second MEC node to process the target service) is 0.25, the third occupation ratio (i.e., occupation ratio of the third MEC node to process the target service) is 0.2, and the fourth occupation ratio (i.e., occupation ratio of the fourth MEC node to process the target service) is 0.05.
In an implementation manner of the embodiment of the present invention, the first computing power sharing response message sent by at least one MEC node and received by the first MEC node may further include a timestamp corresponding to the first computing power sharing response message, and the first MEC node may determine the service allocation proportion of the target service according to the timestamp corresponding to the first computing power sharing response message. Specifically, under the condition that the residual computing power of each MEC node in at least one MEC node is the same, the first MEC node selects n MEC nodes with the earliest time stamp from the at least one MEC node, and determines the respective assigned computing power of the n MEC nodes according to the residual computing power of the n MEC nodes until the sum of the assigned computing powers of the at least one MEC node is completely shared.
Exemplarily, in connection with the example in S102 described above, it is assumed that the remaining computing power of the MEC node 1041 in fig. 1 is 10k TOPS, the first target computing power is 20k TOPS, and the remaining computing powers of the MEC node 1042, the MEC node 1043, the MEC node 1044, and the MEC node 1045 are all 5k TOPS. It is further assumed that the time stamps corresponding to the first computation power sharing response message sent by the MEC node 1042, the MEC node 1043, the MEC node 1044, and the MEC node 1045 to the MEC node 1041 respectively are sequentially arranged as the MEC node 1042, the MEC node 1043, the MEC node 1044, and the MEC node 1045. The first MEC node (i.e., MEC node 1041) determines that the 2 MEC nodes with earliest timestamp, i.e., MEC node 1042 and MEC node 1043 assist them in processing the target traffic, and the respective accounts receivable power of MEC node 1042 and MEC node 1043 are both 5k TOPS, at this time, the first MEC node determines that the traffic distribution ratio of the target traffic is 2:1:1, wherein the first occupancy is 0.5, the occupancy of MEC node 1042 for processing the target traffic is 0.25, and the occupancy of MEC node 1043 for processing the target traffic is 0.25.
And S107, the first MEC node processes the data message corresponding to the target service according to the first proportion.
It should be understood that the first percentage is a percentage of the first MEC node to process the target service, and specifically, the first percentage is a percentage of the first MEC node in the service allocation proportion.
S108, the first MEC node sends data messages corresponding to the target services to the at least one MEC node according to the proportion of each MEC node in the at least one MEC node for processing the target services, so that the at least one MEC node processes the data messages corresponding to the target services.
In an implementation manner of the embodiment of the present invention, after the step S106, the method further includes:
the first MEC node generates at least one routing information. Specifically, one piece of routing information is used to instruct the first MEC node to send the data packet of the target service to the corresponding MEC node.
It should be understood that, after the first MEC node determines the traffic distribution ratio of the target traffic, the first MEC node may generate at least one routing information according to the proportion of each MEC node in the at least one MEC node included in the traffic distribution ratio to process the target traffic, where the at least one routing information is used for routing the data packet of the target traffic to the at least one MEC node.
Taking the second MEC node as one of the at least one MEC node as an example, the first MEC node may generate first routing information, where the first routing information is used to instruct the first MEC node to send a data packet of a target service corresponding to the second duty ratio to the second MEC node, and the second duty ratio is a duty ratio of processing the target service by the second MEC node.
In one implementation, the first MEC node may further determine an MEC node (e.g., a second MEC node) from the at least one MEC node, and assist the first MEC node in processing the target traffic by the second MEC node. As shown in fig. 4, the service processing method provided in the embodiment of the present invention may include S201 to S212:
s201, the first MEC node acquires a service processing request message of the target service.
The service processing request message includes a first computing power corresponding to the target service.
S202, when the remaining computing power of the first MEC node is less than the first target computing power, the first MEC node sends a first computing power sharing request message to the multiple MEC nodes.
S203, the multiple MEC nodes receive the first calculation sharing request message sent by the first MEC node.
S204, under the condition that the residual computing power of at least one MEC node is greater than 0, at least one MEC node sends a first computing power sharing response message to the first MEC node.
It should be understood that the first computation force sharing response message sent by each MEC node in the at least one MEC node to the first MEC node includes a timestamp corresponding to each of the at least one computation force sharing response message, that is, one computation force sharing response message includes a timestamp corresponding to the computation force sharing response message.
S205, the first MEC node receives a first computation sharing response message sent by at least one MEC node.
S206, the first MEC node determines a second MEC node from the at least one MEC node.
It should be understood that the second MEC node is an MEC node corresponding to the power sharing response message with the earliest timestamp among the plurality of MEC nodes. In this embodiment of the present invention, the first MEC node may receive the first accounting allocation response message of each MEC node in the at least one MEC node, but only select one second MEC node from the at least one MEC node that sends the first accounting allocation response message earliest, and instruct the second MEC node to assist the second MEC node in processing the target service.
S207, the first MEC node determines the service distribution proportion of the target service according to the first target calculation power and the residual calculation power of the first MEC node.
The service distribution proportion of the target service comprises a first proportion and a second proportion, wherein the first proportion is the proportion of the first MEC node for processing the target service, and the second proportion is the proportion of the second MEC node for processing the target service.
In an implementation manner of the embodiment of the present invention, a first MEC node determines a remaining computing power of the first MEC node as an accrual computing power of the first MEC node, determines a difference between a first target computing power and the remaining computing power of the first MEC node as an accrual computing power of a second MEC node, and allocates a proportion of a target service to a ratio between the accrual computing power of the first MEC node and the accrual computing power of the second MEC node.
It is to be understood that when the at least one MEC node is one (i.e. the second MEC node), the first MEC node may determine that the number of MEC nodes to process the target traffic is 2, i.e. the first MEC node and the second MEC node. The first MEC node can determine the calculation power which should be allocated to the second MEC node under the condition of determining the calculation power which should be allocated to the first MEC node and the first calculation power, so that the processing of the target service can be directly completed when the residual calculation power of the second MEC node is sufficient without being based on the residual calculation power of the second MEC node, and the second MEC node can also determine other MEC nodes which can assist the second MEC node in processing the target service when the residual calculation power of the second MEC node is insufficient.
And S208, the first MEC node processes the data message corresponding to the target service according to the first proportion.
S209, the first MEC node sends the data packet corresponding to the target service to the second MEC node according to the second percentage, so that the second MEC node processes the data packet corresponding to the target service.
With reference to the description of the foregoing embodiment, it should be understood that, after S207, the first MEC node may generate first routing information, where the first routing information is used to instruct the first MEC node to send the data packet of the target service corresponding to the second percentage to the second MEC node.
Optionally, after S209, the service processing method provided in the embodiment of the present invention further includes: and when the residual computing power of the first MEC node is greater than or equal to the first target computing power, deleting the first routing information by the first MEC node.
It should be understood that after S209, when the remaining computing power of the first MEC node is greater than or equal to the first target computing power, it indicates that the computing power of the first MEC node may have been restored, the first MEC node has sufficient computing power to meet the computing power requirement of the target service, and the first MEC node does not need to send the data packet to the second MEC node any more, that is, the first MEC node does not need the second MEC node to assist in processing the target service.
S210, the second MEC node receives a data message corresponding to the target service.
The data packet corresponding to the target service is a data packet corresponding to a second percentage, where the second percentage is a percentage of the target service processed by the second MEC node in a service distribution proportion of the target service, the service distribution proportion is determined by the first MEC node according to a first target computing power, a remaining computing power of the first MEC node, and a remaining computing power of at least one MEC node that can assist the first MEC node in processing the target service, the first target computing power is a computing power corresponding to the target service, and the second MEC node is one of the at least one MEC node.
And S211, the second MEC node receives computing force indication information.
The computing power indication information indicates a second target computing power required for processing a data packet corresponding to a second accounting ratio, that is, indicates how much computing power is required by the second MEC node to process the target service, where the second accounting ratio is an accounting ratio of the second MEC node to process the target service.
S212, the second MEC node processes the data message corresponding to the target service.
In the embodiment of the present invention, the remaining computation power of the second MEC node may be smaller than the second target computation power, that is, with the assistance of the second MEC node, the first MEC node may still not complete the processing of the target service, so that the second MEC node needs to determine that another MEC node assists the second MEC node in processing the target service, that is, indirectly assist the first MEC node in processing the target service, which may specifically be implemented by the following steps H to L.
And step H, under the condition that the residual computing power of the second MEC node is smaller than the second target computing power, the second MEC node sends a second computing power sharing request message to the plurality of MEC nodes.
In conjunction with the description of the above embodiments, it should be understood that the plurality of MEC nodes are MEC nodes having a connection relationship with the second MEC node. The second computation power sharing request message is used for requesting the plurality of MEC nodes to assist the second MEC node in processing the data message.
For example, as shown in fig. 1, assuming that the second MEC node is MEC node 1042, the MEC nodes are MEC node 1041, MEC node 1046, and MEC node 1047. It should be understood that when MEC node 1041 is the first MEC node described above, MEC node 1041 may also serve as one of the plurality of MEC nodes, i.e. MEC node 1042 may send a second accounting off request message to MEC node 1041, but MEC node 1041 does not respond.
And step I, the first MEC node receives a second calculation power sharing response message sent by at least one MEC node in the plurality of MEC nodes.
The second computing power response message includes the remaining computing power of at least one MEC node, the second computing power sharing response message is used to notify the second MEC node, the at least one MEC node may assist the second MEC node in processing the data packet, and the remaining computing power of the at least one MEC node is greater than 0.
And step J, the second MEC node determines the message distribution proportion of the data message according to the second target computing power, the residual computing power of the second MEC node and the residual computing power of at least one MEC node.
The message distribution proportion comprises a first distribution proportion and a proportion of each MEC node in at least one MEC node processing the data message, wherein the first distribution proportion is the proportion of the second MEC node processing the data message.
And step K, the second MEC node processes the data message according to the first allocation ratio.
And step L, the second MEC node respectively sends the data message to at least one MEC node according to the proportion of processing the data message by each MEC node in the at least one MEC node, so that the at least one MEC node processes the data message.
It should be understood that the explanation of steps I-L is similar to the above description of S105-S108, and is not repeated here.
The embodiment of the invention provides a service processing method, wherein when the residual computing power of a first MEC node is less than a first target computing power (namely, the computing power corresponding to a target service), the first MEC node sends a first computing power sharing request message to a plurality of MEC nodes, and the computing power sharing request message is used for requesting the plurality of MEC nodes to assist the first MEC node in assisting in processing the target service; and then, when determining that the residual computing power of at least one MEC node (for example, a second MEC node) in the plurality of MEC nodes is greater than 0, sending a first computing power sharing response message to the first MEC node, that is, notifying the first MEC node that the second MEC node can assist the first MEC node in processing the target service, so that the first MEC node can acquire the residual computing power of the at least one MEC node. Then, the first MEC node determines a service distribution proportion of the target service according to the first target computing power, the remaining computing power of the first MEC node and the remaining computing power of at least one MEC node, wherein the service distribution proportion comprises a first occupation ratio (namely the occupation ratio of the first MEC node to process the target service) and occupation ratios of each MEC node in the at least one MEC node to process the target service; further, the first MEC node processes the data message corresponding to the target service according to the first proportion, and the first MEC node sends the data message corresponding to the target service to at least one MEC node according to the proportion of each MEC node in the at least one MEC node for processing the target service; and then at least one MEC node assists the first MEC node in processing the data message corresponding to the target service. In the embodiment of the invention, the first MEC node requests the plurality of MEC nodes to assist the processing target service under the condition that the first MEC node does not have enough computing power to support the processing target service, so that the first MEC node does not need to wait for the processing target service after the first MEC node completes the processing of other services (namely, does not need to wait for the computing power of the first MEC node to be recovered), and the processing efficiency of the service can be improved.
In the embodiment of the present invention, functional modules may be divided according to the above method example, 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 the case of dividing each functional module by corresponding functions, fig. 5 shows a possible structural schematic diagram of the first MEC node involved in the foregoing embodiment, as shown in fig. 5, the first MEC node 30 may include: a sending module 301, a receiving module 302 and a processing module 303.
A sending module 301, configured to send a first computation power sharing request message to multiple MEC nodes when the remaining computation power of the first MEC node 30 is less than a first target computation power, where the first computation power sharing request message is used to request the multiple MEC nodes to assist the first MEC node 30 in processing a target service, and the first target computation power is a computation power corresponding to the target service.
A receiving module 302, configured to receive a first computation power sharing response message sent by at least one MEC node, where the first computation power sharing response message includes a remaining computation power of the at least one MEC node, and the first computation power sharing response message is used to notify the first MEC node 30, where the at least one MEC node may assist the first MEC node 30 in processing the target service, and the remaining computation power of the at least one MEC node is greater than 0.
A processing module 303, configured to determine a service distribution proportion of the target service according to the first target computing power, the remaining computing power of the first MEC node 30, and the remaining computing power of the at least one MEC node, where the service distribution proportion includes a first proportion and a proportion for each MEC node of the at least one MEC node to process the target service, and the first proportion is a proportion for the first MEC node 30 to process the target service; and processing the data message corresponding to the target service according to the first proportion.
The sending module 301 is further configured to send, to each MEC node in the at least one MEC node, a data packet corresponding to the target service according to the proportion of the target service processed by each MEC node in the at least one MEC node, so that the at least one MEC node processes the data packet.
Optionally, the processing module 303 is further configured to generate first routing information, where the first routing information is used to instruct the first MEC node 30 to send a data packet of a target service corresponding to a second occupation ratio to a second MEC node, where the second occupation ratio is an occupation ratio of the second MEC node to process the target service, and the second MEC node is one of the at least one MEC node.
Optionally, the processing module 303 is further configured to delete the first routing information when the remaining computation power of the first MEC node 30 is greater than or equal to the first target computation power.
In case of integrated units, fig. 6 shows a possible structural schematic of the first MEC node involved in the above embodiments. As shown in fig. 6, the first MEC node 40 may include: a processing module 401 and a communication module 402. The processing module 401 may be configured to control and manage the actions of the first MEC node 40. The communication module 402 may be used to support communication of the first MEC node 40 with other entities. Optionally, as shown in fig. 6, the first MEC node 40 may further include a storage module 403 for storing program codes and data of the first MEC node 40.
The processing module 401 may be a processor or a controller (for example, the processor 201 shown in fig. 2). The communication module 402 may be a transceiver, a transceiver circuit, a communication interface, etc. (e.g., may be the network interface 203 as shown in fig. 2 described above). The storage module 403 may be a memory (e.g., may be the memory 202 described above and shown in fig. 2).
When the processing module 401 is a processor, the communication module 402 is a transceiver, and the storage module 403 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 each functional module by corresponding functions, fig. 7 shows a possible structural schematic diagram of the second MEC node involved in the foregoing embodiment, as shown in fig. 7, the second MEC node 50 may include: a receiving module 501, a sending module 502 and a processing module 503.
A receiving module 501, configured to receive a first computation power sharing request message sent by a first MEC node, where the first computation power sharing request message is used to request the second MEC node 50 to assist the first MEC node in processing a target service.
A sending module 502, configured to send a first computation power sharing response message to the first MEC node when the remaining computation power of the second MEC node 50 is greater than 0, where the first computation power sharing response message includes the remaining computation power of the second MEC node 50, and the first computation power sharing response message is used to notify the first MEC node, and the second MEC node 50 may assist the first MEC node in processing the target service.
The receiving module 501 is further configured to receive a data packet corresponding to the target service, where the data packet is a data packet corresponding to a second percentage, where the second percentage is a percentage of a service distribution proportion of the target service, where the service distribution proportion is determined by the first MEC node according to a first target computing power, a remaining computing power of the first MEC node, and a remaining computing power of at least one MEC node that can assist the first MEC node in processing the target service, the first target computing power is a computing power corresponding to the target service, and the second MEC node 50 is one of the at least one MEC node.
The processing module 503 is configured to process the data packet.
Optionally, the receiving module 501 is further configured to receive computation force indication information, where the computation force indication information indicates a second target computation force required for processing the data packet corresponding to the second percentage.
The sending module 502 is further configured to send a second computation power sharing request message to the multiple MEC nodes when the remaining computation power of the second MEC node 50 is smaller than the second target computation power, where the second computation power sharing request message is used to request the multiple MEC nodes to assist the second MEC node 50 in processing the data packet.
The receiving module 501 is further configured to receive a second computation power sharing response message sent by at least one MEC node of the multiple MEC nodes, where the second computation power sharing response message includes the remaining computation power of the at least one MEC node, and the second computation power sharing response message is used to notify the second MEC node 50, and the at least one MEC node may assist the second MEC node 50 in processing the data packet, where the remaining computation power of the at least one MEC node is greater than 0.
The processing module 503 is further configured to determine a packet distribution proportion of the data packet according to the second target computation power, the remaining computation power of the second MEC node 50, and the remaining computation power of the at least one MEC node, where the packet distribution proportion includes a first distribution ratio and a ratio of each MEC node in the at least one MEC node to process the data packet, and the first distribution ratio is a ratio of the second MEC node 50 to process the data packet; and, processing the data message according to the first allocation ratio.
The sending module 502 is further configured to send the data packet to the at least one MEC node according to a proportion that each MEC node in the at least one MEC node processes the data packet, so that the at least one MEC node processes the data packet.
In case of integrated units, fig. 8 shows a possible structural schematic of the second MEC node involved in the above embodiments. As shown in fig. 8, the second MEC node 60 may include: a processing module 601 and a communication module 602. The processing module 601 may be used to control and manage the actions of the second MEC node 60. The communication module 602 may be used to support communication of the second MEC node 60 with other entities. Optionally, as shown in fig. 8, the second MEC node 60 may further include a storage module 603 for storing program codes and data of the second MEC node 60.
The processing module 601 may be a processor or a controller (e.g., the processor 201 shown in fig. 2). The communication module 602 may be a transceiver, a transceiver circuit, or a communication interface (e.g., the communication interface 203 shown in fig. 2). The storage module 603 may be a memory (e.g., may be the memory 202 described above in fig. 2).
When the processing module 601 is a processor, the communication module 602 is a transceiver, and the storage module 603 is a memory, the processor, the transceiver, and the memory may be connected via 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. A method for processing a service, comprising:
when the remaining computing power of a first mobile edge computing MEC node is smaller than a first target computing power, the first MEC node sends a first computing power sharing request message to a plurality of MEC nodes, wherein the first computing power sharing request message is used for requesting the plurality of MEC nodes to assist the first MEC node in processing a target service, and the first target computing power is the computing power corresponding to the target service;
the first MEC node receives a first computing power sharing response message sent by at least one MEC node, wherein the first computing power sharing response message comprises the residual computing power of the at least one MEC node, the first computing power sharing response message is used for informing the first MEC node, the at least one MEC node can assist the first MEC node in processing the target service, and the residual computing power of the at least one MEC node is greater than 0;
the first MEC node determines a service distribution proportion of the target service according to the first target computing power, the remaining computing power of the first MEC node and the remaining computing power of the at least one MEC node, wherein the service distribution proportion comprises a first proportion and a proportion of each MEC node in the at least one MEC node for processing the target service, and the first proportion is a proportion of the first MEC node for processing the target service;
the first MEC node processes the data message corresponding to the target service according to the first proportion;
and the first MEC node respectively sends data messages corresponding to the target service to the at least one MEC node according to the proportion of processing the target service by each MEC node in the at least one MEC node, so that the at least one MEC node processes the data messages.
2. The method of claim 1, wherein after the first MEC node determines the traffic allocation proportion for the target traffic based on the first target computing power, the remaining computing power of the first MEC node, and the remaining computing power of the at least one MEC node, the method further comprises:
the first MEC node generates first routing information, the first routing information is used for indicating the first MEC node to send a data message of a target service corresponding to a second occupation ratio to a second MEC node, the second occupation ratio is the occupation ratio of the second MEC node to process the target service, and the second MEC node is one of the at least one MEC node.
3. The method according to claim 2, wherein after the first MEC node sends the data packets corresponding to the target service to the at least one MEC node according to the ratio of processing the target service by each MEC node in the at least one MEC node, the method further comprises:
when the remaining computation power of the first MEC node is greater than or equal to the first target computation power, the first MEC node deletes the first routing information.
4. A method for processing a service, comprising:
a second mobile edge computing MEC node receives a first computing power sharing request message sent by a first MEC node, wherein the first computing power sharing request message is used for requesting the second MEC node to assist the first MEC node in processing a target service;
when the remaining computing power of the second MEC node is greater than 0, the second MEC node sends a first computing power sharing response message to the first MEC node, where the first computing power sharing response message includes the remaining computing power of the second MEC node, the first computing power sharing response message is used to notify the first MEC node, and the second MEC node may assist the first MEC node in processing the target service;
the second MEC node receives a data packet corresponding to the target service, where the data packet is a data packet corresponding to a second percentage, where the second percentage is a percentage of a target service processed by the second MEC node in a service distribution proportion of the target service, the service distribution proportion is determined by the first MEC node according to a first target computing power, a remaining computing power of the first MEC node, and a remaining computing power of at least one MEC node that can assist the first MEC node in processing the target service, the first target computing power is a computing power corresponding to the target service, and the second MEC node is one of the at least one MEC node;
and the second MEC node processes the data message.
5. The method according to claim 4, wherein after the second MEC node receives the data packet corresponding to the target service, the method further comprises:
the second MEC node receives calculation force indicating information, and the calculation force indicating information indicates second target calculation force required by processing the data message corresponding to the second percentage;
when the remaining computing power of the second MEC node is less than the second target computing power, the second MEC node sends a second computing power sharing request message to the multiple MEC nodes, where the second computing power sharing request message is used to request the multiple MEC nodes to assist the second MEC node in processing the data packet;
the second MEC node receives a second computing power sharing response message sent by at least one MEC node of the plurality of MEC nodes, where the second computing power sharing response message includes the remaining computing power of the at least one MEC node, the second computing power sharing response message is used to notify the second MEC node, the at least one MEC node may assist the second MEC node in processing the data packet, and the remaining computing power of the at least one MEC node is greater than 0;
the second MEC node determines a packet distribution proportion of the data packet according to the second target computing power, the remaining computing power of the second MEC node, and the remaining computing power of the at least one MEC node, where the packet distribution proportion includes a first distribution proportion and a proportion of each MEC node in the at least one MEC node processing the data packet, and the first distribution proportion is a proportion of the second MEC node processing the data packet;
the second MEC node processes the data message according to the first allocation ratio;
and the second MEC node respectively sends the data message to the at least one MEC node according to the proportion of processing the data message by each MEC node in the at least one MEC node, so that the at least one MEC node processes the data message.
6. A traffic processing apparatus, comprising: the device comprises a sending module, a receiving module and a processing module;
the sending module is configured to send a first calculation power sharing request message to a plurality of mobile edge computing MEC nodes when the remaining calculation power of the service processing apparatus is smaller than a first target calculation power, where the first calculation power sharing request message is used to request the plurality of MEC nodes to assist the service processing apparatus in processing a target service, and the first target calculation power is a calculation power corresponding to the target service;
the receiving module is configured to receive a first computation power sharing response message sent by at least one MEC node, where the first computation power sharing response message includes a remaining computation power of the at least one MEC node, the first computation power sharing response message is used to notify the service processing apparatus, the at least one MEC node may assist the service processing apparatus in processing the target service, and the remaining computation power of the at least one MEC node is greater than 0;
the processing module is configured to determine a service distribution proportion of the target service according to the first target computational power, the remaining computational power of the service processing apparatus, and the remaining computational power of the at least one MEC node, where the service distribution proportion includes a first proportion and a proportion of each MEC node in the at least one MEC node to process the target service, and the first proportion is a proportion of the service processing apparatus to process the target service; processing the data message corresponding to the target service according to the first proportion;
the sending module is further configured to send data packets corresponding to the target service to the at least one MEC node according to the proportion of processing the target service by each MEC node in the at least one MEC node, so that the at least one MEC node processes the data packets.
7. The traffic processing apparatus according to claim 6,
the processing module is further configured to generate first routing information, where the first routing information is used to instruct the service processing apparatus to send a data packet of a target service corresponding to a second occupation ratio to a second MEC node, where the second occupation ratio is an occupation ratio of the second MEC node to process the target service, and the second MEC node is one of the at least one MEC node.
8. The traffic processing apparatus according to claim 7,
the processing module is further configured to delete the first routing information when the remaining computation power of the service processing apparatus is greater than or equal to the first target computation power.
9. A traffic processing apparatus, comprising: the device comprises a receiving module, a sending module and a processing module;
the receiving module is configured to receive a first computation power sharing request message sent by a first mobile edge computation MEC node, where the first computation power sharing request message is used to request the service processing apparatus to assist the first MEC node in processing a target service;
the sending module is configured to send a first computation power sharing response message to the first MEC node when the remaining computation power of the service processing apparatus is greater than 0, where the first computation power sharing response message includes the remaining computation power of the service processing apparatus, and the first computation power sharing response message is used to notify the first MEC node, and the service processing apparatus may assist the first MEC node in processing the target service;
the receiving module is further configured to receive a data packet corresponding to the target service, where the data packet is a data packet corresponding to a second percentage, where the second percentage is a percentage in which the service processing device processes the target service in a service distribution proportion of the target service, the service distribution proportion is determined by the first MEC node according to a first target computational power, a remaining computational power of the first MEC node, and a remaining computational power of at least one MEC node that may assist the first MEC node in processing the target service, the first target computational power is a computational power corresponding to the target service, and the service processing device is one of the at least one MEC node;
and the processing module is used for processing the data message.
10. The traffic processing apparatus according to claim 9,
the receiving module is further configured to receive computation force indication information, where the computation force indication information indicates a second target computation force required for processing the data packet corresponding to the second percentage;
the sending module is further configured to send a second computation power sharing request message to the multiple MEC nodes when the remaining computation power of the service processing apparatus is smaller than the second target computation power, where the second computation power sharing request message is used to request the multiple MEC nodes to assist the service processing apparatus in processing the data packet;
the receiving module is further configured to receive a second computation power sharing response message sent by at least one MEC node of the multiple MEC nodes, where the second computation power sharing response message includes the remaining computation power of the at least one MEC node, the second computation power sharing response message is used to notify the service processing apparatus, the at least one MEC node may assist the service processing apparatus in processing the data packet, and the remaining computation power of the at least one MEC node is greater than 0;
the processing module is further configured to determine a packet distribution proportion of the data packet according to the second target computation power, the remaining computation power of the service processing apparatus, and the remaining computation power of the at least one MEC node, where the packet distribution proportion includes a first distribution proportion and a proportion of each MEC node in the at least one MEC node processing the data packet, and the first distribution proportion is a proportion of the service processing apparatus processing the data packet; and processing the data message according to the first allocation ratio;
the sending module is further configured to send the data packet to the at least one MEC node according to a proportion that each MEC node in the at least one MEC node processes the data packet, so that the at least one MEC node processes the data packet.
CN202010942458.4A 2020-09-09 2020-09-09 Service processing method and device Active CN112188547B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010942458.4A CN112188547B (en) 2020-09-09 2020-09-09 Service processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010942458.4A CN112188547B (en) 2020-09-09 2020-09-09 Service processing method and device

Publications (2)

Publication Number Publication Date
CN112188547A CN112188547A (en) 2021-01-05
CN112188547B true CN112188547B (en) 2022-03-15

Family

ID=73920286

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010942458.4A Active CN112188547B (en) 2020-09-09 2020-09-09 Service processing method and device

Country Status (1)

Country Link
CN (1) CN112188547B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115484620A (en) * 2021-05-31 2022-12-16 华为技术有限公司 Computing resource scheduling method and related device
CN113641124B (en) * 2021-08-06 2023-03-10 珠海格力电器股份有限公司 Calculation force distribution method and device, controller and building control system
CN116932185A (en) * 2022-03-31 2023-10-24 中国移动通信有限公司研究院 Calculation force processing method and device and calculation force node
CN117336820A (en) * 2022-06-24 2024-01-02 华为技术有限公司 Communication method, communication device and communication system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110365748A (en) * 2019-06-24 2019-10-22 深圳市腾讯计算机系统有限公司 Treating method and apparatus, storage medium and the electronic device of business datum
CN110995614A (en) * 2019-11-05 2020-04-10 华为技术有限公司 Computing power resource allocation method and device
CN111475276A (en) * 2020-05-29 2020-07-31 深圳市元征科技股份有限公司 Task management method and device based on edge calculation

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108029053B (en) * 2015-10-29 2020-07-21 华为技术有限公司 Method and device for determining bearing of mobile edge platform

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110365748A (en) * 2019-06-24 2019-10-22 深圳市腾讯计算机系统有限公司 Treating method and apparatus, storage medium and the electronic device of business datum
CN110995614A (en) * 2019-11-05 2020-04-10 华为技术有限公司 Computing power resource allocation method and device
CN111475276A (en) * 2020-05-29 2020-07-31 深圳市元征科技股份有限公司 Task management method and device based on edge calculation

Also Published As

Publication number Publication date
CN112188547A (en) 2021-01-05

Similar Documents

Publication Publication Date Title
CN112188547B (en) Service processing method and device
CN112188548B (en) Service processing method and device
CN110557798B (en) Method and device for determining URSP
CN110933711A (en) Policy control method, device and system
CN109451002B (en) CDN node selection method and equipment
CN110958281B (en) Data transmission method and communication device based on Internet of things
CN110785984B (en) Information acquisition method, information acquisition device and electronic equipment
CN111866162A (en) Service distribution method and device
CN105009098A (en) Data transmission device, data-sharing system, data-sharing method, and message exchange system
CN112202892B (en) Method and device for determining MEC boundary
CN113115332B (en) UPF (unified power flow) determination method and device
CN110932994A (en) Data traffic processing method and device, electronic equipment and storage medium
CN111741512B (en) Private network access method and device
CN110266826B (en) Address management method, equipment and system
CN114024876A (en) Network dial testing method, device, equipment and storage medium
CN112379982A (en) Task processing method and device, electronic equipment and computer readable storage medium
KR101190930B1 (en) Techniques for distributed management of wireless devices with shared resources between wireless components
CN111669322B (en) Relay bridging method and gateway
CN114125936B (en) Resource scheduling method, device and storage medium
CN111130812B (en) Communication rate determining method and device
CN113261249A (en) Data transmission method, related equipment and computer storage medium
CN112019603B (en) Transaction data processing method and device
CN109450885B (en) Network data interception method and device, electronic equipment and storage medium
CN113727386A (en) Communication method and device
CN112685163A (en) Computing unloading method based on mobile edge computing and mobile edge computing server

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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20231128

Address after: 100033 21 Finance Street, Xicheng District, Beijing.

Patentee after: CHINA UNITED NETWORK COMMUNICATIONS GROUP Co.,Ltd.

Patentee after: China United Network Communications Corp Research Institute

Address before: 100033 21 Finance Street, Xicheng District, Beijing.

Patentee before: CHINA UNITED NETWORK COMMUNICATIONS GROUP Co.,Ltd.