Intelligent communication method of voice gateway based on virtualized network
Patent Information
- Application Number
- CN202610751798.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-05-28
- Publication Date
- 2026-08-18
AI Technical Summary
SIP信令状态、媒体传输状态、虚拟承载资源状态分散处理,迁移判断难以同时约束会话剥离、媒体接回和资源承接
(1)本发明将语音会话由单节点承载表达转换为会话胞腔表达,把信令关系、媒体关系、虚拟承载关系纳入同一会话胞腔,使语音网关迁移判断不再只依赖虚拟语音网关实例负载,能够在会话剥离、会话接回和承载转移之间形成闭合控制,降低迁移判断片面造成的掉话风险。
Smart Images

Figure CN122601648A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of virtualized network communication technology, and in particular to a smart communication method for a voice gateway based on a virtualized network. Background Technology
[0002] In the field of virtualized network communication technology, voice gateways can be deployed as virtual voice gateway instances through network function virtualization to perform SIP signaling processing, RTP media forwarding, codec resource scheduling, and voice session carrying. Existing voice gateway scheduling methods mostly use virtual instance load, link status, resource utilization, packet loss rate, and latency as the basis for migration or switching. When the primary instance is abnormal, the load increases, or resources are insufficient, the voice session is transferred to the backup instance.
[0003] Existing technologies primarily focus on status monitoring around virtual voice gateway instance nodes, lacking a closed-loop representation for single-channel voice sessions. SIP signaling status, media transmission status, and virtual bearer resource status are handled in a fragmented manner, making it difficult to simultaneously constrain session stripping, media reconnection, and resource takeover during migration. Before migrating a voice session from the primary virtual voice gateway instance to the backup instance, existing methods also lack pre-migration simulations for the backup instance, media links, and codec resources, making them prone to dropped calls, media interruptions, out-of-order media frames, or codec resource takeover failures after the actual handover. Existing rollback mechanisms mostly rely on fixed timeouts or link anomaly alarms, failing to retain a reversible bearer transfer structure within the migration detection window, making it difficult to quickly restore to the original bearer path when the target migration path is unstable.
[0004] Therefore, how to provide a smart communication method for voice gateways based on virtualized networks is a problem that urgently needs to be solved by those skilled in the art. Summary of the Invention
[0005] One objective of this invention is to propose an intelligent communication method for voice gateways based on virtualized networks. This invention achieves uninterrupted migration of voice sessions through session cell modeling, counterfactual topology rewriting, three-phase calibration, and reversible rollback control, and has the advantages of low risk of dropped calls, strong media continuity, and high takeover stability.
[0006] A voice gateway intelligent communication method based on a virtualized network according to an embodiment of the present invention includes the following steps: S1. Establish a virtual voice gateway instance pool in the virtualized network, and connect the voice session to the main virtual voice gateway instance to form the original bearer path; S2. Convert the voice session from a single-node bearer representation to a session cavity representation, so that the signaling relationship, media relationship, and virtual bearer relationship are closed into the same session cavity, and construct a session cavity graph; S3. Change the node state evolution of EvolveGCN to the session cavity state evolution, update the evolution operator around the three actions of session establishment, session stripping, and session reconnection, and obtain the session cavity state EvolveGCN; S4. Embed protocol boundary constraints in the evolution of the session cell state to stop the stripping of session cells that have not completed signaling confirmation and to stop the reconnection of session cells whose media continuity does not meet the reconnection conditions. S5. Perform counterfactual topology rewriting on the session cell diagram, map the same session cell to a candidate migration path jointly defined by the backup virtual voice gateway instance, media link, and codec resources, and deduce the post-migration bearing stability from the session cell state EvolveGCN to select the target migration path; S6. Perform signaling phase, media phase, and buffer phase calibration on the primary virtual voice gateway instance and the backup virtual voice gateway instance in the target migration path, switch the session cell to the backup virtual voice gateway instance in the target migration path, and maintain the target migration path or roll back along the original bearer path according to the media continuity maintenance status within the migration detection window.
[0007] Optionally, the construction of the session cavity map in S2 specifically includes: Taking the voice conversations that have already formed the original bearer path as the processing object, the input unit of EvolveGCN is changed from the virtual voice gateway instance node to the conversation cell. Following the execution order of session stripping and session reconnection, closed orchestration is performed on signaling relationships, media relationships, and virtual bearer relationships, so that a single voice session corresponds to a session cell. Configure the original bearer path as the current bearer side of the session cell, and configure the candidate migration path, which is jointly defined by the backup virtual voice gateway instance, media link, and codec resources, as the candidate migration side of the session cell. In the session cavity graph, the bearer transfer relationship is set according to the direction from the current bearer side to the candidate migration side, so that the session cavity graph serves as the graph input for the session cavity state EvolveGCN to perform the session cavity state evolution.
[0008] Optionally, obtaining the session-cell state EvolveGCN in S3 specifically includes: After inputting the session cavity graph into EvolveGCN, stop the node state recursion centered on the virtual voice gateway instance node, and rearrange the graph convolution update order according to the three actions of session establishment, session stripping, and session reconnection. The evolution operator corresponding to session establishment is applied to the session cell after the original bearer path is formed; the evolution operator corresponding to session stripping is applied to the current bearer side; and the evolution operator corresponding to session reconnection is applied to the candidate migration side. The evolution results corresponding to session stripping are transmitted along the bearer transfer relationship, so that the session stripping results on the current bearer side enter the session reconnection judgment on the candidate migration side; The evolution operators corresponding to the three actions of session establishment, session separation, and session reconnection are written into the cyclic update process of EvolveGCN to obtain the session cavity state EvolveGCN.
[0009] Optionally, the embedded protocol boundary constraints in S4 specifically include: During the cyclic update process of the session cavity state EvolveGCN, the protocol boundary constraints are inserted before the evolution operators corresponding to session stripping and session reconnection. For session cavities that have not completed signaling confirmation, the evolution operator corresponding to the session stripping is shielded, so that the session cavity remains in the original bearer path; For the session cell that has completed signaling confirmation, release the evolution operator corresponding to session stripping, so that the evolution result corresponding to session stripping is transmitted to the candidate migration side along the bearer transfer relationship; For session cavities where media continuity does not meet the call-back conditions, the corresponding evolution operator for call-back is masked, keeping the session cavities on the candidate migration side. For session cells that meet the callback conditions for media continuity, release the evolution operator corresponding to the session callback, and enable the session cell to perform callback update on the candidate migration side.
[0010] Optionally, the counterfactual topology rewriting performed in S5 specifically includes: Lock the current bearer side and original bearer path of the session cell after protocol boundary constraint processing, and only rewrite the candidate migration side; Write the backup virtual voice gateway instance, media link, and codec resources in the candidate migration path to the candidate migration side, and redirect the endpoint of the bearer transfer relationship to the rewritten candidate migration side; The rewritten session cavity diagram is input into the session cavity state EvolveGCN, so that the evolution results corresponding to the session stripping are entered into the candidate migration side along the redirected bearer transfer relationship, and the corresponding evolution operator of the session is applied to the rewritten candidate migration side. The stability of the transport after migration is determined by the matching results of the backup virtual voice gateway instance, media link, and codec resources on the candidate migration side after the session is returned, based on the evolution operator corresponding to the session return. Candidate migration paths are sorted according to their post-migration stability, and the candidate migration path ranked first is determined as the target migration path.
[0011] Optionally, the signaling phase, media phase, and buffer phase calibration performed in S6 specifically include: The original bearer path continues to carry the session cell, while the target migration path is prohibited from performing a real handover. Read the matching results and write the backup virtual voice gateway instance, media link, and codec resources in the target migration path to the candidate migration side; Copy the current signaling relationship on the bearer side to the standby virtual voice gateway instance in the target migration path, write the evolution result corresponding to session stripping into the standby virtual voice gateway instance in the target migration path, and complete the signaling phase calibration. Connect the current media relationship on the bearer side to the media link in the target migration path, start the media link receiver in the target migration path, and complete the media phase calibration; Write the media buffer order of the current bearer side into the standby virtual voice gateway instance in the target migration path, adjust the media reception order of the standby virtual voice gateway instance in the target migration path, and complete the buffer phase calibration. After the signaling phase, media phase, and buffer phase are all calibrated, the session cell will be switched to the standby virtual voice gateway instance in the target migration path.
[0012] Optionally, in step S6, maintaining the target migration path or rolling back along the original carrying path within the migration detection window specifically includes: After the session cell is switched to the backup virtual voice gateway instance in the target migration path, the original bearer path is retained, and the bearer transfer relationship between the current bearer side and the candidate migration side corresponding to the target migration path is temporarily rewritten as a bidirectional bearer transfer relationship. The corresponding evolution operator for session reconnection will continuously act on the backup virtual voice gateway instance, media link, and codec resources in the target migration path. The evolution operator corresponding to the session stripping is applied to the original bearer path along the rollback direction of the bidirectional bearer transfer relationship; When the media continuity maintenance state meets the maintenance conditions, the rollback direction in the bidirectional bearer transfer relationship is deleted, and the target migration path is determined as the bearer path of the session cell; When the media continuity maintenance state does not meet the maintenance conditions, the session resumes the corresponding evolution operator's effect on the target migration path, and the session cell is restored to the original bearer path along the rollback direction of the bidirectional bearer transfer relationship.
[0013] Optionally, the process of determining the media continuity maintenance state in S6 includes: Within the migration detection window, the evolution operator corresponding to the session reconnection is rewritten as a recursive structure in which the media link continuation segment, the media reception sequence segment, and the codec processing segment are sequentially connected. This enables the media links in the target migration path to continue media relationships at the media link connection segment, and transmits the output of the media link connection segment to the backup virtual voice gateway instance in the target migration path. The standby virtual voice gateway instance in the target migration path rearranges the media reception order according to the media buffer order of the current bearer side in the media reception sequence segment, and passes the output of the media reception sequence segment to the codec resources in the target migration path; This ensures that the codec resources in the target migration path process media data in the codec processing section according to the rearranged media reception order; When the media link connection segment, media reception sequence segment, and encoding / decoding processing segment all pass through consecutively, the media continuity maintenance state is determined to meet the maintenance condition; If any segment of the media link connection segment, the media reception sequence segment, or the encoding / decoding processing segment fails to pass continuously, the media continuity maintenance state is determined to be unsatisfactory.
[0014] The beneficial effects of this invention are: (1) This invention transforms voice sessions from single-node bearer representation to session cell representation, incorporating signaling relationships, media relationships, and virtual bearer relationships into the same session cell. This enables voice gateway migration decisions to no longer rely solely on the virtual voice gateway instance load, and allows for closed-loop control between session stripping, session reconnection, and bearer transfer, thereby reducing the risk of dropped calls caused by one-sided migration decisions.
[0015] (2) This invention uses EvolveGCN, protocol boundary constraints and counterfactual topology rewriting to perform pre-migration simulation of backup virtual voice gateway instances, media links and codec resources before actual switching, and pre-screens target migration paths to reduce media interruption problems caused by backup instances being unable to take over, media links being unable to continue and codec resources being mismatched.
[0016] (3) Before switching the conversation cell, the present invention performs signaling phase, media phase and buffer phase calibration, establishes bidirectional bearer transfer relationship and three-segment recursive detection structure within the migration detection window, so that when the target migration path is abnormal, it can roll back along the original bearer path, thereby improving the continuity, stability and recoverability of the voice conversation migration process. Attached Figure Description
[0017] The accompanying drawings are provided to further illustrate the invention and form part of the specification. They are used in conjunction with embodiments of the invention to explain the invention and do not constitute a limitation thereof. In the drawings: Fig. 1 This is a flowchart of a voice gateway intelligent communication method based on a virtualized network proposed in this invention; Fig. 2 This is a schematic diagram of the conversational cavity diagram and the structure of the conversational cavity state EvolveGCN proposed in this invention; Fig. 3This is a schematic diagram of the structure of the counterfactual topology rewriting, three-phase calibration, and migration detection rollback control proposed in this invention. Detailed Implementation
[0018] The present invention will now be described in further detail with reference to the accompanying drawings. These drawings are simplified schematic diagrams, illustrating only the basic structure of the invention, and therefore only show the components relevant to the invention.
[0019] refer to Figs. 1-3 A smart communication method for voice gateways based on virtualized networks includes the following steps: S1. Establish a virtual voice gateway instance pool in the virtualized network, and connect the voice session to the main virtual voice gateway instance to form the original bearer path; S2. Convert the voice session from a single-node bearer representation to a session cavity representation, so that the signaling relationship, media relationship, and virtual bearer relationship are closed into the same session cavity, and construct a session cavity graph; S3. Change the node state evolution of EvolveGCN to the session cavity state evolution, update the evolution operator around the three actions of session establishment, session stripping, and session reconnection, and obtain the session cavity state EvolveGCN; S4. Embed protocol boundary constraints in the evolution of the session cell state to stop the stripping of session cells that have not completed signaling confirmation and to stop the reconnection of session cells whose media continuity does not meet the reconnection conditions. S5. Perform counterfactual topology rewriting on the session cell diagram, map the same session cell to a candidate migration path jointly defined by the backup virtual voice gateway instance, media link, and codec resources, and deduce the post-migration bearing stability from the session cell state EvolveGCN to select the target migration path; In a specific embodiment of the present invention, the counterfactual topology rewriting is performed inside the session cell graph. The processing unit does not change the actual communication bearer state and does not interrupt the voice session on the original bearer path. The processing unit takes the session cell after protocol boundary constraint processing as the rewriting object, copies the topology structure of the current session cell in the session cell graph, retains the starting point of the current bearer side, the original bearer path, and the bearer transfer relationship, and only rewrites the candidate migration side in the copied session cell topology, so that the candidate migration path enters the pre-migration deduction process of the session cell state EvolveGCN. S6. Perform signaling phase, media phase, and buffer phase calibration on the primary virtual voice gateway instance and the backup virtual voice gateway instance in the target migration path, switch the session cell to the backup virtual voice gateway instance in the target migration path, and maintain the target migration path or roll back along the original bearer path according to the media continuity maintenance status within the migration detection window.
[0020] In this invention, the migration detection window starts when the session cell switches to the backup virtual voice gateway instance in the target migration path and ends when the target migration path is determined to be the bearer path of the session cell or when the session cell completes the rollback along the original bearer path.
[0021] In this embodiment, the construction of the session cavity diagram in S2 specifically includes: Taking the voice conversations that have already formed the original bearer path as the processing object, the input unit of EvolveGCN is changed from the virtual voice gateway instance node to the conversation cell. Following the execution order of session stripping and session reconnection, closed orchestration is performed on signaling relationships, media relationships, and virtual bearer relationships, so that a single voice session corresponds to a session cell. Configure the original bearer path as the current bearer side of the session cell, and configure the candidate migration path, which is jointly defined by the backup virtual voice gateway instance, media link, and codec resources, as the candidate migration side of the session cell. In the session cavity graph, the bearer transfer relationship is set according to the direction from the current bearer side to the candidate migration side, so that the session cavity graph serves as the graph input for the session cavity state EvolveGCN to perform the session cavity state evolution.
[0022] In a specific embodiment of the present invention, after establishing a virtual voice gateway instance pool in the virtualized network, voice sessions are connected to the main virtual voice gateway instance, forming the original bearer path. When constructing the session cell graph, the voice sessions that have formed the original bearer path are taken as the processing objects, and the input unit of EvolveGCN is changed from virtual voice gateway instance nodes to session cells. The processing unit replaces the node sequence in the original input graph, which is based on virtual voice gateway instance nodes, with a node sequence based on session cells. The virtual voice gateway instance is no longer used as a direct evolution object of EvolveGCN, but only as a bearer object for the current bearer side and the candidate migration side in the session cell, used to limit the bearer node corresponding to the voice session when it is transferred from the original bearer path to the candidate migration path. After the replacement, the graph propagation object of EvolveGCN changes from virtual voice gateway instance nodes to session cells.
[0023] The processing unit performs closed orchestration on signaling relationships, media relationships, and virtual bearer relationships according to the execution order of session stripping and session reconnection. During closed orchestration, signaling relationships are placed on the stripping side of the session cell, media relationships are placed on the reconnection side of the session cell, and virtual bearer relationships are placed between the stripping and reconnection sides. Signaling relationships are connected to one end of the original bearer path, media relationships are connected to one end of the candidate migration path, and virtual bearer relationships connect signaling relationships and media relationships, so that a single voice session forms a closed graph cell with stripping direction, reconnection direction, and bearer transfer direction. After closure, a single voice session corresponds to one session cell.
[0024] The processing unit configures the original bearer path as the current bearer side of the session cell, ensuring that the current bearer side maintains the bearer relationship of the primary virtual voice gateway instance to the voice session. It also configures the candidate migration path, defined by the backup virtual voice gateway instance, media link, and codec resources, as the candidate migration side of the session cell. When configuring the candidate migration side, the current bearer side remains unchanged, and the candidate migration side is configured according to the backup virtual voice gateway instance, media link, and codec resources in the candidate migration path, ensuring that the same session cell can correspond to a candidate migration path.
[0025] In the conversation cavity diagram, the processing unit sets a bearer transfer relationship from the current bearer side to the candidate migration side, starting from the current bearer side and ending at the candidate migration side. The bearer transfer relationship represents the evolution direction of the voice conversation from the original bearer path to the candidate migration path. When the conversation cavity state EvolveGCN performs conversation cavity state evolution, the conversation stripping action acts on the current bearer side, the conversation reconnection action acts on the candidate migration side, and the bearer transfer relationship transmits the evolution result of the current bearer side to the candidate migration side.
[0026] The processing unit combines the session cavities and bearer transfer relationships corresponding to different voice sessions into a session cavity graph, and uses the session cavity graph as the graph input of the session cavity state EvolveGCN; the current bearer side, candidate migration side and bearer transfer relationship in the session cavity graph serve as the structural basis for subsequent session stripping, session reconnection and candidate migration path deduction.
[0027] In this embodiment, obtaining the session cavity state EvolveGCN in S3 specifically includes: After inputting the session cavity graph into EvolveGCN, stop the node state recursion centered on the virtual voice gateway instance node, and rearrange the graph convolution update order according to the three actions of session establishment, session stripping, and session reconnection. The evolution operator corresponding to session establishment is applied to the session cell after the original bearer path is formed; the evolution operator corresponding to session stripping is applied to the current bearer side; and the evolution operator corresponding to session reconnection is applied to the candidate migration side. The evolution results corresponding to session stripping are transmitted along the bearer transfer relationship, so that the session stripping results on the current bearer side enter the session reconnection judgment on the candidate migration side; The evolution operators corresponding to the three actions of session establishment, session separation, and session reconnection are written into the cyclic update process of EvolveGCN to obtain the session cavity state EvolveGCN.
[0028] In a specific embodiment of the present invention, after the processing unit inputs the session cavity graph into EvolveGCN, it disables the node state recursion with the virtual voice gateway instance node as the direct evolution object; the processing unit adjusts the cyclic update object of EvolveGCN to the session cavity, so that the graph convolution update revolves around the migration process of the same voice session between the current bearer side, the bearer transfer relationship and the candidate migration side.
[0029] During the time-slice update process, the processing unit rearranges the graph convolutional update process in the order of session establishment, session stripping, and session reconnection. The evolution operator corresponding to session establishment acts on the session cell after the original bearer path is formed, and is used to include the voice session newly connected to the main virtual voice gateway instance into the session cell state evolution; the evolution operator corresponding to session stripping acts on the current bearer side, and is used to handle the evolution process of the voice session before it leaves the main virtual voice gateway instance; the evolution operator corresponding to session reconnection acts on the candidate migration side, and is used to handle the evolution process of the voice session before it enters the backup virtual voice gateway instance.
[0030] After the processing unit executes the evolution operator corresponding to session stripping, it transmits the session stripping result formed on the current bearer side to the candidate migration side along the bearer transfer relationship. Upon receiving the session stripping result, the candidate migration side initiates the evolution operator corresponding to session reconnection; if the current bearer side has not formed a session stripping result, the candidate migration side stops the evolution operator corresponding to session reconnection. Through this process, the session stripping result of the current bearer side enters the session reconnection judgment of the candidate migration side, preventing the candidate migration side from prematurely executing reconnection before the session stripping is completed.
[0031] The processing unit writes the evolution operators corresponding to the three actions—session establishment, session disconnection, and session reconnection—into the cyclic update process of EvolveGCN. At the end of each time slice, the processing unit retains the update results of the evolution operators corresponding to the three actions and uses these results as the cyclic update input for the next time slice. In the next time slice, graph convolution updates are performed in the order of session establishment, session disconnection, and session reconnection, transforming EvolveGCN from a virtual voice gateway instance node state evolution mode to a session cell state EvolveGCN that evolves around the session cell by executing action operators.
[0032] In this embodiment, the embedded protocol boundary constraints in S4 specifically include: During the cyclic update process of the session cavity state EvolveGCN, the protocol boundary constraints are inserted before the evolution operators corresponding to session stripping and session reconnection. In a specific embodiment of the present invention, the protocol boundary constraints are not separate judgment rules set outside the session cell state EvolveGCN, but are written into the cyclic update order of the session cell state EvolveGCN. When the processing unit executes according to the update order of session establishment, session stripping, and session reconnection, a first constraint position is set before the evolution operator corresponding to session stripping, and a second constraint position is set before the evolution operator corresponding to session reconnection. The first constraint position reads the signaling relationship in the session cell to determine whether the evolution operator corresponding to session stripping participates in the current time slice update; the second constraint position reads the media relationship in the session cell to determine whether the evolution operator corresponding to session reconnection participates in the current time slice update. Through the above writing method, the protocol boundary constraints directly control the operator execution order inside the session cell state EvolveGCN, rather than performing post-processing after model output. For session cavities that have not completed signaling confirmation, the evolution operator corresponding to the session stripping is shielded, so that the session cavity remains in the original bearer path; In a specific embodiment of the present invention, signaling confirmation is used to determine whether the session cell has the conditions to perform session stripping from the original bearer path; before the evolution operator corresponding to session stripping is executed, the processing unit reads the signaling relationship in the session cell and determines the SIP transaction status of the voice session on the main virtual voice gateway instance; when the voice session is in the INVITE waiting response stage, re-INVITE negotiation stage, CANCEL processing stage, or BYE release stage, it is determined that the signaling confirmation is not completed; when the voice session has completed the current SIP session establishment process or has completed the current SIP renegotiation process and is not in the CANCEL processing stage or BYE release stage, it is determined that the signaling confirmation is completed. In a specific embodiment of the present invention, when a session cell that has not completed signaling confirmation is shielded, the processing unit cuts off the update channel of the evolution operator corresponding to session stripping at the first constraint position; after shielding, the evolution operator corresponding to session stripping does not receive input from the current bearer side, does not generate the evolution result corresponding to session stripping, and the bearer transfer relationship does not receive the stripping result from the current bearer side; the session cell continues to remain on the original bearer path, and the main virtual voice gateway instance continues to carry voice sessions; For the session cell that has completed signaling confirmation, release the evolution operator corresponding to session stripping, so that the evolution result corresponding to session stripping is transmitted to the candidate migration side along the bearer transfer relationship; In a specific embodiment of the present invention, when performing release processing on a session cell that has completed signaling confirmation, the processing unit opens the update channel of the evolution operator corresponding to session stripping at the first constraint position; after release, the evolution operator corresponding to session stripping receives the input from the current bearer side, performs stripping evolution on the session cell, and forms the evolution result corresponding to session stripping; the processing unit transmits the evolution result corresponding to session stripping to the candidate migration side along the bearer transfer relationship, so that the candidate migration side has the prerequisite result for entering the session reconnection judgment; For session cavities where media continuity does not meet the call-back conditions, the corresponding evolution operator for call-back is masked, keeping the session cavities on the candidate migration side. In a specific embodiment of the present invention, before executing the evolution operator corresponding to session reconnection, the processing unit reads the media relationship in the session cell and performs a media continuity judgment on the candidate migration side. When the media link in the candidate migration side can continue the media transmission order in the original bearer path, the backup virtual voice gateway instance in the target migration path can receive the session cell, and the codec resources in the target migration path can handle the media type corresponding to the voice session, the processing unit determines that the media continuity meets the reconnection condition. When any one of the following is true: the media link cannot continue the media transmission order, the backup virtual voice gateway instance cannot receive the session cell, or the codec resources cannot handle the media type corresponding to the voice session, the processing unit determines that the media continuity does not meet the reconnection condition. In a specific embodiment of the present invention, the reconnection condition is determined by the candidate migration side's ability to accept voice sessions; the processing unit checks the candidate migration side according to the backup virtual voice gateway instance, media link, and codec resources in the candidate migration path; when the backup virtual voice gateway instance can receive the session cell, the media link can carry the media stream, the codec resources can process the media type corresponding to the voice session, and the media continuity meets the connection requirements, the candidate migration side is determined to meet the reconnection condition; when any acceptance link does not meet the above requirements, the candidate migration side is determined not to meet the reconnection condition, and the evolution operator corresponding to the session reconnection remains in a shielded state; In a specific embodiment of the present invention, when media continuity does not meet the callback conditions, the processing unit blocks the update channel of the evolution operator corresponding to the session callback from entering the candidate migration side at the media continuity constraint position, does not input the evolution operator corresponding to the session callback from the candidate migration side, does not perform callback update along the candidate migration side, and does not switch the session cell to the backup virtual voice gateway instance in the target migration path; during the shielding period, the session cell remains in the waiting state of the candidate migration side, the bearer transfer relationship continues to be retained, and the evolution result corresponding to the session stripping transmitted from the current bearer side does not trigger the evolution operator corresponding to the session callback; For session cells that meet the callback conditions for media continuity, release the evolution operator corresponding to the session callback, and enable the session cell to perform callback update on the candidate migration side.
[0033] In a specific embodiment of the present invention, when media continuity meets the callback conditions, the processing unit opens the update channel of the evolution operator corresponding to the session callback of the candidate migration side at the media continuity constraint position, inputs the candidate migration side into the evolution operator corresponding to the session callback, and inputs the evolution result corresponding to the session stripping transmitted along the bearer transfer relationship into the evolution operator corresponding to the session callback; the evolution operator corresponding to the session callback performs a callback update on the candidate migration side, so that the backup virtual voice gateway instance in the target migration path takes over the session cell, so that the media link in the target migration path continues the media relationship, and so that the codec resources in the target migration path process the media data; after the callback update is completed, the candidate migration side enters the takeover state.
[0034] In this embodiment, the counterfactual topology rewriting performed in S5 specifically includes: Lock the current bearer side and original bearer path of the session cell after protocol boundary constraint processing, and only rewrite the candidate migration side; In a specific embodiment of the present invention, the processing unit performs locking processing on the session cell after protocol boundary constraint processing; the locking processing is performed on the current bearer side and the original bearer path, the processing unit keeps the current bearer side as the bearer side corresponding to the main virtual voice gateway instance, and keeps the original bearer path as the real communication path of the voice session; during the locking period, the current bearer side does not participate in the replacement of the backup virtual voice gateway instance, media link and codec resources, and the original bearer path is not deleted, rewritten or switched; In a specific embodiment of the present invention, the processing unit only opens the candidate migration side in the session cell as the counterfactual topology rewriting entry point; the candidate migration side receives the backup virtual voice gateway instance, media link and codec resources in the candidate migration path, and the current bearer side maintains the bearer relationship of the main virtual voice gateway instance in the original bearer path; the processing unit replaces different candidate migration paths by the candidate migration side, so that the same session cell can form several migration simulation objects without changing the real bearer path. Write the backup virtual voice gateway instance, media link, and codec resources in the candidate migration path to the candidate migration side, and redirect the endpoint of the bearer transfer relationship to the rewritten candidate migration side; In a specific embodiment of the present invention, each candidate migration path is defined by a backup virtual voice gateway instance, a media link, and codec resources. The processing unit executes the writing step by step according to the candidate migration path, writing the backup virtual voice gateway instance in the same candidate migration path to the bearer position of the candidate migration side, writing the media link to the media connection position of the candidate migration side, and writing the codec resources to the processing position of the candidate migration side, so that the candidate migration side forms a complete candidate receiving structure. In a specific embodiment of the present invention, the processing unit keeps the starting point of the bearer transfer relationship pointing to the current bearer side, and adjusts the ending point of the bearer transfer relationship from the candidate migration side position before rewriting to the candidate migration side position after rewriting; the candidate migration side after rewriting has been written with the backup virtual voice gateway instance, media link and codec resources. After the endpoint of the bearer transfer relationship is redirected, the evolution result corresponding to the session stripping can enter the candidate migration side after rewriting along the bearer transfer relationship. The rewritten session cavity diagram is input into the session cavity state EvolveGCN, so that the evolution results corresponding to the session stripping are entered into the candidate migration side along the redirected bearer transfer relationship, and the corresponding evolution operator of the session is applied to the rewritten candidate migration side. In a specific embodiment of the present invention, after the processing unit completes the candidate migration side rewriting and bearer transfer relationship endpoint redirection, a rewritten session cavity diagram is formed; each candidate migration path corresponds to a rewritten session cavity diagram; each rewritten session cavity diagram retains the same current bearer side and original bearer path, only the backup virtual voice gateway instance, media link and codec resources in the candidate migration side are different; the processing unit sequentially inputs several rewritten session cavity diagrams into the session cavity state EvolveGCN; In a specific embodiment of the present invention, when the EvolveGCN performs evolutionary deduction on the rewritten session cell graph, the evolutionary operator corresponding to session stripping is applied to the current bearer side to form the evolutionary result corresponding to session stripping; the processing unit transmits the evolutionary result corresponding to session stripping to the rewritten candidate migration side along the redirected bearer transfer relationship, so that the candidate migration side obtains the prerequisite for executing the evolutionary operator corresponding to session reconnection; after the rewritten candidate migration side receives the evolutionary result corresponding to session stripping, the processing unit starts the evolutionary operator corresponding to session reconnection; the evolutionary operator corresponding to session reconnection is applied to the rewritten candidate migration side to perform acceptance matching on the backup virtual voice gateway instance, media link and codec resources in the candidate migration side, and to determine whether the candidate migration side has the acceptance conditions to receive the session cell; The stability of the transport after migration is determined by the matching results of the backup virtual voice gateway instance, media link, and codec resources on the candidate migration side after the session is returned, based on the evolution operator corresponding to the session return. In a specific embodiment of the present invention, the acceptance matching result consists of three types of matching results: the first type is the bearer matching result of the backup virtual voice gateway instance to the session cell, the second type is the connection matching result of the media link to the voice session media transmission, and the third type is the processing matching result of the codec resources to the voice session media type; the processing unit combines the three types of matching results into the acceptance matching result of the candidate migration path, which serves as the basis for determining the bearer stability after migration. In a specific embodiment of the present invention, the post-migration bearer stability is derived by the session cell state EvolveGCN based on the acceptance matching results; the processing unit inputs the acceptance matching results of the backup virtual voice gateway instance, media link, and codec resources in the candidate migration side into the evolution operator corresponding to the session reconnection, so that the session cell state EvolveGCN derives the bearer state after the session reconnection on the rewritten session cell graph; after the deduction is completed, the processing unit obtains the post-migration bearer stability corresponding to the candidate migration path, which is used to characterize the bearer reliability after the candidate migration path takes over the voice session; Candidate migration paths are sorted according to their post-migration stability, and the candidate migration path ranked first is determined as the target migration path.
[0035] In a specific embodiment of the present invention, the processing unit performs the same counterfactual topology rewriting, bearer transfer relationship endpoint redirection, and session cavity state EvolveGCN deduction on each candidate migration path; each candidate migration path obtains the corresponding post-migration bearer stability; the processing unit sorts the candidate migration paths from high to low according to the post-migration bearer stability, so that the sorting result reflects the bearer priority of several candidate migration paths after migration takeover; In a specific embodiment of the present invention, the processing unit determines the candidate migration path ranked first as the target migration path. The target migration path is still jointly defined by the backup virtual voice gateway instance, the media link, and the codec resources, and is not equivalent to a single backup virtual voice gateway instance. After the target migration path is determined, the processing unit uses the target migration path as the processing object for subsequent signaling phase, media phase, and buffer phase calibration, and uses the backup virtual voice gateway instance in the target migration path as the session cell switching object.
[0036] In this embodiment, the signaling phase, media phase, and buffer phase calibration performed in step S6 specifically includes: The original bearer path continues to carry the session cell, while the target migration path is prohibited from performing a real handover. In a specific embodiment of the present invention, the process of truly switching a session cell from the original bearer path to the backup virtual voice gateway instance in the target migration path is as follows: Before performing signaling phase, media phase, and buffer phase calibration, the processing unit keeps the original bearer path carrying the session cell, and the target migration path only enters a pre-takeover state, does not carry real voice sessions, does not replace the original bearer path, and does not trigger media stream switching; the processing unit only allows the session cell to switch from the original bearer path to the backup virtual voice gateway instance in the target migration path after all three types of phases have been calibrated. Read the matching results and write the backup virtual voice gateway instance, media link, and codec resources in the target migration path to the candidate migration side; In a specific embodiment of the present invention, the processing unit reads the matching result corresponding to the candidate migration path ranked first, and the matching result corresponds to the target migration path; the processing unit does not read the matching result corresponding to the candidate migration path that has not been determined as the target migration path; after reading the matching result, the processing unit extracts the backup virtual voice gateway instance, media link, and codec resources in the target migration path, and uses the three types of objects as the receiving objects for subsequent phase calibration; In a specific embodiment of the present invention, the processing unit writes the backup virtual voice gateway instance in the target migration path into the bearer location of the candidate migration side, writes the media link in the target migration path into the media connection location of the candidate migration side, and writes the codec resources in the target migration path into the media processing location of the candidate migration side; after writing, the candidate migration side changes from the simulation state to the pre-takeover state; in the pre-takeover state, the candidate migration side only accepts signaling phase, media phase, and buffer phase calibration, and does not perform a real handover; Copy the current signaling relationship on the bearer side to the standby virtual voice gateway instance in the target migration path, write the evolution result corresponding to session stripping into the standby virtual voice gateway instance in the target migration path, and complete the signaling phase calibration. In a specific embodiment of the present invention, the processing unit reads the signaling relationship from the current bearer side of the session cell and copies the signaling relationship to the backup virtual voice gateway instance in the target migration path. During the copying process, the processing unit keeps the session identity, session establishment state and current session control state corresponding to the signaling relationship consistent, so that the backup virtual voice gateway instance in the target migration path can recognize the same session cell. After the copying is completed, the backup virtual voice gateway instance has the signaling phase corresponding to the current bearer side. In a specific embodiment of the present invention, the evolution result corresponding to session stripping is generated by the session cell state EvolveGCN on the current bearer side and enters the candidate migration side through the bearer transfer relationship; the processing unit writes the evolution result corresponding to session stripping that has entered the candidate migration side into the backup virtual voice gateway instance in the target migration path, so that the backup virtual voice gateway instance obtains the state that the session cell has completed the stripping deduction from the original bearer path; this writing operation and the signaling relationship replication together complete the preparation process for signaling phase calibration; In a specific embodiment of the present invention, signaling phase calibration is jointly completed by signaling relationship replication and writing the evolution results corresponding to session stripping; the processing unit replicates the signaling relationship of the current bearer side to the backup virtual voice gateway instance in the target migration path, and writes the evolution results corresponding to session stripping to the same backup virtual voice gateway instance, so that the backup virtual voice gateway instance simultaneously holds the signaling relationship and session stripping state of the session cell; after completing this processing, the backup virtual voice gateway instance in the target migration path reaches the same signaling phase as the session cell; Connect the current media relationship on the bearer side to the media link in the target migration path, start the media link receiver in the target migration path, and complete the media phase calibration; In a specific embodiment of the present invention, the processing unit reads the media relationship from the current bearer side and connects the media relationship to the media link in the target migration path; during the connection process, the processing unit enables the media link in the target migration path to take over the media transmission direction and media transmission order of the same session cell, so that the media link enters the receptive state from the candidate state; after the connection is completed, the media link has the basis to receive the media stream after the session cell switch. In a specific embodiment of the present invention, the media link receiving end is the side of the media link in the target migration path used to receive the voice session media stream; after the media relationship is established, the processing unit opens the media link receiving end in the target migration path, so that the media link receiving end enters the waiting to receive state; after opening, the media link receiving end does not immediately receive the real media stream, but only waits for the session cell switching to be completed before receiving the media stream transferred from the original bearer path. In a specific embodiment of the present invention, media phase calibration is jointly completed by media relationship continuation and media link receiver activation; the processing unit continuates the media relationship of the current bearer side to the media link in the target migration path, and activates the media link receiver in the target migration path, so that the media link in the target migration path has the ability to continue media transmission in the same session cell; after completing this processing, the media link in the target migration path reaches the same media phase as the session cell. Write the media buffer order of the current bearer side into the standby virtual voice gateway instance in the target migration path, adjust the media reception order of the standby virtual voice gateway instance in the target migration path, and complete the buffer phase calibration. In a specific embodiment of the present invention, the media buffer order is derived from the media relationship on the current bearer side, which is used to indicate the order in which media data enters the buffer and is read in the original bearer path; when the processing unit performs buffer phase calibration, it extracts the media buffer order from the current bearer side and writes the media buffer order into the backup virtual voice gateway instance in the target migration path, so that the backup virtual voice gateway instance processes the media data in the same order after taking over. In a specific embodiment of the present invention, after the processing unit writes the media buffer order into the backup virtual voice gateway instance in the target migration path, it adjusts the media receiving order of the backup virtual voice gateway instance. During the adjustment process, the backup virtual voice gateway instance sets up a media receiving queue according to the media buffer order, so that the media data entering the backup virtual voice gateway instance after the session cell switch enters the processing flow in the original order of the current bearer side, avoiding media frame disorder after takeover. In a specific embodiment of the present invention, buffer phase calibration is jointly completed by media buffer sequence writing and media reception sequence adjustment; the processing unit writes the media buffer sequence of the current bearer side into the backup virtual voice gateway instance in the target migration path, and adjusts the media reception sequence of the backup virtual voice gateway instance in the target migration path so that the buffer processing sequence of the backup virtual voice gateway instance is consistent with that of the current bearer side; after completing this processing, the backup virtual voice gateway instance in the target migration path reaches a buffer phase consistent with the session cell. After the signaling phase, media phase, and buffer phase are all calibrated, the session cell will be switched to the standby virtual voice gateway instance in the target migration path.
[0037] In a specific embodiment of the present invention, the completion of calibration of the signaling phase, media phase, and buffer phase is a prerequisite for session cell handover. The processing unit sets a completion flag for each of the three types of phases. If any one of the signaling phase, media phase, or buffer phase has not been calibrated, the target migration path remains in a pre-takeover state, and the original bearer path continues to carry the session cell without performing a real handover. After all three types of phases have been calibrated, the processing unit removes the pre-takeover restriction on the target migration path, allowing session cell handover to be performed.
[0038] In a specific embodiment of the present invention, when the processing unit performs session cell switching, the switching object is the session cell, and the switching target is the backup virtual voice gateway instance in the target migration path. The target migration path is still jointly defined by the backup virtual voice gateway instance, the media link, and the codec resources. The processing unit moves the session cell out of the original bearer path and connects the session cell to the backup virtual voice gateway instance in the target migration path, so that the signaling relationship is taken over by the backup virtual voice gateway instance, the media relationship is continued through the media link in the target migration path, and the media data enters the processing flow according to the media reception order of the backup virtual voice gateway instance in the target migration path.
[0039] In this embodiment, S6, which involves maintaining the target migration path or rolling back along the original carrying path within the migration detection window, specifically includes: After the session cell is switched to the backup virtual voice gateway instance in the target migration path, the original bearer path is retained, and the bearer transfer relationship between the current bearer side and the candidate migration side corresponding to the target migration path is temporarily rewritten as a bidirectional bearer transfer relationship. In a specific embodiment of the present invention, after the session cell switches to the backup virtual voice gateway instance in the target migration path, the processing unit does not delete the original bearer path, does not release the bearer relationship of the main virtual voice gateway instance, and does not rewrite the media relationship and virtual bearer relationship in the original bearer path, so that the original bearer path remains in a rollback available state. In a specific embodiment of the present invention, after the target migration path is determined, the candidate migration side corresponds to the target migration path, and the processing unit retains the bearer transfer relationship between the current bearer side and the candidate migration side corresponding to the target migration path, so that the session cell retains the migration direction from the original bearer path to the target migration path; In a specific embodiment of the present invention, the processing unit performs a temporary rewrite of the bearer transfer relationship within the migration detection window, adds a rollback direction in addition to the original migration direction, so that a bidirectional bearer transfer relationship is formed between the current bearer side and the candidate migration side corresponding to the target migration path. The corresponding evolution operator for session reconnection will continuously act on the backup virtual voice gateway instance, media link, and codec resources in the target migration path. In a specific embodiment of the present invention, the backup virtual voice gateway instance, media link, and codec resources in the target migration path are transformed from pre-takeover objects to detection bearer objects within the migration detection window, respectively undertaking the signaling relationship, media relationship, and media data processing of the session cell. In a specific embodiment of the present invention, within the migration detection window, the processing unit causes the evolution operator corresponding to the session reconnection to continue to act on the target migration path, causes the standby virtual voice gateway instance in the target migration path to take over the signaling relationship, causes the media link in the target migration path to continue the media relationship, and causes the codec resources in the target migration path to process media data. The evolution operator corresponding to the session stripping is applied to the original bearer path along the rollback direction of the bidirectional bearer transfer relationship; In a specific embodiment of the present invention, the rollback direction is from the candidate migration side corresponding to the target migration path to the current carrying side, which is used to restore the session cell to the original carrying path when the target migration path can no longer carry the session cell. In a specific embodiment of the present invention, when the evolution operator corresponding to session stripping acts on the original bearer path along the rollback direction of the bidirectional bearer transfer relationship, the process of stripping the session cell from the original bearer path again is not performed, but the original bearer path is restored to the qualification to accept the session cell. When the media continuity maintenance state meets the maintenance conditions, the rollback direction in the bidirectional bearer transfer relationship is deleted, and the target migration path is determined as the bearer path of the session cell; In a specific embodiment of the present invention, the media continuity maintenance state is jointly determined by the media link connection result, the media reception order of the backup virtual voice gateway instance, and the codec resource processing result, which serves as the basis for judging whether to maintain the target migration path or roll back along the original bearer path within the migration detection window. In a specific embodiment of the present invention, the conditions for maintaining media relationships are that the media links in the target migration path continue to maintain media relationships, the backup virtual voice gateway instance receives media data in the media buffer order, and the codec resources continuously process media data. In a specific embodiment of the present invention, after the rollback direction is deleted, the processing unit determines the target migration path as the bearer path of the session cell, so that the backup virtual voice gateway instance in the target migration path continues to bear the session cell, and the original bearer path exits the bearer relationship. When the media continuity maintenance state does not meet the maintenance conditions, the session resumes the corresponding evolution operator's effect on the target migration path, and the session cell is restored to the original bearer path along the rollback direction of the bidirectional bearer transfer relationship.
[0040] In a specific embodiment of the present invention, when the media continuity maintenance state does not meet the maintenance conditions, the processing unit stops the session takeover of the corresponding evolution operator on the target migration path, so that the backup virtual voice gateway instance, media link, and codec resources in the target migration path stop accepting session cavities.
[0041] In a specific embodiment of the present invention, when the media continuity maintenance state does not meet the maintenance conditions, the processing unit restores the session cell along the rollback direction in the bidirectional bearer transfer relationship, so that the session cell exits from the backup virtual voice gateway instance in the target migration path, returns to the current bearer side, and reconnects to the original bearer path.
[0042] In this embodiment, the process of determining the media continuity maintenance state in S6 includes: Within the migration detection window, the evolution operator corresponding to the session reconnection is rewritten as a recursive structure in which the media link continuation segment, the media reception sequence segment, and the codec processing segment are sequentially connected. In a specific embodiment of the present invention, the processing unit performs an internal rewrite of the evolution operator corresponding to the session reconnection within the migration detection window, changing the single-segment reconnection judgment to a recursive structure in which the media link continuation segment, the media reception sequence segment, and the encoding / decoding processing segment are sequentially connected. In a specific embodiment of the present invention, the media link connection segment corresponds to the media link in the target migration path, the media receiving sequence segment corresponds to the backup virtual voice gateway instance in the target migration path, and the codec processing segment corresponds to the codec resources in the target migration path. In a specific embodiment of the present invention, the processing unit sets the media link connection segment as the starting segment of the recursive structure, the media receiving sequence segment as the middle segment, and the encoding / decoding processing segment as the ending segment; after the media link connection segment is completed, the output enters the media receiving sequence segment; after the media receiving sequence segment is completed, the output enters the encoding / decoding processing segment; when the previous segment is not passed continuously, the processing unit stops the execution of the next segment, so that the three segments form a unidirectional recursive chain. This enables the media links in the target migration path to continue media relationships at the media link connection segment, and transmits the output of the media link connection segment to the backup virtual voice gateway instance in the target migration path. In a specific embodiment of the present invention, the processing unit sends the media relationship of the current bearer side into the media link connection segment, so that the media link in the target migration path takes over the media transmission direction and media transmission order of the same session cell; after the media link connection segment completes the connection, it forms the output of the media link connection segment, and the output content enters the media receiving order segment corresponding to the backup virtual voice gateway instance in the target migration path. In a specific embodiment of the present invention, the output of the media link connection segment is the evolution result of the media link in the target migration path after completing the media relationship connection; the processing unit uses this output as the input of the media receiving sequence segment, so that the backup virtual voice gateway instance in the target migration path obtains the transmission order after the media link connection before receiving media data. The standby virtual voice gateway instance in the target migration path rearranges the media reception order according to the media buffer order of the current bearer side in the media reception sequence segment, and passes the output of the media reception sequence segment to the codec resources in the target migration path; In a specific embodiment of the present invention, after the backup virtual voice gateway instance in the target migration path receives the output of the media link connection segment, the processing unit calls the media buffer order of the current bearer side within the media reception sequence segment to rearrange the media reception order of the backup virtual voice gateway instance; during the rearrangement, the backup virtual voice gateway instance adjusts the reception position of the media data to be received to be consistent with the media buffer order of the current bearer side, so that the media data entering the backup virtual voice gateway instance after the switch maintains the original reception order; In a specific embodiment of the present invention, the media buffer order of the current bearer side is derived from the media relationship of the current bearer side, which is used to indicate the order in which the media data of the session cell enters the buffer, waits for processing, and enters the encoding and decoding process in the original bearer path; the processing unit reuses the media buffer order of the current bearer side in the buffer phase calibration and media reception sequence segment, so that the backup virtual voice gateway instance in the target migration path maintains the same media reception sequence. In a specific embodiment of the present invention, the output of the media reception sequence segment is the evolution result after the backup virtual voice gateway instance completes the media reception sequence rearrangement; the processing unit transmits the output of the media reception sequence segment to the codec resources in the target migration path, so that the order of media data received by the codec resources is consistent with the media reception order after the backup virtual voice gateway instance completes the rearrangement; This ensures that the codec resources in the target migration path process media data in the codec processing section according to the rearranged media reception order; In a specific embodiment of the present invention, after the codec processing segment receives the output of the media reception sequence segment, the codec resources in the target migration path process the media data according to the rearranged media reception sequence; the processing unit prohibits the codec resources from bypassing the media reception sequence segment to directly process the media data, so that the reception sequence of the media data and the codec processing sequence are consistent. When the media link connection segment, media reception sequence segment, and encoding / decoding processing segment all pass through consecutively, the media continuity maintenance state is determined to meet the maintenance condition; In a specific embodiment of the present invention, when the media link connection segment completes the media relationship connection, the media receiving sequence segment completes the media receiving sequence rearrangement, and the encoding and decoding processing segment completes the media data processing under the rearranged order, the processing unit determines that the three segments pass continuously. The continuous passage of the three segments requires that the three segments be completed in sequence within the same migration detection window, the output of the previous segment is received by the next segment, and the evolution operator corresponding to the session reconnection is not interrupted. In a specific embodiment of the present invention, the media continuity maintenance state is determined by the continuous passage result of the three-segment recursive structure; when the media link connection segment, the media reception sequence segment, and the encoding / decoding processing segment are all passed continuously, the processing unit determines that the media continuity maintenance state meets the maintenance condition; after the maintenance condition is met, the target migration path has the conditions to continue to carry the session cell. If any segment of the media link connection segment, the media reception sequence segment, or the encoding / decoding processing segment fails to pass continuously, the media continuity maintenance state is determined to be unsatisfactory.
[0043] In a specific embodiment of the present invention, when the media link connection segment fails to complete the media relationship connection, the media reception sequence segment fails to complete the media reception sequence rearrangement, and the encoding / decoding processing segment fails to process media data according to the rearranged media reception sequence, the processing unit determines that the corresponding segment has not passed continuously; when any segment in the three-segment structure fails to pass continuously, the processing unit stops the session and resumes the recursion of the corresponding evolution operator in the subsequent segment. In a specific embodiment of the present invention, the failure to meet the maintenance condition for media continuity is not a result of a single media quality anomaly, but rather a result of the interruption of the reconnection evolution caused by at least one segment of the three-segment recursive structure not passing continuously. After determining that the media continuity maintenance condition is not met, the processing unit triggers a rollback process, causing the session cell to recover to the original bearer path along the rollback direction in the bidirectional bearer transfer relationship.
[0044] Example 1: To verify the feasibility of this invention in practice, it was applied to a virtualized voice gateway cluster. This cluster handles voice session access, SIP signaling processing, RTP media forwarding, and codec resource scheduling. The original approach used the virtual voice gateway instance load and link status as the switching criteria. When the load on the primary virtual voice gateway instance increased, the voice session was directly migrated to the backup virtual voice gateway instance. This approach could complete basic switching in low-concurrency scenarios, but when multiple voice sessions were migrated simultaneously, the SIP signaling status, media transmission status, and virtual bearer resource status were processed in a fragmented manner. This easily led to situations where the backup instance had taken over the signaling, the media link had not yet been established, and the codec resources were not yet matched, resulting in short-term dropped calls, intermittent media transmission, out-of-order voice segments, and prolonged rollback times.
[0045] In this embodiment, a virtual voice gateway instance pool is first established in the virtualized network. Voice sessions are then connected to the main virtual voice gateway instance, forming the original bearer path. The processing unit does not directly use the virtual voice gateway instance node as the input to EvolveGCN. Instead, it converts each voice session into a session cell, closing the signaling relationship, media relationship, and virtual bearer relationship within the same session cell. The session cell sets the current bearer side and the candidate migration side. The current bearer side maintains the original bearer path, while the candidate migration side is written with the backup virtual voice gateway instance, media link, and codec resources. The bearer transfer relationship points from the current bearer side to the candidate migration side, enabling the voice session migration process to enter the session cell graph.
[0046] After the session cavity graph is input into the session cavity state EvolveGCN, the model no longer updates around ordinary virtual voice gateway instance nodes, but instead updates evolution operators around three actions: session establishment, session disconnection, and session reconnection. The processing unit embeds signaling acknowledgment constraints before the evolution operator corresponding to session disconnection, and media continuity constraints before the evolution operator corresponding to session reconnection. When a SIP session is in an incomplete acknowledgment state, the session cavity remains on its original bearer path; when the media link cannot continue the media relationship, the session cavity remains on the candidate migration side, without triggering actual takeover. This processing avoids forced migration when the session has not yet met the disconnection or reconnection conditions.
[0047] Before the actual handover, the processing unit performs a counterfactual topology rewrite on the session cavity graph. The current bearer side and the original bearer path remain unchanged; only the candidate migration side is rewritten. Different backup virtual voice gateway instances, media links, and codec resources are written into the candidate migration side, and the bearer transfer relationship endpoint is redirected. The session cavity state EvolveGCN extrapolates the rewritten session cavity graph to obtain the post-migration bearer stability corresponding to each candidate migration path. The candidate migration path ranked first is determined as the target migration path.
[0048] Once the target migration path is determined, the processing unit first maintains the original bearer path to continue carrying the session cell, and prohibits the target migration path from performing a real handover. The processing unit copies the signaling relationship of the current bearer side to the backup virtual voice gateway instance in the target migration path, writes the evolution result corresponding to session stripping into the same backup virtual voice gateway instance, and completes signaling phase calibration; it then connects the media relationship of the current bearer side to the media link in the target migration path, enables the media link receiver, and completes media phase calibration; finally, it writes the media buffer order of the current bearer side into the backup virtual voice gateway instance in the target migration path, adjusts the media receiving order, and completes buffer phase calibration. After the three types of phases are calibrated, the session cell switches to the backup virtual voice gateway instance in the target migration path.
[0049] After a session cell switchover, the processing unit retains the original bearer path within the migration detection window and temporarily rewrites the bearer transfer relationship between the current bearer side and the candidate migration side corresponding to the target migration path into a bidirectional bearer transfer relationship. The evolution operator corresponding to session reconnection continues to act on the backup virtual voice gateway instance, media link, and codec resources in the target migration path. The media continuity maintenance state is determined by a three-segment recursive structure, which includes a media link continuation segment, a media reception sequence segment, and a codec processing segment. When all three segments pass consecutively, the target migration path is determined as the bearer path of the session cell; if any segment fails to pass consecutively, the processing unit stops the effect of the evolution operator corresponding to session reconnection on the target migration path and restores the session cell to its original bearer path along the rollback direction in the bidirectional bearer transfer relationship.
[0050] Table 1: Comparison of Voice Conversation Migration Results
[0051] The data in the table are comparative test results under the same capacity. The conventional virtual voice gateway handover method achieves a migration success rate of 95.80%, a call drop rate of 2.70%, and an average media interruption duration of 428ms under 800 concurrent voice sessions. The method of this invention, under the same concurrency conditions, improves the migration success rate to 99.35%, reduces the call drop rate to 0.38%, and reduces the average media interruption duration to 76ms. These results demonstrate that session cell modeling, protocol boundary constraints, and three-phase calibration can reduce failures caused by inconsistencies in state before and after handover.
[0052] The RTP out-of-order ratio decreased from 1.58% to 0.21%, and the number of codec resource mismatches decreased from 31 to 5, indicating that after the candidate migration side completed the joint simulation of backup virtual voice gateway instances, media links, and codec resources before the actual handover, the target migration path is closer to the actual capacity requirements. The average rollback time for abnormal paths decreased from 3.6s to 0.9s, indicating that the bidirectional bearer transfer relationship and migration detection window can shorten the recovery path. The average MOS value after migration increased from 3.82 to 4.31, reflecting improvements in both voice quality and media continuity.
[0053] The above description is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any equivalent substitutions or modifications made by those skilled in the art within the scope of the technology disclosed in the present invention, based on the technical solution and inventive concept of the present invention, should be covered within the scope of protection of the present invention.
Claims
1. A voice gateway intelligent communication method based on a virtualized network, characterized in that, Includes the following steps: S1. Establish a virtual voice gateway instance pool in the virtualized network, and connect the voice session to the main virtual voice gateway instance to form the original bearer path; S2. Convert the voice session from a single-node bearer representation to a session cavity representation, so that the signaling relationship, media relationship, and virtual bearer relationship are closed into the same session cavity, and construct a session cavity graph; S3. Change the node state evolution of EvolveGCN to the session cavity state evolution, update the evolution operator around the three actions of session establishment, session stripping, and session reconnection, and obtain the session cavity state EvolveGCN; S4. Embed protocol boundary constraints in the evolution of the session cell state to stop the stripping of session cells that have not completed signaling confirmation and to stop the reconnection of session cells whose media continuity does not meet the reconnection conditions. S5. Perform counterfactual topology rewriting on the session cell diagram, map the same session cell to a candidate migration path jointly defined by the backup virtual voice gateway instance, media link, and codec resources, and deduce the post-migration bearing stability from the session cell state EvolveGCN to select the target migration path; S6. Perform signaling phase, media phase, and buffer phase calibration on the primary virtual voice gateway instance and the backup virtual voice gateway instance in the target migration path, switch the session cell to the backup virtual voice gateway instance in the target migration path, and maintain the target migration path or roll back along the original bearer path according to the media continuity maintenance status within the migration detection window.
2. The intelligent communication method for a voice gateway based on a virtualized network according to claim 1, characterized in that, The construction of the session cavity map in S2 specifically includes: Taking the voice conversations that have already formed the original bearer path as the processing object, the input unit of EvolveGCN is changed from the virtual voice gateway instance node to the conversation cell. Following the execution order of session stripping and session reconnection, closed orchestration is performed on signaling relationships, media relationships, and virtual bearer relationships, so that a single voice session corresponds to a session cell. Configure the original bearer path as the current bearer side of the session cell, and configure the candidate migration path, which is jointly defined by the backup virtual voice gateway instance, media link, and codec resources, as the candidate migration side of the session cell. In the session cavity graph, the bearer transfer relationship is set according to the direction from the current bearer side to the candidate migration side, so that the session cavity graph serves as the graph input for the session cavity state EvolveGCN to perform the session cavity state evolution.
3. The intelligent communication method for a voice gateway based on a virtualized network according to claim 2, characterized in that, The session-wide state EvolveGCN obtained in S3 specifically includes: After inputting the session cavity graph into EvolveGCN, stop the node state recursion centered on the virtual voice gateway instance node, and rearrange the graph convolution update order according to the three actions of session establishment, session stripping, and session reconnection. The evolution operator corresponding to session establishment is applied to the session cell after the original bearer path is formed; the evolution operator corresponding to session stripping is applied to the current bearer side; and the evolution operator corresponding to session reconnection is applied to the candidate migration side. The evolution results corresponding to session stripping are transmitted along the bearer transfer relationship, so that the session stripping results on the current bearer side enter the session reconnection judgment on the candidate migration side; The evolution operators corresponding to the three actions of session establishment, session separation, and session reconnection are written into the cyclic update process of EvolveGCN to obtain the session cavity state EvolveGCN.
4. The intelligent communication method for a voice gateway based on a virtualized network according to claim 3, characterized in that, The embedded protocol boundary constraints in S4 specifically include: During the cyclic update process of the session cavity state EvolveGCN, the protocol boundary constraints are inserted before the evolution operators corresponding to session stripping and session reconnection. For session cavities that have not completed signaling confirmation, the evolution operator corresponding to the session stripping is shielded, so that the session cavity remains in the original bearer path; For the session cell that has completed signaling confirmation, release the evolution operator corresponding to session stripping, so that the evolution result corresponding to session stripping is transmitted to the candidate migration side along the bearer transfer relationship; For session cavities where media continuity does not meet the call-back conditions, the corresponding evolution operator for call-back is masked, keeping the session cavities on the candidate migration side. For session cells that meet the callback conditions for media continuity, release the evolution operator corresponding to the session callback, and enable the session cell to perform callback update on the candidate migration side.
5. The intelligent communication method for a voice gateway based on a virtualized network according to claim 4, characterized in that, The counterfactual topology rewriting performed in S5 specifically includes: Lock the current bearer side and original bearer path of the session cell after protocol boundary constraint processing, and only rewrite the candidate migration side; Write the backup virtual voice gateway instance, media link, and codec resources in the candidate migration path to the candidate migration side, and redirect the endpoint of the bearer transfer relationship to the rewritten candidate migration side; The rewritten session cavity diagram is input into the session cavity state EvolveGCN, so that the evolution results corresponding to the session stripping are entered into the candidate migration side along the redirected bearer transfer relationship, and the corresponding evolution operator of the session is applied to the rewritten candidate migration side. The stability of the transport after migration is determined by the matching results of the backup virtual voice gateway instance, media link, and codec resources on the candidate migration side after the session is returned, based on the evolution operator corresponding to the session return. Candidate migration paths are sorted according to their post-migration stability, and the candidate migration path ranked first is determined as the target migration path.
6. The intelligent communication method for a voice gateway based on a virtualized network according to claim 5, characterized in that, The S6 process performs signaling phase, media phase, and buffer phase calibration, specifically including: The original bearer path continues to carry the session cell, while the target migration path is prohibited from performing a real handover. Read the matching results and write the backup virtual voice gateway instance, media link, and codec resources in the target migration path to the candidate migration side; Copy the current signaling relationship on the bearer side to the standby virtual voice gateway instance in the target migration path, write the evolution result corresponding to session stripping into the standby virtual voice gateway instance in the target migration path, and complete the signaling phase calibration. Connect the current media relationship on the bearer side to the media link in the target migration path, start the media link receiver in the target migration path, and complete the media phase calibration; Write the media buffer order of the current bearer side into the standby virtual voice gateway instance in the target migration path, adjust the media reception order of the standby virtual voice gateway instance in the target migration path, and complete the buffer phase calibration. After the signaling phase, media phase, and buffer phase are all calibrated, the session cell will be switched to the standby virtual voice gateway instance in the target migration path.
7. The intelligent communication method for a voice gateway based on a virtualized network according to claim 6, characterized in that, S6, which involves maintaining the target migration path or rolling back along the original carrying path within the migration detection window, specifically includes: After the session cell is switched to the backup virtual voice gateway instance in the target migration path, the original bearer path is retained, and the bearer transfer relationship between the current bearer side and the candidate migration side corresponding to the target migration path is temporarily rewritten as a bidirectional bearer transfer relationship. The corresponding evolution operator for session reconnection will continuously act on the backup virtual voice gateway instance, media link, and codec resources in the target migration path. The evolution operator corresponding to the session stripping is applied to the original bearer path along the rollback direction of the bidirectional bearer transfer relationship; When the media continuity maintenance state meets the maintenance conditions, the rollback direction in the bidirectional bearer transfer relationship is deleted, and the target migration path is determined as the bearer path of the session cell; When the media continuity maintenance state does not meet the maintenance conditions, the session resumes the corresponding evolution operator's effect on the target migration path, and the session cell is restored to the original bearer path along the rollback direction of the bidirectional bearer transfer relationship.
8. The intelligent communication method for a voice gateway based on a virtualized network according to claim 7, characterized in that, The process of determining the media continuity maintenance state in S6 includes: Within the migration detection window, the evolution operator corresponding to the session reconnection is rewritten as a recursive structure in which the media link continuation segment, the media reception sequence segment, and the codec processing segment are sequentially connected. This enables the media links in the target migration path to continue media relationships at the media link connection segment, and transmits the output of the media link connection segment to the backup virtual voice gateway instance in the target migration path. The standby virtual voice gateway instance in the target migration path rearranges the media reception order according to the media buffer order of the current bearer side in the media reception sequence segment, and passes the output of the media reception sequence segment to the codec resources in the target migration path; This ensures that the codec resources in the target migration path process media data in the codec processing section according to the rearranged media reception order; When the media link connection segment, media reception sequence segment, and encoding / decoding processing segment all pass through consecutively, the media continuity maintenance state is determined to meet the maintenance condition; If any segment of the media link connection segment, the media reception sequence segment, or the encoding / decoding processing segment fails to pass continuously, the media continuity maintenance state is determined to be unsatisfactory.