CN114244709A - UP device association control method and device - Google Patents

UP device association control method and device Download PDF

Info

Publication number
CN114244709A
CN114244709A CN202111332640.9A CN202111332640A CN114244709A CN 114244709 A CN114244709 A CN 114244709A CN 202111332640 A CN202111332640 A CN 202111332640A CN 114244709 A CN114244709 A CN 114244709A
Authority
CN
China
Prior art keywords
bras
current optimal
characteristic value
association
exists
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.)
Granted
Application number
CN202111332640.9A
Other languages
Chinese (zh)
Other versions
CN114244709B (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.)
New H3C Big Data Technologies Co Ltd
Original Assignee
New H3C Big Data 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 New H3C Big Data Technologies Co Ltd filed Critical New H3C Big Data Technologies Co Ltd
Priority to CN202111332640.9A priority Critical patent/CN114244709B/en
Publication of CN114244709A publication Critical patent/CN114244709A/en
Application granted granted Critical
Publication of CN114244709B publication Critical patent/CN114244709B/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
    • 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
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • H04L12/2869Operational details of access network equipments
    • H04L12/287Remote access server, e.g. BRAS
    • 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/32Specific management aspects for broadband networks

Abstract

The application provides a UP device association control method and a device, wherein the method comprises the following steps: when configuring the association BRAS-VM for the first UP device, judging whether a first BRAS-VM which is associated with the first UP device in a designated mode already exists in at least one BRAS-VM; if yes, judging whether the first BRAS-VM currently exists in the CP equipment; if yes, determining the current optimal BRAS-VM configured in the CP equipment from at least one BRAS-VM; comparing whether the first association characteristic value of the first BRAS-VM exceeds the second association characteristic value of the current optimal BRAS-VM; and if not, associating the first UP device with the first BRAS-VM so that the first BRAS-VM manages the first UP device.

Description

UP device association control method and device
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for controlling association of UP devices.
Background
When a virtualized Broadband Remote Access Server (vbars) forwarding and Control separation system manages a vbars-User Plane (UP) device (UP device), the UP device is controlled by the vbars-Control Plane (CP device). At present, a CP device is composed of four types of VMs, namely, a Control Virtual Machine (CTRL-VM), a Broadband Remote Access Server Virtual Machine (BRAS-VM), a Forward Virtual Machine (FWD-VM), and a Database (DB-VM).
In the vbars system, the UP device serves as a forwarding plane, and the number of the UP device may be multiple. When the CTRL-VM included in the CP device associates the UP device with the BRAS-VM, the UP device is allocated to the corresponding BRAS-VM to be managed according to the dynamic allocation principle.
As shown in fig. 1, fig. 1 is a flow chart of BRAS-VM management for the allocation of existing UP devices. In FIG. 1, the CTRL-VM assigns BRAS-VM management for the UP 1. And the CTRL-VM acquires the BRAS-VM1, and judges whether the BRAS-VM1 is a deleted VM, and whether the UP number and the UP user number borne on the BRAS-VM1 are both within an early warning threshold. And if the BRAS-VM1 is not the deleted VM and the UP number and the user number are both within the early warning threshold, the CTRL-VM judges whether the optimal VM exists in the CP.
If the optimal VM exists in the CP, the CTRL-VM judges whether the BRAS-VM1 is better. If the BRAS-VM1 is more optimal, the CTRL-VM updates the BRAS-VM1 to the optimal VM, otherwise, the CTRL-VM judges whether the next BRAS-VM (namely the BRAS-VM2) exists in the CP. If the BRAS-VM2 exists in the CP, the CTRL-VM repeatedly performs the aforementioned steps of determining whether the BRAS-VM1 is a deleted VM, and whether the UP number and the UP number of users borne on the BRAS-VM1 are both within the warning threshold, until the next BRAS-VM does not exist in the CP.
If the optimal VM does not exist in the CP, the CTRL-VM sets the BRAS-VM1 as the optimal VM, and judges whether the next BRAS-VM (namely the BRAS-VM2) exists in the CP. If the BRAS-VM2 exists in the CP, the CTRL-VM repeatedly performs the aforementioned steps of determining whether the BRAS-VM1 is a deleted VM, and whether the UP number and the UP number of users borne on the BRAS-VM1 are both within the warning threshold, until the next BRAS-VM does not exist in the CP.
And according to the judgment of the steps, if the next BRAS-VM does not exist in the CP, the CTRL-VM judges whether the optimal VM in the CP is successfully created. If the optimal VM is successfully created, the CTRL-VM allocates the UP1 to the BRAS-VM management indicated by the optimal VM, and records the association relationship between the UP1 and the BRAS-VM indicated by the optimal VM. If the optimal VM is not successfully created, the CTRL-VM creates a BRAS-VM (i.e., BRAS-VM 3). If the BRAS-VM3 is successfully created, the CTRL-VM allocates the UP1 to the BRAS-VM3 for management, records the association relationship between the UP1 and the BRAS-VM3, and simultaneously sets the BRAS-VM3 as the optimal VM.
By the allocation mode, each UP device on line can be allocated to one BRAS-VM and managed by the BRAS-VM. Therefore, the UP equipment can be managed to the maximum extent on each BRAS-VM, and the expansion capacity cannot be triggered dynamically frequently.
However, the above allocation method also causes the following problems: 1) the existing distribution mode does not support a user to manually deploy the designated BRAS-VM management association of vBRAS-UP in advance, and the distribution mode is not flexible; 2) the existing distribution mode can not be associated to different BRAS-VM for the UP device to manage according to different physical forms of the UP device, and the distribution mode is not flexible and convenient.
Disclosure of Invention
In view of this, the present application provides a method and an apparatus for controlling association of UP devices, so as to solve the problem that the existing allocation method is inflexible and convenient.
In a first aspect, the present application provides a UP device association control method, which is applied to a CTRL-VM, the CTRL-VM being within a CP device, the CP device further including at least one BRAS-VM, the method including:
when configuring an associated BRAS-VM for a first UP device, judging whether a first BRAS-VM which is associated with the first UP device in a designated mode exists in at least one BRAS-VM;
if the first BRAS-VM exists in the at least one BRAS-VM, judging whether the first BRAS-VM currently exists in the CP equipment;
if the first BRAS-VM exists in the CP equipment, determining the current optimal BRAS-VM configured in the CP equipment from the at least one BRAS-VM;
comparing whether the first association characteristic value of the first BRAS-VM exceeds the second association characteristic value of the current optimal BRAS-VM;
and if the first association characteristic value does not exceed the second association characteristic value, associating the first UP device with the first BRAS-VM so that the first BRAS-VM manages the first UP device.
In a second aspect, the present application provides a UP device association control apparatus, which is applied to a CTRL-VM, the CTRL-VM being within a C device P, the CP device further including at least one BRAS-VM, the apparatus including:
a first judging unit, configured to, when configuring an association BRAS-VM for a first UP device, judge whether a first BRAS-VM that is in a designated association with the first UP device already exists in the at least one BRAS-VM;
a second judging unit, configured to judge whether the first BRAS-VM currently exists in the CP device if the first BRAS-VM exists in the at least one BRAS-VM;
a determining unit, configured to determine, from the at least one BRAS-VM, a current optimal BRAS-VM configured in the CP device if the first BRAS-VM exists in the CP device;
the first comparison unit is used for comparing whether the first correlation characteristic value of the first BRAS-VM exceeds the second correlation characteristic value of the current optimal BRAS-VM or not;
and the association unit is used for associating the first UP device with the first BRAS-VM if the first association characteristic value does not exceed the second association characteristic value, so that the first BRAS-VM manages the first UP device.
In a third aspect, the present application provides a network device comprising a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor, the processor being caused by the machine-executable instructions to perform the method provided by the first aspect of the present application.
Therefore, by applying the UP device association control method and device provided by the application, when the association BRAS-VM is configured for the first UP device, the CTRL-VM judges whether the first BRAS-VM which is associated with the first UP device in a designated manner already exists in at least one BRAS-VM; if the first BRAS-VM exists in the at least one BRAS-VM, the CTRL-VM judges whether the first BRAS-VM exists in the CP equipment currently; if the first BRAS-VM exists in the CP equipment, the CTRL-VM determines the current optimal BRAS-VM configured in the CP equipment from at least one BRAS-VM; the CTRL-VM compares whether the first association characteristic value of the first BRAS-VM exceeds the second association characteristic value of the current optimal BRAS-VM; and if the first association characteristic value does not exceed the second association characteristic value, the CTRL-VM associates the first UP device with the first BRAS-VM so that the first BRAS-VM manages the first UP device.
Therefore, the BRAS-VM which simultaneously supports dynamic and static modes and distributes management for UP is realized, and different scenes of actual application are facilitated. The problem that the existing distribution mode is inflexible and convenient is solved.
Drawings
FIG. 1 is a flow chart of the prior art BRAS-VM management for UP device assignment;
FIG. 2 is a flowchart of a UP device association control method provided in an embodiment of the present application;
fig. 3 is a management flow diagram of a BRAS-VM management for allocating a UP device according to an embodiment of the present application;
FIG. 4 is a block diagram of a UP device association control apparatus provided in an embodiment of the present application;
fig. 5 is a hardware structure of a network device according to an embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the corresponding listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
The UP device association control method provided by the embodiment of the present application is explained in detail below. Referring to fig. 2, fig. 2 is a flowchart of an UP device association control method provided in an embodiment of the present application. The method is applied to CTRL-VM. The UP device association control method provided by the embodiment of the application can comprise the following steps.
Step 210, when configuring the associated BRAS-VM for the first UP device, determining whether a first BRAS-VM appointed associated with the first UP device already exists in the at least one BRAS-VM.
In particular, in the vbars system, the UP device serves as a forwarding plane, and the number of the UP device may be multiple. Each UP device needs to be associated with one BRAS-VM so as to realize the management of the BRAS-VM on the UP device.
In the following, the CTRL-VM is taken as an example to configure the association BRAS-VM for the first UP device, and the configuration procedure of other UP devices is the same as the configuration procedure of the first UP device.
When configuring the association BRAS-VM for the first UP device, the CTRL-VM determines whether a first BRAS-VM, which is associated with the first UP device designation, already exists among at least one BRAS-VM included in the CP device.
If the first BRAS-VM exists in the at least one BRAS-VM, the CTRL-VM performs step 220; and if the first BRAS-VM does not exist in at least one BRAS-VM, the CTRL-VM executes the existing dynamic allocation rule and allocates the first UP equipment to the corresponding BRAS-VM for management.
In an embodiment of the present application, a first BRAS-VM associated with a first UP device designation may be preconfigured by a user (or referred to as a manager) at a CTRL-VM. The user may issue configuration instructions to the CTRL-VM in the form of a command line.
Here, the process of allocating the first UP device to the corresponding BRAS-VM for management is briefly described, where if the first BRAS-VM does not exist in at least one BRAS-VM, the CTRL-VM executes the existing dynamic allocation rule.
And if the first BRAS-VM does not exist in the at least one BRAS-VM, the CTRL-VM selects a second BRAS-VM from the at least one BRAS-VM. The CTRL-VM may select the second BRAS-VM in a sequential order based on the size of the VM Group ID of each BRAS-VM, or the CTRL-VM may randomly select the second BRAS-VM from among the at least one BRAS-VM.
And after the CTRL-VM selects a second BRAS-VM, judging whether the second BRAS-VM is a deleted BRAS-VM, judging whether the number of UP devices borne on the second BRAS-VM exceeds a first number threshold value, and judging whether the number of users borne by each UP device exceeds a second number threshold value.
And if the second BRAS-VM is not the deleted BRAS-VM, the number of UP devices does not exceed a first number threshold value, and the number of users does not exceed a second number threshold value, the CTRL-VM judges whether the current optimal BRAS-VM exists in the CP.
The current optimal BRAS-VM specifically means that the number of UP devices borne by the BRAS-VM is minimum, and the VM Group ID is minimum.
And if the current optimal BRAS-VM exists in the CP, the CTRL-VM respectively acquires a third association characteristic value of the second BRAS-VM and a second association characteristic value of the current optimal BRAS-VM. The CTRL-VM compares whether the third associated characteristic value exceeds the second associated characteristic value.
Wherein, the associated characteristic value includes the number of UP devices of the bearer, the VM Group ID, and so on. The comparison of the third correlation characteristic value with the CTRL-VM whether the third correlation characteristic value exceeds the second correlation characteristic value is specifically as follows: and the CTRL-VM compares whether the number of UP devices borne by the second BRAS-VM exceeds the number of UP devices borne by the current optimal BRAS-VM.
And if the number of UP devices borne by the second BRAS-VM does not exceed the number of UP devices borne by the current optimal BRAS-VM, the CTRL-VM updates the second BRAS-VM to the current optimal BRAS-VM.
And if the VM Group ID of the second BRAS-VM is smaller than the VM Group ID of the current optimal BRAS-VM, the CTRL-VM updates the second BRAS-VM to the current optimal BRAS-VM.
And after the CTRL-VM updates the second BRAS-VM to the current optimal BRAS-VM, the CTRL-VM judges whether a third BRAS-VM exists in the at least one BRAS-VM or not, namely whether a next BRAS-VM exists in the at least one BRAS-VM or not, or whether the second BRAS-VM is the last BRAS-VM in the at least one BRAS-VM or not.
And if the third BRAS-VM does not exist in the at least one BRAS-VM, namely the second BRAS-VM is the last BRAS-VM in the at least one BRAS-VM, the CTRL-VM judges whether the current optimal BRAS-VM (namely the second BRAS-VM) is successfully created.
If the current optimal BRAS-VM (i.e., the second BRAS-VM) has been successfully created, the CTRL-VM associates the first UP device with the current optimal BRAS-VM (i.e., the second BRAS-VM), such that the current optimal BRAS-VM (i.e., the second BRAS-VM) manages the first UP device.
If the current optimal BRAS-VM (i.e., the second BRAS-VM) is not successfully created, the CTRL-VM creates a third BRAS-VM. The created BRAS-VM is referred to herein as a third BRAS-VM for distinguishing from the previously created second BRAS-VM.
When the third BRAS-VM is successfully created, the CTRL-VM associates the first UP device with the third BRAS-VM so that the third BRAS-VM manages the first UP device. And when the third BRAS-VM is not successfully created, the CTRL-VM confirms the third BRAS-VM as an invalid value and ends the distribution flow.
In the embodiment of the application, if the second BRAS-VM is a deleted BRAS-VM, or the number of UP devices exceeds a first number threshold value and the number of users exceeds a second number threshold value, the CTRL-VM judges whether a third BRAS-VM still exists in at least one BRAS-VM.
In the embodiment of the application, if the current optimal BRAS-VM does not exist in the CP, the CTRL-VM updates the second BRAS-VM to the current optimal BRAS-VM.
In the embodiment of the application, if a third BRAS-VM exists in at least one BRAS-VM, the CTRL-VM repeatedly executes all processes of judging whether the BRAS-VM is a deleted BRAS-VM, whether the UP number borne on the BRAS-VM exceeds a first number threshold, whether the user number borne by each UP exceeds a second number threshold, and updating the second BRAS-VM to a current optimal BRAS-VM until the third BRAS-VM does not exist in the at least one BRAS-VM.
Step 220, if the first BRAS-VM exists in the at least one BRAS-VM, determining whether the first BRAS-VM currently exists in the CP device.
Specifically, according to the judgment of step 210, if the first BRAS-VM exists in the at least one BRAS-VM, the CTRL-VM continues to judge whether the first BRAS-VM currently exists in the CP device.
If the first BRAS-VM currently exists in the CP device, the CTRL-VM performs step 230; and if the first BRAS-VM does not exist in the CP equipment, the CTRL-VM generates and displays first prompt information. The first prompt message is used for informing a user that the first BRAS-VM designated for the first UP device does not exist in the CP device, and subsequently, the association between the first UP device and the first BRAS-VM can be realized in a manner of expanding the BARS-VM in the CP device.
And the user determines whether to expand the first BRAS-VM in the CP equipment according to the first prompt message so as to associate the first UP equipment with the first BRAS-VM.
And the user issues a first confirmation instruction to the CTRL-VM by inputting a command line, wherein the first confirmation instruction comprises confirmation information that the user confirms that the first BRAS-VM is expanded in the CP equipment.
And after receiving a first confirmation instruction input by a user, the CTRL-VM creates a first BRAS-VM in the CP equipment according to the confirmation information. The CTRL-VM associates the first UP device with the first BRAS-VM such that the first BRAS-VM manages the first UP device.
Step 230, if the first BRAS-VM exists in the CP device, determining a current optimal BRAS-VM configured in the CP device from the at least one BRAS-VM.
Specifically, according to the judgment of the step 220, if the first BRAS-VM exists in the CP device, the CTRL-VM determines the currently optimal BRAS-VM configured in the CP device from at least one BRAS-VM.
And the CTRL-VM acquires a first association characteristic value of the first BRAS-VM and a second association characteristic value of the current optimal BRAS-VM respectively.
Wherein, the associated characteristic value includes the number of UP devices of the bearer, the VM Group ID, and so on.
And step 240, comparing whether the first association characteristic value of the first BRAS-VM exceeds the second association characteristic value of the current optimal BRAS-VM.
Specifically, according to the description of step 230, after the CTRL-VM obtains the associated characteristic values of the individual BRAS-VMs, it compares whether the first associated characteristic value exceeds the second associated characteristic value.
Comparing whether the first associated characteristic value exceeds the second associated characteristic value by the CTRL-VM specifically comprises the following steps: and the CTRL-VM compares whether the number of UP devices borne by the first BRAS-VM exceeds the number of UP devices borne by the current optimal BRAS-VM.
Step 250, if the first association characteristic value does not exceed the second association characteristic value, associating the first UP with the first BRAS-VM, so that the first BRAS-VM manages the first UP.
Specifically, according to the description of step 240, if the number of UP devices carried by the first BRAS-VM does not exceed the number of UP devices carried by the current optimal BRAS-VM, the CTRL-VM associates the first UP device with the first BRAS-VM, so that the first BRAS-VM manages the first UP device.
If the number of the UP devices borne by the first BRAS-VM is equal to the number of the UP devices borne by the current optimal BRAS-VM, the CTRL-VM compares the sizes of the VM Group IDs of the first BRAS-VM and the current optimal BRAS-VM, and if the VM Group ID of the first BRAS-VM is smaller than the VM Group ID of the current optimal BRAS-VM, the CTRL-VM associates the first UP device with the first BRAS-VM, so that the first BRAS-VM manages the first UP device.
And if the number of UP devices borne by the first BRAS-VM exceeds the number of UP devices borne by the current optimal BRAS-VM, the CTRL-VM generates and displays second prompt information. The second prompt message is used for informing the user that the first BRAS-VM designated by the first UP device currently manages a plurality of UP devices, and if the association is continued, the phenomenon that the BRAS-VM is expanded in the CP device and the UP device managed by the first BRAS-VM migrates may occur subsequently.
And the user determines that the capacity expansion and migration risks exist in the CP equipment according to the second prompt information.
And the user issues a second confirmation instruction to the CTRL-VM in a mode of inputting a command line, wherein the second confirmation instruction comprises confirmation information for confirming that capacity expansion and migration risks exist in the CP equipment by the user.
And after receiving a second confirmation instruction input by the user, the CTRL-VM associates the first UP device with the first BRAS-VM according to the confirmation information, so that the first BRAS-VM manages the first UP device.
Therefore, by applying the UP device association control device provided by the application, when the association BRAS-VM is configured for the first UP device, the CTRL-VM judges whether a first BRAS-VM which is in appointed association with the first UP device exists in at least one BRAS-VM; if the first BRAS-VM exists in the at least one BRAS-VM, the CTRL-VM judges whether the first BRAS-VM exists in the CP equipment currently; if the first BRAS-VM exists in the CP equipment, the CTRL-VM determines the current optimal BRAS-VM configured in the CP equipment from at least one BRAS-VM; the CTRL-VM compares whether the first association characteristic value of the first BRAS-VM exceeds the second association characteristic value of the current optimal BRAS-VM; and if the first association characteristic value does not exceed the second association characteristic value, the CTRL-VM associates the first UP device with the first BRAS-VM so that the first BRAS-VM manages the first UP device.
Therefore, the BRAS-VM which simultaneously supports dynamic and static modes and distributes management for UP is realized, and different scenes of actual application are facilitated. The problem that the existing distribution mode is inflexible and convenient is solved. Meanwhile, the CTRL-VM supports a user to configure the associated BRAS-VM for the UP device in a manual mode, so that the user can conveniently deploy the UP device in advance and configure different BRAS-VMs for different types of UP devices (for example, the UP device type and the vUP device are down), and the problem of mutual influence when different types of UP devices are associated with the same BRAS-VM is avoided.
It should be noted that, according to the physical form of the device, the UP device is classified into the following two types:
1) vbars-poup device: referred to as pUP equipment for short. The physical device assumes the UP device role. The pUP equipment has the characteristic of strong forwarding performance, and can be used for processing services with high flow requirements such as broadband internet access and IPTV; 2) vbars-vUP device: vUP devices for short, are assumed by the virtualization device to be in the role of a UP device. vUP the device has the characteristic of strong computing power and can be used for processing the services with large conversation and small flow demand, such as ITMS, VoIP, etc.
Therefore, according to the existing allocation mode, the CTRL-VM is likely to allocate the pUP device and the vUP device to the same BRAS-VM with the small load of the UP device number. However, since the business of the pUP device is completely different from the business of the vUP device, the management of the pUP device and the business of the vUP device by the same BRAS-VM is not suitable. Since the number of users online at the pUP may far exceed the number of users online at vUP, the increase of the number of users online at the pUP will trigger the expansion of the BRAS-VM or the migration of the vUP device, which will affect the vUP device service again.
Optionally, in this embodiment of the present application, after the CTRL-VM associates the first UP device with a corresponding BRAS-VM (including the first BRAS-VM, the third BRAS-VM, and the currently optimal BRAS-VM mentioned in the foregoing embodiment), the CTRL-VM further records a corresponding relationship between the first UP device and the BRAS-VM.
Optionally, in this embodiment of the present application, after the CTRL-VM records the correspondence between the first UP device and the corresponding BRAS-VM, the CTRL-VM also stops the delay recovery timer set for the BARS-VM. The time delay recovery timer is configured for the BRAS-VM when the BRAS-VM is created, so that the BRAS-VM is deleted after the designated time, and the software and hardware resources occupied by the BRAS-VM are recovered.
The UP device association control method provided by the embodiment of the present application is explained in detail below. Referring to fig. 3, fig. 3 is a flowchart of BRAS-VM management for assigning a BRAS to a UP device according to an embodiment of the present application.
The example of CTRL-VM assigning BRAS-VM to UP1 is illustrated.
Step 300, CTRL-VM configures the management BRAS-VM for UP 1.
Step 301, CTRL-VM judges if there is any BRAS-VM1 in at least one BRAS-VM that is associated with the designation of UP 1.
Specifically, when configuring the associated BRAS-VM for the UP1 device, the CTRL-VM determines whether there is already a BRAS-VM1 in at least one BRAS-VM included within the CP device that has a specified association with the UP1 device.
If the BRAS-VM1 already exists in at least one BRAS-VM, the CTRL-VM performs step 302; if there is not a BRAS-VM1 in the at least one BRAS-VM, the CTRL-VM performs step 308.
Step 302, CTRL-VM judges whether BRAS-VM1 exists in CP equipment currently.
Specifically, if the BRAS-VM1 is currently present within the CP device, the CTRL-VM determines, from within at least one BRAS-VM, a current optimal BRAS-VM that has been configured within the CP device.
And the CTRL-VM acquires a first associated characteristic value of the BRAS-VM1 and a second associated characteristic value of the current optimal BRAS-VM respectively, and executes the step 303.
If the BRAS-VM1 does not exist within the CP device, the CTRL-VM performs step 307.
And step 303, comparing the first association characteristic value of the BRAS-VM1 with the second association characteristic value of the current optimal BRAS-VM by the CTRL-VM in order to judge whether the first association characteristic value of the BRAS-VM1 exceeds the second association characteristic value of the current optimal BRAS-VM.
Specifically, the CTRL-VM compares whether the number of UP devices borne by the BRAS-VM1 exceeds the number of UP devices borne by the current optimal BRAS-VM.
If the number of UP devices carried by the BRAS-VM1 does not exceed the number of UP devices carried by the current optimal BRAS-VM, the CTRL-VM executes step 304.
If the number of UP devices borne by the BRAS-VM1 is equal to the number of UP devices borne by the current optimal BRAS-VM, the CTRL-VM compares the sizes of the VM Group IDs of the BRAS-VM1 and the current optimal BRAS-VM, and if the VM Group ID of the BRAS-VM1 is smaller than the VM Group ID of the current optimal BRAS-VM, the CTRL-VM executes a step 304.
If the number of UP devices carried by the BRAS-VM1 exceeds the number of UP devices carried by the current optimal BRAS-VM, the CTRL-VM performs step 307.
Step 304, CTRL-VM records the correspondence between UP1 and the corresponding BRAS-VM.
Specifically, according to the descriptions of step 303 and step 307, if the number of UP devices carried by the BRAS-VM1 does not exceed the number of UP devices carried by the current optimal BRAS-VM, or if the number of UP devices carried by the BRAS-VM1 is equal to the number of UP devices carried by the current optimal BRAS-VM, and the VM Group ID of the BRAS-VM1 is smaller than the VM Group ID of the current optimal BRAS-VM, the CTRL-VM associates the UP1 with the BRAS-VM1, and records the corresponding relationship between the UP1 and the BRAS-VM 1.
According to the description of the step 316, if the current optimal BRAS-VM is successfully created, the CTRL-VM associates the UP1 with the current optimal BRAS-VM, and records the corresponding relationship between the UP1 and the current optimal BRAS-VM.
Step 305, CTRL-VM stops the delayed reclamation timer set for BARS-VM.
Specifically, as described in step 304, the CTRL-VM stops the latency reclamation timer set for the BARS-VM1 and performs step 306.
Step 306, CTRL-VM finishes the assignment process.
Step 307, the CTRL-VM generates and displays a prompt message, and the prompt message is confirmed by the user.
Specifically, as described in step 302, if the BRAS-VM1 does not exist within the CP device, the CTRL-VM generates and displays a first prompt. The first prompt is used to inform the user that the BRAS-VM1 designated for the UP1 device does not exist in the CP device, and association of the UP1 device with the BRAS-VM1 can be subsequently achieved by means of the bar-VM extension in the CP device.
The user determines whether to extend the BRAS-VM1 within the CP device based on the first hints information, such that the UP1 is associated with the BRAS-VM 1.
The user issues a first confirmation instruction to the CTRL-VM by entering a command line, wherein the first confirmation instruction comprises confirmation information that the user confirms that the BRAS-VM1 is expanded in the CP device.
After the CTRL-VM receives the first confirmation instruction entered by the user, the BRAS-VM1 is created within the CP device based on the confirmation information, and step 304 is performed.
According to the description of step 303, if the number of UP devices carried by the BRAS-VM1 exceeds the number of UP devices carried by the current optimal BRAS-VM, the CTRL-VM generates and displays the second prompt message. The second prompt is used to inform the user that the BRAS-VM1 designated for the UP1 device currently manages multiple UP devices, and if the association is continued, the phenomenon that the BRAS-VM is expanded in the CP device and the BRAS-VM1 managed UP device migration may occur subsequently.
And the user determines that the capacity expansion and migration risks exist in the CP equipment according to the second prompt information.
And the user issues a second confirmation instruction to the CTRL-VM in a mode of inputting a command line, wherein the second confirmation instruction comprises confirmation information for confirming that capacity expansion and migration risks exist in the CP equipment by the user.
After the CTRL-VM receives the second confirm command from the user, the UP1 is associated with the BRAS-VM1 according to the confirm message, and step 304 is executed.
Step 308, CTRL-VM selects a BRAS-VM.
Specifically, as depicted in step 301, if the BRAS-VM1 does not exist in the at least one BRAS-VM, the CTRL-VM selects the BRAS-VM2 from the at least one BRAS-VM. The CTRL-VM may select the BRAS-VMs 2 in a sequential order based on the size of the VM Group ID of each BRAS-VM, or the CTRL-VM may randomly select the BRAS-VM2 from among at least one BRAS-VM.
And step 309, the CTRL-VM judges whether the BRAS-VM2 is the deleted BRAS-VM, whether the quantity of the UP devices borne on the BRAS-VM2 exceeds a first quantity threshold value and whether the quantity of users borne by each UP device exceeds a second quantity threshold value.
Specifically, if the BRAS-VM2 is not a deleted BRAS-VM, and the number of UP devices does not exceed the first number threshold, and the number of users does not exceed the second number threshold, the CTRL-VM performs step 310.
If the BRAS-VM2 is a deleted BRAS-VM, or the number of UP devices exceeds the first number threshold and the number of users exceeds the second number threshold, the CTRL-VM performs step 313.
And step 310, the CTRL-VM judges whether the current optimal BRAS-VM exists in the CP equipment.
Specifically, according to the description of step 309, if the current optimal BRAS-VM already exists in the CP, the CTRL-VM obtains the third association characteristic value of BRAS-VM2 and the second association characteristic value of the current optimal BRAS-VM, respectively, and performs step 311.
If there is no current optimal BRAS-VM within the CP, the CTRL-VM performs step 312.
And 311, comparing the third associated characteristic value of the BRAS-VM2 with the second associated characteristic value of the current optimal BRAS-VM by the CTRL-VM.
Specifically, the CTRL-VM compares whether the number of UP devices borne by the BRAS-VM2 exceeds the number of UP devices borne by the current optimal BRAS-VM.
If the number of UP devices carried by the BRAS-VM2 does not exceed the number of UP devices carried by the current optimal BRAS-VM, the CTRL-VM performs step 312.
If the number of UP devices borne by the BRAS-VM2 is equal to the number of UP devices borne by the current optimal BRAS-VM, the CTRL-VM compares the sizes of the VM Group IDs of the BRAS-VM2 and the current optimal BRAS-VM, and if the VM Group ID of the BRAS-VM2 is smaller than the VM Group ID of the current optimal BRAS-VM, the CTRL-VM executes step 312.
And if the number of UP devices borne by the BRAS-VM1 exceeds the number of UP devices borne by the current optimal BRAS-VM, the CTRL-VM executes the step 313.
And step 312, the CTRL-VM updates the BRAS-VM2 to the current optimal BRAS-VM.
Specifically, as depicted in step 310, if the current optimal BRAS-VM does not exist within the CP, the CTRL-VM updates the BRAS-VM2 to the current optimal BRAS-VM.
According to the description of step 311, if the number of UP devices carried by the BRAS-VM2 does not exceed the number of UP devices carried by the current optimal BRAS-VM, or if the number of UP devices carried by the BRAS-VM2 is equal to the number of UP devices carried by the current optimal BRAS-VM, and the VM Group ID of the BRAS-VM2 is smaller than the VM Group ID of the current optimal BRAS-VM, the CTRL-VM updates the BRAS-VM2 to the current optimal BRAS-VM.
And step 313, the CTRL-VM judges whether the next BRAS-VM exists in the at least one BRAS-VM.
Specifically, according to the description of step 309, if the BRAS-VM2 is a deleted BRAS-VM, or the number of UP devices exceeds a first number threshold and the number of users exceeds a second number threshold, the CTRL-VM determines whether the BRAS-VM3 exists in at least one BRAS-VM.
According to the description of step 311, if the number of UP devices carried by the BRAS-VM1 exceeds the number of UP devices carried by the current optimal BRAS-VM, the CTRL-VM determines whether there is a BRAS-VM3 in at least one BRAS-VM.
According to the description of the step 312, after the CTRL-VM updates the BRAS-VM2 to the current optimal BRAS-VM, the CTRL-VM determines whether the BRAS-VM3 exists in at least one BRAS-VM.
If the BRAS-VM3 does not exist in the at least one BRAS-VM, the CTRL-VM performs step 314; if there is a BRAS-VM3 in the at least one BRAS-VM, the CTRL-VM again performs step 309.
And step 314, the CTRL-VM judges whether the current optimal BRAS-VM is successfully created.
Specifically, according to the description of step 313, if there is no BRAS-VM3 in at least one BRAS-VM, the CTRL-VM determines whether the current optimal BRAS-VM has been successfully created.
If the current optimal BRAS-VM is successfully created, the CTRL-VM executes step 304; if the current optimal BRAS-VM is not successfully created, the CTRL-VM performs step 315.
Step 315, CTRL-VM creates a BRAS-VM.
Specifically, according to the description of step 314, if the current optimal BRAS-VM is not successfully created, the CTRL-VM creates the current optimal BRAS-VM.
And step 316, the CTRL-VM judges whether the BRAS-VM is successfully created.
Specifically, the CTRL-VM determines whether the BRAS-VM has been successfully created as described in step 315.
If the current optimal BRAS-VM is successfully established, the CTRL-VM executes the step 304 again; if the current optimal BRAS-VM is not successfully created, the CTRL-VM performs step 317.
And step 317, the CTRL-VM determines that the BRAS-VM is an invalid value.
Specifically, according to the description of step 316, if the current optimal BRAS-VM is not successfully created, the CTRL-VM determines that the current optimal BRAS-VM is an invalid value, and performs step 306.
Based on the same inventive concept, the embodiment of the application also provides a UP device association control device corresponding to the UP device association control method. Referring to fig. 4, fig. 4 is a structural diagram of an UP device association control apparatus provided in an embodiment of the present application. The device is applied to CTRL-VM which is positioned in CP equipment, and the CP equipment also comprises at least one BRAS-VM, and the device comprises:
a first judging unit 410, configured to, when configuring an associated BRAS-VM for a first UP device, judge whether a first BRAS-VM, which is in designated association with the first UP device, already exists in the at least one BRAS-VM;
a second determining unit 420, configured to determine whether the first BRAS-VM currently exists in the CP device if the first BRAS-VM exists in the at least one BRAS-VM;
a determining unit 430, configured to determine, from the at least one BRAS-VM, a current optimal BRAS-VM configured in the CP device if the first BRAS-VM exists in the CP device;
a first comparing unit 440, configured to compare whether the first association characteristic value of the first BRAS-VM exceeds the second association characteristic value of the current optimal BRAS-VM;
an associating unit 450, configured to associate the first UP device with the first BRAS-VM if the first association characteristic value does not exceed the second association characteristic value, so that the first BRAS-VM manages the first UP device.
Optionally, the apparatus further comprises: a display unit (not shown in the figure), configured to generate and display first prompt information if the first BRAS-VM does not exist in the CP device, so that a user determines, according to the first prompt information, whether to expand the first BRAS-VM in the CP device, so as to associate the first UP device with the first BRAS-VM;
a receiving unit (not shown in the figure), configured to receive a first confirmation instruction input by the user, where the first confirmation instruction includes confirmation information that the user determines to expand the first BRAS-VM in the CP device;
a creating unit (not shown in the figure) for creating the first BRAS-VM in the CP device according to the confirmation information;
the associating unit 450 is further configured to associate the first UP device with the first BRAS-VM, so that the first BRAS-VM manages the first UP device.
Optionally, the apparatus further comprises: the display unit (not shown in the figure) is further configured to generate and display second prompt information if the first associated characteristic value exceeds the second associated characteristic value, so that a user determines that a capacity expansion risk exists in the CP device according to the second prompt information;
the receiving unit (not shown in the figure) is further configured to receive a second confirmation instruction input by the user, where the second confirmation instruction includes confirmation information that the user determines that there is an expansion risk in the CP device;
the associating unit 450 is further configured to associate the first UP device with the first BRAS-VM according to the confirmation information, so that the first BRAS-VM manages the first UP device.
Optionally, the apparatus further comprises: a selecting unit (not shown) for selecting a second BRAS-VM from the at least one BRAS-VM if the first BRAS-VM does not exist in the at least one BRAS-VM;
a third determining unit (not shown in the figure), configured to determine whether the second BRAS-VM is a deleted BRAS-VM, and whether the number of UP devices carried on the second BRAS-VM exceeds a first number threshold, and whether the number of users carried by each UP device exceeds a second number threshold;
a fourth determining unit (not shown in the figure), configured to determine whether the current optimal BRAS-VM already exists in the CP device, if the second BRAS-VM is not a deleted BRAS-VM, and the number of UP devices does not exceed the first number threshold and the number of users does not exceed the second number threshold;
a second comparing unit (not shown in the figure), configured to compare whether a third association characteristic value of the second BRAS-VM exceeds a second association characteristic value of the current optimal BRAS-VM, if the current optimal BRAS-VM already exists in the CP device;
an updating unit (not shown in the figure), configured to update the second BRAS-VM to the current optimal BRAS-VM if the third association characteristic value does not exceed the second association characteristic value;
a fifth judging unit (not shown in the figure) for judging whether a third BRAS-VM exists in the at least one BRAS-VM;
a sixth determining unit (not shown in the figure), configured to determine whether the current optimal BRAS-VM has been successfully created if a third BRAS-VM does not exist in the at least one BRAS-VM;
the associating unit 450 is further configured to associate the first UP device with the current optimal BRAS-VM if the current optimal BRAS-VM is successfully created, so that the current optimal BRAS-VM manages the first UP device.
Optionally, the apparatus further comprises: a creating unit (not shown in the figure) for creating the third BRAS-VM if the current optimal BRAS-VM is not successfully created;
the associating unit 450 is further configured to associate the first UP device with the third BRAS-VM when the third BRAS-VM is successfully created, so that the third BRAS-VM manages the first UP device.
Optionally, the updating unit (not shown) is further configured to update the second BRAS-VM to the current optimal BRAS-VM if the current optimal BRAS-VM does not exist in the CP device.
Optionally, the third determining unit (not shown), the fourth determining unit (not shown), the second comparing unit (not shown), and the updating unit (not shown) are further configured to, if a third BRAS-VM exists in the at least one BRAS-VM, repeatedly perform all processes of determining whether the BRAS-VM is a deleted BRAS-VM, whether the number of UP devices carried on the BRAS-VM exceeds a first number threshold, whether the number of users carried on each UP device exceeds a second number threshold, and updating the second BRAS-VM to the current optimal BRAS-VM until the third BRAS-VM does not exist in the at least one BRAS-VM.
Therefore, by applying the UP device association control device provided by the application, when the association BRAS-VM is configured for the first UP device, the CTRL-VM judges whether a first BRAS-VM which is in appointed association with the first UP device exists in at least one BRAS-VM; if the first BRAS-VM exists in the at least one BRAS-VM, the CTRL-VM judges whether the first BRAS-VM exists in the CP equipment currently; if the first BRAS-VM exists in the CP equipment, the CTRL-VM determines the current optimal BRAS-VM configured in the CP equipment from at least one BRAS-VM; the CTRL-VM compares whether the first association characteristic value of the first BRAS-VM exceeds the second association characteristic value of the current optimal BRAS-VM; and if the first association characteristic value does not exceed the second association characteristic value, the CTRL-VM associates the first UP device with the first BRAS-VM so that the first BRAS-VM manages the first UP device.
Therefore, the BRAS-VM which simultaneously supports dynamic and static modes and distributes management for UP is realized, and different scenes of actual application are facilitated. The problem that the existing distribution mode is inflexible and convenient is solved.
Based on the same inventive concept, the present application further provides a network device, as shown in fig. 5, including a processor 510, a transceiver 520, and a machine-readable storage medium 530, where the machine-readable storage medium 530 stores machine-executable instructions capable of being executed by the processor 510, and the processor 510 is caused by the machine-executable instructions to execute the UP device association control method provided by the present application. The aforementioned UP device association control means shown in fig. 4 can be implemented by using a hardware structure of a network device as shown in fig. 5.
The computer-readable storage medium 530 may include a Random Access Memory (RAM) or a Non-volatile Memory (NVM), such as at least one disk Memory. Alternatively, the computer-readable storage medium 530 may also be at least one storage device located remotely from the processor 510.
The Processor 510 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA), or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
In an embodiment of the present application, the processor 510 is enabled by reading machine executable instructions stored in the machine readable storage medium 530 to implement the processor 510 itself and the call transceiver 520 to execute the UP device association control method described in the foregoing embodiments of the present application.
Additionally, embodiments of the present application provide a machine-readable storage medium 530, the machine-readable storage medium 530 storing machine-executable instructions that, when invoked and executed by the processor 510, cause the processor 510 itself and the invoking transceiver 520 to perform the aforementioned UP device association control methods described in embodiments of the present application.
The implementation process of the functions and actions of each unit in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the application. One of ordinary skill in the art can understand and implement it without inventive effort.
For the UP device association control apparatus and the machine-readable storage medium embodiment, since the related method content is basically similar to the foregoing method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the scope of protection of the present application.

Claims (14)

1. A UP device association control method applied to a CTRL-VM within a CP device that also includes at least one BRAS-VM, the method comprising:
when configuring an associated BRAS-VM for a first UP device, judging whether a first BRAS-VM which is associated with the first UP device in a designated mode exists in at least one BRAS-VM;
if the first BRAS-VM exists in the at least one BRAS-VM, judging whether the first BRAS-VM currently exists in the CP equipment;
if the first BRAS-VM exists in the CP equipment, determining the current optimal BRAS-VM configured in the CP equipment from the at least one BRAS-VM;
comparing whether the first association characteristic value of the first BRAS-VM exceeds the second association characteristic value of the current optimal BRAS-VM;
and if the first association characteristic value does not exceed the second association characteristic value, associating the first UP device with the first BRAS-VM so that the first BRAS-VM manages the first UP device.
2. The method of claim 1, further comprising:
if the first BRAS-VM does not exist in the CP equipment, generating and displaying first prompt information so that a user determines whether to expand the first BRAS-VM in the CP equipment or not according to the first prompt information so as to associate the first UP equipment with the first BRAS-VM;
receiving a first confirmation instruction input by the user, wherein the first confirmation instruction comprises confirmation information of the user for determining capacity expansion of the first BRAS-VM in CP equipment;
according to the confirmation information, the first BRAS-VM is established in the CP equipment;
associating the first UP device with the first BRAS-VM such that the first BRAS-VM manages the first UP device.
3. The method of claim 1, further comprising:
if the first correlation characteristic value exceeds the second correlation characteristic value, generating and displaying second prompt information so that a user can determine that capacity expansion risk exists in the CP equipment according to the second prompt information;
receiving a second confirmation instruction input by the user, wherein the second confirmation instruction comprises confirmation information for confirming that the expansion risk exists in the CP equipment by the user;
and associating the first UP device with the first BRAS-VM according to the confirmation information so that the first BRAS-VM manages the first UP device.
4. The method of claim 1, further comprising:
if the first BRAS-VM does not exist in the at least one BRAS-VM, selecting a second BRAS-VM from the at least one BRAS-VM;
judging whether the second BRAS-VM is a deleted BRAS-VM, whether the number of UP devices borne on the second BRAS-VM exceeds a first number threshold value and whether the number of users borne by each UP device exceeds a second number threshold value;
if the second BRAS-VM is not the deleted BRAS-VM, the number of the UP devices does not exceed a first number threshold value, and the number of the users does not exceed a second number threshold value, judging whether the current optimal BRAS-VM exists in the CP device or not;
if the current optimal BRAS-VM exists in the CP equipment, comparing whether a third association characteristic value of the second BRAS-VM exceeds a second association characteristic value of the current optimal BRAS-VM or not;
if the third correlation characteristic value does not exceed the second correlation characteristic value, updating the second BRAS-VM to the current optimal BRAS-VM;
judging whether a third BRAS-VM exists in the at least one BRAS-VM;
if the third BRAS-VM does not exist in the at least one BRAS-VM, judging whether the current optimal BRAS-VM is successfully created;
and if the current optimal BRAS-VM is successfully created, associating the first UP device with the current optimal BRAS-VM so that the current optimal BRAS-VM manages the first UP device.
5. The method of claim 4, further comprising:
if the current optimal BRAS-VM is not successfully created, creating the third BRAS-VM;
and when the third BRAS-VM is successfully created, associating the first UP device with the third BRAS-VM so that the third BRAS-VM manages the first UP device.
6. The method of claim 4, wherein prior to the updating the second BRAS-VM to the current optimal BRAS-VM, the method further comprises:
and if the current optimal BRAS-VM does not exist in the CP equipment, updating the second BRAS-VM to the current optimal BRAS-VM.
7. The method according to any one of claims 4 to 6, further comprising:
if a third BRAS-VM exists in the at least one BRAS-VM, repeatedly executing all processes of judging whether the BRAS-VM is a deleted BRAS-VM, judging whether the number of UP devices borne on the BRAS-VM exceeds a first number threshold value, judging whether the number of users borne by each UP device exceeds a second number threshold value, and updating the second BRAS-VM to the current optimal BRAS-VM until the third BRAS-VM does not exist in the at least one BRAS-VM.
8. An UP device association control apparatus, applied to a CTRL-VM, the CTRL-VM being within a CP device, the CP device further comprising at least one BRAS-VM, the apparatus comprising:
a first judging unit, configured to, when configuring an association BRAS-VM for a first UP device, judge whether a first BRAS-VM that is in a designated association with the first UP device already exists in the at least one BRAS-VM;
a second judging unit, configured to judge whether the first BRAS-VM currently exists in the CP device if the first BRAS-VM exists in the at least one BRAS-VM;
a determining unit, configured to determine, from the at least one BRAS-VM, a current optimal BRAS-VM configured in the CP device if the first BRAS-VM exists in the CP device;
the first comparison unit is used for comparing whether the first correlation characteristic value of the first BRAS-VM exceeds the second correlation characteristic value of the current optimal BRAS-VM or not;
and the association unit is used for associating the first UP device with the first BRAS-VM if the first association characteristic value does not exceed the second association characteristic value, so that the first BRAS-VM manages the first UP device.
9. The apparatus of claim 8, further comprising:
a display unit, configured to generate and display first prompt information if the first BRAS-VM does not exist in the CP device, so that a user determines, according to the first prompt information, whether to expand the first BRAS-VM in the CP device, so as to associate the first UP device with the first BRAS-VM;
a receiving unit, configured to receive a first confirmation instruction input by the user, where the first confirmation instruction includes confirmation information that the user determines to expand the first BRAS-VM in the CP device;
a creating unit, configured to create the first BRAS-VM in the CP device according to the confirmation information;
the association unit is further configured to associate the first UP device with the first BRAS-VM, so that the first BRAS-VM manages the first UP device.
10. The apparatus of claim 9, further comprising:
the display unit is further configured to generate and display second prompt information if the first associated characteristic value exceeds the second associated characteristic value, so that a user determines that a capacity expansion risk exists in the CP device according to the second prompt information;
the receiving unit is further configured to receive a second confirmation instruction input by the user, where the second confirmation instruction includes confirmation information that the user determines that there is an expansion risk in the CP device;
the association unit is further configured to associate the first UP device with the first BRAS-VM according to the confirmation information, so that the first BRAS-VM manages the first UP device.
11. The apparatus of claim 8, further comprising:
the selection unit is used for selecting a second BRAS-VM from the at least one BRAS-VM if the first BRAS-VM does not exist in the at least one BRAS-VM;
a third judging unit, configured to judge whether the second BRAS-VM is a deleted BRAS-VM, and whether the number of UP devices carried on the second BRAS-VM exceeds a first number threshold, and whether the number of users carried by each UP device exceeds a second number threshold;
a fourth judging unit, configured to judge whether the current optimal BRAS-VM already exists in the CP device if the second BRAS-VM is not a deleted BRAS-VM, and the number of UP devices does not exceed the first number threshold and the number of users does not exceed the second number threshold;
the second comparison unit is used for comparing whether a third correlation characteristic value of the second BRAS-VM exceeds a second correlation characteristic value of the current optimal BRAS-VM or not if the current optimal BRAS-VM exists in the CP equipment;
the updating unit is used for updating the second BRAS-VM to the current optimal BRAS-VM if the third correlation characteristic value does not exceed the second correlation characteristic value;
a fifth judging unit, configured to judge whether a third BRAS-VM exists in the at least one BRAS-VM;
a sixth judging unit, configured to judge whether the current optimal BRAS-VM is successfully created if a third BRAS-VM does not exist in the at least one BRAS-VM;
the association unit is further configured to associate the first UP device with the current optimal BRAS-VM if the current optimal BRAS-VM is successfully created, so that the current optimal BRAS-VM manages the first UP device.
12. The apparatus of claim 11, further comprising:
a creating unit, configured to create the third BRAS-VM if the current optimal BRAS-VM is not successfully created;
the association unit is further configured to associate the first UP device with the third BRAS-VM when the third BRAS-VM is successfully created, so that the third BRAS-VM manages the first UP device.
13. The apparatus of claim 11, wherein the updating unit is further configured to update the second BRAS-VM to the current optimal BRAS-VM if the current optimal BRAS-VM does not exist within the CP device.
14. The apparatus of any of claims 11 to 13, wherein the third determining unit, the fourth determining unit, the second comparing unit, and the updating unit are further configured to, if a third BRAS-VM exists in the at least one BRAS-VM, repeatedly perform all of the processes of determining whether the BRAS-VM is a deleted BRAS-VM, whether the number of UP devices carried on the BRAS-VM exceeds a first number threshold, whether the number of users carried on each UP device exceeds a second number threshold, and updating the second BRAS-VM to the current optimal BRAS-VM until the third BRAS-VM does not exist in the at least one BRAS-VM.
CN202111332640.9A 2021-11-11 2021-11-11 UP equipment association control method and device Active CN114244709B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111332640.9A CN114244709B (en) 2021-11-11 2021-11-11 UP equipment association control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111332640.9A CN114244709B (en) 2021-11-11 2021-11-11 UP equipment association control method and device

Publications (2)

Publication Number Publication Date
CN114244709A true CN114244709A (en) 2022-03-25
CN114244709B CN114244709B (en) 2023-12-26

Family

ID=80749056

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111332640.9A Active CN114244709B (en) 2021-11-11 2021-11-11 UP equipment association control method and device

Country Status (1)

Country Link
CN (1) CN114244709B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170180274A1 (en) * 2014-07-14 2017-06-22 Hangzhou H3C Technologies Co., Ltd. Packets Processing
WO2017186122A1 (en) * 2016-04-27 2017-11-02 新华三技术有限公司 Traffic scheduling
CN107786681A (en) * 2016-08-31 2018-03-09 中国电信股份有限公司 Methods, devices and systems for IP address scheduling of resource
WO2019024844A1 (en) * 2017-08-03 2019-02-07 新华三技术有限公司 User authentication of bras under architecture of mutually separated forwarding and control
WO2019047855A1 (en) * 2017-09-06 2019-03-14 新华三技术有限公司 Backup method and apparatus for bras having separated forwarding plane and control plane
CN112367197A (en) * 2020-10-30 2021-02-12 新华三技术有限公司 Network equipment migration method and device
WO2021129190A1 (en) * 2019-12-27 2021-07-01 中兴通讯股份有限公司 Forwarding method and device, and broadband remote access server forwarding plane

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170180274A1 (en) * 2014-07-14 2017-06-22 Hangzhou H3C Technologies Co., Ltd. Packets Processing
WO2017186122A1 (en) * 2016-04-27 2017-11-02 新华三技术有限公司 Traffic scheduling
CN107786681A (en) * 2016-08-31 2018-03-09 中国电信股份有限公司 Methods, devices and systems for IP address scheduling of resource
WO2019024844A1 (en) * 2017-08-03 2019-02-07 新华三技术有限公司 User authentication of bras under architecture of mutually separated forwarding and control
WO2019047855A1 (en) * 2017-09-06 2019-03-14 新华三技术有限公司 Backup method and apparatus for bras having separated forwarding plane and control plane
WO2021129190A1 (en) * 2019-12-27 2021-07-01 中兴通讯股份有限公司 Forwarding method and device, and broadband remote access server forwarding plane
CN112367197A (en) * 2020-10-30 2021-02-12 新华三技术有限公司 Network equipment migration method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
WADHWA;ALCATEL-LUCENT;J. MOISAND;HAAG;DEUTSCHE TELEKOM;N. VOIGT;NOKIA SIEMENS NETWORKS;T. TAYLOR, ED.; HUAWEI TECHNOLOGIES;: "Protocol for Access Node Control Mechanism in Broadband Networks draft-ietf-ancp-protocol-17", IETF *
陈郁周;方跃;: "转控分离的电信级云化高性能vBRAS的研究及试点验证", 科技视界, no. 32 *

Also Published As

Publication number Publication date
CN114244709B (en) 2023-12-26

Similar Documents

Publication Publication Date Title
US10635496B2 (en) Thread pool management
CN111385114B (en) VNF service instantiation method and device
EP3761170A1 (en) Virtual machine creation method and apparatus
CN111641515B (en) VNF life cycle management method and device
US11544100B2 (en) Hardware acceleration method and related device
CN106445473B (en) container deployment method and device
US11556369B2 (en) Virtual machine deployment method and OMM virtual machine
EP3780499A1 (en) Resource pool processing method and apparatus
CN108279979B (en) Method and device for binding CPU for application program container
CN111274033B (en) Resource deployment method, device, server and storage medium
EP3442201B1 (en) Cloud platform construction method and cloud platform
JPWO2017002921A1 (en) Virtual network function management device, virtual machine management device, resource allocation method and program for virtual network function
CN105988858A (en) Virtual machine resource scheduling method, device and system
CN110519406B (en) Virtual address allocation method and device, CTDB cluster and storage medium
CN107493184B (en) Virtualized network function deployment method and system
US20180063184A1 (en) Software security verification method, device, and system
CN108667750B (en) Virtual resource management method and device
JP2017215884A (en) Virtual machine arrangement device and resource management method
CN107645396B (en) Cluster capacity expansion method and device
CN112769829A (en) Deployment method of cloud physical machine, related equipment and readable storage medium
CN114244709A (en) UP device association control method and device
CN114629958B (en) Resource allocation method, device, electronic equipment and storage medium
CN109840094B (en) Database deployment method and device and storage equipment
US20190250957A1 (en) System and method of dynamic allocation of hardware accelerator
JP6075882B2 (en) Distributed processing system and distributed processing method

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