Search

CN-121771333-B - Signaling conversion method and system based on telephone interaction

CN121771333BCN 121771333 BCN121771333 BCN 121771333BCN-121771333-B

Abstract

The invention discloses a signaling conversion method and a system based on telephone interaction, which are applied between a service domain and an operator access domain, wherein the method comprises the steps of receiving an original signaling message from an internal service system at the service domain side, performing signaling desensitization mapping processing on the original signaling message, generating abstract metadata only containing service logic identifiers, and transmitting the abstract metadata to the access domain side in a cross-domain manner through a kernel-level communication interface; the method comprises the steps of converting abstract metadata into an identifiable signaling format of an operator at an access domain side and sending the identifiable signaling format to the operator network, establishing a media stream transmission tunnel at an operating system kernel layer, monitoring transmission quality indexes of the media stream transmission tunnel in real time, continuously monitoring a signaling registration transaction log at the service domain side through an independent relay state maintenance module which operates independently of an internal service system, and caching complete parameters successfully registered to the operator network last time based on the log to realize high-safety, high-reliability and high-compatibility signaling conversion.

Inventors

  • WANG YUSEN

Assignees

  • 广东超腾信息科技有限公司

Dates

Publication Date
20260508
Application Date
20260303

Claims (10)

  1. 1. The signaling conversion method based on telephone interaction is applied between a service domain and an operator access domain, and is characterized by comprising the following steps: on a service domain side, receiving an original signaling message from an internal service system, performing signaling desensitization mapping processing on the original signaling message, stripping network topology sensitive fields in the original signaling message, generating abstract metadata only containing service logic identifiers, and transmitting the abstract metadata to an access domain side in a cross-domain manner through a kernel-level communication interface; At the access domain side, converting the abstract metadata into an identifiable signaling format of an operator, and sending the identifiable signaling format to an operator network; Establishing a media stream transmission tunnel in an operating system kernel layer, monitoring transmission quality indexes of the media stream transmission tunnel in real time, and triggering a dynamic drift self-healing process when the transmission quality indexes are monitored to meet preset degradation conditions, wherein the dynamic drift self-healing process comprises redirecting media streams to an optimal path calculated based on a four-element association matrix and a path scoring algorithm through a eBPF program so as to complete switching on the premise of not interrupting an existing media session; and continuously monitoring a signaling registration transaction log of the service domain side through an independent relay state maintenance module which is independent of the operation of the internal service system, caching the complete parameter which is successfully registered with the operator network last time based on the log, and independently maintaining the registration state and heartbeat of the operator network by utilizing the cached registration parameter when the internal service system fails.
  2. 2. A signaling conversion method based on telephone interaction according to claim 1, wherein performing signaling desensitization mapping processing on the original signaling message comprises: identifying the sensitive fields in the original signaling message through a preset sensitive field identification rule base; replacing concrete values of the sensitive fields by using a preset mapping template to generate the abstract metadata; The sensitive field at least comprises an IP address in the Via header, a terminal identifier in the Contact header and user identity information in the From/To header.
  3. 3. The signaling conversion method based on telephone interaction according to claim 2, wherein the kernel-level communication interface is a socket based on Linux kernel af_ NETLINK or af_xdp, which is bound to a signaling network card and a media network card of a dual network card server, and the signaling and media data are classified and isolated for transmission through a BPF program filter.
  4. 4. The signaling conversion method based on telephone interaction according to claim 1, wherein the transmission quality index includes a packet loss rate, a delay, and a transmission quadruple, and the preset degradation condition includes at least one of: in 3 continuous sampling periods, the average packet loss rate is more than 10%; the media stream unidirectional delay exceeds 200ms and lasts more than 500ms; any one of the source IP address, destination IP address, source port, and destination port quadruples of the media stream is mutated.
  5. 5. The signaling conversion method based on telephone interaction according to claim 1, wherein redirecting the media stream to the optimal path calculated based on the four-tuple correlation matrix and path scoring algorithm by eBPF program comprises: The mapping relation between the four-element group of the media stream and the transmission path is maintained in real time through a four-element group association matrix manager; When the transmission quality degradation is detected, calculating an optimal path through a path scoring algorithm based on the current network topology and the load state, wherein the scoring factors of the path scoring algorithm comprise real-time network indexes, historical stability, operator priority and cost weight, and the real-time network indexes comprise real-time packet loss rate, delay and jitter of the path; the media stream is redirected to the optimal path by eBPF procedure.
  6. 6. The signaling conversion method based on telephone interaction according to claim 5, wherein the four-tuple association matrix manager comprises: the main hash table is used for storing the currently effective quadruple-path mapping and carrying out lock-free updating by adopting an RCU mechanism; And the standby hash table is used for caching historical quadruple-path mapping and providing a rollback option when path switching is abnormal, wherein the update triggering conditions of the main hash table and the standby hash table comprise at least one of NAT mapping change, routing table update and manual switching instruction.
  7. 7. The signaling conversion method based on telephone interaction according to claim 1, wherein continuously monitoring signaling registration transaction logs at the service domain side includes capturing successful transactions of REGISTER requests in real time by at least one of a system log interface and a shared memory ring buffer.
  8. 8. The signaling conversion method based on telephone interaction according to claim 1, further comprising: When detecting that the internal service system has faults, executing corresponding operations according to the fault severity level, wherein the fault severity level comprises a primary fault, a secondary fault and a tertiary fault, the primary fault is smaller than the secondary fault, the secondary fault is smaller than the tertiary fault, and executing the corresponding operations according to the fault severity level comprises: when the fault severity level is a first-level fault, returning a temporary response indicating that the call is queued to the user terminal, and queuing and waiting for the recovery of an internal service system; Redirecting the call to an emergency IVR module when the fault severity level is a secondary fault; And playing a prerecorded fault prompt tone to a user when the fault severity level is three-level fault, and keeping the registration state of the relay link.
  9. 9. A signaling conversion method based on telephone interaction according to claim 1, wherein in the step of converting signaling messages at the access domain side, a protocol compliance filling sub-step is further included, and the protocol compliance filling sub-step includes: According to the identification of the target operator, dynamically loading a corresponding protocol complement plug-in from a protocol plug-in library; And performing compliance checking and correction operation on the converted standard signaling message by using the protocol complement plug-in, wherein the correction operation comprises at least one of adding a missing SIP header field, adjusting an interaction frequency parameter and correcting a coding format.
  10. 10. A signaling conversion system based on telephone interaction, applied between a service domain and an operator access domain, comprising: an asymmetric heterogeneous protocol stack architecture, comprising a service domain protocol stack and an access domain protocol stack; the service domain protocol stack is deployed at the service domain side and is used for receiving the original signaling message from the internal service system; The signaling desensitization mapping module is used for performing signaling desensitization mapping processing on the original signaling message, stripping network topology sensitive fields in the signaling desensitization mapping processing to generate abstract metadata only containing service logic identifiers, and transmitting the abstract metadata to an access domain side in a cross-domain manner through a kernel-level communication interface; the access domain protocol stack is deployed at the access domain side and is used for converting the abstract metadata into an identifiable signaling format of an operator and transmitting the identifiable signaling format to an operator network; The media tunnel management module is used for establishing a media stream transmission tunnel in an operating system kernel layer, monitoring transmission quality indexes of the media stream transmission tunnel in real time, and triggering a dynamic drift self-healing process when the transmission quality indexes are monitored to meet a preset degradation condition, wherein the dynamic drift self-healing process comprises redirecting media streams to an optimal path calculated based on a four-element association matrix and a path scoring algorithm through a eBPF program so as to complete switching on the premise of not interrupting an existing media session; And the independent relay state maintaining module is operated independently of the internal service system and is used for continuously monitoring the signaling registration transaction log of the service domain side, caching the complete parameter which is successfully registered with the operator network last time based on the log, and independently maintaining the registration state and heartbeat of the operator network by utilizing the cached registration parameter when the internal service system fails.

Description

Signaling conversion method and system based on telephone interaction Technical Field The invention relates to the technical field of communication, in particular to a signaling conversion method and system based on telephone interaction. Background With the popularity of cloud computing, more and more internal business systems (e.g., bank IVR, call centers) are deployed in public cloud or hybrid cloud environments. These systems require interaction with the operator's conventional IMS network to implement telephone call functionality. At present, a conventional scheme generally adopts SIP (Session Initiation Protocol) gateways to perform protocol conversion, but the conventional gateways usually analyze and forward SIP signaling from an internal network and an external network simultaneously in a single processing unit or a process, so that malicious signaling packets constructed by an attacker may bypass simple filtering rules, an internal service system is directly attacked by using a protocol stack vulnerability, security isolation is insufficient, in addition, under an NAT (network address conversion) environment, NAT drift can cause a change of a media stream quadruple (source IP, destination IP, source port and destination port), the conventional scheme needs to trigger SIP renegotiation (Re-INVITE), call interruption is caused for a few seconds, and a condition of insufficient media stream stability exists, meanwhile, once the internal service system is down or dithered by a unified heartbeat, the heartbeat timeout can cause an operator side to reset a relay link, recovery time is up to a few minutes, a condition of low reliability of the relay link exists, in addition, because SIP protocol implementation differences (such as a header field and an interaction frequency) exist in IMS networks of different operators, the internal service system needs to be custom developed for each operator, development and maintenance adaptation is high, and multiple operators are complex. Disclosure of Invention In order to overcome the defects of the prior art, the invention provides a signaling conversion method and a system based on telephone interaction, which are used for solving the problems in the prior art. In order to achieve the above object, the present invention provides the following technical solutions: a signaling conversion method based on telephone interaction is applied between a service domain and an operator access domain, and comprises the following steps: on a service domain side, receiving an original signaling message from an internal service system, performing signaling desensitization mapping processing on the original signaling message, stripping network topology sensitive fields in the original signaling message, generating abstract metadata only containing service logic identifiers, and transmitting the abstract metadata to an access domain side in a cross-domain manner through a kernel-level communication interface; At the access domain side, converting the abstract metadata into an identifiable signaling format of an operator, and sending the identifiable signaling format to an operator network; Establishing a media stream transmission tunnel in an operating system kernel layer, monitoring transmission quality indexes of the media stream transmission tunnel in real time, and triggering a dynamic drift self-healing process when the transmission quality indexes are monitored to meet preset degradation conditions, wherein the dynamic drift self-healing process comprises redirecting media streams to an optimal path calculated based on a four-element association matrix and a path scoring algorithm through a eBPF program so as to complete switching on the premise of not interrupting an existing media session; and continuously monitoring a signaling registration transaction log of the service domain side through an independent relay state maintenance module which is independent of the operation of the internal service system, caching the complete parameter which is successfully registered with the operator network last time based on the log, and independently maintaining the registration state and heartbeat of the operator network by utilizing the cached registration parameter when the internal service system fails. In one embodiment, performing a signaling desensitization mapping process on the original signaling message includes: identifying the sensitive fields in the original signaling message through a preset sensitive field identification rule base; replacing concrete values of the sensitive fields by using a preset mapping template to generate the abstract metadata; The sensitive field at least comprises an IP address in the Via header, a terminal identifier in the Contact header and user identity information in the From/To header. In one embodiment, the kernel-level communication interface is a socket based on Linux kernel af_ NETLINK or af_xdp, and binds the socket to a signaling net