CN116981005A - Communication switching method, device, equipment and storage medium - Google Patents

Communication switching method, device, equipment and storage medium Download PDF

Info

Publication number
CN116981005A
CN116981005A CN202310996205.9A CN202310996205A CN116981005A CN 116981005 A CN116981005 A CN 116981005A CN 202310996205 A CN202310996205 A CN 202310996205A CN 116981005 A CN116981005 A CN 116981005A
Authority
CN
China
Prior art keywords
upf
primary
client
active
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310996205.9A
Other languages
Chinese (zh)
Inventor
石雨轩
罗建华
李青
李雷敏
潘桂新
李文仪
杜星
梁常浪
黄铮
杨丽娴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202310996205.9A priority Critical patent/CN116981005A/en
Publication of CN116981005A publication Critical patent/CN116981005A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data
    • H04W36/305Handover due to radio link failure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route

Abstract

The application relates to a communication switching method, a device, equipment and a storage medium, and relates to the technical field of communication. The method is applied to a server side in a communication switching system, and the communication switching system further comprises: the first server and the second server; the first server includes a first user plane function UPF and a first client listening to a fault state of the first UPF, and the second server includes a second UPF and a second client listening to a fault state of the second UPF. The method comprises the following steps: and receiving a fault message sent by the primary client, and switching the communication connection between the primary UPF and the adjacent equipment into the communication connection between the standby UPF and the adjacent equipment in response to the fault message. The active client is a client for monitoring the fault state of the active UPF. The application is used for rapidly switching the primary UPF and the standby UPF under the condition that the primary UPF fails.

Description

Communication switching method, device, equipment and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a communications switching method, apparatus, device, and storage medium.
Background
The fifth generation mobile communication technology (5 th-generation mobile communication technology, 5G) has been playing a role in more and more industries by virtue of the characteristics of large bandwidth, low latency, wide connection, and high security. The 5G core network (5G core network,5GC) is the core of the 5G wireless communication private network, decouples the traditional module functions, and defines several Network Functions (NF) based on an open application programming interface (application programming interface, API). Each NF can be presented and invoked externally by way of network function services (network function ser vice, NFs). The NF provides services to any other NF that is allowed to use these services through the service interface.
The user plane function (user plan function, UPF) is a 5GC network element with the functionality to provide a user plane data channel. Under the conditions of power interruption, faults and transmission network abnormality of UPF, user interface connection cannot be provided for a user terminal, so that user service interruption is caused, and user network experience is reduced. Currently, in order to guarantee user network experience in case of failure of UPF, the following two methods are generally used: 1. detecting whether the primary UPF works normally or not through an N4 interface heartbeat between a session management function (session management function, SMF) and the primary UPF; after detecting that the primary UPF fails, the SMF selects the standby UPF for service processing. 2. After the failure of the primary UPF is determined through heartbeat detection, communication between the standby UPF and other adjacent devices is established, so that the user service is processed normally.
However, in both the above two methods, whether the primary UPF fails is determined through heartbeat detection, but because the heartbeat detection determines whether the primary UPF is overtime through the duration of the heartbeat interval and the number of times of heartbeat overtime, under the condition that the primary UPF fails, quick switching between the primary UPF and the backup UPF cannot be realized. Therefore, how to rapidly switch between the primary UPF and the backup UPF is a technical problem to be solved.
Disclosure of Invention
The application provides a communication switching method, a device, equipment and a storage medium, which at least solve the problem that in the prior art, whether a primary UPF fails or not is judged through heartbeat detection, so that under the condition that the primary UPF fails, the quick switching between the primary UPF and a standby UPF cannot be realized. The technical scheme of the application is as follows:
in a first aspect, a communication switching method is provided, applied to a server in a communication switching system, where the communication switching system further includes: the first server and the second server; the first server comprises a first UPF and a first client for monitoring the fault state of the first UPF, and the second server comprises a second UPF and a second client for monitoring the fault state of the second UPF; the method comprises the following steps: receiving a fault message sent by a main client; the master client is a client for monitoring the fault state of the master UPF; the primary UPF is the UPF which is in communication connection with the adjacent equipment currently in the first UPF and the second UPF; the fault message is used for indicating that the UPF has faults; switching a communication connection between the primary UPF and the adjacent device to a communication connection between the backup UPF and the adjacent device in response to the failure message; the standby UPF is a UPF other than the primary UPF in the first UPF and the second UPF.
In a possible implementation manner, the active client is configured to monitor a service process of the active UPF in the server; the failure message is used to indicate that the service process of the UPF is in an abnormal state.
In one possible implementation manner, the primary UPF includes a container set under a Kubernetes (k 8 s) cluster architecture, and the primary client is configured to monitor a failure state of the container set of the primary UPF, and the failure message is configured to indicate that the container set of the primary UPF is in an abnormal state.
In one possible embodiment, the method further comprises: after the first and second UPFs are started, either one of the first and second UPFs is determined to be the primary UPF, and a communication connection between the primary UPF and the adjoining device is established.
In a second aspect, a communication switching device is provided, and the communication switching device is applied to a service end in a communication switching system, and the communication switching system further includes: the first server and the second server; the first server comprises a first UPF and a first client for monitoring the fault state of the first UPF, and the second server comprises a second UPF and a second client for monitoring the fault state of the second UPF; the device comprises a receiving unit and a switching unit; the receiving unit is used for receiving the fault message sent by the main client; the master client is a client for monitoring the fault state of the master UPF; the primary UPF is the UPF which is in communication connection with the adjacent equipment currently in the first UPF and the second UPF; the fault message is used for indicating that the UPF has faults; a switching unit for switching the communication connection between the primary UPF and the adjacent device to the communication connection between the backup UPF and the adjacent device in response to the failure message; the standby UPF is a UPF other than the primary UPF in the first UPF and the second UPF.
In a possible implementation manner, the active client is configured to monitor a service process of the active UPF in the server; the failure message is used to indicate that the service process of the UPF is in an abnormal state.
In one possible implementation manner, the primary UPF includes a container set under a k8s cluster architecture, and the primary client is configured to monitor a failure state of the container set of the primary UPF, and the failure message is configured to indicate that the container set of the primary UPF is in an abnormal state.
In a possible embodiment, the apparatus further comprises a processing unit; a processing unit for: after the first and second UPFs are started, either one of the first and second UPFs is determined to be the primary UPF, and a communication connection between the primary UPF and the adjoining device is established.
In a third aspect, there is provided an electronic device comprising: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to execute instructions to implement the method of the first aspect and any of its possible embodiments described above.
In a fourth aspect, a computer readable storage medium is provided, which when executed by a processor of an electronic device, enables the electronic device to perform the method of any one of the above-described first aspects and any one of its possible embodiments.
In a fifth aspect, there is provided a computer program product comprising computer instructions which, when run on an electronic device, cause the electronic device to perform the method of the first aspect and any of its possible embodiments.
The technical scheme provided by the application in the first aspect at least has the following beneficial effects: in the prior art, whether the primary UPF fails is generally judged through heartbeat detection, but because the heartbeat detection determines whether the primary UPF is overtime through the duration of a heartbeat interval and the times of heartbeat overtime, under the condition that the primary UPF fails, the quick switching between the primary UPF and the standby UPF cannot be realized. In the application, after receiving the fault message sent by the primary client, the server responds to the fault message to switch the communication connection between the primary UPF and the adjacent equipment into the communication connection between the standby UPF and the adjacent equipment. The active client is a client for monitoring the fault state of the active UPF. Therefore, the primary client can accurately determine the fault state of the primary UPF, and timely send a fault message to the server after determining that the primary UPF has faults, so that the time for determining that the primary UPF has faults is reduced, the quick switching between the primary UPF and the standby UPF can be realized, further, the continuity of user service is ensured, the user side does not feel the faults of the primary UPF, and the network experience of the user is improved.
It should be noted that, the technical effects caused by any implementation manner of the second aspect to the fifth aspect may refer to the technical effects caused by the corresponding implementation manner in the first aspect, which are not described herein.
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 application as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application and do not constitute a undue limitation on the application.
FIG. 1 is a schematic diagram of a 5G network architecture, shown according to an example embodiment;
FIG. 2 is an architecture diagram of a communication switching system, shown in accordance with an exemplary embodiment;
FIG. 3 is a flow chart illustrating a method of communication handoff according to an exemplary embodiment;
FIG. 4 is a flowchart illustrating yet another method of communication handoff in accordance with an exemplary embodiment;
FIG. 5 is a flowchart illustrating yet another method of communication handoff according to an exemplary embodiment;
FIG. 6 is a block diagram of a communication switching apparatus according to an exemplary embodiment;
fig. 7 is a block diagram of an electronic device, according to an example embodiment.
Detailed Description
In order to enable a person skilled in the art to better understand the technical solutions of the present application, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the application described herein may be implemented in sequences other than those illustrated or otherwise described herein. The implementations described in the following exemplary examples do not represent all implementations consistent with the application. Rather, they are merely examples of apparatus and methods consistent with aspects of the application as detailed in the accompanying claims.
Before describing the communication switching method provided by the present application in detail, a brief description is first provided of a 5G network architecture related to the present application, and fig. 1 shows a schematic diagram of a 5G network architecture. As shown in fig. 1, the 5G network architecture 10 includes: a network slice selection function (network slice selection function, NSSF), an authentication server function (authentication server function, AUSF), a unified data management (unified data management, UDM), an access and mobility management function (access and mobility management function, AMF), an SMF, a policy control function (policy control function, PCF), an application layer function (application function, AF), a User Equipment (UE), a radio access network (radio access network, RAN), a UPF, a Data Network (DN).
The UE is connected with the AMF through an interface N1, the RAN is connected with the AMF through an interface N2, the RAN is connected with the UPF through an interface N3, the UPF is connected with the SMF through an interface N4, the PCF is connected with the AF through an interface N5, the UPF is connected with the DN through an interface N6, the PCF is connected with the SMF through an interface N7, the UDM is connected with the AMF through an interface N8, the UPF is connected with the UPF through an interface N9, the UDM is connected with the SMF through an interface N10, the SMF is connected with the AMF through an interface N11, the AUSF is connected with the AMF through an interface N12, the AUSF is connected with the UDM through an interface N13, the AMF is connected with the AMF through an interface N14, the PCF is connected with the AMF through an interface N15, and the NSSF is connected with the AMF through an interface N22.
The NSSF is used for determining network slice examples which the UE is allowed to access according to the slice selection auxiliary information and the subscription information of the UE.
The AUSF is used for receiving the request of the AMF for carrying out the identity verification on the UE, requesting a key from the UDM, and forwarding the key issued by the UDM to the AMF for carrying out the authentication processing.
The UDM is responsible for management of subscriber identity, subscription data, authentication data, service network element registration of the subscriber.
The AMF is responsible for UE identity verification, authentication, registration, mobility management and connection management.
SMF is used to assign international interconnect protocol (internet protocol, IP) addresses, downlink data notification, session management to UEs.
The PCF is configured to support a unified policy framework to manage network behavior, provide policy rules to network entities to implement enforcement, access subscription information of a unified data repository (unified data repository, UDR).
The AF may exist for different application services, owned by an operator or a trusted third party.
The UPF is used for being responsible for data forwarding and routing, data message detection and policy execution, providing legal monitoring interfaces and providing user plane data channels.
Before describing the communication switching method provided by the application in detail, a simple description is given of an implementation environment (implementation architecture) related to the application.
The communication switching method provided by the embodiment of the application can be applied to the server side in the communication switching system. Fig. 2 shows a schematic diagram of a configuration of the communication switching system. As shown in fig. 2, the communication switching system 20 includes a server 21, a first server 22, and a second server 23. The first server 22 comprises a first UPF and a first client, and the second server 23 comprises a second UPF and a second client. The server 21 is connected to the first UPF, the first client, the second UPF, and the second client, respectively.
The first client is configured to monitor a failure state of the first UPF.
The second client is configured to monitor a fault state of the second UPF.
The server 21 is configured to receive a fault message sent by the primary client. The active client is a client for monitoring the fault state of the active UPF. The primary UPF is the UPF which is in the first UPF and the second UPF and is in communication connection with the adjacent equipment currently. The fault message is used to indicate that the UPF has a fault.
The server 21 is further configured to switch the communication connection between the primary UPF and the adjacent device to the communication connection between the backup UPF and the adjacent device in response to the failure message. The standby UPF is a UPF except the primary UPF in the first UPF and the second UPF.
For easy understanding, the communication switching method provided by the application is specifically described below with reference to the accompanying drawings.
Fig. 3 is a flowchart illustrating a communication handover method according to an exemplary embodiment, which may be applied to a server in a communication handover system. As shown in fig. 3, the communication switching method includes the steps of:
s301, the server receives a fault message sent by the main client.
The active client is a client for monitoring the fault state of the active UPF. The primary UPF is the UPF which is in the first UPF and the second UPF and is in communication connection with the adjacent equipment currently. The fault message is used to indicate that the UPF has a fault.
As a possible implementation manner, the active service end sends a fault message to the service end under the condition that the active UPF is monitored to have a fault. And then, the server receives the fault message sent by the main client.
S302, the server side responds to the fault message and switches the communication connection between the primary UPF and the adjacent equipment to the communication connection between the standby UPF and the adjacent equipment.
The standby UPF is a UPF except the primary UPF in the first UPF and the second UPF.
As one possible implementation manner, the server side determines, in response to the failure message sent by the primary client, that the UPFs other than the primary UPF in the first UPF and the second UPF are standby UPFs. And then, the service end disconnects the communication connection between the main UPF and the adjacent equipment and establishes the communication connection between the standby UPF and the adjacent equipment, so that the communication connection between the main UPF and the adjacent equipment is switched to the communication connection between the standby UPF and the adjacent equipment.
It can be understood that in the prior art, whether the primary UPF fails is generally determined through heartbeat detection, but because whether the primary UPF is overtime is determined through the duration of a heartbeat interval and the number of times of heartbeat overtime in heartbeat detection, rapid switching between the primary UPF and the standby UPF cannot be realized under the condition that the primary UPF fails. In the application, after receiving the fault message sent by the primary client, the server responds to the fault message to switch the communication connection between the primary UPF and the adjacent equipment into the communication connection between the standby UPF and the adjacent equipment. The active client is a client for monitoring the fault state of the active UPF. Therefore, the primary client can accurately determine the fault state of the primary UPF, and timely send a fault message to the server after determining that the primary UPF has faults, so that the time for determining that the primary UPF has faults is reduced, the quick switching between the primary UPF and the standby UPF can be realized, further, the continuity of user service is ensured, the user side does not feel the faults of the primary UPF, and the network experience of the user is improved.
In some embodiments, the active client is configured to monitor the service processes of the active UPF in the server. The failure message is used to indicate that the service process of the UPF is in an abnormal state.
Wherein the service process may be a process identification (process identification, PID).
It can be understood that the active client can timely and accurately determine the fault state of the active UPF by monitoring the service process of the active UPF in the server. In this way, the time for determining the failure of the primary UPF can be further reduced, so that the primary UPF and the standby UPF can be rapidly switched under the condition that the primary UPF fails.
In some embodiments, the active UPF includes a container set under a k8s cluster architecture, and the active client is configured to monitor a failure state of the container set of the active UPF, and the failure message is configured to indicate that the container set of the active UPF is in an abnormal state.
As one possible implementation, the active client may snoop the failure state of the container collection of the active UPF through the probe.
It can be understood that the active client can timely and accurately determine the failure state of the active UPF by monitoring the failure state of the container set of the active UPF. In this way, the time for determining the failure of the primary UPF can be further reduced, so that the primary UPF and the standby UPF can be rapidly switched under the condition that the primary UPF fails.
In some embodiments, in order to determine the primary UPF, as shown in fig. 4, the communication switching method provided by the embodiment of the present application further includes:
s401, after the first UPF and the second UPF are started, the server determines any one of the first UPF and the second UPF as the primary UPF, and establishes communication connection between the primary UPF and the adjacent equipment.
As a possible implementation manner, the first client sends a first registration message to the server after the first UPF is started. The first registration message is used for indicating the first client to start. And the second client sends a second registration message to the server after the second UPF is started. Wherein the second registration message is used to instruct the second client to start.
Further, the server receives a first registration message sent by the first client and a second registration message sent by the second client, and determines any one of the first UPF and the second UPF as the primary UPF. And then, the server establishes communication connection between the active UPF and the adjacent equipment.
It will be appreciated that after the first and second UPFs are started, either one of the first and second UPFs is determined to be the primary UPF, and the UPFs other than the primary UPF of the first and second UPFs are determined to be the backup UPFs. In this way, in the case of failure of the primary UPF, the user's network experience can be ensured by the backup UPF.
In some embodiments, in order to rapidly switch between the primary UPF and the backup UPF in the event of a failure of the primary UPF, as shown in fig. 5, the communication switching method provided in the embodiment of the present application may be further implemented in the following manner:
s501, after the first UPF is started, the first client sends a first registration message to the server.
The first registration message is used for indicating the first client to start.
S502, after the second UPF is started, the second client sends a second registration message to the server.
Wherein the second registration message is used to instruct the second client to start.
S503, the server receives the first registration message and the second registration message, and determines any one of the first UPF and the second UPF as the primary UPF.
S504, the server establishes communication connection between the active UPF and the adjacent equipment.
S505, the active client monitors the fault state of the active UPF, and sends a fault message to the server under the condition that the active UPF breaks down.
S506, the server receives the fault message sent by the main client.
S507, the server side responds to the fault message and switches the communication connection between the primary UPF and the adjacent equipment to the communication connection between the standby UPF and the adjacent equipment.
The foregoing description of the solution provided by the embodiments of the present application has been mainly presented in terms of a method. In order to implement the above functions, the communication switching device or the electronic apparatus includes a hardware structure and/or a software module for performing the respective functions. Those of skill in the art will readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The embodiment of the application can divide the functional modules of the communication switching device or the electronic device according to the method, for example, the communication switching device or the electronic device can include each functional module corresponding to each functional division, or two or more functions can be integrated in one processing module. The integrated modules may be implemented in hardware or in software functional modules. It should be noted that, in the embodiment of the present application, the division of the modules is schematic, which is merely a logic function division, and other division manners may be implemented in actual implementation.
Fig. 6 is a diagram illustrating a communication switching apparatus 600 according to an exemplary embodiment. As shown in fig. 6, the communication switching apparatus 600 includes a receiving unit 601, a switching unit 602, and a processing unit 603.
And the receiving unit 601 is configured to receive a fault message sent by the primary client. The active client is a client that listens for the failure state of the active UPF. The primary UPF is the UPF which is in the first UPF and the second UPF and is in communication connection with the adjacent equipment currently. The fault message is used to indicate that the UPF has a fault.
A switching unit 602, configured to switch, in response to the failure message, a communication connection between the primary UPF and the adjacent device to a communication connection between the backup UPF and the adjacent device. The standby UPF is a UPF other than the primary UPF in the first UPF and the second UPF.
Optionally, the active client is configured to monitor a service process of the active UPF in the server. The failure message is used to indicate that the service process of the UPF is in an abnormal state.
Optionally, the active UPF includes a container set under the k8s cluster architecture, and the active client is configured to monitor a failure state of the container set of the active UPF, and the failure message is configured to indicate that the container set of the active UPF is in an abnormal state.
Optionally, in order to determine the primary UPF, as shown in fig. 6, a processing unit 603 provided in an embodiment of the present application is configured to:
after the first and second UPFs are started, either one of the first and second UPFs is determined to be the primary UPF, and a communication connection between the primary UPF and the adjoining device is established.
Fig. 7 is a block diagram of an electronic device, according to an example embodiment. As shown in fig. 7, electronic device 700 includes, but is not limited to: a processor 701 and a memory 702.
The memory 702 is configured to store executable instructions of the processor 701. It will be appreciated that the processor 701 is configured to execute instructions to implement the communication handover method in the above embodiment.
It should be noted that the electronic device structure shown in fig. 7 is not limited to the electronic device, and the electronic device may include more or less components than those shown in fig. 7, or may combine some components, or may have different arrangements of components, as will be appreciated by those skilled in the art.
The processor 701 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 702, and calling data stored in the memory 702, thereby performing overall monitoring of the electronic device. The processor 701 may include one or more processing units. Alternatively, the processor 701 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 701.
The memory 702 may be used to store software programs as well as various data. The memory 702 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, application programs required for at least one functional module, etc. (e.g., a receiving unit, a switching unit, a processing unit). In addition, the memory 702 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
In an exemplary embodiment, a computer readable storage medium is also provided, e.g., a memory, comprising instructions executable by a processor of an electronic device to implement the communication handover method in the above-described embodiments.
In actual implementation, the functions of the receiving unit 601, the switching unit 602, and the processing unit 603 may be implemented by the processor 701 in fig. 7 calling a computer program stored in the memory 702. For a specific implementation process, reference may be made to the description of the communication handover method in the foregoing embodiment, which is not repeated herein.
Alternatively, the computer readable storage medium may be a non-transitory computer readable storage medium, for example, a read-only memory (ROM), a random-access memory (random access memory, RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, embodiments of the application also provide a computer program product comprising one or more instructions executable by a processor of an electronic device to perform the method of the above-described embodiments.
It should be noted that, when the instructions in the computer readable storage medium or one or more instructions in the computer program product are executed by the processor of the electronic device, the processes of the foregoing method embodiments are implemented, and the technical effects similar to those of the foregoing method can be achieved, so that repetition is avoided, and no further description is provided herein.
From the foregoing description of the embodiments, it will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of functional modules is illustrated, and in practical application, the above-described functional allocation may be implemented by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to implement all or part of the functions described above.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of modules or units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another apparatus, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and the parts shown as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a readable storage medium. Based on such understanding, the technical solution of the embodiments of the present application may be essentially or a part contributing to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, including several instructions for causing a device (may be a single-chip microcomputer, a chip or the like) or a processor (processor) to perform all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk, etc.
The present application is not limited to the above embodiments, and any changes or substitutions within the technical scope of the present application should be covered by the scope of the present application. Therefore, the protection scope of the application is subject to the protection scope of the claims.

Claims (10)

1. The communication switching method is characterized by being applied to a service end in a communication switching system, and the communication switching system further comprises: the first server and the second server; the first server comprises a first user plane function UPF and a first client for monitoring the fault state of the first UPF, and the second server comprises a second UPF and a second client for monitoring the fault state of the second UPF;
the method comprises the following steps:
receiving a fault message sent by a main client; the active client is a client for monitoring the fault state of the active UPF; the primary UPF is the UPF which is in communication connection with the adjacent equipment currently in the first UPF and the second UPF; the fault message is used for indicating that the UPF has a fault;
switching a communication connection between the primary UPF and the adjacent device to a communication connection between a backup UPF and the adjacent device in response to the failure message; the backup UPF is a UPF other than the primary UPF of the first UPF and the second UPF.
2. The method of claim 1, wherein the active client is configured to monitor a service process of the active UPF in a server; the fault message is used for indicating that the service process of the UPF is in an abnormal state.
3. The method of claim 1, wherein the active UPF comprises a container set under a k8s cluster architecture, wherein the active client is configured to monitor a failure state of the container set of the active UPF, and wherein the failure message is configured to indicate that the container set of the active UPF is in an abnormal state.
4. A method according to any one of claims 1-3, characterized in that the method further comprises:
after the first UPF and the second UPF are started, any one of the first UPF and the second UPF is determined to be the primary UPF, and a communication connection between the primary UPF and the adjacent device is established.
5. A communication switching device, which is applied to a service end in a communication switching system, the communication switching system further comprises: the first server and the second server; the first server comprises a first user plane function UPF and a first client for monitoring the fault state of the first UPF, and the second server comprises a second UPF and a second client for monitoring the fault state of the second UPF;
the device comprises a receiving unit and a switching unit;
the receiving unit is used for receiving the fault message sent by the main client; the active client is a client for monitoring the fault state of the active UPF; the primary UPF is the UPF which is in communication connection with the adjacent equipment currently in the first UPF and the second UPF; the fault message is used for indicating that the UPF has a fault;
the switching unit is used for responding to the fault message and switching the communication connection between the primary UPF and the adjacent equipment into the communication connection between the standby UPF and the adjacent equipment; the backup UPF is a UPF other than the primary UPF of the first UPF and the second UPF.
6. The apparatus of claim 5, wherein the active client is configured to monitor a service process of the active UPF in a server; the fault message is used for indicating that the service process of the UPF is in an abnormal state.
7. The apparatus of claim 5, wherein the active UPF comprises a container set under a k8s cluster architecture, wherein the active client is configured to monitor a failure state of the container set of the active UPF, and wherein the failure message is configured to indicate that the container set of the active UPF is in an abnormal state.
8. The apparatus according to any one of claims 5-7, further comprising a processing unit; the processing unit is used for:
after the first UPF and the second UPF are started, any one of the first UPF and the second UPF is determined to be the primary UPF, and a communication connection between the primary UPF and the adjacent device is established.
9. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the method of any of claims 1-4.
10. A computer readable storage medium, characterized in that, when computer-executable instructions stored in the computer readable storage medium are executed by a processor of an electronic device, the electronic device is capable of performing the method of any of claims 1-4.
CN202310996205.9A 2023-08-08 2023-08-08 Communication switching method, device, equipment and storage medium Pending CN116981005A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310996205.9A CN116981005A (en) 2023-08-08 2023-08-08 Communication switching method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310996205.9A CN116981005A (en) 2023-08-08 2023-08-08 Communication switching method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116981005A true CN116981005A (en) 2023-10-31

Family

ID=88474849

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310996205.9A Pending CN116981005A (en) 2023-08-08 2023-08-08 Communication switching method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116981005A (en)

Similar Documents

Publication Publication Date Title
US20220201534A1 (en) Method and device for determining terminal behavior analysis
US8850043B2 (en) Network security using trust validation
CN101605108B (en) Method, system and apparatus for instant communication
US20210144120A1 (en) Service resource scheduling method and apparatus
US10972588B2 (en) Micro-level network node failover system
CN107404728B (en) Method and device for positioning network problem
EP3598813B1 (en) Information processing method, apparatus, computer readable storage medium and electronic device
CN110366276A (en) Serviceization framework base station
JP2016517643A (en) Data transmission method, apparatus and system
CN114158038B (en) Communication method, device and storage medium
JP2023512080A (en) Systems and methods for reducing slice access failures
CN116981005A (en) Communication switching method, device, equipment and storage medium
CN112771931A (en) Network slice redirection management
US10206241B2 (en) Session management
EP3435615B1 (en) Network service implementation method, service controller, and communication system
CN115349119A (en) Method and apparatus for enhanced 5GC recovery when deploying a Network Function (NF) set in a network
CN113950121A (en) Context recovery method and device
CN114697952A (en) Processing method, equipment and communication system for failure weakening
US20220417814A1 (en) Method for connecting ue to dnn in public network integrated npn and a user equipment
CN115412974B (en) Shunting communication method, device, equipment and readable storage medium
CN111835534B (en) Method for cluster control, network device, master control node device and computer readable storage medium
CN112188593B (en) Wireless configuration method and device, storage medium and electronic device
CN111262864B (en) Method, device and system for sending live broadcast state data and storage medium
CN116744352A (en) Network disaster recovery method, device and storage medium
CN113271327B (en) Networking method of central monitoring system and medical equipment

Legal Events

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