CN109992353B - Capacity expanding and reducing method, device, equipment and computer readable storage medium - Google Patents

Capacity expanding and reducing method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN109992353B
CN109992353B CN201810000837.4A CN201810000837A CN109992353B CN 109992353 B CN109992353 B CN 109992353B CN 201810000837 A CN201810000837 A CN 201810000837A CN 109992353 B CN109992353 B CN 109992353B
Authority
CN
China
Prior art keywords
vnf
capacity expansion
reduction
target
reduction operation
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
CN201810000837.4A
Other languages
Chinese (zh)
Other versions
CN109992353A (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 Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
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 Mobile Communications Group Co Ltd, China Mobile Communications Ltd Research Institute filed Critical China Mobile Communications Group Co Ltd
Priority to CN201810000837.4A priority Critical patent/CN109992353B/en
Priority to PCT/CN2018/125507 priority patent/WO2019134623A1/en
Publication of CN109992353A publication Critical patent/CN109992353A/en
Application granted granted Critical
Publication of CN109992353B publication Critical patent/CN109992353B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5061Partitioning or combining of resources
    • G06F9/5077Logical partitioning of resources; Management or configuration of virtualized resources
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45562Creating, deleting, cloning virtual machine instances

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention provides a capacity expansion and reduction method, a capacity expansion and reduction device, capacity expansion and reduction equipment and a computer readable storage medium, relates to the technical field of communication, and aims to improve the capacity expansion and reduction efficiency of a VNF. The capacity expansion and reduction method comprises the following steps: obtaining a group identifier of a Virtual Network Function (VNF) of a to-be-expanded/contracted capacity; determining a target VNF with the group identifier in a network service NS according to the group identifier of the VNF to be scaled and contracted; monitoring whether the target VNF triggers a capacity expansion and reduction operation; and if the target VNF is monitored to trigger the capacity expansion and reduction operation, triggering the VNF to be subjected to capacity expansion and reduction to execute the same capacity expansion and reduction operation as the target VNF. The invention can improve the efficiency of expanding and contracting the VNF.

Description

Capacity expanding and reducing method, device, equipment and computer readable storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, a device, and a computer-readable storage medium for scaling.
Background
In NS (Network Service), if scaling based on NS level is adopted, it is necessary to close the scaling at VNF (virtual Network Function) level to keep NS in a specified level and template.
In the prior art, when performing the scaling of the VNFs, a scaling strategy is determined for each VNF, and then the scaling is performed. In practical applications, on one hand, the VNF is usually deployed and operated for a certain period of time, and at this time, the VNF already has a mature auto-scaling rule. When it is incorporated into the NS, it is preferable to multiplex the scalability rules before the VNF. On the other hand, different VNFs included in the same NS generally have a certain association, which is directly embodied as an association of the scaling rule, that is, when traffic volume changes, multiple VNFs in the NS may have the same scaling requirement at the same time.
Thus, scaling VNFs is inefficient with prior art methods.
Disclosure of Invention
In view of the above, the present invention provides a method, an apparatus, a device and a computer readable storage medium for scaling VNF, so as to improve the efficiency of scaling VNF.
To solve the foregoing technical problem, in a first aspect, an embodiment of the present invention provides a method for expanding and shrinking a volume, including:
obtaining a group identifier of a Virtual Network Function (VNF) of a to-be-expanded/contracted capacity;
determining a target VNF with a group identifier in a network service NS according to the group identifier of the VNF to be scaled and contracted;
monitoring whether the target VNF triggers a capacity expansion and reduction operation;
and if the target VNF is monitored to trigger the capacity expansion and reduction operation, triggering the VNF to be subjected to capacity expansion and reduction to execute the same capacity expansion and reduction operation as the target VNF.
Before the step of triggering the VNF to be scaled to execute the same scaling operation as the scaling operation of the target VNF if it is monitored that the target VNF triggers the scaling operation, the method further includes:
determining whether the VNF to be subjected to capacity expansion and reduction allows the capacity expansion and reduction operation to be performed;
if it is monitored that the target VNF triggers a capacity expansion and reduction operation, triggering the VNF to be subjected to capacity expansion and reduction to execute a capacity expansion and reduction operation identical to the capacity expansion and reduction operation of the target VNF includes:
if it is monitored that the target VNF triggers a capacity expansion and reduction operation and the VNF to be subjected to capacity expansion and reduction allows the capacity expansion and reduction operation to be executed, the VNF to be subjected to capacity expansion and reduction is triggered to execute the capacity expansion and reduction operation which is the same as the capacity expansion and reduction operation of the target VNF.
Wherein the determining whether the VNF to be scaled and contracted allows performing a scaling operation includes:
obtaining the value of a group synchronization enabling field of the VNF to be subjected to capacity expansion and contraction;
if the value of the groupSyncScaling field is a first preset value, determining that the VNF to be subjected to capacity expansion and reduction allows the capacity expansion and reduction operation to be executed;
and if the value of the groupSyncScaling field is a second preset value, determining that the VNF to be subjected to capacity expansion and reduction does not allow the capacity expansion and reduction operation to be executed.
Wherein the method further comprises:
setting a group identifier for each VNF; and/or
The value of groupsyncsscaling field of each VNF is set.
In a second aspect, an embodiment of the present invention provides a device for expanding and reducing a volume, including:
the acquisition module is used for acquiring the group identification of the virtual network function VNF to be expanded and contracted;
the determining module is used for determining a target VNF with a group identifier in a network service NS according to the group identifier of the VNF to be scaled and contracted;
the monitoring module is used for monitoring whether the target VNF triggers the capacity expansion and reduction operation;
and the triggering module is used for triggering the VNF to be subjected to capacity expansion and reduction to execute the same capacity expansion and reduction operation as that of the target VNF if it is monitored that the target VNF triggers the capacity expansion and reduction operation.
In a third aspect, an embodiment of the present invention provides a scaling device, including: a memory, a processor, and a computer program stored on the memory and executable on the processor; which when executed by a processor implements the steps in the method according to the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium for storing a computer program, which when executed by a processor implements the steps in the method according to the first aspect.
The technical scheme of the invention has the following beneficial effects:
in the embodiment of the present invention, when it is required to perform capacity expansion on the VNF to be subjected to capacity expansion, if it is monitored that the target VNF having the same group identifier as the VNF to be subjected to capacity expansion triggers a capacity expansion and reduction operation, the same capacity expansion and reduction operation is performed on the VNF to be subjected to capacity expansion and reduction. Therefore, by using the scheme of the embodiment of the invention, the capacity expansion and reduction operation does not need to be executed after independently establishing the capacity expansion and reduction strategy for each VNF as in the prior art, thereby improving the efficiency of executing the capacity expansion and reduction operation on the VNF.
Drawings
FIG. 1 is a flowchart illustrating a method for scaling according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for scaling according to an embodiment of the present invention;
FIG. 3 is a schematic view of an expansion and contraction device according to an embodiment of the present invention;
FIG. 4 is a first structural diagram of an apparatus for scaling according to an embodiment of the present invention;
FIG. 5 is a second structural diagram of the volume expanding and reducing device according to the embodiment of the present invention;
fig. 6 is a schematic diagram of a capacity expansion and reduction apparatus according to an embodiment of the present invention.
Detailed Description
The following detailed description of embodiments of the present invention will be made with reference to the accompanying drawings and examples. The following examples are intended to illustrate the invention but are not intended to limit the scope of the invention.
As shown in fig. 1, the method for expanding and reducing the volume of the embodiment of the present invention includes:
step 101, obtaining a group identifier of a VNF to be scaled.
In practical applications, a group identification, such as groupId, may be added for each VNF in NSD (NS description file). The groupId value of each VNF may be set as needed, for example, set to 1,2,3, and the like.
And step 102, determining a target VNF with the group identifier in the NS according to the group identifier of the VNF to be scaled and shrunk.
Wherein the target VNF refers to a VNF having the same group identification as the VNF to be scaled. By reading the groupId values of the VNFs in the NS, the target VNF can be determined.
And 103, monitoring whether the target VNF triggers the capacity expansion and reduction operation.
In practical applications, it may be monitored at predetermined time intervals whether each target VNF triggers a scaling operation. Meanwhile, what type of capacity expansion and reduction operation is triggered by each target VNF can be monitored.
And 104, if it is monitored that the target VNF triggers a capacity expansion and reduction operation, triggering the VNF to be subjected to capacity expansion and reduction to execute the same capacity expansion and reduction operation as the target VNF.
If it is monitored that the target VNF triggers the capacity expansion and reduction operation, the capacity expansion and reduction strategy may be applied to the VNF to be subjected to capacity expansion and reduction according to the obtained capacity expansion and reduction strategy of the target VNF, so as to execute the same capacity expansion and reduction operation as the capacity expansion and reduction operation of the target VNF.
In the embodiment of the present invention, when it is required to perform capacity expansion on the VNF to be subjected to capacity expansion, if it is monitored that the target VNF having the same group identifier as the VNF to be subjected to capacity expansion triggers a capacity expansion and reduction operation, the same capacity expansion and reduction operation is performed on the VNF to be subjected to capacity expansion and reduction. Therefore, by using the scheme of the embodiment of the invention, the capacity expansion and reduction operation does not need to be executed after independently establishing the capacity expansion and reduction strategy for each VNF as in the prior art, thereby improving the efficiency of executing the capacity expansion and reduction operation on the VNF.
As shown in fig. 2, the method for expanding and reducing the volume according to the embodiment of the present invention includes:
step 201, a group identifier is set for each VNF.
For example, as shown in table 1, the group identifications set for the respective VNFs in the NS are as follows.
SBC PGW TAS HSS MME DNS
Group identification 1 1 1 2 2 0
TABLE 1
Step 202, setting the value of the group synchronization enabling group sync scaling field of each VNF.
The method comprises the steps of adding a groupId parameter corresponding to each VNF in the NSD, and adding a groupSyncScaling switch in the NSD, so that the related expansion and contraction capacity can be opened aiming at a set group.
Wherein, the value in the groupsyncsscaling field indicates whether a certain VNF allows performing a capacity expansion and reduction operation of a certain VNF group (a group consisting of VNFs having the same group identification). For example, when the value is a first preset value, it may indicate that the capacity expansion and reduction operation is allowed to be performed; when the value is the second preset value, it can indicate that the capacity expansion and reduction operation is not allowed to be executed. The first preset value and the second preset value may be set arbitrarily, for example, the first preset value is Enable, and the second preset value is Disable. By this arrangement, flexibility of the capacity expansion and contraction operation is increased.
With the above settings, the NSD increase parameters are shown in table 2.
Figure BDA0001536951000000051
TABLE 2
The steps 201 and 202 are not executed in strict sequence.
Step 203, obtaining a group identifier of a virtual network function VNF to be scaled.
And 204, determining a target VNF with the group identifier in the network service NS according to the group identifier of the VNF to be scaled and shrunk.
And step 205, monitoring whether the target VNF triggers the capacity expansion and reduction operation.
And step 206, determining whether the VNF to be subjected to capacity expansion and reduction allows the capacity expansion and reduction operation to be performed.
Specifically, in this step, the value of the group synchronization enabling group sync scaling field of the VNF to be scaled is obtained. If the value of the groupSyncScaling field is a first preset value, determining that the VNF to be subjected to capacity expansion and reduction allows the capacity expansion and reduction operation to be executed; and if the value of the groupSyncScaling field is a second preset value, determining that the VNF to be subjected to capacity expansion and reduction does not allow the capacity expansion and reduction operation to be executed.
Step 207, if it is monitored that the target VNF triggers a capacity expansion and reduction operation and the VNF to be subjected to capacity expansion and reduction allows the capacity expansion and reduction operation, triggering the VNF to be subjected to capacity expansion and reduction to execute the same capacity expansion and reduction operation as the target VNF.
Otherwise, the VNF to be subjected to capacity expansion and reduction is not triggered to execute the same capacity expansion and reduction operation as that of the target VNF.
For example, as shown in table 1 above, for example, the VNF to be expanded is HSS, the VNF in the same group as the VNF is PGW or SBC, and the value of the groupSyncScaling field of SBC or HSS is Enable. At a certain time, it is detected that the PGW triggers a certain capacity expansion and reduction operation, and then the capacity expansion and reduction operation can be executed to both the SBC and the HSS.
In the embodiment of the present invention, when it is required to perform capacity expansion on the VNF to be subjected to capacity expansion, if it is monitored that the target VNF having the same group identifier as the VNF to be subjected to capacity expansion triggers a capacity expansion and reduction operation, the same capacity expansion and reduction operation is performed on the VNF to be subjected to capacity expansion and reduction. Therefore, by using the scheme of the embodiment of the invention, the capacity expansion and reduction operation does not need to be executed after independently establishing the capacity expansion and reduction strategy for each VNF as in the prior art, thereby improving the efficiency of executing the capacity expansion and reduction operation on the VNF.
As shown in fig. 3, the scaling device according to the embodiment of the present invention includes:
an obtaining module 301, configured to obtain a group identifier of a VNF to be scaled;
a determining module 302, configured to determine, according to the group identifier of the VNF to be scaled and scaled, a target VNF having the group identifier in a network service NS;
a monitoring module 303, configured to monitor whether the target VNF triggers a capacity expansion and reduction operation;
a triggering module 304, configured to trigger the VNF to be subjected to capacity expansion and reduction to execute a capacity expansion and reduction operation that is the same as the capacity expansion and reduction operation of the target VNF if it is monitored that the target VNF triggers a capacity expansion and reduction operation.
As shown in fig. 4, in order to further increase the flexibility of the capacity expansion operation, the apparatus further includes:
a determining module 305, configured to determine whether the VNF to be scaled and scaled allows performing a scaling operation; at this time, the triggering module 304 is specifically configured to, if it is monitored that the target VNF triggers a capacity expansion and reduction operation and the VNF to be subjected to capacity expansion and reduction allows the capacity expansion and reduction operation to be performed, trigger the VNF to be subjected to capacity expansion and reduction to perform a capacity expansion and reduction operation that is the same as the capacity expansion and reduction operation of the target VNF.
Wherein the determining module comprises: the obtaining submodule is used for obtaining the value of a group synchronization enabling field of the VNF to be subjected to expansion and contraction; the first determining submodule is used for determining that the VNF to be subjected to capacity expansion and reduction allows the capacity expansion and reduction operation to be executed if the value of the groupSyncScaling field is a first preset value; and the second determining submodule is used for determining that the VNF to be subjected to capacity expansion and reduction does not allow the capacity expansion and reduction operation to be executed if the value of the groupSyncScaling field is a second preset value.
As shown in fig. 5, in order to further improve the efficiency of the capacity expansion and reduction operation, the apparatus further includes:
a setting module 306, configured to set a group identifier for each VNF; and/or setting a value of a groupsyncsscaling field of each VNF.
The working principle of the device according to the invention can be referred to the description of the method embodiment described above.
In the embodiment of the present invention, when it is required to perform capacity expansion on the VNF to be subjected to capacity expansion, if it is monitored that the target VNF having the same group identifier as the VNF to be subjected to capacity expansion triggers a capacity expansion and reduction operation, the same capacity expansion and reduction operation is performed on the VNF to be subjected to capacity expansion and reduction. Therefore, by using the scheme of the embodiment of the invention, the capacity expansion and reduction operation does not need to be executed after independently establishing the capacity expansion and reduction strategy for each VNF as in the prior art, thereby improving the efficiency of executing the capacity expansion and reduction operation on the VNF.
As shown in fig. 6, the capacity expansion and reduction device according to the embodiment of the present invention includes: the processor 600, which is used to read the program in the memory 620, executes the following processes:
obtaining a group identifier of a Virtual Network Function (VNF) of a to-be-expanded/contracted capacity;
determining a target VNF with a group identifier in a network service NS according to the group identifier of the VNF to be scaled and contracted;
monitoring whether the target VNF triggers a capacity expansion and reduction operation;
if the target VNF is monitored to trigger the capacity expansion and reduction operation, triggering the VNF to be subjected to capacity expansion and reduction to execute the same capacity expansion and reduction operation as the target VNF;
a transceiver 610 for receiving and transmitting data under the control of the processor 600.
Where in fig. 6, the bus architecture may include any number of interconnected buses and bridges, with various circuits being linked together, particularly one or more processors represented by processor 600 and memory represented by memory 620. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface. The transceiver 610 may be a number of elements including a transmitter and a transceiver providing a means for communicating with various other apparatus over a transmission medium. The processor 600 is responsible for managing the bus architecture and general processing, and the memory 620 may store data used by the processor 600 in performing operations.
The processor 600 is responsible for managing the bus architecture and general processing, and the memory 620 may store data used by the processor 600 in performing operations.
The processor 600 is further adapted to read the computer program and perform the following steps:
determining whether the VNF to be subjected to capacity expansion and reduction allows the capacity expansion and reduction operation to be performed;
if it is monitored that the target VNF triggers a capacity expansion and reduction operation and the VNF to be subjected to capacity expansion and reduction allows the capacity expansion and reduction operation to be executed, the VNF to be subjected to capacity expansion and reduction is triggered to execute the capacity expansion and reduction operation which is the same as the capacity expansion and reduction operation of the target VNF.
The processor 600 is further adapted to read the computer program and perform the following steps:
obtaining the value of a group synchronization enabling field of the VNF to be subjected to capacity expansion and contraction;
if the value of the groupSyncScaling field is a first preset value, determining that the VNF to be subjected to capacity expansion and reduction allows the capacity expansion and reduction operation to be executed;
and if the value of the groupSyncScaling field is a second preset value, determining that the VNF to be subjected to capacity expansion and reduction does not allow the capacity expansion and reduction operation to be executed.
The processor 600 is further adapted to read the computer program and perform the following steps:
setting a group identifier for each VNF; and/or
The value of groupsyncsscaling field of each VNF is set.
Furthermore, a computer-readable storage medium of an embodiment of the present invention stores a computer program executable by a processor to implement:
obtaining a group identifier of a Virtual Network Function (VNF) of a to-be-expanded/contracted capacity;
determining a target VNF with a group identifier in a network service NS according to the group identifier of the VNF to be scaled and contracted;
monitoring whether the target VNF triggers a capacity expansion and reduction operation;
and if the target VNF is monitored to trigger the capacity expansion and reduction operation, triggering the VNF to be subjected to capacity expansion and reduction to execute the same capacity expansion and reduction operation as the target VNF.
Before the step of triggering the VNF to be scaled to execute the same scaling operation as the scaling operation of the target VNF if it is monitored that the target VNF triggers the scaling operation, the method further includes:
determining whether the VNF to be subjected to capacity expansion and reduction allows the capacity expansion and reduction operation to be performed;
if it is monitored that the target VNF triggers a capacity expansion and reduction operation, triggering the VNF to be subjected to capacity expansion and reduction to execute a capacity expansion and reduction operation identical to the capacity expansion and reduction operation of the target VNF includes:
if it is monitored that the target VNF triggers a capacity expansion and reduction operation and the VNF to be subjected to capacity expansion and reduction allows the capacity expansion and reduction operation to be executed, the VNF to be subjected to capacity expansion and reduction is triggered to execute the capacity expansion and reduction operation which is the same as the capacity expansion and reduction operation of the target VNF.
Wherein the determining whether the VNF to be scaled and contracted allows performing a scaling operation includes:
obtaining the value of a group synchronization enabling field of the VNF to be subjected to capacity expansion and contraction;
if the value of the groupSyncScaling field is a first preset value, determining that the VNF to be subjected to capacity expansion and reduction allows the capacity expansion and reduction operation to be executed;
and if the value of the groupSyncScaling field is a second preset value, determining that the VNF to be subjected to capacity expansion and reduction does not allow the capacity expansion and reduction operation to be executed.
Wherein the method further comprises:
setting a group identifier for each VNF; and/or
The value of groupsyncsscaling field of each VNF is set.
In the several embodiments provided in the present application, it should be understood that the disclosed method and apparatus may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be physically included alone, or two or more units may be integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) to execute some steps of the transceiving method according to various embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (6)

1. A method for scaling a volume, comprising:
obtaining a group identifier of a Virtual Network Function (VNF) of a to-be-expanded/contracted capacity;
determining a target VNF with a group identifier in a network service NS according to the group identifier of the VNF to be expanded and contracted, wherein the group identifier groupId is added to each VNF in an NS description file, and the groupId value of each VNF is set as required; the target VNF is a VNF with the same group identification as the VNF to be expanded and contracted, and the target VNF is determined by reading the groupId values of the VNFs in the NS description file;
monitoring whether the target VNFs trigger capacity expansion and reduction operations, wherein whether each target VNF triggers the capacity expansion and reduction operations is monitored according to a preset time interval, and what type of capacity expansion and reduction operations are triggered by each target VNF is monitored;
determining whether the VNF to be scaled and shrunk allows the scaling operation to be performed, including: obtaining the value of a group synchronization enabling field of the VNF to be subjected to capacity expansion and contraction; if the value of the groupSyncScaling field is a first preset value, determining that the VNF to be subjected to capacity expansion and reduction allows the capacity expansion and reduction operation to be executed; if the value of the groupsyncsscaling field is a second preset value, determining that the VNF to be subjected to capacity expansion and reduction does not allow the capacity expansion and reduction operation to be executed;
and if the target VNF is monitored to trigger the capacity expansion and reduction operation, triggering the VNF to be subjected to capacity expansion and reduction to execute the same capacity expansion and reduction operation as the target VNF.
2. The method according to claim 1, wherein if it is monitored that the target VNF triggers a capacity expansion and reduction operation, triggering the VNF to be subjected to capacity expansion and reduction to perform a same capacity expansion and reduction operation as that of the target VNF comprises:
if it is monitored that the target VNF triggers a capacity expansion and reduction operation and the VNF to be subjected to capacity expansion and reduction allows the capacity expansion and reduction operation to be executed, the VNF to be subjected to capacity expansion and reduction is triggered to execute the capacity expansion and reduction operation which is the same as the capacity expansion and reduction operation of the target VNF.
3. The method according to any one of claims 1-2, further comprising:
setting a group identifier for each VNF; and/or
The value of groupsyncsscaling field of each VNF is set.
4. An apparatus for expanding and reducing a volume, comprising:
the acquisition module is used for acquiring the group identification of the virtual network function VNF to be expanded and contracted;
the determining module is used for determining a target VNF with a group identifier in a network service NS according to the group identifier of the VNF to be expanded and contracted, wherein the group identifier groupId is added to each VNF in an NS description file, and the groupId value of each VNF is set as required; the target VNF is a VNF with the same group identification as the VNF to be expanded and contracted, and the target VNF is determined by reading the groupId values of the VNFs in the NS description file;
the monitoring module is used for monitoring whether the target VNFs trigger the capacity expansion and reduction operation, wherein whether each target VNF triggers the capacity expansion and reduction operation is monitored according to a preset time interval, and what type of capacity expansion and reduction operation is triggered by each target VNF is monitored;
wherein, determining whether the VNF to be scaled allows performing a scaling operation includes: obtaining the value of a group synchronization enabling field of the VNF to be subjected to capacity expansion and contraction; if the value of the groupSyncScaling field is a first preset value, determining that the VNF to be subjected to capacity expansion and reduction allows the capacity expansion and reduction operation to be executed; if the value of the groupsyncsscaling field is a second preset value, determining that the VNF to be subjected to capacity expansion and reduction does not allow the capacity expansion and reduction operation to be executed;
and the triggering module is used for triggering the VNF to be subjected to capacity expansion and reduction to execute the same capacity expansion and reduction operation as that of the target VNF if it is monitored that the target VNF triggers the capacity expansion and reduction operation.
5. A scale-up and scale-down apparatus comprising: a memory, a processor, and a computer program stored on the memory and executable on the processor; characterized in that the computer program realizes the steps in the method according to any one of claims 1 to 3 when executed by a processor.
6. A computer-readable storage medium for storing a computer program, wherein the computer program, when executed by a processor, implements the steps in the method of any one of claims 1 to 3.
CN201810000837.4A 2018-01-02 2018-01-02 Capacity expanding and reducing method, device, equipment and computer readable storage medium Active CN109992353B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810000837.4A CN109992353B (en) 2018-01-02 2018-01-02 Capacity expanding and reducing method, device, equipment and computer readable storage medium
PCT/CN2018/125507 WO2019134623A1 (en) 2018-01-02 2018-12-29 Capacity expansion and reduction method, device, apparatus and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810000837.4A CN109992353B (en) 2018-01-02 2018-01-02 Capacity expanding and reducing method, device, equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109992353A CN109992353A (en) 2019-07-09
CN109992353B true CN109992353B (en) 2021-11-02

Family

ID=67128777

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810000837.4A Active CN109992353B (en) 2018-01-02 2018-01-02 Capacity expanding and reducing method, device, equipment and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN109992353B (en)
WO (1) WO2019134623A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112925607A (en) * 2021-02-22 2021-06-08 深圳前海微众银行股份有限公司 System capacity expansion and contraction method and device and electronic equipment
CN113568741B (en) * 2021-07-19 2024-05-10 咪咕文化科技有限公司 Service expansion and contraction method, device, equipment and storage medium of distributed system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105812171A (en) * 2014-12-31 2016-07-27 华为技术有限公司 Virtualized network function VNF control method and device
CN105934919A (en) * 2014-12-17 2016-09-07 华为技术有限公司 Method and system for automatically adjusting network service capability
CN106856438A (en) * 2015-12-09 2017-06-16 华为技术有限公司 A kind of method of Network instantiation, device and NFV systems

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015126430A1 (en) * 2014-02-24 2015-08-27 Hewlett-Packard Development Company, L.P. Virtual network function management with deactivated virtual machines
CN106302210A (en) * 2015-06-23 2017-01-04 中兴通讯股份有限公司 A kind of elastic expansion method, Apparatus and system
EP3335375B1 (en) * 2015-08-14 2023-02-15 Nokia Solutions and Networks Oy Method and apparatus for virtualized network function scaling that is initiated by network management and/or element management
US10911529B2 (en) * 2015-11-06 2021-02-02 Ribbon Communications Operating Company, Inc. Independent groups of virtual network function components
CN107026802B (en) * 2016-01-30 2020-12-15 华为技术有限公司 Resource management method and equipment
US10158583B2 (en) * 2016-03-17 2018-12-18 Huawei Technologies Co., Ltd. Virtual network function state scaling

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105934919A (en) * 2014-12-17 2016-09-07 华为技术有限公司 Method and system for automatically adjusting network service capability
CN105812171A (en) * 2014-12-31 2016-07-27 华为技术有限公司 Virtualized network function VNF control method and device
CN106856438A (en) * 2015-12-09 2017-06-16 华为技术有限公司 A kind of method of Network instantiation, device and NFV systems

Also Published As

Publication number Publication date
WO2019134623A1 (en) 2019-07-11
CN109992353A (en) 2019-07-09

Similar Documents

Publication Publication Date Title
CN111183612B (en) Network traffic sending method and device and mixed honey pot system
CN109766302B (en) Method and device for managing equipment
CN109992353B (en) Capacity expanding and reducing method, device, equipment and computer readable storage medium
EP3200416B1 (en) Sas system, traversal method and device thereof
US10149181B2 (en) Signal output apparatus, board, and signal output method
EP3240251A1 (en) Line card determination, determination processing method and device, and line card determination system
CN112000019B (en) Method, device and equipment for sharing equipment instruction control
CN107819594B (en) Network fault positioning method and device
CN104038566A (en) Virtual switching device address learning method, apparatus and system
CN112165505A (en) Decentralized data processing method, electronic device and storage medium
CN110972326B (en) Downlink control channel transmission method, terminal and network side equipment
CN108574947A (en) A kind of Internet of Things test method and device
CN113819587B (en) Air conditioner control method and device and air conditioner
CN108028854B (en) Data transmission method and host machine
CN106341861B (en) Method, server and system for identifying wireless access point
CN104092590A (en) Creation method and system for testing environment
CN104750560A (en) Information processing method and electronic device
CN107592368B (en) Distributed data synchronous routing method, storage medium, device and system
CN106028303A (en) Smart device discovering method and device
CN103744963A (en) Processing method and device for transforming destination pages
CN105991450A (en) MAC address table updating method and device
CN110580248A (en) Data management method and device based on rule base expansion
CN104580512A (en) Data processing method and device and distributed file system
CN103546316A (en) OAM message transmission method and device
CN105991792A (en) ARP (address resolution protocol) table item backup method, ARP (address resolution protocol) table item backup device and network 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