CN114157708B - Control method and device for session migration and vBRAS - Google Patents

Control method and device for session migration and vBRAS Download PDF

Info

Publication number
CN114157708B
CN114157708B CN202010933955.8A CN202010933955A CN114157708B CN 114157708 B CN114157708 B CN 114157708B CN 202010933955 A CN202010933955 A CN 202010933955A CN 114157708 B CN114157708 B CN 114157708B
Authority
CN
China
Prior art keywords
session
forwarding
forwarding plane
identifier
aggregation
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
CN202010933955.8A
Other languages
Chinese (zh)
Other versions
CN114157708A (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 Telecom Corp Ltd
Original Assignee
China Telecom Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN202010933955.8A priority Critical patent/CN114157708B/en
Publication of CN114157708A publication Critical patent/CN114157708A/en
Application granted granted Critical
Publication of CN114157708B publication Critical patent/CN114157708B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/148Migration or transfer of sessions
    • 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

Landscapes

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

Abstract

The disclosure relates to a control method and device for session migration and a vBRAS, and relates to the technical field of communication. The method comprises the following steps: combining the first session in the first forwarding plane with the second session in the second forwarding plane to generate an aggregation session, wherein the combined first session and second session share a service end; transmitting forwarding table items of the aggregation session to the first forwarding plane and the second forwarding plane; and in response to the first forwarding plane failure, migrating the first session to the second forwarding plane, and controlling the second forwarding plane to carry the aggregation session according to the forwarding table entry.

Description

Control method and device for session migration and vBRAS
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a session migration control method, a session migration control device, a vbas (Virtual Broadband ACCESS SERVER ), and a non-volatile computer readable storage medium.
Background
VBAS separates the vbas-C (virtual BRAS Control Plane, vBAS control plane) of BAS from the vbas-U (virtual BRAS User Plane, vBAS forwarding plane), and utilizes cloud technology-based network function virtualization technology to elastically stretch and manage the control plane.
The vbas-C manages multiple vbas-U simultaneously. When a certain vBRAS-U fails, the user can be hot switched to a new vBRAS-U under the condition that the session is not interrupted, and the network is continuously accessed.
In the related art, all user sessions on the failed vBRAS-U are directly migrated to other target vBRAS-U which already carries users.
Disclosure of Invention
The inventors of the present disclosure found that the above-described related art has the following problems: the number of session states that the target forwarding plane needs to maintain is excessive, which causes faults such as refused user service, frequent user on-line and off-line, and the like, thereby causing the communication performance to be reduced.
In view of this, the present disclosure proposes a control solution for session migration, which can reduce the number of session states, so that the session carried by the forwarding plane is guaranteed, thereby improving the communication performance.
According to some embodiments of the present disclosure, there is provided a control method for session migration, including: combining the first session in the first forwarding plane with the second session in the second forwarding plane to generate an aggregation session, wherein the combined first session and second session share a service end; transmitting forwarding table items of the aggregation session to the first forwarding plane and the second forwarding plane; and in response to the first forwarding plane failure, migrating the first session to the second forwarding plane, and controlling the second forwarding plane to carry the aggregation session according to the forwarding table entry.
In some embodiments, merging the first session in the first forwarding plane with the second session in the second forwarding plane includes: the MAC (MEDIA ACCESS Control Address) Address of the client of the first session and the MAC Address of the client of the second session are bound to the MAC Address of the same server, so that the server can respond to the client of the first session and the client of the second session.
In some embodiments, merging the first session in the first forwarding plane with the second session in the second forwarding plane includes: and carrying out merging processing according to the session identifications of the first session and the second session.
In some embodiments, performing the merging process according to the session identifications of the first session and the second session includes: dividing a session identification set into a plurality of identification groups according to the ordering of each session identification; distributing session identifications for each session in the first forwarding plane and the second forwarding plane according to the ordering of the plurality of identification packets; the first session and the second session, the session identifications of which belong to the same identification packet, are merged into an aggregated session.
In some embodiments, the control method further comprises: setting the session identifier of the second session as the session identifier of the aggregation session.
In some embodiments, the combining process according to the session identification of the first session second session includes: establishing a mapping relation between a session identifier of a first session, a session identifier of a second session and a virtual session identifier; and setting the virtual session identifier as the session identifier of the aggregation session according to the mapping relation.
In some embodiments, the control method further comprises: determining a speed limiting parameter according to the physical link bandwidth of the second forwarding plane and the quantity of aggregation sessions; and responding to the failure of the first forwarding surface, controlling the second forwarding surface to allocate bandwidth resources for the first session and the second session according to the speed limiting parameter.
In some embodiments, the control method further comprises: and responding to the failure of the first forwarding surface, controlling the second forwarding surface to allocate bandwidth resources for the first session and the second session according to the session type.
According to other embodiments of the present disclosure, there is provided a control apparatus for session migration, including: the merging unit is used for merging the first session in the first forwarding plane and the second session in the second forwarding plane to generate an aggregation session, and the merged first session and second session share a service end; the sending unit is used for sending the forwarding table items of the aggregation session to the first forwarding plane and the second forwarding plane; and the control unit is used for responding to the failure of the first forwarding surface, migrating the first session to the second forwarding surface and controlling the second forwarding surface to bear the aggregation session according to the forwarding table item.
In some embodiments, the merging unit binds the MAC address of the client of the first session, the MAC address of the client of the second session, and the MAC address of the same server, so that the server can respond to the client of the first session, the client of the second session.
In some embodiments, the merging unit performs the merging process according to session identifications of the first session and the second session.
In some embodiments, the merging unit divides the session identifier set into a plurality of identifier groups according to the ordering of the session identifiers, allocates session identifiers for the sessions in the first forwarding plane and the second forwarding plane according to the ordering of the identifier groups, and merges the first session and the second session, of which the session identifiers belong to the same identifier group, into an aggregated session.
In some embodiments, the merging unit sets the session identifier of the second session to the session identifier of the aggregate session.
In some embodiments, the merging unit establishes a mapping relationship between the session identifier of the first session, the session identifier of the second session and the virtual session identifier, and sets the virtual session identifier as the session identifier of the aggregated session according to the mapping relationship.
In some embodiments, the control device further comprises: and the determining unit is used for determining the speed limiting parameter according to the physical link bandwidth of the second forwarding plane and the quantity of the aggregation session. And the control unit responds to the failure of the first forwarding surface and controls the second forwarding surface to allocate bandwidth resources for the first session and the second session according to the speed limiting parameter.
In some embodiments, the control unit controls the second forwarding plane to allocate bandwidth resources for the first session and the second session according to the session type in response to the first forwarding plane failing.
According to still further embodiments of the present disclosure, there is provided a vbas comprising: a control plane network element for executing the control method for session migration in any one of the above embodiments; and the forwarding surface network elements controlled by the control surface network elements are used for bearing session services according to forwarding table items issued by the control surface network elements.
According to still further embodiments of the present disclosure, there is provided a control apparatus for session migration, including: a memory; and a processor coupled to the memory, the processor configured to execute the method of controlling session migration in any of the embodiments described above based on instructions stored in the memory device.
According to still further embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the control method of session migration in any of the above embodiments.
In the above embodiment, point-to-point sessions from one server corresponding to one client from different forwarding planes are combined into a point-to-multipoint session from one server corresponding to a plurality of clients. Therefore, the number of session states can be reduced, so that the session borne by the forwarding plane is ensured, and the communication performance is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description, serve to explain the principles of the disclosure.
The disclosure may be more clearly understood from the following detailed description taken in conjunction with the accompanying drawings in which:
FIG. 1 illustrates a flow chart of some embodiments of a control method of session migration of the present disclosure;
FIG. 2 illustrates a schematic diagram of some embodiments of a control method of session migration of the present disclosure;
FIG. 3 illustrates a schematic diagram of some embodiments of a control system for session migration of the present disclosure;
FIG. 4 illustrates a block diagram of some embodiments of a control apparatus for session migration of the present disclosure;
FIG. 5 illustrates a block diagram of further embodiments of a control apparatus for session migration of the present disclosure;
FIG. 6 illustrates a block diagram of still other embodiments of a control apparatus of session migration of the present disclosure;
Fig. 7 illustrates a block diagram of some embodiments of the vbas of the present disclosure.
Detailed Description
Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless it is specifically stated otherwise.
Meanwhile, it should be understood that the sizes of the respective parts shown in the drawings are not drawn in actual scale for convenience of description.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the disclosure, its application, or uses.
Techniques, methods, and apparatus known to one of ordinary skill in the relevant art may not be discussed in detail, but should be considered part of the authorization specification where appropriate.
In all examples shown and discussed herein, any specific values should be construed as merely illustrative, and not a limitation. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further discussion thereof is necessary in subsequent figures.
As previously mentioned, the users of the target vbas-U have limited actual session handling capabilities and typically have been planned and brought on-line for a large number of users. In this way, the user connection migrated from the failed vbas-U exceeds the target vbas-U carrying capacity, resulting in cascading failures such as injection denial of service, frequent user online and offline, etc.
In this case, if the target vbas-U plans uplink bandwidth according to the total number of sessions after switching, bandwidth overdunement and waste can be caused when no fault exists; if the target vbas-U plans the uplink bandwidth according to the number of sessions before switching, it may not be able to afford all sessions after failover, resulting in traffic impact between different rate user sessions, resulting in congestion and general degradation of quality.
Aiming at the technical problems, the limited hardware resources of the target vBRAS-U are required to be used in a compromise mode, and the availability and the continuity of all sessions are guaranteed preferentially. For example, the technical solution of the present disclosure may be implemented by the following embodiments.
Fig. 1 illustrates a flow chart of some embodiments of a control method of session migration of the present disclosure.
As shown in fig. 1, the control method includes: step 110, merging the hash of different forwarding planes; step 120, transmitting a forwarding table item; and step 130, migrating the session of the fault forwarding plane.
In step 110, a first session in the first forwarding plane and a second session in the second forwarding plane are combined to generate an aggregate session. The combined first session and second session share a service end.
In some embodiments, the MAC address of the client of the first session, the MAC address of the client of the second session, and the MAC address of the same server are bound such that the server is able to respond to the client of the first session, the client of the second session.
In some embodiments, the merging process is performed according to session identifications of the first session and the second session.
In some embodiments, software modules can be added on the existing control plane and forwarding plane to transfer all sessions of the failed forwarding plane to the target forwarding plane when the forwarding plane fails. For example, the sessions of the failed forwarding plane may be merged with the sessions of the target forwarding plane according to the ordering of the session identifications and specific requirements.
In some embodiments, the set of session identifications is divided into a plurality of identification packets according to an ordering of the session identifications. And distributing session identifications to each session in the first forwarding plane and the second forwarding plane according to the ordering of the plurality of identification packets. And merging the first session and the second session with the session identification belonging to the same identification group into an aggregation session. For example, the session identifier of the second session is set as the session identifier of the aggregate session.
In some embodiments, a mapping relationship of a session identification of the first session, a session identification of the second session, and a virtual session identification is established. And setting the virtual session identifier as the session identifier of the aggregation session according to the mapping relation.
Therefore, the number of state sessions required to be maintained by the forwarding plane after the fault switching can be reduced, and the number of states of the forwarding plane, the requirements of hardware resources such as speed limit, keep-alive, queues and the like can be reduced. Therefore, the service robustness, the persistence and the resource utilization rate are enhanced, and the number of idle sessions reserved by the target forwarding plane is reduced.
In step 120, forwarding entries for the aggregated session are sent to the first forwarding plane and the second forwarding plane.
In step 130, the first session is migrated to the second forwarding plane in response to the first forwarding plane failing. And controlling the second forwarding plane to bear the aggregation session according to the forwarding table entry.
In some embodiments, the speed limit parameter is determined based on the physical link bandwidth of the second forwarding plane and the number of aggregated sessions. And responding to the failure of the first forwarding surface, controlling the second forwarding surface to allocate bandwidth resources for the first session and the second session according to the speed limiting parameter.
In some embodiments, in response to a failure of the first forwarding plane, the second forwarding plane is controlled to allocate bandwidth resources for the first session and the second session according to the session type.
In the above embodiment, after the failover, the user bandwidth is effectively allocated based on the merged session, so as to increase the uplink bandwidth utilization of the target forwarding plane. Moreover, the user experience during the fault switching can be improved, and the reserved uplink bandwidth and cost of the forwarding plane can be reduced. The protection cost during the time failure of vBAS forwarding is effectively reduced.
In addition, the above embodiment can improve the resource utilization rate of the forwarding plane during the failover without changing the interaction mode between the forwarding plane and the control plane on the basis of fully utilizing vBAS forwarding control separation framework.
Fig. 2 illustrates a schematic diagram of some embodiments of a control method of session migration of the present disclosure.
As shown in fig. 2, vBAS includes a control plane 21 and a plurality of forwarding planes: forwarding plane 22, forwarding plane 23, etc.
For example, vBAS can handle up to 1 ten thousand user sessions per hardware forwarding plane. Each access user session occupies an independent session identification and hardware resources of the forwarding plane. When the number of actual planning sessions per forwarding plane is 1 ten thousand, the control plane 21 is responsible for session control and management of the forwarding plane 22 and the forwarding plane 23 for a total of 2 ten thousand access users.
In some embodiments, the control plane 21 has soft states for all forwarding plane sessions. For example, the forwarding state includes an identification of a forwarding plane where each point-to-point session is located, a forwarding plane state, a port identification, a session IP address, a session MAC address, a session configuration template, a session aggregation state, and the like.
In some embodiments, control plane 21 aggregates point-to-point sessions of two forwarding planes into a point-to-multipoint aggregated session in the order of the session identifications of forwarding plane 22 (U22), forwarding plane 23 ().
For example, the keep and load messages of each session contain a session identifier set of 16bit allocation range that is the same on the U-plane of each vBAS (all 0-65535). The session ID is unique and unrepeatable, specifically to the inside of each forwarding plane, but the session identification of different forwarding planes can be repeated. Sessions of different forwarding planes, such as U22-session 200, U23-session 200, may be distinguished by forwarding plane identification.
In some embodiments, a point-to-multipoint aggregation session may be established between multiple client MACs and one server MAC. For example, each client MAC is different and the server MAC is set to be the same. In this way, it is ensured that the user traffic is not interrupted at the time of failover.
In some embodiments, the management module of the control plane 21 groups the session identification sets. For example, if 1000 sessions are grouped, the 16-bit session identifier set can be divided into session groups with sequence numbers of 1-65 according to the identifiers from small to large.
In some embodiments, the management module may select an idle session identification from session group 1 to assign to the user in response to each forwarding plane having a user dial-up line. After the session identifications in the session packets sequenced before are distributed, the session identifications are distributed from the low-order session packets to the high-order session packets sequentially.
In some embodiments, an idle session identification occurs in a session packet if a user is offline in an allocated session packet. The management module reserves the idle session identifier and the sequence number of the corresponding session packet. And responding to the online of the new user, and preferentially selecting the idle session identification for allocation.
In some embodiments, the management module merges sessions in the forwarding plane 22, 23 with the same session identification.
In some embodiments the management module merges sessions in the forwarding plane 22, 23 where the session identifications belong to the same packet sequence number. Therefore, the same session identifications can be prevented from being searched one by one for merging, and the merging efficiency is improved.
For example, forwarding planes 22, 23 each have a session identified as 1021, and clients are MAC1, MAC2, respectively. The two sessions may be combined. After the session is converged from the forwarding plane 22 to the forwarding plane 3, the session identifier of the aggregated session is unchanged, and the PPPoE (Point-to-Point Protocol Over Ethernet Point-to-Point protocol over ethernet) encapsulation header is unchanged. The same server responds to session active requests of the two clients of the MAC1 and the MAC2.
The encapsulation header of the PPPoE session keepalive and the encapsulation header of the session payload do not change except for the client MAC. The client address of the session of the forwarding plane 23 is changed from MAC2 to MAC1 and MAC2, and the server MAC is unchanged. Thus, the number of session states does not increase.
In some embodiments, the management module will inform the aggregate response module that MAC1 and MAC2 in this session are two remote ends of the point-to-multipoint session. For example, sending a broadcast message or direct interworking between two remote client MACs may be prohibited to reduce resource consumption. In this way, the total number of merged session states may be reduced.
In some embodiments, the management module of the control plane 21 may add a fixed-length virtual session ID field to identify the mapping relationship between the session identifier before merging and the virtual session identifier after merging. The management module may maintain a mapping table entry of session identifications and virtual session identifications. The management module may merge any session of any forwarding plane.
For example, the session identified as 304, 305 for forwarding plane 22 may be merged with the session identified as 1243 for forwarding plane 23 and mapped to a virtual session identification.
In this case, the management module merges the client MAC304 of session 304, the client MAC305 of session 305, the client MAC1243 of session 1243 into the same server under one virtual session identifier. The virtual session identity mapping relationship of this point-to-multipoint session may be maintained for session keepalive responses and session payload encapsulation.
Therefore, the management module maintains the mapping relation of the virtual session identifier and sends the mapping relation to the aggregation response module, so that the session can be flexibly aggregated by encapsulating the session keepalive response and the load.
In some embodiments, control plane 21 synchronizes forwarding entries for the aggregate session to the forwarding planes and pre-writes forwarding entries for all forwarding planes over the southbound interface. When no fault exists, each forwarding plane does not activate the protection session entry carried by the non-local forwarding plane, only activates the session entry of the local forwarding plane and takes over the existing mode.
In some embodiments, control plane 21 pre-creates an emergency configuration template for the fail-over aggregation session. For example, the session speed limit parameter in the emergency template is set to be the ratio of the uplink and downlink bandwidths of the links to the number of multi-point sessions (i.e. the uplink and downlink rates of the sessions after combination are the ratio of the physical link bandwidths to the number of aggregated sessions).
In some embodiments, different bandwidth allocation weights may be configured according to different session categories. For example, the session category may include dial-up sessions, enterprise-level sessions, and the like.
In the above embodiment, when the forwarding plane 22 fails, the forwarding plane 23 reduces the state resource overhead that needs to be maintained by aggregating point-to-point sessions into point-to-multipoint sessions. And the service control mechanism based on the aggregated session reduces the hardware resource cost required by speed limit, queue and session keep-alive. Thus, forwarding plane 23 may accommodate 1 ten thousand migration sessions of forwarding plane 22 and 1 ten thousand native sessions of forwarding plane 23. After the session migration, the number of aggregated sessions carried by the forwarding plane 23 is still not 1 ten thousand.
After the failover, the forwarding plane 23 limits the speed of the aggregated session by adopting the emergency configuration template issued by the control plane 21, thereby preventing the large-scale service from being unavailable caused by the sudden congestion of the flow after the session aggregation.
Fig. 3 illustrates a schematic diagram of some embodiments of a control system for session migration of the present disclosure.
As shown in fig. 3, the control system is provided at vBAS, and includes a control plane (C plane), a forwarding plane 1 (U plane 1), and a forwarding plane 2 (U plane 2).
In some embodiments, the C-plane includes a failure detection module, an AAA (Authentication Authorization Accounting, authentication, authorization, accounting) and configuration management module, a session handling module, a management module.
For example, the management module maintains soft state (including U-plane identification, U-plane status, port identification, session IP address, session MAC address, session configuration template, session aggregation status, etc.) for all U-plane sessions on the C-plane.
The management module aggregates the point-to-point session state of each U-plane into a point-to-multipoint session according to the session identification order on different U-planes. For example, the session X of U1 and the session X of U2 are sequentially combined one by one into the same globally unique multipoint session X. Session X includes multiple points of information entries such as identification, activation status, IP address, MAC address, and hot standby gateway of the U1, U2 sessions.
For example, the management module periodically synchronizes aggregate session entries between different U-planes to the aggregate response module of each forwarding plane at the C-plane. And forwarding table entries of all U faces are written in advance through a south interface. And when no fault is switched, according to the U-plane identifier, the protection session entry carried by the non-local U-plane is not activated, and only the local U-plane session entry is activated and the existing mode is used.
For example, when the C-plane detects a U1 failure, the management module activates a protection session entry pre-written to U2 after instructing U2 to take over all sessions and traffic of U1. At this time, the faults U1 and U2 share a multipoint session identifier for each pair of sessions. After the U1 is recovered, C-face information of the aggregation session of the point-to-multipoint from the session soft state is synchronized back to the U1, and the protection session entry of the U2 is deactivated.
For example, the management module maintains point-to-point session configuration templates for all U-plane sessions and creates an emergency configuration template for the aggregated session after failover. The session speed limiting parameters in the emergency template ignore various configurations of the original point-to-point session, are set to be the ratio of the uplink and downlink bandwidths of the links to the number of the aggregation sessions, and are globally effective on all client MACs of all the point-to-multipoint sessions of U2.
Or configuring speed limit proportion according to the types of different sessions before aggregation, and distributing bandwidth in proportion to different client MAC in the same aggregated session after aggregation. Thus, the quality degradation of the uplink and downlink caused by traffic burst congestion when the U2 takes over the U1 session is avoided.
In some embodiments, the forwarding plane 1, 2 includes a basic session processing module, an aggregate response module, a quality service module, and a forwarding module.
For example, the aggregate response module may establish and activate a point-to-multipoint session, receive, modify, or delete multiple forwarding entries (flow tables) within the session, and bind to the state of one session, as directed by the management module.
For example, the aggregation response module enables a plurality of forwarding table item traffic in the same aggregation session to share the same speed limiting resource and the same queue resource for QoS (Quality of Service ) according to the configuration issued by the management module.
For example, after a U-plane failover, the aggregate response module renegotiates the frequency of keep-alive messages with multiple clients within the aggregate session without interrupting the session connection to reduce overhead.
For example, a user within an aggregate session goes online and offline, and the keep-alive message format is unchanged. However, after the connection and disconnection are successful, the C plane informs the U plane to add or delete the corresponding forwarding table item in the same session, without increasing or decreasing the number of sessions.
In the event that all users within an aggregate session are offline or keep alive timeout, the C-plane notifies the U-plane of the cleaning session.
In the above embodiment, the number of stateful sessions required to be maintained by the forwarding plane after failover is reduced, and the number of forwarding plane states is reduced, so that the service robustness, persistence and resource utilization are enhanced. By aggregating point-to-point sessions into point-to-multipoint sessions, the speed limit, keep-alive, queue, and other hardware resources of forwarding the facing session are reduced.
VBAS all forwarding planes can be planned according to the maximum user session number, so that the number of idle sessions reserved by the forwarding planes is reduced. The terminal has no perception on session establishment, termination and keep-alive mechanism. The incremental deployment can be carried out only on vBAS control planes and part of forwarding planes, and the interactive signaling mode between the existing vBAS forwarding control planes is not affected.
Fig. 4 illustrates a block diagram of some embodiments of a control apparatus for session migration of the present disclosure.
As shown in fig. 4, the control device 4 for session migration includes a merging unit 41, a transmitting unit 42, a control unit 43, and a storage unit 45.
The merging unit 41 is configured to perform a merging process on the first session in the first forwarding plane and the second session in the second forwarding plane, so as to generate an aggregate session. The combined first session and second session share a service end.
In some embodiments, the merging unit 41 binds the MAC address of the client of the first session, the MAC address of the client of the second session, and the MAC address of the same server, so that the server can respond to the client of the first session, the client of the second session.
In some embodiments, the merging unit 41 performs the merging process according to the session identification of the first session and the second session.
In some embodiments, merging unit 41 divides the set of session identifications into a plurality of identification packets according to the ordering of the session identifications. And distributing session identifications to each session in the first forwarding plane and the second forwarding plane according to the ordering of the plurality of identification packets. The first session and the second session, the session identifications of which belong to the same identification packet, are merged into an aggregated session.
In some embodiments, the merging unit 41 sets the session identifier of the second session as the session identifier of the aggregate session.
In some embodiments, the merging unit 41 establishes a mapping relationship of the session identifier of the first session, the session identifier of the second session, and the virtual session identifier. And setting the virtual session identifier as the session identifier of the aggregation session according to the mapping relation.
The transmitting unit 42 transmits the forwarding entries of the aggregated session to the first forwarding plane and the second forwarding plane.
The control unit 43, in response to a failure of the first forwarding plane, migrates the first session into the second forwarding plane and controls the second forwarding plane to carry the aggregated session according to the forwarding table entry.
In some embodiments, the control device 4 further comprises: the determining unit 44 determines the speed limit parameter based on the physical link bandwidth of the second forwarding plane and the number of aggregated sessions. The control unit 43 controls the second forwarding plane to allocate bandwidth resources for the first session and the second session according to the speed limit parameter in response to the first forwarding plane being failed.
In some embodiments, the control unit 43 controls the second forwarding plane to allocate bandwidth resources for the first session and the second session according to the session type in response to the first forwarding plane failing.
Fig. 5 illustrates a block diagram of further embodiments of a control device for session migration of the present disclosure.
As shown in fig. 5, the control device 5 for session migration of this embodiment includes: a memory 51 and a processor 52 coupled to the memory 51, the processor 52 being configured to perform the method of controlling session migration in any one of the embodiments of the present disclosure based on instructions stored in the memory 51.
The memory 51 may include, for example, a system memory, a fixed nonvolatile storage medium, and the like. The system memory stores, for example, an operating system, application programs, boot Loader, database, and other programs.
Fig. 6 illustrates a block diagram of still further embodiments of a control apparatus for session migration of the present disclosure.
As shown in fig. 6, the control device 6 for session migration of this embodiment includes: a memory 610 and a processor 620 coupled to the memory 610, the processor 620 being configured to execute the method of controlling session migration in any of the foregoing embodiments based on instructions stored in the memory 610.
The memory 610 may include, for example, system memory, fixed nonvolatile storage media, and the like. The system memory stores, for example, an operating system, application programs, boot Loader, and other programs.
The control device 6 for session migration may further include an input-output interface 630, a network interface 640, a storage interface 650, and the like. These interfaces 630, 640, 650 and the memory 610 and processor 620 may be connected by, for example, a bus 660. The input/output interface 630 provides a connection interface for input/output devices such as a display, a mouse, a keyboard, a touch screen, a microphone, and a speaker. Network interface 640 provides a connection interface for various networking devices. The storage interface 650 provides a connection interface for external storage devices such as SD cards, U-discs, and the like.
Fig. 7 illustrates a block diagram of some embodiments of the vbas of the present disclosure.
As shown in fig. 7, the vbas 7 includes: a control plane network element 71 for executing the control method of session migration in any of the above embodiments; a plurality of forwarding plane network elements 72 controlled by the control plane network elements are configured to carry session services according to forwarding entries issued by the control plane network elements 71.
It will be appreciated by those skilled in the art that embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable non-transitory storage media including, but not limited to, disk storage, CD-ROM, optical storage, and the like, having computer-usable program code embodied therein.
Heretofore, a control method of session migration, a control apparatus of session migration, a vbas, and a non-volatile computer-readable storage medium according to the present disclosure have been described in detail. In order to avoid obscuring the concepts of the present disclosure, some details known in the art are not described. How to implement the solutions disclosed herein will be fully apparent to those skilled in the art from the above description.
The methods and systems of the present disclosure may be implemented in a number of ways. For example, the methods and systems of the present disclosure may be implemented by software, hardware, firmware, or any combination of software, hardware, firmware. The above-described sequence of steps for the method is for illustration only, and the steps of the method of the present disclosure are not limited to the sequence specifically described above unless specifically stated otherwise. Furthermore, in some embodiments, the present disclosure may also be implemented as programs recorded in a recording medium, the programs including machine-readable instructions for implementing the methods according to the present disclosure. Thus, the present disclosure also covers a recording medium storing a program for executing the method according to the present disclosure.
Although some specific embodiments of the present disclosure have been described in detail by way of example, it should be understood by those skilled in the art that the above examples are for illustration only and are not intended to limit the scope of the present disclosure. It will be appreciated by those skilled in the art that modifications may be made to the above embodiments without departing from the scope and spirit of the disclosure. The scope of the present disclosure is defined by the appended claims.

Claims (15)

1. A method for controlling session migration, comprising:
combining a first session in a first forwarding plane and a second session in a second forwarding plane to generate an aggregation session, wherein the first session and the second session after combination share a service end;
Transmitting forwarding table items of the aggregation session to the first forwarding plane and the second forwarding plane;
Responding to the first forwarding plane failure, migrating the first session to the second forwarding plane, and controlling the second forwarding plane to bear the aggregation session according to the forwarding table entry;
The merging processing of the first session in the first forwarding plane and the second session in the second forwarding plane includes:
Binding a Media Access Control (MAC) address of a client of the first session and a MAC address of a client of the second session with a MAC address of the same server so that the server can respond to the client of the first session and the client of the second session; and/or
And carrying out merging processing according to the session identifications of the first session and the second session.
2. The control method according to claim 1, wherein the combining processing according to session identifications of the first session and the second session includes:
dividing a session identification set into a plurality of identification groups according to the ordering of each session identification;
Distributing session identifications for each session in the first forwarding plane and the second forwarding plane according to the ordering of the plurality of identification packets;
and merging the first session and the second session with the session identification belonging to the same identification group into the aggregation session.
3. The control method according to claim 2, further comprising:
setting the session identifier of the second session as the session identifier of the aggregation session.
4. The control method according to claim 1, wherein the merging processing according to the session identification of the second session of the first session includes:
Establishing a mapping relation between the session identifier of the first session, the session identifier of the second session and the virtual session identifier;
and setting the virtual session identifier as the session identifier of the aggregation session according to the mapping relation.
5. The control method according to any one of claims 1 to 4, further comprising:
determining a speed limiting parameter according to the physical link bandwidth of the second forwarding plane and the quantity of aggregation sessions;
And responding to the failure of the first forwarding surface, and controlling the second forwarding surface to allocate bandwidth resources for the first session and the second session according to the speed limiting parameter.
6. The control method according to any one of claims 1 to 4, further comprising:
and responding to the failure of the first forwarding surface, controlling the second forwarding surface to allocate bandwidth resources for the first session and the second session according to the session type.
7. A control device for session migration, comprising:
The merging unit is used for merging the first session in the first forwarding plane and the second session in the second forwarding plane to generate an aggregation session, and the merged first session and second session share a service end;
a sending unit, configured to send forwarding entries of the aggregation session to the first forwarding plane and the second forwarding plane;
the control unit is used for responding to the failure of the first forwarding surface, migrating the first session to the second forwarding surface and controlling the second forwarding surface to bear the aggregation session according to the forwarding table item;
Wherein,
The merging unit binds the Media Access Control (MAC) address of the client of the first session and the MAC address of the client of the second session with the MAC address of the same server, so that the server can respond to the client of the first session and the client of the second session, and/or the merging unit carries out merging processing according to the session identifications of the first session and the second session.
8. The control device according to claim 7, wherein,
The merging unit divides a session identifier set into a plurality of identifier groups according to the sequence of each session identifier, distributes session identifiers for each session in the first forwarding plane and the second forwarding plane according to the sequence of the plurality of identifier groups, and merges the first session and the second session of which the session identifiers belong to the same identifier group into the aggregation session.
9. The control device according to claim 8, wherein,
The merging unit sets the session identifier of the second session as the session identifier of the aggregation session.
10. The control device according to claim 7, wherein,
The merging unit establishes a mapping relation between the session identifier of the first session, the session identifier of the second session and the virtual session identifier, and sets the virtual session identifier as the session identifier of the aggregation session according to the mapping relation.
11. The control device according to any one of claims 7 to 10, further comprising:
The determining unit is used for determining a speed limiting parameter according to the physical link bandwidth of the second forwarding plane and the quantity of aggregation sessions;
Wherein,
And the control unit responds to the first forwarding plane to fail and controls the second forwarding plane to allocate bandwidth resources for the first session and the second session according to the speed limiting parameter.
12. The control device according to any one of claims 7 to 10, wherein,
And the control unit responds to the failure of the first forwarding surface and controls the second forwarding surface to allocate bandwidth resources for the first session and the second session according to the session type.
13. A virtualized broadband access server vbas, comprising:
A control plane network element for performing the control method of session migration according to any one of claims 1-6;
And the forwarding surface network elements controlled by the control surface network elements are used for bearing session services according to forwarding table items issued by the control surface network elements.
14. A control device for session migration, comprising:
A memory; and
A processor coupled to the memory, the processor configured to execute the method of controlling session migration of any of claims 1-6 based on instructions stored in the memory.
15. A non-transitory computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method of controlling session migration of any of claims 1-6.
CN202010933955.8A 2020-09-08 2020-09-08 Control method and device for session migration and vBRAS Active CN114157708B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010933955.8A CN114157708B (en) 2020-09-08 2020-09-08 Control method and device for session migration and vBRAS

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010933955.8A CN114157708B (en) 2020-09-08 2020-09-08 Control method and device for session migration and vBRAS

Publications (2)

Publication Number Publication Date
CN114157708A CN114157708A (en) 2022-03-08
CN114157708B true CN114157708B (en) 2024-05-10

Family

ID=80460650

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010933955.8A Active CN114157708B (en) 2020-09-08 2020-09-08 Control method and device for session migration and vBRAS

Country Status (1)

Country Link
CN (1) CN114157708B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2536068A1 (en) * 2011-06-18 2012-12-19 Deutsche Telekom AG Virtual subscriber management
CN103385033A (en) * 2010-06-29 2013-11-06 阿尔卡特朗讯公司 Method and apparatus for allocating bundles of sessions in a network element
CN106936729A (en) * 2015-12-29 2017-07-07 中国电信股份有限公司 Control method, system and broadband access network system that a kind of terminal device is accessed
CN108512703A (en) * 2018-03-28 2018-09-07 新华三技术有限公司 BRAS turns backup method, device, equipment and the machine readable storage medium of control separation
CN108616452A (en) * 2018-03-30 2018-10-02 新华三技术有限公司 Message forwarding method and device
CN108702655A (en) * 2016-08-24 2018-10-23 华为技术有限公司 Policy control method, network element, system and storage medium
CN109691179A (en) * 2017-03-22 2019-04-26 华为技术有限公司 A kind of conversation shift method and apparatus
CN110475290A (en) * 2019-07-23 2019-11-19 中国联合网络通信集团有限公司 A kind of conversation switching method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102004022552A1 (en) * 2004-05-07 2006-03-02 Siemens Ag Device for session-based switching of packets

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103385033A (en) * 2010-06-29 2013-11-06 阿尔卡特朗讯公司 Method and apparatus for allocating bundles of sessions in a network element
EP2536068A1 (en) * 2011-06-18 2012-12-19 Deutsche Telekom AG Virtual subscriber management
CN106936729A (en) * 2015-12-29 2017-07-07 中国电信股份有限公司 Control method, system and broadband access network system that a kind of terminal device is accessed
CN108702655A (en) * 2016-08-24 2018-10-23 华为技术有限公司 Policy control method, network element, system and storage medium
CN109691179A (en) * 2017-03-22 2019-04-26 华为技术有限公司 A kind of conversation shift method and apparatus
CN108512703A (en) * 2018-03-28 2018-09-07 新华三技术有限公司 BRAS turns backup method, device, equipment and the machine readable storage medium of control separation
CN108616452A (en) * 2018-03-30 2018-10-02 新华三技术有限公司 Message forwarding method and device
CN110475290A (en) * 2019-07-23 2019-11-19 中国联合网络通信集团有限公司 A kind of conversation switching method and device

Also Published As

Publication number Publication date
CN114157708A (en) 2022-03-08

Similar Documents

Publication Publication Date Title
US11563669B2 (en) Method for implementing network virtualization and related apparatus and communications system
EP3404878B1 (en) Virtual network apparatus, and related method
US9736278B1 (en) Method and apparatus for connecting a gateway router to a set of scalable virtual IP network appliances in overlay networks
TWI724106B (en) Business flow control method, device and system between data centers
WO2017114017A1 (en) Computer device, system and method for implementing load balancing
WO2015058626A1 (en) Virtual network function network elements management method, device and system
CN103476062B (en) Data flow scheduling method, equipment and system
WO2014082538A1 (en) Business scheduling method and apparatus and convergence device
WO2015096005A1 (en) Message processing method and gateway
CN110061855B (en) Service processing method, system and device
CN111638957A (en) Method for realizing cluster sharing type public cloud load balance
CN110830574B (en) Method for realizing intranet load balance based on docker container
CN114157708B (en) Control method and device for session migration and vBRAS
CN107769973B (en) Message forwarding method and device
JP6292128B2 (en) COMMUNICATION SYSTEM, NODE, CONTROL DEVICE, COMMUNICATION METHOD, AND PROGRAM
WO2018129957A1 (en) Vbng system multi-virtual machine load sharing method and vbng system device
CN115134232B (en) Virtual router management method, device, system and storage medium
Chou et al. Design of SFC Management System based on SDN and NFV
Huang et al. Providing guaranteed network performance across tenants: Advances, challenges and opportunities
WO2023174339A1 (en) Multicast service sending method, apparatus, system and storage medium
CN114745393B (en) Session synchronization system and method thereof, cloud computing center and cloud computing device
CN109039680A (en) A kind of method, system and BNG switching main wideband network gateway BNG and standby BNG
CN116938693A (en) User migration method, device, system and storage medium
CN118301108A (en) DDC network management method, device and storage medium
CN115250209A (en) Method, device and equipment for controlling user equipment to access network

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