WO2023125307A1 - Network element switching method and apparatus, and storage medium and electronic device - Google Patents

Network element switching method and apparatus, and storage medium and electronic device Download PDF

Info

Publication number
WO2023125307A1
WO2023125307A1 PCT/CN2022/141549 CN2022141549W WO2023125307A1 WO 2023125307 A1 WO2023125307 A1 WO 2023125307A1 CN 2022141549 W CN2022141549 W CN 2022141549W WO 2023125307 A1 WO2023125307 A1 WO 2023125307A1
Authority
WO
WIPO (PCT)
Prior art keywords
network element
session
user plane
plane network
session management
Prior art date
Application number
PCT/CN2022/141549
Other languages
French (fr)
Chinese (zh)
Inventor
王飞飞
方宇
张丽伟
孙颖
曹亚平
郑洁莹
张会肖
Original Assignee
中国电信股份有限公司
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 中国电信股份有限公司 filed Critical 中国电信股份有限公司
Publication of WO2023125307A1 publication Critical patent/WO2023125307A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/04Error control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints
    • H04W28/12Flow control between communication endpoints using signalling between network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/08Reselecting an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W80/00Wireless network protocols or protocol adaptations to wireless operation
    • H04W80/08Upper layer protocols
    • H04W80/10Upper layer protocols adapted for application session management, e.g. SIP [Session Initiation Protocol]

Definitions

  • the present disclosure relates to the technical field of computer communication, and in particular, to a network element switching identification, a network element switching device, a computer-readable storage medium, and electronic equipment.
  • a hot standby networking solution is usually adopted to improve system reliability.
  • the system can automatically switch the faulty user plane network The network element is switched to another user plane network element to ensure service stability.
  • the purpose of the present disclosure is to provide a network element switching method, a network element switching device, a computer-readable storage medium, and electronic equipment.
  • a network element switching method including: when the first user plane network element fails, a session establishment request is sent to the session management network element through the terminal device, and the second user plane network element is used to establish Session: when the first user plane network element recovers, the session management network element switches the session established on the second user plane to the first user plane network element, so as to conduct the session through the first user plane network element.
  • a network element switching device including: a session establishment module, configured to send a session establishment request to a session management network element through a terminal device when the first user plane network element fails, and adopt the first Two user plane network elements establish a session; the session switching module is configured to switch the session established on the second user plane to the first user plane network element by the session management network element when the first user plane network element recovers, so as to pass through the first user plane network element.
  • a user plane network element conducts a session.
  • a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the network element switching method in the first aspect of the foregoing embodiments is implemented.
  • an electronic device including:
  • the storage device is configured to store one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors implement the network element handover method according to the first aspect in the foregoing embodiments.
  • FIG. 1 schematically shows a flow chart that can be applied to the network element switching method in the embodiment of the present disclosure
  • Fig. 2 schematically shows a flow chart of the session management network element switching the session established on the second user plane to the first user plane network element when the simulated session establishment state is normal in an exemplary embodiment of the present disclosure
  • FIG. 3 schematically shows that in an exemplary embodiment of the present disclosure, the second enabling parameter is adjusted to the first enabling parameter, and the session management network element switches the session established on the second user plane to the first enabling parameter according to the first enabling parameter.
  • FIG. 4 schematically shows a flow chart in which a session management network element switches a session established by a second user plane network element to a session link corresponding to a first user plane network element in an exemplary embodiment of the present disclosure
  • Fig. 5 schematically shows that in an exemplary embodiment of the present disclosure, the second configuration parameter in the session management network element is updated to the first configuration parameter, so as to switch the session established through the second user plane network element to the first user plane network
  • Fig. 6 schematically shows a flow chart of determining a session management network element corresponding to a session establishment request according to a domain identifier in an exemplary embodiment of the present disclosure
  • Fig. 7 schematically shows a flow chart in an exemplary embodiment of the present disclosure in which a session established by a second user plane network element is switched to a session link corresponding to a first user plane network element;
  • Fig. 8 schematically shows a composition diagram of a network element switching device in an exemplary embodiment of the present disclosure
  • FIG. 9 schematically shows a structural diagram of a computer system suitable for implementing electronic devices according to exemplary embodiments of the present disclosure.
  • Example embodiments will now be described more fully with reference to the accompanying drawings.
  • Example embodiments may, however, be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete and will fully convey the concept of example embodiments to those skilled in the art.
  • the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
  • the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
  • numerous specific details are provided in order to give a thorough understanding of embodiments of the present disclosure.
  • a hot standby networking solution is usually adopted to improve system reliability.
  • the system can automatically switch the faulty user plane network The network element is switched to another user plane network element to ensure service stability.
  • the terminal device needs to initiate a session Establishing a request and re-establishing a session cannot guarantee the user's requirement for stable traffic, which in turn leads to user complaints.
  • the network element switching scheme in this disclosure can be applied to the 5G networking environment, and in the network architecture of the hot standby network, when it is necessary to switch the standby user plane network element to the main user plane network element, the disclosure can be adopted plan.
  • the terminal device sends a session establishment request to the session management network element, and the second user plane network element is used to establish a session.
  • the session management network element switches the session established on the second user plane to the first user plane network element, so as to conduct the session through the first user plane network element.
  • the network element switching method may include the following steps:
  • Step S110 when the first user plane network element fails, send a session establishment request to the session management network element through the terminal device, and use the second user plane network element to establish a session;
  • Step S120 when the first user plane network element recovers, the session management network element switches the session established on the second user plane to the first user plane network element, so as to conduct the session through the first user plane network element.
  • the terminal device when the first user plane network element fails, the terminal device sends a session establishment request to the session management network element, and the second user plane network element is used to establish a session.
  • the session management network element switches the session established on the second user plane to the first user plane network element, so as to conduct the session through the first user plane network element.
  • Step S110 when the first user plane network element fails, send a session establishment request to the session management network element through the terminal device, and use the second user plane network element to establish the session;
  • a terminal device may establish a session through a first user plane network element.
  • the terminal device can send a session establishment request to the access and mobility management network element through the base station, and the access and mobility management network element determines the corresponding session management network element, and the session management network element determines the session establishment request correspondence After the first user plane network element is determined, a session is established according to the first user plane network element.
  • the first user plane network element may fail, at this time, a session establishment request may be sent to the session management network element through the terminal device , and use the second user plane network element to establish a session, and switch the session established through the first user plane network element to the second user plane network element.
  • the first user plane network element is the active UPF network element, and when the active UPF network element fails, a backup UPF network element (second user plane network element) can be used to establish a session. It should be noted that the present disclosure does not specifically limit the failure situation of the first user plane network element.
  • the user plane network element can include a UPF (User Plane Function, user plane function) network element.
  • UPF User Plane Function
  • the user plane network element can be set as an anchor point indicating movement within the system and between systems, and an external PDU session connected to the data network point, packet routing and forwarding
  • session management network elements can include SMF (Session Management Function session management function) network elements, and session management network elements can be set to session management, UE IP address allocation and management, UPF selection and control, etc.
  • Access and mobility management network elements can include AMF (Access and Mobility management Function access and mobility management function) network elements, which can be set as non-access stratum (NAS) signaling terminals, NAS signaling security, and access stratum security control etc.
  • NAS non-access stratum
  • Step S120 when the first user plane network element recovers, the session management network element switches the session established on the second user plane to the first user plane network element, so as to conduct the session through the first user plane network element.
  • the recovery status of the first user plane network element may be monitored.
  • the recovery status of the first user plane network element may include recovery of the first user plane network element and non-recovery of the first user plane network element, wherein the recovery of the first user plane network element may include the restoration of the first user plane network element , or, the first user plane network element may also include a replaced first user plane network element.
  • the present disclosure does not specifically limit the specific form of recovery of the first user plane network element.
  • the session management network element may switch the session established on the second user plane network element to the first user plane network element, so as to pass The first user plane network element performs a session.
  • the session established on the second user plane is switched to the first user plane network element
  • the session established on the second user plane network element will not be interrupted, so as to ensure the service requirement of the user.
  • the user plane network element parameters corresponding to the session management network element can be adjusted to the user plane network element corresponding to the first user plane network element.
  • Network element parameters can enable smooth session switching without requiring terminal devices to re-establish sessions. It should be noted that the present disclosure does not specifically limit the specific manner in which the session management network element switches the session established on the second user plane to the first user plane network element.
  • the session anticipation policy may be adjusted to use the first user plane network element to establish the session. Specifically, after the first user plane network element fails, the second user plane network element is used to establish a session. At this time, the session expectation policy may be adjusted to use the first user plane network element to establish a session.
  • the session anticipation policy refers to a policy that needs to be adopted by a certain user plane network element. Specifically, after the session expectation policy is adjusted to use the first user plane network element to establish a session, the system will monitor the recovery of the first user plane network element, and when the first user plane The session established on the network is handed over to the first user plane network element. It should be noted that, the present disclosure does not specifically limit the specific form of the session expectation policy.
  • the simulated session establishment state of the simulated session established by the first user plane network element can be obtained, and when the simulated session establishment state is normal, the session management network element will use the session established on the second user plane to Switch to the first user plane network element.
  • the session management network element switches the session established on the second user plane to the first user plane network element, which may include the following steps S210-S220:
  • Step S210 obtaining a simulated session establishment status for simulating the establishment of a session by using the first user plane network element
  • the recovery status of the first user plane network element may be monitored. Specifically, during monitoring, a simulated session establishment state in which a session is established by using the first user plane network element may be simulated.
  • the simulated session establishment state of using the first user plane network element to establish a session refers to establishing a simulated session model through simulated path calculation, and determining whether the session can be established successfully when using the first user plane network element according to the simulated session model , specifically, by simulating the session model to determine whether the service flow of the session link corresponding to the first user plane network element is normal when the first user plane network element is used.
  • simulating the session establishment status may include simulating the session establishment status as normal and simulating the session establishment status as abnormal.
  • the simulated session establishment state is not normal means that the session establishment is unsuccessful when the first user plane network element is determined according to the simulated session model, that is, when the first user plane network element is determined to be used through the simulated session model, the first user plane The service flow of the session link corresponding to the NE is abnormal.
  • Step S220 when the simulated session establishment state is normal, the session management network element switches the session established on the second user plane to the first user plane network element.
  • the simulated session establishment status when the simulated session establishment status is normal, it means that the first user plane network element has been repaired, and when the session is conducted through the first user plane network element, its service flow can also run normally, At this time, the session established on the second user plane may be switched to the first user plane network element through the session management network element.
  • the session management network element switches the session established on the second user plane to the first User plane network element.
  • the second enabling parameter corresponding to the switching policy of the user plane network element may be acquired, the second enabling parameter may be adjusted to the first enabling parameter, and the session management network element shall, according to the first enabling parameter
  • the parameter switches the session established on the second user plane to the first user plane network element.
  • the second enabling parameter is adjusted to the first enabling parameter, and the session management network element switches the session established on the second user plane to the first user plane network element according to the first enabling parameter, which may include The following steps S310-S320:
  • Step S310 acquiring a second enabling parameter corresponding to the user plane network element handover strategy
  • the second enabling parameter corresponding to the user plane network element switching policy may be acquired.
  • the enabling parameter corresponding to the user plane network element switching policy may be set to indicate whether the session established on the second user plane needs to be handed over to the first user plane network element through the session management network element.
  • the enabling parameter corresponding to the user plane network element switching policy is the second enabling parameter, it means that the session established on the second user plane does not need to be handed over to the first user plane network element through the session management network element.
  • the present disclosure does not specifically limit the specific form of the enabling parameter corresponding to the user plane network element handover policy.
  • Step S320 adjusting the second enabling parameter to the first enabling parameter, and the session management network element switches the session established on the second user plane to the first user plane network element according to the first enabling parameter.
  • the second enabling parameter may be adjusted to the first enabling parameter.
  • the first enabling parameter indicates that the session established on the second user plane needs to be handed over to the first user plane network element through the session management network element.
  • the session established on the second user plane may be switched to the first user plane network element through the session management network element. It should be noted that the present disclosure does not specifically limit the specific manner in which the session management network element switches the session established on the second user plane to the first user plane network element according to the first enabling parameter.
  • the second enabling parameter corresponding to the user plane NE switching policy is disable, which means that it is not necessary to switch the session established on the second user plane to the first user plane NE through the session management NE.
  • the second enabling parameter disable can be adjusted to enable, and at this time, the session management network element can switch the session established on the second user plane to the first user plane network element.
  • the second enabling parameter corresponding to the switching policy of the user plane network element can be obtained, the second enabling parameter is adjusted to the first enabling parameter, and the session management network element changes the second enabling parameter according to the first enabling parameter.
  • the session established on the user plane is handed over to the first user plane network element.
  • the session management network element may obtain the first configuration parameter corresponding to the session establishment request, determine the first user plane network element used for switching the session according to the first configuration parameter, and determine the first user plane network element used for switching the session according to the first user plane network
  • the session link is established by the session management network element, and the session management network element switches to the session link corresponding to the first user plane network element through the session established by the second user plane network element.
  • the session management network element switches the session established by the second user plane network element to the session link corresponding to the first user plane network element, which may include the following steps S410-S430:
  • Step S410 the session management network element obtains the first configuration parameter corresponding to the session establishment request
  • the session management network element can obtain the session establishment The first configuration parameter corresponding to the request.
  • the first configuration parameter corresponding to the session establishment request may be set to indicate the first user plane network element to be used when establishing the session.
  • the first configuration parameter corresponding to the session establishment request may include a DNN session identifier (Data Network Name), a DNN route, an IP address (Internet Protocol Address, Internet Protocol Address) and the like. It should be noted that, the present disclosure does not specifically limit the specific content of the first configuration parameter corresponding to the session establishment request.
  • Step S420 determine the first user plane network element used for switching the session according to the first configuration parameter, and establish the session link according to the first user plane network element;
  • the first user plane network element used to establish the session may be determined according to the first configuration parameter.
  • the first configuration parameter may be set to indicate the first user plane network element to be used to establish the session.
  • the user plane network element corresponding to the first configuration parameter may be searched, and the user plane network element The network element is determined as the first user plane network element. It should be noted that the present disclosure does not specifically limit the specific manner of determining the first user plane network element used to establish the session according to the first configuration parameter.
  • a session link may be established according to the first user plane network element.
  • the second user plane network element in the original session link may be switched to the first user plane network element determined through the above steps, so as to establish the session link according to the first user plane network element.
  • the present disclosure does not specifically limit the specific manner of establishing the session link according to the first user plane network element.
  • Step S430 the session management network element switches the session established by the second user plane network element to the session link corresponding to the first user plane network element.
  • the session management network element can switch to the first user through the session established by the second user plane network element.
  • the session link corresponding to the plane NE the establishment of the session link according to the first user plane network element can be set to indicate that the first user plane network element has been recovered and the session can be conducted through the first user plane network element.
  • the session established by the first user plane network element is switched to the session link established by the first user plane network element. It should be noted that the present disclosure does not specifically limit the specific manner in which the session established by the session management network element is switched to the session link corresponding to the first user plane network element through the second user plane network element.
  • the session management network element can obtain the first configuration parameter corresponding to the session establishment request, determine the first user plane network element used for switching the session according to the first configuration parameter, and establish a session link according to the first user plane network element The session management network element switches the session established by the second user plane network element to the session link corresponding to the first user plane network element.
  • the second configuration parameter corresponding to the second user plane network element in the session management network element may be obtained, and the second configuration parameter in the session management network element may be updated to the first configuration parameter, so as to Switching the session established through the second user plane network element to the session link corresponding to the first user plane network element.
  • update the second configuration parameter in the session management network element to the first configuration parameter, so as to switch the session established through the second user plane network element to the session link corresponding to the first user plane network element may include the following steps S510-S520:
  • Step S510 acquiring a second configuration parameter corresponding to a second user plane network element in the session management network element
  • the second configuration parameter corresponding to the second user plane network element in the session management network element may be acquired. Specifically, when the first user plane network element fails, a session can be established through the second user plane network element, and the configuration parameters configured in the session management network element are the second configuration parameters corresponding to the second user plane network element. At this time, The second configuration parameter corresponding to the second user plane network element may be obtained from the session management network element. It should be noted that the present disclosure does not specifically limit the specific manner of obtaining the second configuration parameter corresponding to the second user plane network element in the session management network element.
  • Step S520 updating the second configuration parameter in the session management network element to the first configuration parameter, so as to switch the session established through the second user plane network element to the session link corresponding to the first user plane network element.
  • the second configuration parameter in the session management network element may be updated to the first configuration parameter.
  • the configuration parameter in the session management network element may be set to indicate the user plane network element to be used by the session, and after updating the second configuration parameter in the session management network element to the first configuration parameter, the The session established by the network element on the user plane is switched to the session link corresponding to the first user plane network element. It should be noted that the present disclosure does not specifically limit the manner of updating the second configuration parameter in the session management network element to the first configuration parameter.
  • the second configuration parameter corresponding to the second user plane network element in the session management network element can be obtained, and the second configuration parameter in the session management network element can be updated to the first configuration parameter, so that the The session established by the user plane network element is switched to the session link corresponding to the first user plane network element.
  • the location identifier corresponding to the session establishment request may be obtained, the session management network element corresponding to the session establishment request is determined according to the location identifier, and the session establishment request is sent to the session management network element through the terminal device.
  • determining the session management network element corresponding to the session establishment request according to the location identifier may include the following steps S610-S620:
  • Step S610 obtaining the domain identification corresponding to the session establishment request, and determining the session management network element corresponding to the session establishment request according to the domain identification;
  • step S620 the terminal device sends a session establishment request to the session management network element.
  • the location identifier corresponding to the session establishment request can be obtained, and the session management network element corresponding to the session establishment request can be determined according to the location identifier.
  • the session establishment request may include the DNN, and the DNN may include the domain identifier.
  • the property identifier can be set to indicate the session management network element to be used.
  • the access and mobility management network element can obtain the domain identifier corresponding to the session establishment request from the DNN, and can determine the domain identifier to be used according to the domain identifier corresponding to the session establishment request. It is the session management network element of a certain area.
  • the present disclosure does not specifically limit the specific manner of determining the session management network element corresponding to the session establishment request according to the location identifier.
  • the domain identification corresponding to the session establishment request can be obtained, the session management network element corresponding to the session establishment request is determined according to the domain identification, and the session establishment request is sent to the session management network element through the terminal device.
  • a terminal device may send a session establishment request to a base station (gNB), and the base station then sends the session establishment request to an access and mobility management network element (AMF), and the access and mobility management network element (AMF)
  • the mobility management network element determines the corresponding session management network element (SMF) according to the DNN corresponding to the session establishment request, the session management network element obtains the signed session authentication information from the same data management network element (UDM, Unified Data Management), and Session authentication and authorization are performed in the second user plane network element, the session management network element determines the policy control network element (PCF, Policy Control Function) corresponding to the second user plane network element, and obtains the service data flow policy from the policy control network element and charging control policy (PCC policy), the session management network element sends the session establishment information and the PCC policy to the second user plane network element, the session management network element sends the session establishment information to the access and mobility management network element, and receives the session response , the access and mobility management network
  • PCF Policy Control Function
  • the session expectation policy can be adjusted to use the first user plane network element to establish a session.
  • the link management module can set the session management network element to The second configuration parameter in is updated to the first configuration parameter, and the session established through the second user plane network element is switched to the session link corresponding to the first user plane network element.
  • switching the session established on the second user plane to the first user plane network element, so as to conduct the session through the first user plane network element may include the following steps S701-S708:
  • Step S701 UE sends a session establishment request to gNB; Step S702, gNB sends the session establishment request to AMF; Step S703, AMF determines the corresponding SMF; Step S704, SMF performs session authentication and authorization in UPF; Step S705, SMF Determine the corresponding PCF, and obtain the PCC policy; Step S706, SMF sends session establishment information and PCC policy to UPF; Step S707, SMF sends session establishment information to AMF, accepts session response; Step S708, AMF notifies gNB to establish radio bearer; Step S709, the UE establishes a radio bearer with the gNB; Step S710, updates the second configuration parameter in the session management network element to the first configuration parameter; Step S711, switches the session established through the second user plane network element to the first user plane In the session link corresponding to the NE.
  • a network monitoring module is set to monitor the forwarding of the service flow.
  • the session anticipation strategy can be adjusted to use the first user plane network element to establish a session;
  • the database module can be set to store The configuration parameters corresponding to the user plane network element;
  • the intelligent path calculation module can be set to obtain the simulated session establishment status of the simulation using the first user plane network element to establish a session, and when the simulated session establishment status is normal, switch the user plane network element to the corresponding
  • the second enabling parameter is adjusted to the first enabling parameter;
  • the link management module is configured to update the second configuration parameter in the session management network element to the first configuration parameter.
  • the terminal device when the first user plane network element fails, the terminal device sends a session establishment request to the session management network element, and the second user plane network element is used to establish a session.
  • the session management network element switches the session established on the second user plane to the first user plane network element, so as to conduct the session through the first user plane network element.
  • a network element switching device 800 includes: a session establishment module 810 and a session switching module 820 .
  • the session establishment module is set to send a session establishment request to the session management network element through the terminal device when the first user plane network element fails, and uses the second user plane network element to establish a session;
  • the session switching module is set to When the user plane network element recovers, the session management network element switches the session established on the second user plane to the first user plane network element, so as to conduct the session through the first user plane network element.
  • the device further includes: an expected policy adjustment unit configured to adjust the session expected policy to adopt the first user plane network element The network element establishes a session.
  • the session management network element switches the session established on the second user plane to the first user plane network element, and the device further Including: a simulated session establishment status acquisition unit, configured to obtain a simulated session establishment status that simulates the establishment of a session using the first user plane network element; a status normal processing unit, configured to set the session management network element to the second when the simulated session establishment status is normal.
  • the session established on the user plane is handed over to the first user plane network element.
  • the session management network element switches the session established on the second user plane to the first user plane network element
  • the device further includes: a second enabling parameter acquisition unit, It is set to obtain the second enabling parameter corresponding to the switching strategy of the user plane network element; the enabling parameter adjustment unit is configured to adjust the second enabling parameter to the first enabling parameter, and the session management network element sets the The session established on the second user plane is handed over to the first user plane network element.
  • the session management network element switches the session established on the second user plane to the first user plane network element
  • the device further includes: a first configuration parameter acquisition unit, setting Obtaining the first configuration parameter corresponding to the session establishment request for the session management network element;
  • the session link establishment unit is configured to determine the first user plane network element used to switch the session according to the first configuration parameter, and establish the session according to the first user plane network element Link: a session link switching unit configured to switch the session established by the session management network element to the session link corresponding to the first user plane network element through the second user plane network element.
  • the session management network element switches the session established through the second user plane network element to the session link corresponding to the first user plane network element
  • the device further includes:
  • the second configuration parameter acquisition unit is configured to obtain the second configuration parameter corresponding to the second user plane network element in the session management network element;
  • the second configuration parameter update unit is configured to update the second configuration parameter in the session management network element to
  • the first configuration parameter is used to switch the session established through the second user plane network element to the session link corresponding to the first user plane network element.
  • the terminal device sends a session establishment request to the session management network element
  • the device further includes: a location identification obtaining unit configured to obtain the location identification corresponding to the session establishment request, according to The domain identifier determines the session management network element corresponding to the session establishment request; the session establishment request sending unit is configured to send the session establishment request to the session management network element through the terminal device.
  • each functional module of the network element switching device in the exemplary embodiment of the present disclosure corresponds to the steps in the exemplary embodiment of the above-mentioned network element switching method, for details not disclosed in the embodiment of the disclosed device, please refer to the above-mentioned network element in the present disclosure An embodiment of a meta-switching method.
  • an electronic device capable of implementing the above network element switching method is also provided.
  • FIG. 9 An electronic device 900 according to such an embodiment of the present disclosure is described below with reference to FIG. 9 .
  • the electronic device 900 shown in FIG. 9 is only an example, and should not limit the functions and scope of use of the embodiments of the present disclosure.
  • electronic device 900 takes the form of a general-purpose computing device.
  • the components of the electronic device 900 may include, but are not limited to: the at least one processing unit 910 mentioned above, the at least one storage unit 920 mentioned above, the bus 930 connecting different system components (including the storage unit 920 and the processing unit 910 ), and the display unit 940.
  • the storage unit stores program codes, and the program codes can be executed by the processing unit 910, so that the processing unit 910 executes the steps according to various exemplary embodiments of the present disclosure described in the above “Exemplary Methods” section of this specification.
  • the processing unit 910 may perform step S110 as shown in FIG. 1, when the first user plane network element fails, send a session establishment request to the session management network element through the terminal device, and use the second user plane network element to establish a session; Step S120, when the first user plane network element recovers, the session management network element switches the session established on the second user plane to the first user plane network element, so as to conduct the session through the first user plane network element.
  • the storage unit 920 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 921 and/or a cache storage unit 922 , and may further include a read-only storage unit (ROM) 923 .
  • RAM random access storage unit
  • ROM read-only storage unit
  • the storage unit 920 may also include a program/utility 924 having a set (at least one) of program modules 925, such program modules 925 including but not limited to: an operating system, one or more application programs, other program modules, and program data, Implementations of networked environments may be included in each or some combination of these examples.
  • Bus 930 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local area using any of a variety of bus structures. bus.
  • the electronic device 900 can also communicate with one or more external devices 970 (such as keyboards, pointing devices, Bluetooth devices, etc.), and can also communicate with one or more devices that enable the user to interact with the electronic device 900, and/or communicate with Any device (eg, router, modem, etc.) that enables the electronic device 900 to communicate with one or more other computing devices. Such communication may occur through input/output (I/O) interface 950 .
  • the electronic device 900 can also communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN) and/or a public network such as the Internet) through the network adapter 960 .
  • networks such as a local area network (LAN), a wide area network (WAN) and/or a public network such as the Internet
  • the network adapter 960 communicates with other modules of the electronic device 900 through the bus 930 .
  • other hardware and/or software modules may be used in conjunction with electronic device 900, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives And data backup storage system, etc.
  • the exemplary embodiments described here can be implemented by software, or by combining software with necessary hardware. Therefore, the technical solutions according to the embodiments of the present disclosure can be embodied in the form of software products, and the software products can be stored in a non-volatile storage medium (which can be CD-ROM, U disk, mobile hard disk, etc.) or on the network , including several instructions to make a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) execute the method according to the embodiment of the present disclosure.
  • a computing device which may be a personal computer, a server, a terminal device, or a network device, etc.
  • a computer-readable storage medium on which a program product capable of implementing the above-mentioned method in this specification is stored.
  • various aspects of the present disclosure can also be implemented in the form of a program product, which includes program code.
  • the program product runs on the terminal device, the program code is used to make the terminal device execute the above-mentioned Steps according to various exemplary embodiments of the present disclosure described in the "Exemplary Methods" section.
  • a computer readable signal medium may include a data signal carrying readable program code in baseband or as part of a carrier wave. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • a readable signal medium may also be any readable medium other than a readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device.
  • Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
  • Program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages—such as Java, C++, etc., as well as conventional procedural programming Language - such as "C" or similar programming language.
  • the program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server to execute.
  • the remote computing device may be connected to the user computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (for example, using an Internet service provider). business to connect via the Internet).
  • LAN local area network
  • WAN wide area network
  • Internet service provider for example, using an Internet service provider

Abstract

Provided in the present disclosure are a network element switching method and apparatus, and a computer-readable storage medium and an electronic device. The method comprises: when a first user plane network element fails, sending a session establishment request to a session management network element by means of a terminal device, and establishing a session by using a second user plane network element (S110); and when the first user plane network element is recovered, the session management network element switching the session established on a second user plane to the first user plane network element, so as to perform the session by means of the first user plane network element (S120). By means of the technical solution in the embodiments of the present disclosure, the problem of it being impossible to cut a session back after a failed user plane network element is recovered can be solved. (FIG. 1)

Description

网元切换方法及装置、存储介质及电子设备Network element switching method and device, storage medium and electronic equipment
相关申请的交叉引用Cross References to Related Applications
本公开要求于2021年12月30日提交的申请号为202111648802.X、名称为“网元切换方法及装置、存储介质及电子设备”的中国专利申请的优先权,该中国专利申请的全部内容通过引用全部并入本文。This disclosure claims the priority of the Chinese patent application with application number 202111648802.X and titled "Network element switching method and device, storage medium and electronic equipment" filed on December 30, 2021, and the entire content of the Chinese patent application Incorporated herein by reference in its entirety.
技术领域technical field
本公开涉及计通信技术领域,具体而言,涉及一种网元切换识别、网元切换装置、计算机可读存储介质及电子设备。The present disclosure relates to the technical field of computer communication, and in particular, to a network element switching identification, a network element switching device, a computer-readable storage medium, and electronic equipment.
背景技术Background technique
在当今社会中,互联网的使用领域越来越广泛,现有的网络链路,通常由多层网络设备组成。在这些网络设备运行的过程中,难免出现一些设备故障,影响用户的使用体验。In today's society, the use of the Internet is becoming more and more extensive, and the existing network links are usually composed of multi-layer network devices. During the operation of these network devices, it is inevitable that some device failures will occur, which will affect the user experience.
在相关技术中,通常采用热备组网的方案以提高系统的可靠性,在双用户面网元的组网场景中,若其中一个用户面网元出现故障,系统可以自动将故障用户面网元切换为另外一个用户面网元,保证业务稳定。In related technologies, a hot standby networking solution is usually adopted to improve system reliability. In a networking scenario with dual user plane network elements, if one of the user plane network elements fails, the system can automatically switch the faulty user plane network The network element is switched to another user plane network element to ensure service stability.
需要说明的是,在上述背景技术部分公开的信息仅用于加强对本公开的背景的理解,因此可以包括不构成对本领域普通技术人员已知的现有技术的信息。It should be noted that the information disclosed in the above background section is only for enhancing the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to those of ordinary skill in the art.
发明内容Contents of the invention
本公开的目的在于提供一种网元切换方法及网元切换装置、计算机可读存储介质及电子设备。The purpose of the present disclosure is to provide a network element switching method, a network element switching device, a computer-readable storage medium, and electronic equipment.
根据本公开的第一方面,提供了一种网元切换方法,包括:在第一用户面网元故障时,通过终端设备向会话管理网元发送会话建立请求,采用第二用户面网元建立会话;在第一用户面网元恢复时,会话管理网元将第二用户面上建立的会话切换至第一用户面网元,以通过第一用户面网元进行会话。According to the first aspect of the present disclosure, a network element switching method is provided, including: when the first user plane network element fails, a session establishment request is sent to the session management network element through the terminal device, and the second user plane network element is used to establish Session: when the first user plane network element recovers, the session management network element switches the session established on the second user plane to the first user plane network element, so as to conduct the session through the first user plane network element.
根据本公开的第二方面,提供了一种网元切换装置,包括:会话建立模块,设置为在第一用户面网元故障时,通过终端设备向会话管理网元发送会话建立请求,采用第二用户面网元建立会话;会话切换模块,设置为在第一用户面网元恢复时,会话管理网元将第二用户面上建立的会话切换至第一用户面网元,以通过第一用户面网元进行会话。According to the second aspect of the present disclosure, a network element switching device is provided, including: a session establishment module, configured to send a session establishment request to a session management network element through a terminal device when the first user plane network element fails, and adopt the first Two user plane network elements establish a session; the session switching module is configured to switch the session established on the second user plane to the first user plane network element by the session management network element when the first user plane network element recovers, so as to pass through the first user plane network element. A user plane network element conducts a session.
根据本公开的第三方面,提供了一种计算机可读存储介质,其上存储有计算机程序,程序被处理器执行时实现如上述实施例中第一方面的网元切换方法。According to a third aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the network element switching method in the first aspect of the foregoing embodiments is implemented.
根据本公开的第四方面,提供了一种电子设备,包括:According to a fourth aspect of the present disclosure, an electronic device is provided, including:
一个或多个处理器;以及one or more processors; and
存储装置,设置为存储一个或多个程序,当一个或多个程序被一个或多个处理器执行时,使得一个或多个处理器实现如上述实施例中第一方面的网元切换方法。The storage device is configured to store one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors implement the network element handover method according to the first aspect in the foregoing embodiments.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。在附图中:The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure. Apparently, the drawings in the following description are only some embodiments of the present disclosure, and those skilled in the art can obtain other drawings according to these drawings without creative efforts. In the attached picture:
图1示意性示出了可以应用本公开实施例中网元切换方法的流程图;FIG. 1 schematically shows a flow chart that can be applied to the network element switching method in the embodiment of the present disclosure;
图2示意性示出本公开示例性实施例中在模拟会话建立状态正常时,会话管理网元将第二用户面上建立的会话切换至第一用户面网元的流程图;Fig. 2 schematically shows a flow chart of the session management network element switching the session established on the second user plane to the first user plane network element when the simulated session establishment state is normal in an exemplary embodiment of the present disclosure;
图3示意性示出本公开示例性实施例中将第二使能参数调整为第一使能参数,会话管理网元根据第一使能参数将第二用户面上建立的会话切换至第一用户面网元的流程图;FIG. 3 schematically shows that in an exemplary embodiment of the present disclosure, the second enabling parameter is adjusted to the first enabling parameter, and the session management network element switches the session established on the second user plane to the first enabling parameter according to the first enabling parameter. Flowchart of the user plane network element;
图4示意性示出本公开示例性实施例中会话管理网元通过第二用户面网元建立的会话切换至第一用户面网元对应的会话链路中的流程图;FIG. 4 schematically shows a flow chart in which a session management network element switches a session established by a second user plane network element to a session link corresponding to a first user plane network element in an exemplary embodiment of the present disclosure;
图5示意性示出本公开示例性实施例中将会话管理网元中的第二配置参数更新为第一配置参数,以将通过第二用户面网元建立的会话切换至第一用户面网元对应的会话链路中的流程图;Fig. 5 schematically shows that in an exemplary embodiment of the present disclosure, the second configuration parameter in the session management network element is updated to the first configuration parameter, so as to switch the session established through the second user plane network element to the first user plane network The flowchart in the session link corresponding to the element;
图6示意性示出本公开示例性实施例中根据属地标识确定会话建立请求对应的会话管理网元的流程图;Fig. 6 schematically shows a flow chart of determining a session management network element corresponding to a session establishment request according to a domain identifier in an exemplary embodiment of the present disclosure;
图7示意性示出本公开示例性实施例中通过第二用户面网元建立的会话切换至第一用户面网元对应的会话链路中的流程图;Fig. 7 schematically shows a flow chart in an exemplary embodiment of the present disclosure in which a session established by a second user plane network element is switched to a session link corresponding to a first user plane network element;
图8示意性示出本公开示例性实施例中网元切换装置的组成示意图;Fig. 8 schematically shows a composition diagram of a network element switching device in an exemplary embodiment of the present disclosure;
图9示意性示出了适于用来实现本公开示例性实施例的电子设备的计算机系统的结构示意图。FIG. 9 schematically shows a structural diagram of a computer system suitable for implementing electronic devices according to exemplary embodiments of the present disclosure.
具体实施方式Detailed ways
现在将参照附图更全面地描述示例实施方式。然而,示例实施方式能够以多种形式实施,且不应被理解为限于在此阐述的范例;相反,提供这些实施方式使得本公开将更加全面和完整,并将示例实施方式的构思全面地传达给本领域的技术人员。所描述的特征、结构或特性可以以任何合适的方式结合在一个或更多实施方式中。此外,所描述的特征、结构或特性可以以任何合适的方式结合在一个或更多实施例中。在下面的描述中,提供许多具体细节从而给出对本公开的实施例的充分理解。然而,本领域技术人员将意识到,可以实践本公开的技术方案而没有特定细节中的一个或更多,或者可以采用其它的方法、组元、装置、步骤等。在其它情况下,不详细示出或描述公知结构、方法、装置、实现、材料或者操作以避免模糊本公开的各方面。Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided in order to give a thorough understanding of embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced without one or more of the specific details, or other methods, components, means, steps, etc. may be employed. In other instances, well-known structures, methods, devices, implementations, materials, or operations are not shown or described in detail to avoid obscuring aspects of the present disclosure.
附图中所示的方框图仅仅是功能实体,不一定必须与物理上独立的实体相对应。即,可以采用软件形式来实现这些功能实体,或在一个或多个软件硬化的模块中实现这些功能实体或功能实体的一部分,或在不同网络和/或处理器装置和/或微控制器装置中实现这些功能实体。The block diagrams shown in the drawings are merely functional entities and do not necessarily correspond to physically separate entities. That is, these functional entities may be implemented in software, or in one or more software-hardened modules, or in part of them, or in different networks and/or processor devices and/or microcontroller devices Realize these functional entities in.
在当今社会中,互联网的使用领域越来越广泛,现有的网络链路,通常由多层网络设备组成。在这些网络设备运行的过程中,难免出现一些设备故障,影响用户的使用体验。In today's society, the use of the Internet is becoming more and more extensive, and the existing network links are usually composed of multi-layer network devices. During the operation of these network devices, it is inevitable that some device failures will occur, which will affect the user experience.
在相关技术中,通常采用热备组网的方案以提高系统的可靠性,在双用户面网元的组网场景中,若其中一个用户面网元出现故障,系统可以自动将故障用户面网元切换为另外一个用户面网元,保证业务稳定。In related technologies, a hot standby networking solution is usually adopted to improve system reliability. In a networking scenario with dual user plane network elements, if one of the user plane network elements fails, the system can automatically switch the faulty user plane network The network element is switched to another user plane network element to ensure service stability.
然而,在将故障用户面网元修复之后,在从当前正在使用的用户面网元切换为已经修复好的用户面网元时,会话无法自动切换,导致流量中断,此时需要终端设备发起会话建立请求,重新建立会话,无法保证用户对于流量稳定的要求,进而导致用户投诉。However, after the faulty user plane network element is repaired, when switching from the currently used user plane network element to the repaired user plane network element, the session cannot be automatically switched, resulting in traffic interruption. At this time, the terminal device needs to initiate a session Establishing a request and re-establishing a session cannot guarantee the user's requirement for stable traffic, which in turn leads to user complaints.
本公开中网元切换的方案,可以应用于5g组网环境中,热备组网的网络架构中,在需要将备用用户面网元切换为主用用户面网元时,可以采用本公开的方案。The network element switching scheme in this disclosure can be applied to the 5G networking environment, and in the network architecture of the hot standby network, when it is necessary to switch the standby user plane network element to the main user plane network element, the disclosure can be adopted plan.
根据本示例性实施例中所提供的网元切换方法中,在第一用户面网元故障时,通过终端设备向会话管理网元发送会话建立请求,采用第二用户面网元建立会话,在第一用户面网元恢复时,会话管理网元将第二用户面上建立的会话切换至第一用户面网元,以通过第一用户面网元进行会话。如图1所示,该网元切换方法可以包括以下步骤:According to the network element switching method provided in this exemplary embodiment, when the first user plane network element fails, the terminal device sends a session establishment request to the session management network element, and the second user plane network element is used to establish a session. When the first user plane network element recovers, the session management network element switches the session established on the second user plane to the first user plane network element, so as to conduct the session through the first user plane network element. As shown in Figure 1, the network element switching method may include the following steps:
步骤S110,在第一用户面网元故障时,通过终端设备向会话管理网元发送会话建立请求,采用第二用户面网元建立会话;Step S110, when the first user plane network element fails, send a session establishment request to the session management network element through the terminal device, and use the second user plane network element to establish a session;
步骤S120,在第一用户面网元恢复时,会话管理网元将第二用户面上建立的会话切换至第一用户面网元,以通过第一用户面网元进行会话。Step S120, when the first user plane network element recovers, the session management network element switches the session established on the second user plane to the first user plane network element, so as to conduct the session through the first user plane network element.
本公开的一种实施例提供的网元切换方法中,在第一用户面网元故障时,通过终端 设备向会话管理网元发送会话建立请求,采用第二用户面网元建立会话,在第一用户面网元恢复时,会话管理网元将第二用户面上建立的会话切换至第一用户面网元,以通过第一用户面网元进行会话。通过本公开的实施例,可以在第一用户面网元修复好之后,从当前使用的第二用户面网元切换为第一用户面网元,且会话也可以自动切换,避免流量中断,无需重新建立会话,保证了用户对于流量稳定的要求,从而提升了用户的使用效率,避免用户发起投诉,保证用户对于系统的信任度。In the network element switching method provided by an embodiment of the present disclosure, when the first user plane network element fails, the terminal device sends a session establishment request to the session management network element, and the second user plane network element is used to establish a session. When a user plane network element recovers, the session management network element switches the session established on the second user plane to the first user plane network element, so as to conduct the session through the first user plane network element. Through the embodiments of the present disclosure, it is possible to switch from the currently used second user plane network element to the first user plane network element after the first user plane network element is repaired, and the session can also be automatically switched to avoid traffic interruption. Re-establishing the session ensures the user's requirement for stable traffic, thereby improving the user's usage efficiency, avoiding the user's complaints, and ensuring the user's trust in the system.
下面,将结合附图及实施例对本示例性实施例中的网元切换方法的步骤S110~S120进行更详细的说明。Next, steps S110 to S120 of the network element switching method in this exemplary embodiment will be described in more detail with reference to the accompanying drawings and embodiments.
步骤S110,在第一用户面网元故障时,通过终端设备向会话管理网元发送会话建立请求,采用第二用户面网元建立会话;Step S110, when the first user plane network element fails, send a session establishment request to the session management network element through the terminal device, and use the second user plane network element to establish the session;
在本公开的一种示例实施例中,终端设备可以通过第一用户面网元建立会话。具体而言,终端设备可以通过基站向接入和移动性管理网元发送会话建立请求,接入和移动性管理网元再确定对应的会话管理网元,由会话管理网元确定会话建立请求对应的第一用户面网元,在确定第一用户面网元之后,根据第一用户面网元建立会话。In an example embodiment of the present disclosure, a terminal device may establish a session through a first user plane network element. Specifically, the terminal device can send a session establishment request to the access and mobility management network element through the base station, and the access and mobility management network element determines the corresponding session management network element, and the session management network element determines the session establishment request correspondence After the first user plane network element is determined, a session is established according to the first user plane network element.
在本公开的一种示例实施例中,在通过第一用户面网元建立会话之后,第一用户面网元可能会出现故障,此时,可以通过终端设备向会话管理网元发送会话建立请求,并采用第二用户面网元建立会话,将通过第一用户面网元建立的会话切换至第二用户面网元中。举例而言,第一用户面网元为主用UPF网元,当该主用UPF网元发生故障时,可以采用备用UPF网元(第二用户面网元)建立会话。需要说明的是,本公开对于第一用户面网元的故障情形并不做特殊限定。In an exemplary embodiment of the present disclosure, after the session is established through the first user plane network element, the first user plane network element may fail, at this time, a session establishment request may be sent to the session management network element through the terminal device , and use the second user plane network element to establish a session, and switch the session established through the first user plane network element to the second user plane network element. For example, the first user plane network element is the active UPF network element, and when the active UPF network element fails, a backup UPF network element (second user plane network element) can be used to establish a session. It should be noted that the present disclosure does not specifically limit the failure situation of the first user plane network element.
其中,用户面网元可以包括UPF(User Plane Function,用户面功能)网元,具体的,用户面网元可以设置为指示系统内和系统间移动的锚点、连接到数据网络的外部PDU会话点、分组路由和转发;会话管理网元可以包括SMF(Session Management Function会话管理功能)网元,会话管理网元可以设置为会话管理、UE IP地址分配与管理、UPF的选择与控制等;接入和移动性管理网元可以包括AMF(Access and Mobility management Function接入和移动性管理功能)网元,可以设置为非接入层(NAS)信令终端、NAS信令安全、接入层安全控制等。需要说明的是,本公开对于用户面网元以及会话管理网元的具体功能并不做特殊限定。Among them, the user plane network element can include a UPF (User Plane Function, user plane function) network element. Specifically, the user plane network element can be set as an anchor point indicating movement within the system and between systems, and an external PDU session connected to the data network point, packet routing and forwarding; session management network elements can include SMF (Session Management Function session management function) network elements, and session management network elements can be set to session management, UE IP address allocation and management, UPF selection and control, etc.; Access and mobility management network elements can include AMF (Access and Mobility management Function access and mobility management function) network elements, which can be set as non-access stratum (NAS) signaling terminals, NAS signaling security, and access stratum security control etc. It should be noted that the present disclosure does not specifically limit the specific functions of the user plane network element and the session management network element.
步骤S120,在第一用户面网元恢复时,会话管理网元将第二用户面上建立的会话切换至第一用户面网元,以通过第一用户面网元进行会话。Step S120, when the first user plane network element recovers, the session management network element switches the session established on the second user plane to the first user plane network element, so as to conduct the session through the first user plane network element.
在本公开的一种示例实施例中,在通过上述步骤采用第二用户网元建立会话之后,可以监测第一用户面网元的恢复情况。具体的,第一用户面网元的恢复情况可以包括第一用户面网元恢复与第一用户面网元未恢复,其中,第一用户面网元恢复可以包括第一用户面网元被修复,或者,第一用户面网元还可以包括更换了新的第一用户面网元。需 要说明的是,本公开对于第一用户面网元恢复的具体形式并不做特殊限定。In an example embodiment of the present disclosure, after the session is established by using the second user network element through the above steps, the recovery status of the first user plane network element may be monitored. Specifically, the recovery status of the first user plane network element may include recovery of the first user plane network element and non-recovery of the first user plane network element, wherein the recovery of the first user plane network element may include the restoration of the first user plane network element , or, the first user plane network element may also include a replaced first user plane network element. It should be noted that the present disclosure does not specifically limit the specific form of recovery of the first user plane network element.
在本公开的一种示例实施例中,在监测到第一用户面网元恢复之后,会话管理网元可以将第二用户面网元上建立的会话切换至第一用户面网元,以通过第一用户面网元进行会话。其中,在将第二用户面上建立的会话切换至第一用户面网元时,在第二用户面网元上建立的会话不会中断,保证用户的业务需求。具体的,在将第二用户面网元上建立的会话切换至第一用户面网元时,可以将会话管理网元对应的用户面网元参数调整为第一用户面网元对应的用户面网元参数,可以使得会话平滑切换,无需终端设备重新建立会话。需要说明的是,本公开对于会话管理网元将第二用户面上建立的会话切换至第一用户面网元的具体方式并不做特殊限定。In an example embodiment of the present disclosure, after detecting that the first user plane network element is restored, the session management network element may switch the session established on the second user plane network element to the first user plane network element, so as to pass The first user plane network element performs a session. Wherein, when the session established on the second user plane is switched to the first user plane network element, the session established on the second user plane network element will not be interrupted, so as to ensure the service requirement of the user. Specifically, when switching the session established on the second user plane network element to the first user plane network element, the user plane network element parameters corresponding to the session management network element can be adjusted to the user plane network element corresponding to the first user plane network element. Network element parameters can enable smooth session switching without requiring terminal devices to re-establish sessions. It should be noted that the present disclosure does not specifically limit the specific manner in which the session management network element switches the session established on the second user plane to the first user plane network element.
在本公开的一种示例实施例中,可以在采用第二用户面网元建立会话之后,将会话预期策略调整为采用第一用户面网元建立会话。具体的,在第一用户面网元出现故障之后,采用第二用户面网元建立会话,此时,可以将会话预期策略调整为采用第一用户面网元建立会话。其中,会话预期策略是指需要采用某个用户面网元的策略。具体的,将会话预期策略调整为采用第一用户面网元建立会话之后,系统就会监控第一用户面网元的恢复情况,在第一用户面网元恢复时,及时将第二用户面上建立的会话切换至第一用户面网元。需要说明的是,本公开对于会话预期策略的具体形式并不做特殊限定。In an example embodiment of the present disclosure, after the session is established by the second user plane network element, the session anticipation policy may be adjusted to use the first user plane network element to establish the session. Specifically, after the first user plane network element fails, the second user plane network element is used to establish a session. At this time, the session expectation policy may be adjusted to use the first user plane network element to establish a session. Wherein, the session anticipation policy refers to a policy that needs to be adopted by a certain user plane network element. Specifically, after the session expectation policy is adjusted to use the first user plane network element to establish a session, the system will monitor the recovery of the first user plane network element, and when the first user plane The session established on the network is handed over to the first user plane network element. It should be noted that, the present disclosure does not specifically limit the specific form of the session expectation policy.
在本公开的一种示例实施例中,可以获取模拟采用第一用户面网元建立会话的模拟会话建立状态,在模拟会话建立状态正常时,会话管理网元将第二用户面上建立的会话切换至第一用户面网元。参照图2所示,在模拟会话建立状态正常时,会话管理网元将第二用户面上建立的会话切换至第一用户面网元,可以包括以下步骤S210~S220:In an example embodiment of the present disclosure, the simulated session establishment state of the simulated session established by the first user plane network element can be obtained, and when the simulated session establishment state is normal, the session management network element will use the session established on the second user plane to Switch to the first user plane network element. Referring to FIG. 2, when the simulated session establishment state is normal, the session management network element switches the session established on the second user plane to the first user plane network element, which may include the following steps S210-S220:
步骤S210,获取模拟采用第一用户面网元建立会话的模拟会话建立状态;Step S210, obtaining a simulated session establishment status for simulating the establishment of a session by using the first user plane network element;
在本公开的一种示例实施例中,在采用第二用户面网元建立会话之后,可以监测第一用户面网元的恢复情况。具体的,在进行监测时,可以模拟采用第一用户面网元建立会话的模拟会话建立状态。其中,采用第一用户面网元建立会话的模拟会话建立状态是指,通过模拟算路建立模拟会话模型,并根据该模拟会话模型确定在采用第一用户面网元时的会话是否能够建立成功,具体而言,通过模拟会话模型确定采用第一用户面网元时,该第一用户面网元对应的会话链路的业务流是否正常。In an example embodiment of the present disclosure, after the session is established by using the second user plane network element, the recovery status of the first user plane network element may be monitored. Specifically, during monitoring, a simulated session establishment state in which a session is established by using the first user plane network element may be simulated. Wherein, the simulated session establishment state of using the first user plane network element to establish a session refers to establishing a simulated session model through simulated path calculation, and determining whether the session can be established successfully when using the first user plane network element according to the simulated session model , specifically, by simulating the session model to determine whether the service flow of the session link corresponding to the first user plane network element is normal when the first user plane network element is used.
在本公开的一种示例实施例中,模拟会话建立状态可以包括模拟会话建立状态正常以及模拟会话建立状态不正常。其中,模拟会话建立状态不正常表示根据该模拟会话模型确定在采用第一用户面网元时的会话建立不成功,即通过模拟会话模型确定采用第一用户面网元时,该第一用户面网元对应的会话链路的业务流不正常。In an example embodiment of the present disclosure, simulating the session establishment status may include simulating the session establishment status as normal and simulating the session establishment status as abnormal. Wherein, the simulated session establishment state is not normal means that the session establishment is unsuccessful when the first user plane network element is determined according to the simulated session model, that is, when the first user plane network element is determined to be used through the simulated session model, the first user plane The service flow of the session link corresponding to the NE is abnormal.
步骤S220,在模拟会话建立状态正常时,会话管理网元将第二用户面上建立的会话切换至第一用户面网元。Step S220, when the simulated session establishment state is normal, the session management network element switches the session established on the second user plane to the first user plane network element.
在本公开的一种示例实施例中,在模拟会话建立状态正常时,表示第一用户面网元 已经修复,且通过该第一用户面网元进行会话时,其业务流也可以正常运行,此时可以通过会话管理网元将第二用户面上建立的会话切换至第一用户面网元。In an example embodiment of the present disclosure, when the simulated session establishment status is normal, it means that the first user plane network element has been repaired, and when the session is conducted through the first user plane network element, its service flow can also run normally, At this time, the session established on the second user plane may be switched to the first user plane network element through the session management network element.
通过上述步骤S210~S220,可以获取模拟采用第一用户面网元建立会话的模拟会话建立状态,在模拟会话建立状态正常时,会话管理网元将第二用户面上建立的会话切换至第一用户面网元。Through the above steps S210-S220, it is possible to obtain the simulated session establishment status for simulating the establishment of a session using the first user plane network element. When the simulated session establishment status is normal, the session management network element switches the session established on the second user plane to the first User plane network element.
在本公开的一种示例实施例中,可以获取用户面网元切换策略对应的第二使能参数,将第二使能参数调整为第一使能参数,会话管理网元根据第一使能参数将第二用户面上建立的会话切换至第一用户面网元。参照图3所示,将第二使能参数调整为第一使能参数,会话管理网元根据第一使能参数将第二用户面上建立的会话切换至第一用户面网元,可以包括以下步骤S310~S320:In an example embodiment of the present disclosure, the second enabling parameter corresponding to the switching policy of the user plane network element may be acquired, the second enabling parameter may be adjusted to the first enabling parameter, and the session management network element shall, according to the first enabling parameter The parameter switches the session established on the second user plane to the first user plane network element. Referring to FIG. 3 , the second enabling parameter is adjusted to the first enabling parameter, and the session management network element switches the session established on the second user plane to the first user plane network element according to the first enabling parameter, which may include The following steps S310-S320:
步骤S310,获取用户面网元切换策略对应的第二使能参数;Step S310, acquiring a second enabling parameter corresponding to the user plane network element handover strategy;
在本公开的一种示例实施例中,在通过上述步骤确定模拟会话建立状态正常时,可以获取用户面网元切换策略对应的第二使能参数。其中,用户面网元切换策略对应的使能参数可以设置为指示是否需要通过会话管理网元将第二用户面上建立的会话切换至第一用户面网元。具体的,在用户面网元切换策略对应的使能参数为第二使能参数时,表示不需要通过会话管理网元将第二用户面上建立的会话切换至第一用户面网元。需要说明的是,本公开对于用户面网元切换策略对应的使能参数的具体形式并不做特殊限定。In an example embodiment of the present disclosure, when it is determined through the above steps that the simulated session establishment state is normal, the second enabling parameter corresponding to the user plane network element switching policy may be acquired. Wherein, the enabling parameter corresponding to the user plane network element switching policy may be set to indicate whether the session established on the second user plane needs to be handed over to the first user plane network element through the session management network element. Specifically, when the enabling parameter corresponding to the user plane network element switching policy is the second enabling parameter, it means that the session established on the second user plane does not need to be handed over to the first user plane network element through the session management network element. It should be noted that, the present disclosure does not specifically limit the specific form of the enabling parameter corresponding to the user plane network element handover policy.
步骤S320,将第二使能参数调整为第一使能参数,会话管理网元根据第一使能参数将第二用户面上建立的会话切换至第一用户面网元。Step S320, adjusting the second enabling parameter to the first enabling parameter, and the session management network element switches the session established on the second user plane to the first user plane network element according to the first enabling parameter.
在本公开的一种示例实施例中,在通过上述步骤获取用户面网元切换策略对应的第二使能参数之后,可以将第二使能参数调整为第一使能参数。具体的,第一使能参数表示需要通过会话管理网元将第二用户面上建立的会话切换至第一用户面网元。再将用户面网元切换策略对应的第二使能参数调整为第一使能参数之后,可以通过会话管理网元将第二用户面上建立的会话切换至第一用户面网元。需要说明的是,本公开对于会话管理网元根据第一使能参数将第二用户面上建立的会话切换至第一用户面网元的具体方式并不做特殊限定。In an example embodiment of the present disclosure, after the second enabling parameter corresponding to the user plane network element handover policy is acquired through the above steps, the second enabling parameter may be adjusted to the first enabling parameter. Specifically, the first enabling parameter indicates that the session established on the second user plane needs to be handed over to the first user plane network element through the session management network element. After adjusting the second enabling parameter corresponding to the switching policy of the user plane network element to the first enabling parameter, the session established on the second user plane may be switched to the first user plane network element through the session management network element. It should be noted that the present disclosure does not specifically limit the specific manner in which the session management network element switches the session established on the second user plane to the first user plane network element according to the first enabling parameter.
举例而言,用户面网元切换策略对应的第二使能参数为disenable,此时表示不需要通过会话管理网元将第二用户面上建立的会话切换至第一用户面网元,在模拟会话建立状态正常时,可以将第二使能参数disenable调整为enable,此时,会话管理网元可以将第二用户面上建立的会话切换至第一用户面网元。For example, the second enabling parameter corresponding to the user plane NE switching policy is disable, which means that it is not necessary to switch the session established on the second user plane to the first user plane NE through the session management NE. When the session establishment state is normal, the second enabling parameter disable can be adjusted to enable, and at this time, the session management network element can switch the session established on the second user plane to the first user plane network element.
通过上述步骤S310~S320,可以获取用户面网元切换策略对应的第二使能参数,将第二使能参数调整为第一使能参数,会话管理网元根据第一使能参数将第二用户面上建立的会话切换至第一用户面网元。Through the above steps S310-S320, the second enabling parameter corresponding to the switching policy of the user plane network element can be obtained, the second enabling parameter is adjusted to the first enabling parameter, and the session management network element changes the second enabling parameter according to the first enabling parameter. The session established on the user plane is handed over to the first user plane network element.
在本公开的一种示例实施例中,可以会话管理网元获取会话建立请求对应的第一配 置参数,根据第一配置参数确定切换会话采用的第一用户面网元,根据第一用户面网元建立会话链路,会话管理网元通过第二用户面网元建立的会话切换至第一用户面网元对应的会话链路中。参照图4所示,会话管理网元通过第二用户面网元建立的会话切换至第一用户面网元对应的会话链路中,可以包括以下步骤S410~S430:In an exemplary embodiment of the present disclosure, the session management network element may obtain the first configuration parameter corresponding to the session establishment request, determine the first user plane network element used for switching the session according to the first configuration parameter, and determine the first user plane network element used for switching the session according to the first user plane network The session link is established by the session management network element, and the session management network element switches to the session link corresponding to the first user plane network element through the session established by the second user plane network element. Referring to FIG. 4, the session management network element switches the session established by the second user plane network element to the session link corresponding to the first user plane network element, which may include the following steps S410-S430:
步骤S410,会话管理网元获取会话建立请求对应的第一配置参数;Step S410, the session management network element obtains the first configuration parameter corresponding to the session establishment request;
在本公开的一种示例实施例中,在第一用户面网元故障之后,可以通过第二用户面网元进行会话,在第一用户面网元恢复之后,会话管理网元可以获取会话建立请求对应的第一配置参数。其中,会话建立请求对应的第一配置参数可以设置为指示建立会话时所要使用的第一用户面网元。具体的,会话建立请求对应的第一配置参数可以包括DNN会话标识(Data Network Name)、DNN路由、IP地址(互联网协议地址,Internet Protocol Address)等。需要说明的是,本公开对于会话建立请求对应的第一配置参数的具体内容并不做特殊限定。In an example embodiment of the present disclosure, after the failure of the first user plane network element, a session can be performed through the second user plane network element, and after the recovery of the first user plane network element, the session management network element can obtain the session establishment The first configuration parameter corresponding to the request. Wherein, the first configuration parameter corresponding to the session establishment request may be set to indicate the first user plane network element to be used when establishing the session. Specifically, the first configuration parameter corresponding to the session establishment request may include a DNN session identifier (Data Network Name), a DNN route, an IP address (Internet Protocol Address, Internet Protocol Address) and the like. It should be noted that, the present disclosure does not specifically limit the specific content of the first configuration parameter corresponding to the session establishment request.
步骤S420,根据第一配置参数确定切换会话采用的第一用户面网元,根据第一用户面网元建立会话链路;Step S420, determine the first user plane network element used for switching the session according to the first configuration parameter, and establish the session link according to the first user plane network element;
在本公开的一种示例实施例中,在通过上述步骤得到会话建立请求对应的第一配置参数之后,可以根据第一配置参数确定建立会话采用的第一用户面网元。具体的,第一配置参数可以设置为指示建立会话所要使用的第一用户面网元,在得到第一配置参数之后,可以查找与第一配置参数对应的用户面网元,并将该用户面网元确定为第一用户面网元。需要说明的是,本公开对于根据第一配置参数确定建立会话采用的第一用户面网元的具体方式并不做特殊限定。In an example embodiment of the present disclosure, after the first configuration parameter corresponding to the session establishment request is obtained through the above steps, the first user plane network element used to establish the session may be determined according to the first configuration parameter. Specifically, the first configuration parameter may be set to indicate the first user plane network element to be used to establish the session. After the first configuration parameter is obtained, the user plane network element corresponding to the first configuration parameter may be searched, and the user plane network element The network element is determined as the first user plane network element. It should be noted that the present disclosure does not specifically limit the specific manner of determining the first user plane network element used to establish the session according to the first configuration parameter.
在本公开的一种示例实施例中,在通过上述步骤确定切换会话所要采用的第一用户面网元之后,可以根据第一用户面网元建立会话链路。具体的,可以将原会话链路中的第二用户面网元切换为通过上述步骤确定的第一用户面网元,以根据第一用户面网元建立会话链路。需要说明的是,本公开对于根据第一用户面网元建立会话链路的具体方式并不做特殊限定。In an example embodiment of the present disclosure, after the first user plane network element to be used for session handover is determined through the above steps, a session link may be established according to the first user plane network element. Specifically, the second user plane network element in the original session link may be switched to the first user plane network element determined through the above steps, so as to establish the session link according to the first user plane network element. It should be noted that the present disclosure does not specifically limit the specific manner of establishing the session link according to the first user plane network element.
步骤S430,会话管理网元通过第二用户面网元建立的会话切换至第一用户面网元对应的会话链路中。Step S430, the session management network element switches the session established by the second user plane network element to the session link corresponding to the first user plane network element.
在本公开的一种示例实施例中,在通过上述步骤根据第一用户面网元建立会话链路之后,此时会话管理网元可以通过第二用户面网元建立的会话切换至第一用户面网元对应的会话链路中。具体的,根据第一用户面网元建立会话链路可以设置为表示第一用户面网元已经恢复,且已经能够通过第一用户面网元进行会话,此时,可以直接将通过第二用户面网元建立的会话切换至根据第一用户面网元建立的会话链路中。需要说明的是,本公开对于会话管理网元通过第二用户面网元建立的会话切换至第一用户面网元对应的会话链路中的具体方式并不做特殊限定。In an exemplary embodiment of the present disclosure, after the session link is established according to the first user plane network element through the above steps, the session management network element can switch to the first user through the session established by the second user plane network element. In the session link corresponding to the plane NE. Specifically, the establishment of the session link according to the first user plane network element can be set to indicate that the first user plane network element has been recovered and the session can be conducted through the first user plane network element. The session established by the first user plane network element is switched to the session link established by the first user plane network element. It should be noted that the present disclosure does not specifically limit the specific manner in which the session established by the session management network element is switched to the session link corresponding to the first user plane network element through the second user plane network element.
通过上述步骤S410~S430,可以会话管理网元获取会话建立请求对应的第一配置参数,根据第一配置参数确定切换会话采用的第一用户面网元,根据第一用户面网元建立会话链路,会话管理网元通过第二用户面网元建立的会话切换至第一用户面网元对应的会话链路中。Through the above steps S410-S430, the session management network element can obtain the first configuration parameter corresponding to the session establishment request, determine the first user plane network element used for switching the session according to the first configuration parameter, and establish a session link according to the first user plane network element The session management network element switches the session established by the second user plane network element to the session link corresponding to the first user plane network element.
在本公开的一种示例实施例中,可以获取会话管理网元中第二用户面网元对应的第二配置参数,将会话管理网元中的第二配置参数更新为第一配置参数,以将通过第二用户面网元建立的会话切换至第一用户面网元对应的会话链路中。参照图5所示,将会话管理网元中的第二配置参数更新为第一配置参数,以将通过第二用户面网元建立的会话切换至第一用户面网元对应的会话链路中,可以包括以下步骤S510~S520:In an example embodiment of the present disclosure, the second configuration parameter corresponding to the second user plane network element in the session management network element may be obtained, and the second configuration parameter in the session management network element may be updated to the first configuration parameter, so as to Switching the session established through the second user plane network element to the session link corresponding to the first user plane network element. Referring to Figure 5, update the second configuration parameter in the session management network element to the first configuration parameter, so as to switch the session established through the second user plane network element to the session link corresponding to the first user plane network element , may include the following steps S510-S520:
步骤S510,获取会话管理网元中第二用户面网元对应的第二配置参数;Step S510, acquiring a second configuration parameter corresponding to a second user plane network element in the session management network element;
在本公开的一种示例实施例中,可以获取会话管理网元中第二用户面网元对应的第二配置参数。具体的,当第一用户面网元故障之后,可以通过第二用户面网元建立会话,会话管理网元中配置的配置参数为第二用户面网元对应的第二配置参数,此时,可以在会话管理网元中获取第二用户面网元对应的第二配置参数。需要说明的是,本公开对于获取会话管理网元中第二用户面网元对应的第二配置参数的具体方式并不做特殊限定。In an example embodiment of the present disclosure, the second configuration parameter corresponding to the second user plane network element in the session management network element may be acquired. Specifically, when the first user plane network element fails, a session can be established through the second user plane network element, and the configuration parameters configured in the session management network element are the second configuration parameters corresponding to the second user plane network element. At this time, The second configuration parameter corresponding to the second user plane network element may be obtained from the session management network element. It should be noted that the present disclosure does not specifically limit the specific manner of obtaining the second configuration parameter corresponding to the second user plane network element in the session management network element.
步骤S520,将会话管理网元中的第二配置参数更新为第一配置参数,以将通过第二用户面网元建立的会话切换至第一用户面网元对应的会话链路中。Step S520, updating the second configuration parameter in the session management network element to the first configuration parameter, so as to switch the session established through the second user plane network element to the session link corresponding to the first user plane network element.
在本公开的一种示例实施例中,在通过上述步骤得到第二用户面网元对应的第二配置参数之后,可以将会话管理网元中的第二配置参数更新为第一配置参数。具体的,会话管理网元中的配置参数可以设置为指示会话所要使用的用户面网元,在将会话管理网元中的第二配置参数更新为第一配置参数之后,可以将通过第二用户面网元建立的会话切换至第一用户面网元对应的会话链路中。需要说明的是,本公开对于将会话管理网元中的第二配置参数更新为第一配置参数的方式并不做特殊限定。In an example embodiment of the present disclosure, after the second configuration parameter corresponding to the second user plane network element is obtained through the above steps, the second configuration parameter in the session management network element may be updated to the first configuration parameter. Specifically, the configuration parameter in the session management network element may be set to indicate the user plane network element to be used by the session, and after updating the second configuration parameter in the session management network element to the first configuration parameter, the The session established by the network element on the user plane is switched to the session link corresponding to the first user plane network element. It should be noted that the present disclosure does not specifically limit the manner of updating the second configuration parameter in the session management network element to the first configuration parameter.
通过上述步骤S510~S520,可以获取会话管理网元中第二用户面网元对应的第二配置参数,将会话管理网元中的第二配置参数更新为第一配置参数,以将通过第二用户面网元建立的会话切换至第一用户面网元对应的会话链路中。Through the above steps S510-S520, the second configuration parameter corresponding to the second user plane network element in the session management network element can be obtained, and the second configuration parameter in the session management network element can be updated to the first configuration parameter, so that the The session established by the user plane network element is switched to the session link corresponding to the first user plane network element.
在本公开的一种示例实施例中,可以获取会话建立请求对应的属地标识,根据属地标识确定会话建立请求对应的会话管理网元,通过终端设备向会话管理网元发送会话建立请求。参照图6所示,根据属地标识确定会话建立请求对应的会话管理网元,可以包括以下步骤S610~S620:In an exemplary embodiment of the present disclosure, the location identifier corresponding to the session establishment request may be obtained, the session management network element corresponding to the session establishment request is determined according to the location identifier, and the session establishment request is sent to the session management network element through the terminal device. Referring to FIG. 6, determining the session management network element corresponding to the session establishment request according to the location identifier may include the following steps S610-S620:
步骤S610,获取会话建立请求对应的属地标识,根据属地标识确定会话建立请求对应的会话管理网元;Step S610, obtaining the domain identification corresponding to the session establishment request, and determining the session management network element corresponding to the session establishment request according to the domain identification;
步骤S620,通过终端设备向会话管理网元发送会话建立请求。In step S620, the terminal device sends a session establishment request to the session management network element.
在本公开的一种示例实施例中,可以获取会话建立请求对应的属地标识,并根据属 地标识确定会话建立请求对应的会话管理网元。具体的,会话建立请求中可以包括DNN,DNN中可以包括属地标识。其中,属地标识可以设置为指示所要使用的会话管理网元。In an exemplary embodiment of the present disclosure, the location identifier corresponding to the session establishment request can be obtained, and the session management network element corresponding to the session establishment request can be determined according to the location identifier. Specifically, the session establishment request may include the DNN, and the DNN may include the domain identifier. Wherein, the property identifier can be set to indicate the session management network element to be used.
举例而言,在接入和移动性管理网元接收到会话建立请求对应的DNN之后,可以从DNN中获取会话建立请求对应的属地标识,可以根据该会话建立请求对应的属地标识确定所要使用的是某个区域的会话管理网元。For example, after the access and mobility management network element receives the DNN corresponding to the session establishment request, it can obtain the domain identifier corresponding to the session establishment request from the DNN, and can determine the domain identifier to be used according to the domain identifier corresponding to the session establishment request. It is the session management network element of a certain area.
需要说明的是,本公开对于根据属地标识确定会话建立请求对应的会话管理网元的具体方式并不做特殊限定。It should be noted that the present disclosure does not specifically limit the specific manner of determining the session management network element corresponding to the session establishment request according to the location identifier.
通过上述步骤S610~S620,可以获取会话建立请求对应的属地标识,根据属地标识确定会话建立请求对应的会话管理网元,通过终端设备向会话管理网元发送会话建立请求。Through the above steps S610-S620, the domain identification corresponding to the session establishment request can be obtained, the session management network element corresponding to the session establishment request is determined according to the domain identification, and the session establishment request is sent to the session management network element through the terminal device.
在本公开的一种示例实施例中,终端设备(UE)可以向基站(gNB)发送会话建立请求,基站再将会话建立请求发送至接入和移动性管理网元(AMF),接入和移动性管理网元根据会话建立请求对应的DNN确定对应的会话管理网元(SMF),会话管理网元向同一数据管理网元(UDM,Unified Data Management)获取签约的会话认证信息,并在第二用户面网元中进行会话认证和授权,会话管理网元确定第二用户面网元对应的策略控制网元(PCF,Policy Control Function),并向该策略控制网元获取业务数据流的策略和计费控制策略(PCC策略),会话管理网元向第二用户面网元发送会话建立信息以及PCC策略,会话管理网元向接入和移动性管理网元发送会话建立信息,接受会话响应,接入和移动性管理网元通知基站建立无线承载,基站与终端设备建立无线承载。在采用第二用户面网元建立会话时,可以将会话预期策略调整为采用第一用户面网元建立会话,在第一用户面网元恢复时,可以由链路管理模块将会话管理网元中的第二配置参数更新为第一配置参数,将通过第二用户面网元建立的会话切换至第一用户面网元对应的会话链路中。In an exemplary embodiment of the present disclosure, a terminal device (UE) may send a session establishment request to a base station (gNB), and the base station then sends the session establishment request to an access and mobility management network element (AMF), and the access and mobility management network element (AMF) The mobility management network element determines the corresponding session management network element (SMF) according to the DNN corresponding to the session establishment request, the session management network element obtains the signed session authentication information from the same data management network element (UDM, Unified Data Management), and Session authentication and authorization are performed in the second user plane network element, the session management network element determines the policy control network element (PCF, Policy Control Function) corresponding to the second user plane network element, and obtains the service data flow policy from the policy control network element and charging control policy (PCC policy), the session management network element sends the session establishment information and the PCC policy to the second user plane network element, the session management network element sends the session establishment information to the access and mobility management network element, and receives the session response , the access and mobility management network element notifies the base station to establish a radio bearer, and the base station establishes a radio bearer with the terminal equipment. When using the second user plane network element to establish a session, the session expectation policy can be adjusted to use the first user plane network element to establish a session. When the first user plane network element recovers, the link management module can set the session management network element to The second configuration parameter in is updated to the first configuration parameter, and the session established through the second user plane network element is switched to the session link corresponding to the first user plane network element.
参照图7所示,将第二用户面上建立的会话切换至第一用户面网元,以通过第一用户面网元进行会话,可以包括以下步骤S701~S708:Referring to FIG. 7, switching the session established on the second user plane to the first user plane network element, so as to conduct the session through the first user plane network element, may include the following steps S701-S708:
步骤S701,UE向gNB发送会话建立请求;步骤S702,gNB再将会话建立请求发送至AMF;步骤S703,AMF确定对应的SMF;步骤S704,SMF在UPF中进行会话认证和授权;步骤S705,SMF确定对应的PCF,并获取PCC策略;步骤S706,SMF向UPF发送会话建立信息以及PCC策略;步骤S707,SMF向AMF发送会话建立信息,接受会话响应;步骤S708,AMF通知gNB建立无线承载;步骤S709,UE与gNB建立无线承载;步骤S710,将会话管理网元中的第二配置参数更新为第一配置参数;步骤S711,将通过第二用户面网元建立的会话切换至第一用户面网元对应的会话链路中。Step S701, UE sends a session establishment request to gNB; Step S702, gNB sends the session establishment request to AMF; Step S703, AMF determines the corresponding SMF; Step S704, SMF performs session authentication and authorization in UPF; Step S705, SMF Determine the corresponding PCF, and obtain the PCC policy; Step S706, SMF sends session establishment information and PCC policy to UPF; Step S707, SMF sends session establishment information to AMF, accepts session response; Step S708, AMF notifies gNB to establish radio bearer; Step S709, the UE establishes a radio bearer with the gNB; Step S710, updates the second configuration parameter in the session management network element to the first configuration parameter; Step S711, switches the session established through the second user plane network element to the first user plane In the session link corresponding to the NE.
在本公开的一种示例实施例中,可以设置网络监控模块、数据库模块、智能算路模块、链路管理模块。具体的,网络监控模块设置为监测业务流的转发情况,当采用第二 用户面网元建立会话时,可以将会话预期策略调整为采用第一用户面网元建立会话;数据库模块可以设置为存储用户面网元对应的配置参数;智能算路模块可以设置为获取模拟采用第一用户面网元建立会话的模拟会话建立状态,在模拟会话建立状态正常时,将用户面网元切换策略对应的第二使能参数调整为第一使能参数;链路管理模块设置为将会话管理网元中的第二配置参数更新为第一配置参数。需要说明的是,本实施例对于实现本公开的各项模块中的具体功能并不做特殊限定。In an exemplary embodiment of the present disclosure, a network monitoring module, a database module, an intelligent path calculation module, and a link management module may be set. Specifically, the network monitoring module is set to monitor the forwarding of the service flow. When the second user plane network element is used to establish a session, the session anticipation strategy can be adjusted to use the first user plane network element to establish a session; the database module can be set to store The configuration parameters corresponding to the user plane network element; the intelligent path calculation module can be set to obtain the simulated session establishment status of the simulation using the first user plane network element to establish a session, and when the simulated session establishment status is normal, switch the user plane network element to the corresponding The second enabling parameter is adjusted to the first enabling parameter; the link management module is configured to update the second configuration parameter in the session management network element to the first configuration parameter. It should be noted that, this embodiment does not specifically limit the implementation of specific functions in various modules of the present disclosure.
本公开的一种实施例提供的网元切换方法中,在第一用户面网元故障时,通过终端设备向会话管理网元发送会话建立请求,采用第二用户面网元建立会话,在第一用户面网元恢复时,会话管理网元将第二用户面上建立的会话切换至第一用户面网元,以通过第一用户面网元进行会话。通过本公开的实施例,可以在第一用户面网元修复好之后,从当前使用的第二用户面网元切换为第一用户面网元,且会话也可以自动切换,避免流量中断,无需重新建立会话,保证了用户对于流量稳定的要求,从而提升了用户的使用效率,避免用户发起投诉,保证用户对于系统的信任度。In the network element switching method provided by an embodiment of the present disclosure, when the first user plane network element fails, the terminal device sends a session establishment request to the session management network element, and the second user plane network element is used to establish a session. When a user plane network element recovers, the session management network element switches the session established on the second user plane to the first user plane network element, so as to conduct the session through the first user plane network element. Through the embodiments of the present disclosure, it is possible to switch from the currently used second user plane network element to the first user plane network element after the first user plane network element is repaired, and the session can also be automatically switched to avoid traffic interruption. Re-establishing the session ensures the user's requirement for stable traffic, thereby improving the user's usage efficiency, avoiding the user's complaints, and ensuring the user's trust in the system.
需要注意的是,上述附图仅是根据本公开示例性实施例的方法所包括的处理的示意性说明,而不是限制目的。易于理解,上述附图所示的处理并不表明或限制这些处理的时间顺序。另外,也易于理解,这些处理可以是例如在多个模块中同步或异步执行的。It should be noted that the above-mentioned figures are only schematic illustrations of processes included in the method according to the exemplary embodiments of the present disclosure, and are not intended to be limiting. It is easy to understand that the processes shown in the above figures do not imply or limit the chronological order of these processes. In addition, it is also easy to understand that these processes may be executed synchronously or asynchronously in multiple modules, for example.
此外,在本公开的示例性实施方式中,还提供了一种网元切换装置。参照图8所示,一种网元切换装置800包括:会话建立模块810和会话切换模块820。In addition, in an exemplary embodiment of the present disclosure, a network element switching device is also provided. Referring to FIG. 8 , a network element switching device 800 includes: a session establishment module 810 and a session switching module 820 .
其中,会话建立模块,设置为在第一用户面网元故障时,通过终端设备向会话管理网元发送会话建立请求,采用第二用户面网元建立会话;会话切换模块,设置为在第一用户面网元恢复时,会话管理网元将第二用户面上建立的会话切换至第一用户面网元,以通过第一用户面网元进行会话。Wherein, the session establishment module is set to send a session establishment request to the session management network element through the terminal device when the first user plane network element fails, and uses the second user plane network element to establish a session; the session switching module is set to When the user plane network element recovers, the session management network element switches the session established on the second user plane to the first user plane network element, so as to conduct the session through the first user plane network element.
在本公开的一种示例性实施例中,基于前述方案,在采用第二用户面网元建立会话之后,装置还包括:预期策略调整单元,设置为将会话预期策略调整为采用第一用户面网元建立会话。In an exemplary embodiment of the present disclosure, based on the foregoing solution, after the session is established using the second user plane network element, the device further includes: an expected policy adjustment unit configured to adjust the session expected policy to adopt the first user plane network element The network element establishes a session.
在本公开的一种示例性实施例中,基于前述方案,在第一用户面网元恢复时,会话管理网元将第二用户面上建立的会话切换至第一用户面网元,装置还包括:模拟会话建立状态获取单元,设置为获取模拟采用第一用户面网元建立会话的模拟会话建立状态;状态正常处理单元,设置为在模拟会话建立状态正常时,会话管理网元将第二用户面上建立的会话切换至第一用户面网元。In an exemplary embodiment of the present disclosure, based on the foregoing solution, when the first user plane network element recovers, the session management network element switches the session established on the second user plane to the first user plane network element, and the device further Including: a simulated session establishment status acquisition unit, configured to obtain a simulated session establishment status that simulates the establishment of a session using the first user plane network element; a status normal processing unit, configured to set the session management network element to the second when the simulated session establishment status is normal. The session established on the user plane is handed over to the first user plane network element.
在本公开的一种示例性实施例中,基于前述方案,会话管理网元将第二用户面上建立的会话切换至第一用户面网元,装置还包括:第二使能参数获取单元,设置为获取用户面网元切换策略对应的第二使能参数;使能参数调整单元,设置为将第二使能参数调整为第一使能参数,会话管理网元根据第一使能参数将第二用户面上建立的会话切换至 第一用户面网元。In an exemplary embodiment of the present disclosure, based on the foregoing solution, the session management network element switches the session established on the second user plane to the first user plane network element, and the device further includes: a second enabling parameter acquisition unit, It is set to obtain the second enabling parameter corresponding to the switching strategy of the user plane network element; the enabling parameter adjustment unit is configured to adjust the second enabling parameter to the first enabling parameter, and the session management network element sets the The session established on the second user plane is handed over to the first user plane network element.
在本公开的一种示例性实施例中,基于前述方案,会话管理网元将第二用户面上建立的会话切换至第一用户面网元,装置还包括:第一配置参数获取单元,设置为会话管理网元获取会话建立请求对应的第一配置参数;会话链路建立单元,设置为根据第一配置参数确定切换会话采用的第一用户面网元,根据第一用户面网元建立会话链路;会话链路切换单元,设置为会话管理网元通过第二用户面网元建立的会话切换至第一用户面网元对应的会话链路中。In an exemplary embodiment of the present disclosure, based on the foregoing solution, the session management network element switches the session established on the second user plane to the first user plane network element, and the device further includes: a first configuration parameter acquisition unit, setting Obtaining the first configuration parameter corresponding to the session establishment request for the session management network element; the session link establishment unit is configured to determine the first user plane network element used to switch the session according to the first configuration parameter, and establish the session according to the first user plane network element Link: a session link switching unit configured to switch the session established by the session management network element to the session link corresponding to the first user plane network element through the second user plane network element.
在本公开的一种示例性实施例中,基于前述方案,会话管理网元将通过第二用户面网元建立的会话切换至第一用户面网元对应的会话链路中,装置还包括:第二配置参数获取单元,设置为获取会话管理网元中第二用户面网元对应的第二配置参数;第二配置参数更新单元,设置为将会话管理网元中的第二配置参数更新为第一配置参数,以将通过第二用户面网元建立的会话切换至第一用户面网元对应的会话链路中。In an exemplary embodiment of the present disclosure, based on the foregoing solution, the session management network element switches the session established through the second user plane network element to the session link corresponding to the first user plane network element, and the device further includes: The second configuration parameter acquisition unit is configured to obtain the second configuration parameter corresponding to the second user plane network element in the session management network element; the second configuration parameter update unit is configured to update the second configuration parameter in the session management network element to The first configuration parameter is used to switch the session established through the second user plane network element to the session link corresponding to the first user plane network element.
在本公开的一种示例性实施例中,基于前述方案,通过终端设备向会话管理网元发送会话建立请求,装置还包括:属地标识获取单元,设置为获取会话建立请求对应的属地标识,根据属地标识确定会话建立请求对应的会话管理网元;会话建立请求发送单元,设置为通过终端设备向会话管理网元发送会话建立请求。In an exemplary embodiment of the present disclosure, based on the foregoing solution, the terminal device sends a session establishment request to the session management network element, and the device further includes: a location identification obtaining unit configured to obtain the location identification corresponding to the session establishment request, according to The domain identifier determines the session management network element corresponding to the session establishment request; the session establishment request sending unit is configured to send the session establishment request to the session management network element through the terminal device.
由于本公开的示例实施例的网元切换装置的各个功能模块与上述网元切换方法的示例实施例的步骤对应,因此对于本公开装置实施例中未披露的细节,请参照本公开上述的网元切换方法的实施例。Since each functional module of the network element switching device in the exemplary embodiment of the present disclosure corresponds to the steps in the exemplary embodiment of the above-mentioned network element switching method, for details not disclosed in the embodiment of the disclosed device, please refer to the above-mentioned network element in the present disclosure An embodiment of a meta-switching method.
应当注意,尽管在上文详细描述中提及了设置为动作执行的设备的若干模块或者单元,但是这种划分并非强制性的。实际上,根据本公开的实施方式,上文描述的两个或更多模块或者单元的特征和功能可以在一个模块或者单元中具体化。反之,上文描述的一个模块或者单元的特征和功能可以进一步划分为由多个模块或者单元来具体化。It should be noted that although several modules or units provided as an action-performing device are mentioned in the above detailed description, this division is not mandatory. Actually, according to the embodiment of the present disclosure, the features and functions of two or more modules or units described above may be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided to be embodied by a plurality of modules or units.
此外,在本公开的示例性实施例中,还提供了一种能够实现上述网元切换方法的电子设备。In addition, in an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above network element switching method is also provided.
所属技术领域的技术人员能够理解,本公开的各个方面可以实现为系统、方法或程序产品。因此,本公开的各个方面可以具体实现为以下形式,即:完全的硬件实施例、完全的软件实施例(包括固件、微代码等),或硬件和软件方面结合的实施例,这里可以统称为“电路”、“模块”或“系统”。Those skilled in the art can understand that various aspects of the present disclosure can be implemented as a system, method or program product. Therefore, various aspects of the present disclosure can be embodied in the following forms, namely: a complete hardware embodiment, a complete software embodiment (including firmware, microcode, etc.), or an embodiment combining hardware and software aspects, which may be collectively referred to herein as "circuit", "module" or "system".
下面参照图9来描述根据本公开的这种实施例的电子设备900。图9显示的电子设备900仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。An electronic device 900 according to such an embodiment of the present disclosure is described below with reference to FIG. 9 . The electronic device 900 shown in FIG. 9 is only an example, and should not limit the functions and scope of use of the embodiments of the present disclosure.
如图9所示,电子设备900以通用计算设备的形式表现。电子设备900的组件可以包括但不限于:上述至少一个处理单元910、上述至少一个存储单元920、连接不同系统组件(包括存储单元920和处理单元910)的总线930、显示单元940。As shown in FIG. 9, electronic device 900 takes the form of a general-purpose computing device. The components of the electronic device 900 may include, but are not limited to: the at least one processing unit 910 mentioned above, the at least one storage unit 920 mentioned above, the bus 930 connecting different system components (including the storage unit 920 and the processing unit 910 ), and the display unit 940.
其中,存储单元存储有程序代码,程序代码可以被处理单元910执行,使得处理单元910执行本说明书上述“示例性方法”部分中描述的根据本公开各种示例性实施例的步骤。例如,处理单元910可以执行如图1中所示的步骤S110,在第一用户面网元故障时,通过终端设备向会话管理网元发送会话建立请求,采用第二用户面网元建立会话;步骤S120,在第一用户面网元恢复时,会话管理网元将第二用户面上建立的会话切换至第一用户面网元,以通过第一用户面网元进行会话。Wherein, the storage unit stores program codes, and the program codes can be executed by the processing unit 910, so that the processing unit 910 executes the steps according to various exemplary embodiments of the present disclosure described in the above “Exemplary Methods” section of this specification. For example, the processing unit 910 may perform step S110 as shown in FIG. 1, when the first user plane network element fails, send a session establishment request to the session management network element through the terminal device, and use the second user plane network element to establish a session; Step S120, when the first user plane network element recovers, the session management network element switches the session established on the second user plane to the first user plane network element, so as to conduct the session through the first user plane network element.
存储单元920可以包括易失性存储单元形式的可读介质,例如随机存取存储单元(RAM)921和/或高速缓存存储单元922,还可以进一步包括只读存储单元(ROM)923。The storage unit 920 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 921 and/or a cache storage unit 922 , and may further include a read-only storage unit (ROM) 923 .
存储单元920还可以包括具有一组(至少一个)程序模块925的程序/实用工具924,这样的程序模块925包括但不限于:操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。The storage unit 920 may also include a program/utility 924 having a set (at least one) of program modules 925, such program modules 925 including but not limited to: an operating system, one or more application programs, other program modules, and program data, Implementations of networked environments may be included in each or some combination of these examples.
总线930可以为表示几类总线结构中的一种或多种,包括存储单元总线或者存储单元控制器、外围总线、图形加速端口、处理单元或者使用多种总线结构中的任意总线结构的局域总线。 Bus 930 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local area using any of a variety of bus structures. bus.
电子设备900也可以与一个或多个外部设备970(例如键盘、指向设备、蓝牙设备等)通信,还可与一个或者多个使得用户能与该电子设备900交互的设备通信,和/或与使得该电子设备900能与一个或多个其它计算设备进行通信的任何设备(例如路由器、调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口950进行。并且,电子设备900还可以通过网络适配器960与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器960通过总线930与电子设备900的其它模块通信。应当明白,尽管图中未示出,可以结合电子设备900使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。The electronic device 900 can also communicate with one or more external devices 970 (such as keyboards, pointing devices, Bluetooth devices, etc.), and can also communicate with one or more devices that enable the user to interact with the electronic device 900, and/or communicate with Any device (eg, router, modem, etc.) that enables the electronic device 900 to communicate with one or more other computing devices. Such communication may occur through input/output (I/O) interface 950 . Moreover, the electronic device 900 can also communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN) and/or a public network such as the Internet) through the network adapter 960 . As shown, the network adapter 960 communicates with other modules of the electronic device 900 through the bus 930 . It should be appreciated that although not shown, other hardware and/or software modules may be used in conjunction with electronic device 900, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives And data backup storage system, etc.
通过以上的实施例的描述,本领域的技术人员易于理解,这里描述的示例实施例可以通过软件实现,也可以通过软件结合必要的硬件的方式来实现。因此,根据本公开实施例的技术方案可以以软件产品的形式体现出来,该软件产品可以存储在一个非易失性存储介质(可以是CD-ROM,U盘,移动硬盘等)中或网络上,包括若干指令以使得一台计算设备(可以是个人计算机、服务器、终端装置、或者网络设备等)执行根据本公开实施例的方法。Through the description of the above embodiments, those skilled in the art can easily understand that the exemplary embodiments described here can be implemented by software, or by combining software with necessary hardware. Therefore, the technical solutions according to the embodiments of the present disclosure can be embodied in the form of software products, and the software products can be stored in a non-volatile storage medium (which can be CD-ROM, U disk, mobile hard disk, etc.) or on the network , including several instructions to make a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) execute the method according to the embodiment of the present disclosure.
在本公开的示例性实施例中,还提供了一种计算机可读存储介质,其上存储有能够实现本说明书上述方法的程序产品。在一些可能的实施例中,本公开的各个方面还可以实现为一种程序产品的形式,其包括程序代码,当程序产品在终端设备上运行时,程序代码用于使终端设备执行本说明书上述“示例性方法”部分中描述的根据本公开各种示例性实施例的步骤。In an exemplary embodiment of the present disclosure, there is also provided a computer-readable storage medium on which a program product capable of implementing the above-mentioned method in this specification is stored. In some possible embodiments, various aspects of the present disclosure can also be implemented in the form of a program product, which includes program code. When the program product runs on the terminal device, the program code is used to make the terminal device execute the above-mentioned Steps according to various exemplary embodiments of the present disclosure described in the "Exemplary Methods" section.
计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了可读程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。可读信号介质还可以是可读存储介质以外的任何可读介质,该可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。A computer readable signal medium may include a data signal carrying readable program code in baseband or as part of a carrier wave. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A readable signal medium may also be any readable medium other than a readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device.
可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于无线、有线、光缆、RF等等,或者上述的任意合适的组合。Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
可以以一种或多种程序设计语言的任意组合来编写用于执行本公开操作的程序代码,程序设计语言包括面向对象的程序设计语言—诸如Java、C++等,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算设备上执行、部分地在用户设备上执行、作为一个独立的软件包执行、部分在用户计算设备上部分在远程计算设备上执行、或者完全在远程计算设备或服务器上执行。在涉及远程计算设备的情形中,远程计算设备可以通过任意种类的网络,包括局域网(LAN)或广域网(WAN),连接到用户计算设备,或者,可以连接到外部计算设备(例如利用因特网服务提供商来通过因特网连接)。Program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages—such as Java, C++, etc., as well as conventional procedural programming Language - such as "C" or similar programming language. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server to execute. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (for example, using an Internet service provider). business to connect via the Internet).
此外,上述附图仅是根据本公开示例性实施例的方法所包括的处理的示意性说明,而不是限制目的。易于理解,上述附图所示的处理并不表明或限制这些处理的时间顺序。另外,也易于理解,这些处理可以是例如在多个模块中同步或异步执行的。In addition, the above-mentioned drawings are only schematic illustrations of processes included in the method according to the exemplary embodiments of the present disclosure, and are not intended to be limiting. It is easy to understand that the processes shown in the above figures do not imply or limit the chronological order of these processes. In addition, it is also easy to understand that these processes may be executed synchronously or asynchronously in multiple modules, for example.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其他实施例。本公开旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由权利要求指出。Other embodiments of the disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. The present disclosure is intended to cover any modification, use or adaptation of the present disclosure. These modifications, uses or adaptations follow the general principles of the present disclosure and include common knowledge or conventional technical means in the technical field not disclosed in the present disclosure. . The specification and examples are to be considered exemplary only, with the true scope and spirit of the disclosure indicated by the appended claims.

Claims (10)

  1. 一种网元切换方法,所述方法包括:A network element switching method, the method comprising:
    在第一用户面网元故障时,通过终端设备向会话管理网元发送会话建立请求,采用第二用户面网元建立会话;When the first user plane network element fails, send a session establishment request to the session management network element through the terminal device, and use the second user plane network element to establish the session;
    在所述第一用户面网元恢复时,所述会话管理网元将所述第二用户面上建立的会话切换至第一用户面网元,以通过第一用户面网元进行会话。When the first user plane network element recovers, the session management network element switches the session established on the second user plane to the first user plane network element, so as to conduct the session through the first user plane network element.
  2. 根据权利要求1所述的方法,其中,在所述采用第二用户面网元建立会话之后,所述方法还包括:The method according to claim 1, wherein, after the session is established by using the second user plane network element, the method further comprises:
    将会话预期策略调整为采用第一用户面网元建立会话。The session anticipation policy is adjusted to use the first user plane network element to establish the session.
  3. 根据权利要求1所述的方法,其中,所述在所述第一用户面网元恢复时,所述会话管理网元将所述第二用户面上建立的会话切换至第一用户面网元,包括:The method according to claim 1, wherein when the first user plane network element recovers, the session management network element switches the session established on the second user plane to the first user plane network element ,include:
    获取模拟采用第一用户面网元建立会话的模拟会话建立状态;Acquiring a simulated session establishment status for simulating the establishment of a session by using the first user plane network element;
    在所述模拟会话建立状态正常时,所述会话管理网元将所述第二用户面上建立的会话切换至第一用户面网元。When the simulated session establishment state is normal, the session management network element switches the session established on the second user plane to the first user plane network element.
  4. 根据权利要求3所述的方法,其中,所述会话管理网元将所述第二用户面上建立的会话切换至第一用户面网元,包括:The method according to claim 3, wherein the session management network element switches the session established on the second user plane to the first user plane network element, comprising:
    获取用户面网元切换策略对应的第二使能参数;Obtaining a second enabling parameter corresponding to a user plane network element switching strategy;
    将所述第二使能参数调整为第一使能参数,所述会话管理网元根据所述第一使能参数将所述第二用户面上建立的会话切换至第一用户面网元。The second enabling parameter is adjusted to the first enabling parameter, and the session management network element switches the session established on the second user plane to the first user plane network element according to the first enabling parameter.
  5. 根据权利要求3所述的方法,其中,所述会话管理网元将所述第二用户面上建立的会话切换至第一用户面网元,包括:The method according to claim 3, wherein the session management network element switches the session established on the second user plane to the first user plane network element, comprising:
    所述会话管理网元获取所述会话建立请求对应的第一配置参数;The session management network element acquires a first configuration parameter corresponding to the session establishment request;
    根据所述第一配置参数确定切换所述会话采用的第一用户面网元,根据所述第一用户面网元建立会话链路;determining a first user plane network element used to switch the session according to the first configuration parameter, and establishing a session link according to the first user plane network element;
    所述会话管理网元通过所述第二用户面网元建立的会话切换至第一用户面网元对应的会话链路中。The session management network element switches the session established by the second user plane network element to the session link corresponding to the first user plane network element.
  6. 根据权利要求5所述的方法,其中,所述会话管理网元将通过所述第二用户面网元建立的会话切换至第一用户面网元对应的会话链路中,包括:The method according to claim 5, wherein the session management network element switches the session established through the second user plane network element to the session link corresponding to the first user plane network element, comprising:
    获取所述会话管理网元中所述第二用户面网元对应的第二配置参数;Obtain a second configuration parameter corresponding to the second user plane network element in the session management network element;
    将所述会话管理网元中的第二配置参数更新为所述第一配置参数,以将通过所述第二用户面网元建立的会话切换至第一用户面网元对应的会话链路中。updating the second configuration parameter in the session management network element to the first configuration parameter, so as to switch the session established through the second user plane network element to the session link corresponding to the first user plane network element .
  7. 根据权利要求1所述的方法,其中,所述通过终端设备向会话管理网元发送会话建立请求,包括:The method according to claim 1, wherein the sending the session establishment request to the session management network element through the terminal device includes:
    获取所述会话建立请求对应的属地标识,根据所述属地标识确定所述会话建立请求对应的会话管理网元;Acquiring a domain identifier corresponding to the session establishment request, and determining a session management network element corresponding to the session establishment request according to the domain identifier;
    通过所述终端设备向所述会话管理网元发送会话建立请求。Sending a session establishment request to the session management network element through the terminal device.
  8. 一种网元切换装置,所述装置包括:A network element switching device, the device comprising:
    会话建立模块,设置为在第一用户面网元故障时,通过终端设备向会话管理网元发送会话建立请求,采用第二用户面网元建立会话;The session establishment module is configured to send a session establishment request to the session management network element through the terminal device when the first user plane network element fails, and use the second user plane network element to establish the session;
    会话切换模块,设置为在所述第一用户面网元恢复时,所述会话管理网元将所述第二用户面上建立的会话切换至第一用户面网元,以通过第一用户面网元进行会话。A session switching module, configured to switch the session established on the second user plane to the first user plane network element by the session management network element when the first user plane network element recovers, so as to pass the first user plane The network element conducts a session.
  9. 一种计算机可读存储介质,其上存储有计算机程序,所述程序被处理器执行时实现如权利要求1~7中任一项所述的方法。A computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the method according to any one of claims 1-7 is implemented.
  10. 一种电子设备,包括:An electronic device comprising:
    一个或多个处理器;以及one or more processors; and
    存储器,设置为存储一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现如权利要求1~7中任一项所述的方法。A memory configured to store one or more programs, when the one or more programs are executed by the one or more processors, so that the one or more processors implement any one of claims 1-7 method described in the item.
PCT/CN2022/141549 2021-12-30 2022-12-23 Network element switching method and apparatus, and storage medium and electronic device WO2023125307A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111648802.XA CN114302453A (en) 2021-12-30 2021-12-30 Network element switching method and device, storage medium and electronic equipment
CN202111648802.X 2021-12-30

Publications (1)

Publication Number Publication Date
WO2023125307A1 true WO2023125307A1 (en) 2023-07-06

Family

ID=80973963

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/141549 WO2023125307A1 (en) 2021-12-30 2022-12-23 Network element switching method and apparatus, and storage medium and electronic device

Country Status (2)

Country Link
CN (1) CN114302453A (en)
WO (1) WO2023125307A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114302453A (en) * 2021-12-30 2022-04-08 中国电信股份有限公司 Network element switching method and device, storage medium and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110149665A (en) * 2018-02-14 2019-08-20 华为技术有限公司 A kind of selection method and device of network element
CN110167088A (en) * 2019-05-29 2019-08-23 中国联合网络通信集团有限公司 A kind of management method and device of session
CN110475290A (en) * 2019-07-23 2019-11-19 中国联合网络通信集团有限公司 A kind of conversation switching method and device
WO2019242698A1 (en) * 2018-06-22 2019-12-26 华为技术有限公司 Network element management method, device and system
CN114302453A (en) * 2021-12-30 2022-04-08 中国电信股份有限公司 Network element switching method and device, storage medium and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110149665A (en) * 2018-02-14 2019-08-20 华为技术有限公司 A kind of selection method and device of network element
WO2019242698A1 (en) * 2018-06-22 2019-12-26 华为技术有限公司 Network element management method, device and system
CN110167088A (en) * 2019-05-29 2019-08-23 中国联合网络通信集团有限公司 A kind of management method and device of session
CN110475290A (en) * 2019-07-23 2019-11-19 中国联合网络通信集团有限公司 A kind of conversation switching method and device
CN114302453A (en) * 2021-12-30 2022-04-08 中国电信股份有限公司 Network element switching method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN114302453A (en) 2022-04-08

Similar Documents

Publication Publication Date Title
JP5113684B2 (en) Access gateway device control method and communication system
US20200267069A1 (en) Link switching method, link switching device, network communication system, and computer-readable storage medium
WO2017124791A1 (en) Link detecting method and device
WO2021057526A1 (en) Disaster recovery method for gateway device, and communication device
US20140201267A1 (en) Method, apparatus, and system for migrating user service
US20190026168A1 (en) Geographical Redundancy and Dynamic Scaling for Virtual Network Functions
JP6796656B2 (en) Basic service set identifier BSSID update
WO2023125307A1 (en) Network element switching method and apparatus, and storage medium and electronic device
EP2732598B1 (en) Method to enhance high availability in a secure telecommunications network, and telecommunications network comprising a plurality of remote nodes
CN113422694A (en) Communication method, communication apparatus, communication medium, and electronic device
CN111371625A (en) Method for realizing dual-computer hot standby
JP2023130372A (en) Communication device, method, program, and recording medium
CN114465948B (en) Main and standby disaster recovery method, device, equipment and medium
US20240097979A1 (en) Fabric availability and synchronization
US11689943B2 (en) Network function redundancy using binding header enhancements
Basu et al. Architecture of a cloud-based fault-tolerant control platform for improving the qos of social multimedia applications on sd-wan
CN111371680B (en) Route management method, device, equipment and storage medium for dual-computer hot standby
KR101563133B1 (en) System and method for virtual circuit protection in the dynamic multi-domain environment
CN110351122B (en) Disaster recovery method, device, system and electronic equipment
WO2023071561A1 (en) Radio link failure processing method, and terminal, base station, system, device and medium
CN109302328B (en) Hot standby switching method and system for VXLAN (virtual extensible local area network)
CN107948002B (en) AP access control method and device
WO2020034522A1 (en) Method and apparatus for connecting to network, smart device, and user terminal
CN114554615A (en) Service switching method, device and network equipment
CN114727324B (en) Network disaster recovery processing method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22914561

Country of ref document: EP

Kind code of ref document: A1