CN106878058B - Service node multiplexing method and device - Google Patents

Service node multiplexing method and device Download PDF

Info

Publication number
CN106878058B
CN106878058B CN201710003217.1A CN201710003217A CN106878058B CN 106878058 B CN106878058 B CN 106878058B CN 201710003217 A CN201710003217 A CN 201710003217A CN 106878058 B CN106878058 B CN 106878058B
Authority
CN
China
Prior art keywords
service
service node
template
node
equipment
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
CN201710003217.1A
Other languages
Chinese (zh)
Other versions
CN106878058A (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.)
Hangzhou H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201710003217.1A priority Critical patent/CN106878058B/en
Publication of CN106878058A publication Critical patent/CN106878058A/en
Application granted granted Critical
Publication of CN106878058B publication Critical patent/CN106878058B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1029Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers using data related to the state of servers by a load balancer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5041Network service management, e.g. ensuring proper service fulfilment according to agreements characterised by the time relationship between creation and deployment of a service
    • H04L41/5048Automatic or semi-automatic definitions, e.g. definition templates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1074Peer-to-peer [P2P] networks for supporting data block transmission mechanisms

Landscapes

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

Abstract

The embodiment of the invention provides a service node multiplexing method and a service node multiplexing device, which are applied to a VCF controller, wherein the method comprises the following steps: acquiring a resource multiplexing request of a tenant for a first service node; determining service equipment where a first service node is located; if the service equipment allocates resources for the first service node according to the first template, judging whether the resource utilization rate of the first service node reaches a preset threshold value; if so, creating a second template aiming at a second service node, and issuing the second template to the service equipment, wherein the service type of the second service node is the same as that of the first service node; issuing an instruction for allocating resources for the second service node to the service equipment so that the service equipment allocates resources for the second service node according to the second template; issuing a second processing rule to the service equipment, wherein the second processing rule is used for: and instructing the second service node to process the message sent by the tenant by using the user equipment. By applying the embodiment of the invention, the influence on the tenant service is reduced.

Description

Service node multiplexing method and device
Technical Field
The invention relates to the technical field of internet, in particular to a service node multiplexing method and a service node multiplexing device.
Background
The Service chain is a forwarding technology for guiding network Service messages to pass through Service nodes (Service nodes) in sequence, and is configured through a VCF (Virtual Converged Framework) controller, the Service nodes of the Service chain at different physical positions are integrated, the Service nodes of the Service chain are distributed and deployed according to network requirements of tenants, the limitation of physical topology is broken through, personalized services are provided for each tenant, and dynamic creation and automatic deployment of an NFC (network function Virtualization) resource pool are realized.
At present, when a tenant requests a service node of a service chain, a VCF controller may provide a service node selection interface, on which service nodes created by other tenants in advance are displayed, and the tenant may reuse the service nodes created by other tenants in advance through the interface.
In the prior art, a plurality of tenants can simultaneously multiplex the same service node. While the size of the resources (such as memory) of the device occupied by each service node is fixed, the tenants cannot sense the state of each current service node, and when the resource utilization rate of one service node reaches an upper limit, if other tenants continue to multiplex the service node, the services of all tenants multiplexing the service node will be affected.
Disclosure of Invention
The embodiment of the invention aims to provide a service node multiplexing method and a service node multiplexing device so as to reduce the influence on tenant service. The specific technical scheme is as follows:
in one aspect, an embodiment of the present invention provides a service node multiplexing method, which is applied to a VCF controller, and the method includes:
acquiring a resource multiplexing request of a tenant for a first service node;
determining a service device where the first service node is located;
if the service equipment allocates resources for the first service node according to a first template, judging whether the resource utilization rate of the first service node reaches a preset threshold value; the first template is as follows: a resource template for allocating resources for the first service node;
if so, creating a second template aiming at a second service node, and issuing the second template to the service equipment; the second service node has the same service type as the first service node, and the second template is: a resource template for allocating resources for the second serving node;
issuing an instruction for allocating resources to the second service node to the service equipment so that the service equipment allocates resources to the second service node according to the second template;
issuing a second processing rule to the service equipment; the second processing rule is to: and instructing the second service node to process the message sent by the tenant by using the user equipment.
In another aspect, an embodiment of the present invention provides a service node multiplexing apparatus, which is applied to a VCF controller, and the apparatus includes:
the acquiring unit is used for acquiring a resource multiplexing request of a tenant for a first service node;
a determining unit, configured to determine a service device in which the first service node is located;
a determining unit, configured to determine whether a resource utilization rate of the first service node reaches a preset threshold value if the service device has allocated resources to the first service node according to a first template; the first template is as follows: a resource template for allocating resources for the first service node;
the first creating unit is used for creating a second template aiming at a second service node under the condition that the judgment result of the judging unit is yes, and issuing the second template to the service equipment; the second service node has the same service type as the first service node, and the second template is: a resource template for allocating resources for the second serving node;
the first issuing unit is used for issuing an instruction for allocating resources to the second service node to the service equipment so that the service equipment allocates resources to the second service node according to the second template;
the second issuing unit is used for issuing a second processing rule to the service equipment; the second processing rule is to: and instructing the second service node to process the message sent by the tenant by using the user equipment.
In the embodiment of the present invention, the VCF controller may obtain the resource utilization rate of each service node, that is, may sense the state of each service node, and after obtaining the resource multiplexing request for the first service node, may determine whether the resource utilization rate of the first service node reaches a preset threshold; when the resource utilization rate of the first service node reaches a preset threshold value, determining that the resource utilization rate of the first service node reaches an upper limit, forbidding the tenant to multiplex the first service node, creating a second template aiming at a second service node with the same service type as the first service node and issuing the second template to the service equipment, and indicating the service equipment to allocate resources for the second service node according to the second template, so that the tenant multiplexes the second service node, namely, the second service node processes a message sent by the tenant using the user equipment, and the resource utilization rate of the second service node does not reach the upper limit, thereby effectively reducing the influence on the tenant service. Of course, it is not necessary for any product or method of practicing the invention to achieve all of the above-described advantages at the same time.
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, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a service node multiplexing method according to an embodiment of the present invention;
fig. 2 is another schematic flow chart of a service node multiplexing method according to an embodiment of the present invention;
fig. 3 is another schematic flow chart of a service node multiplexing method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a service node multiplexing apparatus according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The present invention will be described in detail below with reference to specific examples.
Referring to fig. 1, fig. 1 is a schematic flowchart of a service node multiplexing method provided by an embodiment of the present invention, and is applied to a VCF controller, where the service node is understood as a service node on a service chain. The method comprises the following steps:
s101: acquiring a resource multiplexing request of a tenant for a first service node;
in an embodiment of the present invention, the VCF controller may provide a service node selection interface, and the tenant may select the first service node from the service node selection interface by using the user equipment, generate a resource multiplexing request for the first service node by the user equipment, and send the resource multiplexing request to the VCF controller; in addition, the tenant may also directly select the first service node from the service node selection interface on the VCF controller, and generate a resource multiplexing request for the first service node, which is not limited in the embodiment of the present invention.
S102: determining service equipment where a first service node is located;
s103: if the service equipment allocates resources for the first service node according to the first template, judging whether the resource utilization rate of the first service node reaches a preset threshold value; if so, S104;
here, the first template is a resource template for the first service node issued by the VCF controller, carries resource allocation information, and can be used to allocate resources for the first service node; resources may include CPU, memory, etc.
When the VCF controller issues a template to the service device, the VCF controller may provide the service node corresponding to the issued template for the tenant, and at this time, the service device does not allocate resources to the corresponding service node according to the issued template, that is, the allocation state of the service node corresponding to the issued template is unallocated resources, and the service node corresponding to the issued template is not actually created; when a tenant multiplexes the service node corresponding to the issued template, that is, when the VCF controller receives a resource multiplexing request for the service node corresponding to the issued template, an instruction is issued to instruct the service device to allocate resources to the corresponding service node according to the issued template to create the service node corresponding to the issued template, and at this time, the allocation state of the service node corresponding to the issued template is the allocated resources. In this case, the service node provided by the VCF controller and capable of being reused by the tenant includes: a service node to which resources have been allocated and a service node to which resources have not been allocated.
Based on this, when the VCF controller receives the resource multiplexing request for the first service node, since the VCF controller is responsible for issuing the template to the service device and instructing the service device to allocate the resource to the corresponding service node according to the template, it can be determined whether the service device where the first service node is located and the service device have allocated the resource to the first service node corresponding to the first template according to the first template.
In addition, in order to avoid the problem that the bearing capacity of the service node reaches the upper limit and affects the tenant to utilize the normal service of the user equipment as a result of multiplexing the same service node by a plurality of tenants, in other embodiments of the present invention, the VCF controller detects and records the resource utilization rate of the first service node when acquiring the resource multiplexing request of the tenant for the first service node to which the resource has been allocated; if the recorded resource utilization rate of the first service node reaches the preset threshold, it indicates that the bearing capacity of the first service node reaches the upper limit, other tenants are prohibited to continue multiplexing the service node, and S104 is executed; if the recorded resource utilization rate of the first service node does not reach the preset threshold value, it indicates that the bearing capacity of the first service node does not reach the upper limit, and allows other tenants to continue multiplexing the service node.
In other embodiments of the present invention, the resource multiplexing request may include the size of the resource that needs to be requested, and after the tenant multiplexes one service node, the resource utilization rate of the service node may be determined and recorded according to the size of the resource that needs to be requested, which is carried in the resource multiplexing request of the tenant; if the recorded resource utilization rate of one service node does not reach a preset threshold value, allowing other tenants to continuously multiplex the service node; and if the recorded resource utilization rate of one service node reaches a preset threshold value, prohibiting other tenants from continuously multiplexing the service node.
For example: the size of the memory resource corresponding to the first service node is 100MB, the preset threshold is 70%, a resource multiplexing request of the first tenant for the first service node is obtained, the size of the memory resource requested by the first tenant is 20MB, at this time, it can be determined that the resource utilization rate of the first service node is 20MB/100MB, 20% < 70%, and other tenants are allowed to continuously multiplex the first service node; acquiring a resource multiplexing request of a second tenant for a first service node, wherein the size of a requested memory resource of the resource multiplexing request is 60MB, at this time, the resource utilization rate of the first service node is 80% of (20+60) MB/100MB, and 80% > 70%, and other tenants are prohibited from continuously multiplexing the first service node.
S104: creating a second template aiming at a second service node, and issuing the second template to the service equipment;
here, the second service node has the same service type as the first service node, and the second template carries resource allocation information, which may be used to allocate resources to the second service node.
The service device stores the second template after receiving the second template, and the VCF controller may provide the second service node for the tenant.
S105: issuing an instruction for allocating resources for the second service node to the service equipment;
in this case, the service device may allocate resources to the second service node according to the resource allocation information carried by the second template, so as to create and operate the second service node.
S106: and issuing a second processing rule to the service equipment.
Wherein the second processing rule is to: and instructing the second service node to process the message sent by the tenant by using the user equipment.
Under the condition, the tenant is prohibited from multiplexing the first service node, the tenant is allowed to multiplex the second service node, and the influence on the tenant service is reduced. Specifically, if the service device receives a packet sent by a tenant using the user device, it may be determined that the received packet needs to be processed by the second service node according to the second processing rule, and then the packet is delivered to the second service node, so that the packet is delivered to the second service node for processing under the condition that the tenant does not perceive.
In an embodiment of the present invention, there are some service nodes that are not allocated with resources in the service device, and if the resource reuse request acquired by the VCF controller is for such a service node, refer to fig. 2, where fig. 2 is another schematic flow diagram of a service node reuse method provided in an embodiment of the present invention, and on the basis of fig. 1, after determining the service device where the first service node is located, the method further includes:
s201: if the service equipment does not allocate resources for the first service node according to the first template, issuing a command for allocating resources for the first service node to the service equipment;
in this case, the service device may allocate resources for the first service node according to the first template.
S202: and issuing a first processing rule to the service equipment.
Wherein the first processing rule is to: and indicating that the first service node processes the message sent by the tenant by using the user equipment.
Under the condition, the tenant is allowed to reuse the first service node, resources in the service equipment are fully utilized, and consumption and waste of the resources of the service equipment are effectively avoided. Specifically, if the service device receives a packet sent by a tenant using the user device, it may be determined that the received packet needs to be processed by the first service node according to the first processing rule, and then the packet is delivered to the first service node.
In an embodiment of the present invention, the first template may be issued by a service device when the service device is online on a VCF controller, and referring to fig. 3, before acquiring a resource multiplexing request of a tenant for a first service node, based on fig. 2, the method may further include:
s301: receiving an online request sent by service equipment; the online request includes the type of service device.
The type of the service device may be a FW (firewall) device, a GW (gateway) device, an LB (Load Balance) device, or the like.
Generally, after a service device establishes a connection with a VCF controller, the VCF controller receives an online request of the service device, and can identify the type of the service device.
S302: creating a first template for a first service node corresponding to the type of the service device;
after the type of the service equipment is determined, the service type which can be supported by the type of the service equipment can be determined, and then a first template corresponding to the service type supported by the service equipment and aiming at the first service node is created.
Here, the service type may include: FW service type, GW service type, LB service type, and the like.
It should be noted that one type of service device may support one service type, and may also support multiple service types. For example, FW devices and GW devices may generally support FW service types and GW service types, and LB devices may generally support LB service types only. In this case, if it is determined that the type of the service device is the FW device or the GW device, a template corresponding to the FW service type and a template corresponding to the GW service type need to be created; if the type of the service equipment is determined to be LB equipment, a template corresponding to the LB service type needs to be created.
S303: and issuing the first template to the service equipment.
In this case, the service device receives and stores the first template, and the VCF controller may provide the first service node for the tenant, but at this time, the service device does not allocate resources to the first service node according to the first template, and only when the tenant needs to multiplex the first service node, the service device allocates resources to the first service node according to the first template, thereby effectively reducing consumption and waste of resources of the service device.
In an embodiment of the present invention, the first template may also be created when the VCF controller receives a resource reuse request for a service node of the same service type as the service type corresponding to the first template, as the second template.
In other embodiments of the present invention, a service type may correspond to a plurality of service nodes, and after a tenant multiplexes one service node, the tenant may release the multiplexed service node, that is, the service node is not used any more. To avoid creating too many useless service nodes, the VCF controller may record the number of service nodes of the same service type, for example: and recording the number of service nodes with the same service type as the first service node.
In this case, when the resource utilization rate of the first service node reaches the preset threshold, before creating the second template for the second service node, the VCF controller may determine whether the number of service nodes currently having the same service type as that of the first service node is greater than 1;
if the number of the service nodes with the same service type as the first service node is determined to be larger than 1, detecting whether the resource utilization rates of other service nodes with the same service type as the first service node except the first service node reach a preset threshold, if so, indicating that no service node which is released by the tenant and is multiplexed and has the same service type as the first service node exists at present, and creating a second template; if not, it indicates that there is a service node which is released by the tenant and which is multiplexed by the tenant and has the same service type as the first service node, and the released service node can still be multiplexed by other tenants without creating a second template, and allows other tenants to continue multiplexing a third service node, which is a service node whose resource utilization rate does not reach the preset threshold among other service nodes having the same service type as the first service node, for example: issuing a third processing rule to the service equipment, wherein the third processing rule is used for: instructing a third service node to process a message sent by a tenant by using user equipment;
if the number of the service nodes with the same service type as the first service node is determined to be 1, that is, the service nodes with the same service type as the first service node only have the first service node, and the resource utilization rate of the first service node reaches a preset threshold, a second template is created.
In other embodiments of the present invention, in order to avoid that too many useless service nodes exist in the service device and occupy the resource of the service device, the VCF controller may further record the number of tenants currently multiplexing each service node and the duration of time for which each service node is not currently multiplexed; for example, the number of tenants currently multiplexing the first service node and the duration of the current time that the first service node is not multiplexed are recorded;
when the recorded tenant number for multiplexing the first service node is 0, indicating that the first service node is not multiplexed, detecting the duration of the first service node that is not multiplexed, and if the duration of the first service node that is not multiplexed reaches a preset duration, it can be said that the first service node is a useless service node;
in this case, if it is detected that the number of service nodes of the same service type as the first service node is greater than 1, indicating that a service node of the same service type as the first service node exists in the service device, which can be reused by the tenant, except for the first service node, a delete instruction for the first template may be issued to the service device, and the service device deletes the first template according to the delete instruction and releases the resource allocated to the first service node according to the first template;
if the number of the service nodes with the same service type as the first service node is detected to be 1, that is, only the first service node is the service node with the same service type as the first service node, in order to ensure that the tenant can quickly multiplex the service node with the same service type as the first service node, a release instruction for the first service node is issued to the service device, and the service device releases the resources allocated to the first service node according to the first template according to the release instruction, but does not delete the first template. In this way, the VCF controller may also provide the first service node for the tenant, and when the VCF controller receives the resource multiplexing request for the first service node again, the VCF controller may directly issue an instruction for allocating resources for the first service node to the service device, and instruct the service device to allocate resources for the first service node according to the first template.
In other embodiments of the present invention, in order to facilitate the VCF controller to process the service nodes, information such as allocation states of the service nodes, resource utilization rates, the number of service nodes, the number of tenants, duration of time that is not multiplexed, and the like may be correspondingly stored in one service node information table, as shown in table 1.
TABLE 1
Figure BDA0001202036120000091
If the resource utilization rate of a service node reaches a preset threshold, setting an 'operation' part corresponding to the service node in table 1 as a multiplexing stop, that is, prohibiting other tenants from multiplexing the service node, such as the service node 001 in table 1; if the resource utilization rate of a service node does not reach the preset threshold, setting the operation part corresponding to the service node in table 1 to be in use, that is, allowing other tenants to reuse the service node, such as the service node 003 in table 1;
if the service equipment allocates resources for the service node according to the template, setting an allocation state part corresponding to the service node in table 1 as activation, such as the service node 001 in table 1; if the service device does not allocate resources to the service node according to the template, the "allocation status" portion corresponding to the service node in table 1 is set to be inactive, such as the service node 002 in table 1.
By applying the embodiment, the VCF controller may obtain the resource utilization rate of each service node, that is, may sense the state of each service node, and after obtaining the resource multiplexing request for the first service node, may determine whether the resource utilization rate of the first service node reaches the preset threshold; when the resource utilization rate of the first service node reaches a preset threshold value, determining that the resource utilization rate of the first service node reaches an upper limit, forbidding the tenant to multiplex the first service node, creating a second template aiming at a second service node with the same service type as the first service node and issuing the second template to the service equipment, and indicating the service equipment to allocate resources for the second service node according to the second template, so that the tenant multiplexes the second service node, namely, the second service node processes a message sent by the tenant using the user equipment, and the resource utilization rate of the second service node does not reach the upper limit, thereby effectively reducing the influence on the tenant service.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a service node multiplexing apparatus according to an embodiment of the present invention, where the apparatus is applied to a VCF controller, and the apparatus includes:
an obtaining unit 401, configured to obtain a resource multiplexing request of a tenant for a first service node;
a determining unit 402, configured to determine a service device where the first service node is located;
a determining unit 403, configured to determine whether a resource utilization rate of the first service node reaches a preset threshold value if the service device has allocated resources to the first service node according to a first template; the first template is as follows: a resource template for allocating resources for the first service node;
a first creating unit 404, configured to create a second template for a second service node and send the second template to the service device if the determination result of the determining unit 403 is yes; the second service node has the same service type as the first service node, and the second template is: a resource template for allocating resources for the second serving node;
a first issuing unit 405, configured to issue, to the service device, an instruction for allocating resources to the second service node, so that the service device allocates resources to the second service node according to the second template;
a second issuing unit 406, configured to issue a second processing rule to the service device; the second processing rule is to: and instructing the second service node to process the message sent by the tenant by using the user equipment.
In other embodiments of the present invention, the first issuing unit 405 may be further configured to, after determining the service device where the first service node is located, issue, to the service device, an instruction for allocating resources to the first service node if the service device does not allocate resources to the first service node according to a first template, so that the service device allocates resources to the first service node according to the first template;
the second issuing unit 406 may be further configured to issue a first processing rule to the service device; the first processing rule is to: and instructing the first service node to process the message sent by the tenant by using the user equipment.
In other embodiments of the present invention, the apparatus may further include:
a receiving unit (not shown in fig. 4) configured to receive an online request sent by the service device before acquiring a resource multiplexing request of a tenant for a first service node; the online request comprises the type of the service equipment;
a second creating unit (not shown in fig. 4) for creating the first template for the first service node corresponding to the type of the service apparatus;
a third issuing unit (not shown in fig. 4) configured to issue the first template to the service device.
In other embodiments of the present invention, the apparatus may further include:
the first recording unit is used for recording the number of service nodes with the same service type as the first service node;
the first creating unit 404 may specifically be configured to:
and if the number is greater than 1 and the resource utilization rates of other service nodes except the first service node, which have the same service type as the first service node, reach the preset threshold value, or the number is 1, creating the second template.
In other embodiments of the present invention, the first creating unit 404 may be further configured to:
if the number is greater than 1 and the resource utilization rates of the other service nodes do not reach the preset threshold value, issuing a third processing rule to the service equipment; the third processing rule is to: and instructing the third service node to process a message sent by the tenant using the user equipment, wherein the third service node is a service node of which the resource utilization rate does not reach the preset threshold value in the other service nodes.
In other embodiments of the present invention, the apparatus may further include:
a second recording unit (not shown in fig. 4) configured to record the number of service nodes currently having the same service type as the first service node, the number of tenants currently multiplexing the first service node, and the duration of time during which the first service node is not currently multiplexed;
a processing unit (not shown in fig. 4), configured to, when the number of tenants is 0 and the duration reaches a preset duration, issue, if the number is greater than 1, a delete instruction for the first template to the service device, so that the service device deletes the first template according to the delete instruction, and release the resource allocated to the first service node according to the first template; if the number is equal to 1, issuing a release instruction for the first service node to the service equipment so that the service equipment releases the resources allocated to the first service node according to the first template according to the release instruction.
In other embodiments of the present invention, the second issuing unit 406 may be further configured to:
under the condition that the judgment result of the judgment unit 403 is negative, if the resource utilization rate of the first service node does not reach the preset threshold, issuing a first processing rule to the service device; the first processing rule is to: and instructing the first service node to process the message sent by the tenant by using the user equipment.
By applying the embodiment, the VCF controller may obtain the resource utilization rate of each service node, that is, may sense the state of each service node, and after obtaining the resource multiplexing request for the first service node, may determine whether the resource utilization rate of the first service node reaches the preset threshold; when the resource utilization rate of the first service node reaches a preset threshold value, determining that the resource utilization rate of the first service node reaches an upper limit, forbidding the tenant to multiplex the first service node, creating a second template aiming at a second service node with the same service type as the first service node and issuing the second template to the service equipment, and indicating the service equipment to allocate resources for the second service node according to the second template, so that the tenant multiplexes the second service node, namely, the second service node processes a message sent by the tenant using the user equipment, and the resource utilization rate of the second service node does not reach the upper limit, thereby effectively reducing the influence on the tenant service.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (14)

1. A service node multiplexing method is applied to a virtual application convergence fabric (VCF) controller, and the method comprises the following steps:
acquiring a resource multiplexing request of a tenant for a first service node;
determining a service device where the first service node is located;
if the service equipment allocates resources for the first service node according to a first template, judging whether the resource utilization rate of the first service node reaches a preset threshold value; the first template is as follows: a resource template for allocating resources for the first service node;
if so, creating a second template aiming at a second service node, and issuing the second template to the service equipment; the second service node has the same service type as the first service node, and the second template is: a resource template for allocating resources for the second serving node;
issuing an instruction for allocating resources to the second service node to the service equipment so that the service equipment allocates resources to the second service node according to the second template;
issuing a second processing rule to the service equipment; the second processing rule is to: and instructing the second service node to process the message sent by the tenant by using the user equipment.
2. The method of claim 1, wherein after the step of determining the serving device in which the first serving node is located, the method further comprises:
if the service equipment does not allocate the resources to the first service node according to the first template, issuing an instruction for allocating the resources to the first service node to the service equipment so that the service equipment allocates the resources to the first service node according to the first template;
issuing a first processing rule to the service equipment; the first processing rule is to: and instructing the first service node to process the message sent by the tenant by using the user equipment.
3. The method according to claim 1 or 2, wherein before the step of obtaining the resource multiplexing request of the tenant for the first service node, the method further comprises:
receiving an online request sent by the service equipment; the online request comprises the type of the service equipment;
creating the first template for the first service node corresponding to the type of service device;
and issuing the first template to the service equipment.
4. The method of claim 1, further comprising:
recording the number of service nodes with the same service type as the first service node at present;
the step of creating a second template for a second service node comprises:
and if the number is greater than 1 and the resource utilization rates of other service nodes except the first service node, which have the same service type as the first service node, reach the preset threshold value, or the number is 1, creating the second template.
5. The method of claim 4, wherein if the number is greater than 1 and the resource utilization rates of the other service nodes do not reach the preset threshold, the method further comprises:
issuing a third processing rule to the service equipment; the third processing rule is to: and indicating a third service node to process a message sent by the tenant by using the user equipment, wherein the third service node is a service node of which the resource utilization rate does not reach the preset threshold value in the other service nodes.
6. The method of claim 1, further comprising:
recording the number of service nodes with the same service type as the first service node, the number of tenants multiplexing the first service node at present and the duration of the first service node not being multiplexed at present;
when the number of the tenants is 0 and the duration reaches a preset duration, if the number is greater than 1, issuing a deletion instruction for the first template to the service equipment, so that the service equipment deletes the first template according to the deletion instruction and releases the resources allocated to the first service node according to the first template;
if the number is equal to 1, issuing a release instruction for the first service node to the service equipment so that the service equipment releases the resources allocated to the first service node according to the first template according to the release instruction.
7. The method of claim 1, wherein after the step of determining whether the resource utilization of the first service node reaches a preset threshold, the method further comprises:
if the resource utilization rate of the first service node does not reach the preset threshold value, issuing a first processing rule to the service equipment; the first processing rule is to: and instructing the first service node to process the message sent by the tenant by using the user equipment.
8. A service node multiplexing apparatus, applied to a VCF controller, in a virtual application convergence fabric, the apparatus comprising:
the acquiring unit is used for acquiring a resource multiplexing request of a tenant for a first service node;
a determining unit, configured to determine a service device in which the first service node is located;
a determining unit, configured to determine whether a resource utilization rate of the first service node reaches a preset threshold value if the service device has allocated resources to the first service node according to a first template; the first template is as follows: a resource template for allocating resources for the first service node;
the first creating unit is used for creating a second template aiming at a second service node under the condition that the judgment result of the judging unit is yes, and issuing the second template to the service equipment; the second service node has the same service type as the first service node, and the second template is: a resource template for allocating resources for the second serving node;
the first issuing unit is used for issuing an instruction for allocating resources to the second service node to the service equipment so that the service equipment allocates resources to the second service node according to the second template;
the second issuing unit is used for issuing a second processing rule to the service equipment; the second processing rule is to: and instructing the second service node to process the message sent by the tenant by using the user equipment.
9. The apparatus of claim 8,
the first issuing unit is further configured to, after determining the service device where the first service node is located, issue, to the service device, an instruction to allocate resources to the first service node if the service device does not allocate resources to the first service node according to a first template, so that the service device allocates resources to the first service node according to the first template;
the second issuing unit is further configured to issue a first processing rule to the service device; the first processing rule is to: and instructing the first service node to process the message sent by the tenant by using the user equipment.
10. The apparatus of claim 8 or 9, further comprising:
the system comprises a receiving unit, a sending unit and a processing unit, wherein the receiving unit is used for receiving an online request sent by service equipment before acquiring a resource multiplexing request of a tenant for a first service node; the online request comprises the type of the service equipment;
a second creating unit configured to create the first template for the first service node corresponding to a type of the service apparatus;
and the third issuing unit is used for issuing the first template to the service equipment.
11. The apparatus of claim 8, further comprising:
the first recording unit is used for recording the number of service nodes with the same service type as the first service node;
the first creating unit is specifically configured to:
and if the number is greater than 1 and the resource utilization rates of other service nodes except the first service node, which have the same service type as the first service node, reach the preset threshold value, or the number is 1, creating the second template.
12. The apparatus of claim 11, wherein the first creating unit is further configured to:
if the number is greater than 1 and the resource utilization rates of the other service nodes do not reach the preset threshold value, issuing a third processing rule to the service equipment; the third processing rule is to: and indicating a third service node to process a message sent by the tenant by using the user equipment, wherein the third service node is a service node of which the resource utilization rate does not reach the preset threshold value in the other service nodes.
13. The apparatus of claim 8, further comprising:
a second recording unit, configured to record the number of service nodes that are currently the same as the service type of the first service node, the number of tenants that currently multiplex the first service node, and a duration for which the first service node is not currently multiplexed;
the processing unit is configured to, when the number of tenants is 0 and the duration reaches a preset duration, issue a deletion instruction for the first template to the service device if the number is greater than 1, so that the service device deletes the first template according to the deletion instruction, and release the resource allocated to the first service node according to the first template; if the number is equal to 1, issuing a release instruction for the first service node to the service equipment so that the service equipment releases the resources allocated to the first service node according to the first template according to the release instruction.
14. The apparatus of claim 8, wherein the second issuing unit is further configured to:
under the condition that the judgment result of the judgment unit is negative, if the resource utilization rate of the first service node does not reach the preset threshold value, issuing a first processing rule to the service equipment; the first processing rule is to: and instructing the first service node to process the message sent by the tenant by using the user equipment.
CN201710003217.1A 2017-01-03 2017-01-03 Service node multiplexing method and device Active CN106878058B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710003217.1A CN106878058B (en) 2017-01-03 2017-01-03 Service node multiplexing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710003217.1A CN106878058B (en) 2017-01-03 2017-01-03 Service node multiplexing method and device

Publications (2)

Publication Number Publication Date
CN106878058A CN106878058A (en) 2017-06-20
CN106878058B true CN106878058B (en) 2020-11-06

Family

ID=59164339

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710003217.1A Active CN106878058B (en) 2017-01-03 2017-01-03 Service node multiplexing method and device

Country Status (1)

Country Link
CN (1) CN106878058B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108768890B (en) * 2018-05-28 2022-01-04 郑州云海信息技术有限公司 Multi-tenant resource multiplexing method and device in SDN network and controller
CN111736994B (en) * 2020-06-15 2022-12-30 国网电力科学研究院有限公司 Resource arranging method, system, storage medium and electronic equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2974388B1 (en) * 2013-03-15 2020-01-01 Headwater Research LLC Network service plan design
US9495195B2 (en) * 2013-10-04 2016-11-15 Hitachi, Ltd. Resource migration between virtual containers based on utilization rate and performance degradation
CN103747040A (en) * 2013-12-24 2014-04-23 乐视网信息技术(北京)股份有限公司 Node distribution method and control center
CN106254154B (en) * 2016-09-19 2020-01-03 新华三技术有限公司 Resource sharing method and device

Also Published As

Publication number Publication date
CN106878058A (en) 2017-06-20

Similar Documents

Publication Publication Date Title
CN108965485B (en) Container resource management method and device and cloud platform
CN106921977B (en) Service quality planning method, device and system based on service flow
CN105335229B (en) Scheduling method and device of service resources
US9298515B2 (en) Methods, systems, and computer readable media for providing a virtualized diameter network architecture and for routing traffic to dynamically instantiated diameter resource instances
CN103618621B (en) A kind of software defined network SDN method of automatic configuration, equipment and system
CN107015972B (en) Method, device and system for migrating machine room services
CN107239347B (en) Equipment resource allocation method and device in virtual scene
CN109952783B (en) Fault device load protection
WO2017114124A1 (en) Address allocation method, gateway and system
CN110661894A (en) User IP address allocation method, network device and storage medium
CN106878058B (en) Service node multiplexing method and device
WO2013082742A1 (en) Resource scheduling method, device and system
CN106790734B (en) Network address allocation method and device
CN107786680B (en) Method and device for managing IP address resources
CN109597674B (en) Shared virtual resource pool share scheduling method and system
CN103747040A (en) Node distribution method and control center
CN112769829A (en) Deployment method of cloud physical machine, related equipment and readable storage medium
JP5829230B2 (en) Management system and management method
CN108882296B (en) Method and device for processing message
CN108259639B (en) IP address allocation method and device
CN106792843B (en) Equipment management method and device
JP2016046669A (en) Packet processing device, program and method
CN106549788B (en) Service protection transition method and device
CN110266521B (en) SPTN network service guarantee method
CN112004199B (en) Call service processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant