CN115065665B - Session system, session control method thereof, and storage medium - Google Patents

Session system, session control method thereof, and storage medium Download PDF

Info

Publication number
CN115065665B
CN115065665B CN202210990258.5A CN202210990258A CN115065665B CN 115065665 B CN115065665 B CN 115065665B CN 202210990258 A CN202210990258 A CN 202210990258A CN 115065665 B CN115065665 B CN 115065665B
Authority
CN
China
Prior art keywords
session
data
border controller
controller
processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210990258.5A
Other languages
Chinese (zh)
Other versions
CN115065665A (en
Inventor
章海新
李涛
杨华
薛晨
陈山龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Star Network Communication Technology Co ltd
Original Assignee
Shenzhen City Star Network Communication Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen City Star Network Communication Technology Co ltd filed Critical Shenzhen City Star Network Communication Technology Co ltd
Priority to CN202210990258.5A priority Critical patent/CN115065665B/en
Publication of CN115065665A publication Critical patent/CN115065665A/en
Application granted granted Critical
Publication of CN115065665B publication Critical patent/CN115065665B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/1016IP multimedia subsystem [IMS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1069Session establishment or de-establishment

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a conversation system, a conversation control method and a storage medium thereof, belonging to the technical field of communication, wherein the method comprises the following steps: the session system comprises a first session border controller and a second session border controller, and is characterized in that the session control method of the session system comprises the following steps: processing current first session data by the first session border controller and by the second session border controller; monitoring, by the second session border controller, an operational state of the first session border controller; processing, by the second session border controller, current second session data when the operational state is an abnormal shutdown. The invention aims to reduce the influence of the communication service caused by equipment downtime and improve the use experience of the communication function of the user.

Description

Session system, session control method thereof, and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a session system, a session control method thereof, and a storage medium.
Background
With the development of communication technology, IMS (IP Multimedia system) services of next generation networks of communication operators are continuously developed and meet more media services, and meanwhile, voIP (Voice over IP) services for enterprises are also continuously popularized and applied to the enterprises.
Today the business of enterprise-level VoIP covers more and more functions, wherein the communication network also needs to face the impact of large flows. In a network peak period, a session boundary controller, which is an important ring in a communication network, often only uses a single device for carrying out load, so that a downtime situation is inevitable, and when the session boundary controller is down, a communication service is interrupted, and the use experience of a communication function of a user is influenced.
Disclosure of Invention
The present invention mainly aims to provide a session system, a session control method thereof, and a storage medium, and aims to reduce the influence of a communication service caused by a downtime of a device and improve the use experience of a communication function of a user.
In order to achieve the above object, the present invention provides a session control method of a session system, the session system including a first session border controller and a second session border controller, the session control method of the session system including the steps of:
processing current first session data by the first session border controller and by the second session border controller;
monitoring, by the second session border controller, an operational state of the first session border controller;
processing, by the second session border controller, current second session data when the operational state is an abnormal shutdown.
Optionally, the first session data includes first media data and first signaling data, the first media data includes first sub-data and second sub-data, and the processing, by the first session border controller and by the second session border controller, of the current first session data includes:
processing the first sub-data and the first signaling data by the first session border controller, and processing the second sub-data by the second session border controller.
Optionally, the second session data includes second media data and second signaling data, and the step of processing, by the second session border controller, the current second session data when the running state is abnormal shutdown includes:
processing, by the second session border controller, second media data and the second signaling data when the operational state is an abnormal shutdown.
Optionally, before the step of processing, by the second session border controller, the second media data and the second signaling data when the operating state is abnormal shutdown, the method further includes:
sending, by the first session border controller, the first signaling data to the second session border controller;
backing up the received first signaling data by the second session border controller, the second signaling data comprising the backed up first signaling data.
Optionally, the step of processing the first sub-data and the first signaling data by the first session boundary controller includes:
associating a preset IP address through the first session boundary controller, and processing the first subdata and the first signaling data by using the preset IP address;
and/or the step of processing, by the second session border controller, the second media data and the second signaling data when the operating state is the abnormal shutdown includes:
and associating the preset IP address when the running state is abnormal shutdown through the second session boundary controller, and processing the second media data and the second signaling data by using the preset IP address.
Optionally, after the step of processing, by the second session border controller, the second media data and the second signaling data when the operating status is abnormal shutdown, the method further includes:
when the running state is abnormal shutdown, the second session boundary controller makes a control action on the session corresponding to the second media data according to the second signaling data, wherein the control action comprises hanging up the session;
and/or after the step of processing the first sub-data and the first signaling data by the first session border controller and the step of processing the second sub-data by the second session border controller, the method further includes:
and making a control action on the session corresponding to the first sub-data and the second sub-data through the first session boundary controller according to the first signaling data, wherein the control action comprises hanging up the session.
Optionally, the first signaling data and the second signaling data are signaling data based on a session initiation protocol, and the first media data and the second media data are media data based on a real-time transport protocol.
Optionally, before the step of processing the first sub-data and the first signaling data by the first session border controller, the step of processing the second sub-data by the second session border controller further includes:
receiving a plurality of first media data corresponding to a plurality of sessions through the first session border controller, and distributing the plurality of first media data according to the sequence of establishment of the plurality of sessions to form the first subdata and the second subdata, wherein the first media data corresponding to any two sessions with adjacent establishment time are the first subdata and the second subdata respectively.
In addition, in order to achieve the above object, the present application also proposes a session system, which includes at least two session border controllers, each of the session border controllers including: a memory, a processor and a session control program of a session system stored on the memory and executable on the processor, the session control program of the session system being configured to implement the steps of the session control method of the session system as described in any one of the above.
In addition, in order to achieve the above object, the present application also proposes a storage medium having a session control program of a session system stored thereon, wherein the session control program of the session system implements the steps of the session control method of the session system as described in any one of the above when executed by a processor.
The invention provides a conversation control method of a conversation system, which comprises a first conversation border controller and a second conversation border controller, wherein the method comprises the steps of processing current first conversation data through the first conversation border controller and the second conversation border controller, utilizing two devices to simultaneously process the conversation data to share load pressure, monitoring the running state of the first conversation border controller through the second conversation border controller in the process, and processing the current second conversation data through the second conversation border controller when the running state of the first conversation border controller is monitored to be abnormal shutdown. The second session boundary controller is used for monitoring the running state of the first session boundary controller, the first session boundary controller is timely taken over when the first session boundary controller is abnormally stopped, and the current second session data is continuously processed, so that a user can continuously keep control over a session, the influence of communication service caused by equipment shutdown is reduced, and the use experience of the communication function of the user is improved.
Drawings
FIG. 1 is a diagram of the hardware architecture involved in the operation of one embodiment of the session border controller of the present invention;
FIG. 2 is a flowchart illustrating a session control method of the session system according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a session control method of the session system according to another embodiment of the present invention;
FIG. 4 is a flowchart illustrating a session control method of the session system according to another embodiment of the present invention;
fig. 5 is a flowchart illustrating a session control method of a session system according to still another embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The embodiment of the invention provides a session system, which comprises at least two session boundary controllers, wherein the session system comprises a first session boundary controller and a second session boundary controller.
In the embodiment of the present invention, referring to fig. 1, a terminal 2, or a terminal 3 establishes a communication connection with a terminal 4, a terminal 5, or a terminal 6 by connecting a session system, where the session system includes two session border controllers, and the hardware structures of each session border controller are consistent and connected to each other, and each session border controller may include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a network interface 1003, and a memory 1004. Wherein a communication bus 1002 is used to enable connective communication between these components. The network interface 1003 may optionally include a standard wired interface, a WIreless interface (e.g., a WIreless-FIdelity (WI-FI) interface). The Memory 1004 may be a Random Access Memory (RAM) Memory, or may be a Non-Volatile Memory (NVM), such as a disk Memory. The memory 1004 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the architecture shown in fig. 1 does not constitute a definition of a session border controller, and may include more or fewer components than shown, or some components in combination, or a different arrangement of components.
As shown in fig. 1, a session control program of the session system may be included in the memory 1004 as a kind of storage medium. In the session border controller shown in fig. 1, the network interface 1003 is mainly used for data communication with other devices; the processor 1001 calls the session control program of the session system stored in the memory 1004 and executes the session control method of the session system provided by the embodiment of the present invention.
The embodiment of the invention provides a session control method of a session system, which is applied to the session system.
Referring to fig. 2, an embodiment of a session control method of the session system of the present application is provided. In this embodiment, the session system includes a first session border controller and a second session border controller, and the method includes:
step S10, processing the current first session data through the first session border controller and through the second session border controller;
the Session Border Controller is an SBC (Session Border Controller), is an IP service gateway in VoIP communication, and is applied to the operator IMS and the enterprise VoIP. The session border controller is deployed at a key node of the VoIP communication network, analyzes and processes data at two ends of the node, and realizes services such as signaling intercommunication, flow control, NAT traversal, call encryption and decryption, illegal access interception, quality of service (QoS) and the like in VoIP services.
The session data is data interactively transmitted by two parties in the session process, for example, voice data of the session. The session data sent by any one party can be sent to the other party of the session only after passing through the session border controller. The two ends of the session border controller are connected with different types of networks, the session border controller is used as a node to process various data transmitted by the networks at the two ends of the node and send the data to the other end, so that information transmission and intercommunication of the networks at the two ends are realized.
In a session, the session border controller is used as an intermediate link between a calling party and a called party, from the initiation of a session invitation to the hanging up of the session, and the session border controller controls the proceeding of the session of the two parties and transmits session related data so as to ensure that the terminals of the two parties of the session can smoothly communicate in real time through the session. Further, the session is VoIP, which is a session for performing communication based on the internet unlike a conventional communication network phone.
In other embodiments, the session data may be processed simultaneously by a greater number of session border controllers, e.g., three, four, etc. In this embodiment, the first session border controller and the second session border controller are characterized by processing session data through more than one session border controller.
Step S20, monitoring the running state of the first session boundary controller through the second session boundary controller;
the first session border controller is connected with the second session border controller in a wireless connection or a wired connection mode, and the second session border controller monitors the running state of the first session border controller through the connection with the first session border controller, so that corresponding processing can be performed when the running state of the first session border controller is abnormal, and the second session border controller is controlled manually without waiting for the discovery of a worker.
Further, the monitoring mode may be monitoring through Keepalived application software, which monitors a condition that the server is down or works in a failure. In other embodiments, the operating state of the first session border controller may also be monitored by establishing a heartbeat mechanism, where the heartbeat mechanism is implemented by the first session border controller sending preset information to the second session border controller every other preset time, the second session border controller determining that the first session border controller normally operates according to the received preset information, and when the first session border controller is down or fails to send the preset information, the second session border controller may determine that the operating state of the first session border controller is abnormal if the second session border controller does not receive the preset information beyond the preset time.
In other embodiments, a plurality of session border controllers may be included, and each session border controller may monitor the operating status of the other session border controllers, so that corresponding processing may be performed when any of the session border controllers is abnormal in operating status.
And step S30, processing the current second session data by the second session boundary controller when the operation state is abnormal shutdown.
And when the second session boundary controller monitors that the running state of the first session boundary controller is abnormal shutdown, taking over to process the current second session data processing work so as to ensure that the current communication service can be continuously carried out.
It should be noted that the second session data represents session data when the operation state of the first session border controller is in the abnormal shutdown condition, and the first session data represents session data when the operation state of the first session border controller is in the normal condition, which is used for distinguishing session data that needs to be processed in the two conditions.
In other embodiments, a plurality of session border controllers may be included, and the first session border controller is also one of the session border controllers, and when the first session border controller is abnormally shut down, the remaining session border controllers which are still working may process the current second session data.
The embodiment of the invention provides a session control method of a session system, which comprises a first session boundary controller and a second session boundary controller, wherein the method comprises the steps of processing current first session data through the first session boundary controller and the second session boundary controller, utilizing two devices to simultaneously process the session data to share load pressure, monitoring the running state of the first session boundary controller through the second session boundary controller in the process, and processing the current second session data through the second session boundary controller when the running state of the first session boundary controller is monitored to be abnormal shutdown. The second session boundary controller is used for monitoring the running state of the first session boundary controller, the first session boundary controller is timely taken over when the first session boundary controller is abnormally stopped, and the current second session data is continuously processed, so that a user can continuously keep control over a session, the influence of communication service caused by equipment shutdown is reduced, and the use experience of the communication function of the user is improved.
Further, based on the above embodiment, another embodiment of the session control method of the session system of the present application is provided. In this embodiment, the first session data includes first media data and first signaling data, the first media data includes first sub-data and second sub-data, and the second session data includes second media data and second signaling data. Based on this, with reference to fig. 3, the method comprises:
step S11, the first subdata and the first signaling data are processed through the first session boundary controller, and the second subdata is processed through the second session boundary controller;
the signaling data is an instruction for controlling in communication, and can guide a terminal, an exchange system and a transmission system involved in communication to cooperatively operate, and is used for controlling the channel connection of a session and transmitting management information.
The media data is data used for transmitting communication content in communication, and includes voice data of a session, and the voice data is transmitted by adopting a streaming transmission to form a media stream between the terminal and the session boundary controller. In this embodiment, the first media data is allocated as first sub-data and second sub-data, and the first sub-data and the second sub-data are processed by the first session border controller and the second session border controller, respectively.
In addition, the signaling data is data for managing and controlling session connection, and the media data is content data of the session, so the signaling data and the media data have an associated relationship based on the session. It should be noted that, in this embodiment, the signaling data and the media data of the same session can be processed by different session border controllers, respectively, which does not affect the normal operation of the session. However, the media data of the same session needs to be processed by the same session boundary controller to ensure normal transmission of the media stream, so the media data of the same session is not allocated as the first sub-data and the second sub-data, but only allocated as the first sub-data or the second sub-data.
Further, the session border controller includes a signaling processing module and a media processing module, in this embodiment, a signaling processing module of the first session border controller processes first signaling data in current first session data, and media processing modules of the first session border controller and the second session border controller process first media data in current first session data, where first sub-data in the first media data is processed by the first session border controller, and second sub-data is processed by the second session border controller.
Optionally, the first session border controller receives first signaling data, and processes the first signaling data through a first signaling processing module (a signaling processing module of the first session border controller), for example, the signaling data is set as a signaling for establishing a session request, two terminals to establish a session are determined according to a processing result of the signaling data, the processed signaling data is sent to a called terminal, and a session between the two terminals is established; further, the media data of the session is received, the media data of the session is determined to be the first subdata or the second subdata through the first signaling processing module, for example, the media data of the session is set to be the second subdata, the media data is sent to the second session border controller through the first session border controller, the media data is processed through the media processing module of the second session border controller, and the processed media data is sent to the target terminal. Furthermore, during the ongoing session, signaling data and/or media data that are continuously in real time need to be processed by the session border controller.
In other embodiments, the second session border controller may also process the first signaling data, and cooperatively process the signaling data through the two session border controllers; or, the session border controller includes more than two devices, and the media data can be distributed into more sub-data to be processed by all the session border controllers in the system respectively.
The media data has larger data volume relative to the signaling data, which causes larger burden on the equipment, and the pressure during processing the media data can be shared by processing the media data by the first session boundary controller and the second session boundary controller simultaneously, thereby reducing the fault risk of the session boundary controller and improving the use experience of the communication function of the user.
Step S21, sending the first signaling data to the second session border controller through the first session border controller; backing up the received first signaling data by the second session border controller;
it should be noted that the purpose of the second session border controller backing up the received first signaling data is to synchronize the signaling data processed by the first session border controller in real time, so that the second session border controller can take over the work of the first session border controller at any time.
Optionally, when the first session border controller receives the first signaling data and processes the signaling data, the first session border controller synchronizes the signaling data to the second session border controller, and after the signaling data is processed, the second session border controller can also confirm that the signaling data is processed. Therefore, the data synchronized by the first session border controller to the second session border controller includes, in addition to the first signaling data, a processing completion of the first signaling data by the first session border controller.
In other embodiments, multiple session border controllers may be included, wherein first signaling data processed by a first session border controller may be synchronized to all other session border controllers.
By backing up the first signaling data to the second session boundary controller, the signaling data can be ensured not to be lost when the running state of the first session boundary controller is abnormal, so that the ongoing communication service is correspondingly processed by other equipment aiming at the backed-up signaling data, the influence of the communication service caused by the downtime of the equipment is reduced, and the use experience of the communication function of a user is improved.
Step S31, processing second media data and the second signaling data by the second session border controller when the operating state is abnormal shutdown, where the second signaling data includes the backed-up first signaling data.
And when the second session boundary controller monitors that the running state of the first session boundary controller is abnormal shutdown, processing second signaling data in the current second session data through a signaling processing module of the second session boundary controller, and processing second media data in the current second session data through a media processing module.
It should be noted that the second signaling data and the second media data represent data when the operation state of the first session border controller is an abnormal shutdown condition, and the first signaling data and the first media data represent data when the operation state of the first session border controller is a normal condition, which are used for distinguishing session data that needs to be processed in the two conditions.
In addition, the second signaling data includes signaling data received from the first session border controller that was backed up and being processed before the first session border controller was abnormally stopped, and signaling data received after the first session border controller was abnormally stopped and requiring processing. I.e. the signalling data processing work of the first session border controller is taken over by the second session border controller, including the work being processed and the work to be processed.
Alternatively, before the first session border controller is abnormally stopped, the session may be divided into two types, the first type being media data of the session processed by the first session border controller, and the second type being media data of the session processed by the second session border controller. After the first session border controller is abnormally stopped, the first type of session appears to be incapable of continuing voice communication but can continue hanging up and the like for the session, and the second type of session appears to be normal at the user and is not influenced by the abnormal stop of the first session border controller.
In other embodiments, multiple session border controllers may be included, and signaling data may be processed cooperatively by the multiple session border controllers, and when a first session border controller is abnormally down, the remaining normally operating session border controllers may coordinate processing signaling data processed by the first session border controller with other signaling data.
The second session boundary controller takes over the processing work of processing the signaling data when the first session boundary controller is abnormally stopped, so that the user can continuously keep controlling the session, the influence of the communication service caused by the equipment downtime is reduced, and the use experience of the communication function of the user is improved.
Further, in this embodiment, before the step of processing the first sub-data and the first signaling data by the first session border controller, the step of processing the second sub-data by the second session border controller further includes:
receiving a plurality of first media data corresponding to a plurality of sessions through the first session border controller, and distributing the plurality of first media data according to the sequence of establishment of the plurality of sessions to form the first subdata and the second subdata, wherein the first media data corresponding to any two sessions with adjacent establishment time are the first subdata and the second subdata respectively.
When the first session boundary controller receives media data of a newly established session, determining that the media data of the previously established session is allocated as first subdata or second subdata from the first signaling module, and when the media data of the previously established session is determined to be the first subdata, allocating the media data of the session as second subdata and sending the second subdata to the second session boundary controller for processing through the second session boundary controller; when it is determined to be the second sub-data, the media data of the session is processed by the first media processing module (the media processing module of the first session border controller). Further, after determining that the session is allocated as the first sub-data or the second sub-data, recording the allocation condition in the first signaling processing module as a reference for the first session border controller to allocate media data of a session to be established next time.
In other embodiments, the load states of two session border controllers may be obtained before allocating media data of a new session, and the media data of the new session is allocated to the session border controller with lighter current load state for processing.
In this embodiment, the first media data is distributed as the first sub data and the second sub data to the two session border controllers by polling, so that the loads of the first session border controller and the second session border controller are kept balanced, the load pressure of the session border controllers is reduced, and the risk of abnormal shutdown of the session border controllers is reduced.
Further, in this embodiment, the first signaling data and the second signaling data are signaling data based on a session initiation protocol, and the first media data and the second media data are media data based on a real-time transport protocol.
The Session initiation Protocol is SIP (Session initiation Protocol), which is an application layer signaling control Protocol used to create, modify, and release one or more sessions of participants in an actual scene of a Session.
The Real-time Transport Protocol is RTP (Real-time Transport Protocol), which is a network Transport Protocol that specifies the standard packet format for transmitting audio and video over the internet.
In this embodiment, the session border controller analyzes and processes signaling data (SIP) and media data (RTP) at two ends of a node, so as to implement services such as signaling interworking, traffic control, NAT traversal, call encryption and decryption, interception of illegal access, quality of service (QoS), and the like in a VoIP service, and improve the use experience of the communication function of a user.
Further, based on the foregoing embodiment, another embodiment of the session control method of the session system of the present application is provided. In this embodiment, the first session data includes first media data and first signaling data, the first media data includes first sub-data and second sub-data, and the second session data includes second media data and second signaling data. Based on this, referring to fig. 4, the method includes:
step S12, associating a preset IP address through the first session boundary controller, processing the first subdata and the first signaling data by using the preset IP address, and processing the second subdata through the second session boundary controller;
the preset IP address is a preset fixed IP address, because the first session border controller is associated with the preset IP address, for the devices outside the session system, when communicating with the session border controller in the session system, the devices appear to communicate with the preset IP address, and the data transmitted by communication is transmitted to the first session border controller, that is, the first session border controller receives the first subdata and the first signaling data.
Step S32, associating the preset IP address when the operation status is abnormal shutdown by the second session border controller, and processing the second media data and the second signaling data by using the preset IP address.
And when the first session border controller is abnormally stopped, associating the preset IP address through the second session border controller, communicating with the devices outside the session system through the preset IP address and taking over the processing work of the first session border controller.
For the devices outside the session system, before and after the first session border controller is abnormally stopped, the first session border controller communicates with the preset IP address, and the change of the session border controller associated with the preset IP address does not affect the communication between other devices and the session system, and the target IP address to be communicated cannot be lost due to the abnormal stop of the first session border controller.
It should be noted that, for devices outside the session system, the session system appears to have a fixed preset IP, and for the inside of the session system, different session border controllers have their own IP addresses, which can be used for communication between the session border controllers. Illustratively, the preset IP addresses include ETH0: 172.16.13.8, ETH1: 0.10.10.8, ETH2: 0.168.1.8, and then the IP addresses of the first session border controllers include ETH0: 172.16.13.70, ETH1: 10.10.1, and ETH2: 192.168.1.1, and the IP addresses of the second session border controllers include ETH0: 172.16.13.71, ETH1: 10.10.2, and ETH2: 192.168.1.8.
In other embodiments, a device external to the session system may also be enabled to continue communicating with the session system by pushing the IP address of the session border controller that takes over processing work.
The session boundary controller for actually processing the signaling data is associated with the preset IP address and is communicated with the equipment except the session system through the preset IP address, so that other session boundary controllers can be flexibly switched to be associated with the preset IP when the session boundary controller for processing the signaling data breaks down, the equipment except the session system can continue to communicate with the session system without being influenced, the influence of the breakdown of the equipment on the communication service is reduced, and the use experience of the communication function of a user is improved.
Further, based on the foregoing embodiment, a further embodiment of the session control method of the session system of the present application is provided. In this embodiment, the first session data includes first media data and first signaling data, the first media data includes first sub-data and second sub-data, and the second session data includes second media data and second signaling data. Based on this, referring to fig. 5, the method includes:
step S13, a control action is carried out on the conversation corresponding to the first subdata and the second subdata through the first conversation boundary controller according to the first signaling data, and the control action comprises hanging up the conversation;
and step S33, when the running state is abnormal shutdown, the second session boundary controller makes a control action on the session corresponding to the second media data according to the second signaling data, wherein the control action comprises hanging up the session.
The signaling data is data for managing and controlling session connection, and can be used for initiating session invitation for a session which is not connected yet, and can be used for hanging up the session for a session which is connected already. When the session border controller receives signaling data indicating a hanging up of a session, a corresponding handling of the hanging up of the session may be made.
When the first session border controller is operating normally, the current first signalling data is processed by the first session border controller, so that the first session border controller can take control actions over the session to which the first signalling data relates. Wherein processing the corresponding session of the second sub-data by the second session border controller is included. Thus, regardless of whether media data of a session is processed by the first session border controller or the second session border controller, the first session border controller may take control action with respect to the session because signaling data corresponding to the session is processed by the first session border controller.
When the first session border controller is abnormally stopped, the second session border controller processes the current second signaling data, so the second session border controller can make control actions on the session to which the second signaling data relates. Wherein, because the second signaling data comprises the signaling data being processed before the first session border controller is abnormally stopped and the signaling data needing to be processed which is received after the first session border controller is abnormally stopped, the second session border controller can take over the session being processed before the first session border controller is abnormally stopped and control the subsequent newly initiated session.
In other embodiments, a plurality of session border controllers may be included, the signaling data is cooperatively processed by the plurality of session border controllers, and each session border controller controls a corresponding dialog according to the signaling data responsible for processing; when the first session border controller is abnormally stopped, the remaining normally working session border controllers coordinate to process the signaling data processed by the first session border controller and other signaling data and perform corresponding control.
When the first session boundary controller works normally, the session is controlled by the first session boundary controller, and after the first session boundary controller is abnormally stopped, the session is controlled by the second session boundary controller in a take-over mode, so that a user can keep controlling the session under the condition that the first session boundary controller is in failure or not, the influence of communication service caused by equipment breakdown is reduced, and the use experience of the communication function of the user is improved.
In addition, an embodiment of the present invention further provides a storage medium, where a session control program of a session system is stored on the storage medium, and when executed by a processor, the session control program of the session system implements the relevant steps of any embodiment of the session control method of the session system.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are only for description, and do not represent the advantages and disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (9)

1. A session control method of a session system including a first session border controller and a second session border controller, the session control method of the session system comprising the steps of:
processing, by the first session border controller and by the second session border controller, current first session data, the first session data including first media data and first signaling data, the first media data including first sub-data and second sub-data;
monitoring, by the second session border controller, an operational state of the first session border controller;
processing, by the second session border controller, current second session data when the operating state is an abnormal shutdown;
the step of processing current first session data by the first session border controller and by the second session border controller comprises:
processing the first sub-data and the first signaling data by the first session border controller, and processing the second sub-data by the second session border controller.
2. The session control method of the session system according to claim 1, wherein the second session data includes second media data and second signaling data, and the step of processing the current second session data by the second session border controller when the operation state is abnormal shutdown comprises:
processing, by the second session border controller, second media data and the second signaling data when the operational state is an abnormal shutdown.
3. The session control method of the session system according to claim 2, wherein said step of processing the second media data and the second signaling data by the second session border controller when the operation state is the abnormal shutdown further comprises:
sending, by the first session border controller, the first signaling data to the second session border controller;
backing up the received first signaling data by the second session border controller, the second signaling data comprising the backed up first signaling data.
4. The session control method of the session system of claim 2, wherein the processing the first sub data and the first signaling data by the first session border controller comprises:
associating a preset IP address through the first session boundary controller, and processing the first subdata and the first signaling data by using the preset IP address;
and/or the step of processing, by the second session border controller, the second media data and the second signaling data when the operating state is the abnormal shutdown comprises:
and associating a preset IP address when the running state is abnormal shutdown through the second session boundary controller, and processing the second media data and the second signaling data by using the preset IP address.
5. The session control method of the session system according to claim 2, wherein after the step of processing the second media data and the second signaling data by the second session border controller when the operation state is an abnormal shutdown, further comprising:
when the running state is abnormal shutdown, the second session boundary controller makes a control action on the session corresponding to the second media data according to the second signaling data, wherein the control action comprises hanging up the session;
and/or, before the step of processing the current second session data when the operation state is abnormal shutdown by the second session border controller, the method further comprises:
and making a control action on the session corresponding to the first sub-data and the second sub-data through the first session boundary controller according to the first signaling data, wherein the control action comprises hanging up the session.
6. The session control method of the session system according to claim 2, wherein the first signaling data and the second signaling data are signaling data based on a session initiation protocol, and the first media data and the second media data are media data based on a real-time transport protocol.
7. The session control method of the session system according to any of claims 1 to 6, wherein said processing the first sub-data and the first signaling data by the first session border controller, and said processing the second sub-data by the second session border controller, is preceded by the step of:
receiving a plurality of first media data corresponding to a plurality of sessions through the first session border controller, and distributing the plurality of first media data according to the sequence of establishment of the plurality of sessions to form the first subdata and the second subdata, wherein the first media data corresponding to any two sessions with adjacent establishment time are the first subdata and the second subdata respectively.
8. A conversational system, comprising at least two session border controllers, each session border controller comprising: memory, a processor and a session control program of a session system stored on the memory and executable on the processor, the session control program of the session system being configured to implement the steps of the session control method of the session system as claimed in any one of claims 1 to 7.
9. A storage medium, characterized in that the storage medium has stored thereon a session control program of a session system, which when executed by a processor implements the steps of the session control method of the session system according to any one of claims 1 to 7.
CN202210990258.5A 2022-08-18 2022-08-18 Session system, session control method thereof, and storage medium Active CN115065665B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210990258.5A CN115065665B (en) 2022-08-18 2022-08-18 Session system, session control method thereof, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210990258.5A CN115065665B (en) 2022-08-18 2022-08-18 Session system, session control method thereof, and storage medium

Publications (2)

Publication Number Publication Date
CN115065665A CN115065665A (en) 2022-09-16
CN115065665B true CN115065665B (en) 2022-12-13

Family

ID=83207810

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210990258.5A Active CN115065665B (en) 2022-08-18 2022-08-18 Session system, session control method thereof, and storage medium

Country Status (1)

Country Link
CN (1) CN115065665B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101068193A (en) * 2007-06-11 2007-11-07 华为技术有限公司 Controlling method, system and device for reciprocal imputation session boundary controller
EP2299647A2 (en) * 2009-09-16 2011-03-23 Avaya Inc. Next generation integration between different domains, such as, enterprise and service provider using sequencing applications and IMS peering
CN113162886A (en) * 2020-01-07 2021-07-23 中国移动通信集团安徽有限公司 PBX registration method, equipment and system
CN114679211A (en) * 2020-12-24 2022-06-28 中国移动通信有限公司研究院 Session request processing method, satellite access gateway device and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100586234C (en) * 2007-04-17 2010-01-27 华为技术有限公司 Method, system and apparatus for domain switching
CN104994248B (en) * 2015-06-29 2018-05-22 深圳中兴网信科技有限公司 Media consulation method and system in sound-recording business
CN106941719B (en) * 2016-01-04 2020-01-17 中国移动通信集团公司 Resource allocation method and base station

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101068193A (en) * 2007-06-11 2007-11-07 华为技术有限公司 Controlling method, system and device for reciprocal imputation session boundary controller
EP2299647A2 (en) * 2009-09-16 2011-03-23 Avaya Inc. Next generation integration between different domains, such as, enterprise and service provider using sequencing applications and IMS peering
CN113162886A (en) * 2020-01-07 2021-07-23 中国移动通信集团安徽有限公司 PBX registration method, equipment and system
CN114679211A (en) * 2020-12-24 2022-06-28 中国移动通信有限公司研究院 Session request processing method, satellite access gateway device and storage medium

Also Published As

Publication number Publication date
CN115065665A (en) 2022-09-16

Similar Documents

Publication Publication Date Title
US9641802B2 (en) Video session manager and method for enabling and managing video calling and telepresence communications sessions across multiple domains
EP2501119B1 (en) A gateway for the survivability of an enterprise network using sip
US8995252B2 (en) VoIP multiline failover
US20080199000A1 (en) System and method for monitoring agents' performance in a call center
JP4273136B2 (en) VoIP terminal call control method and apparatus in wireless LAN system
US20100241754A1 (en) Telephone System, Server, and Terminal Device
US20100241721A1 (en) Method and apparatus for setting up an audio conference connection
CN104954239A (en) CGN broadband access gateway and implementation method thereof
US8116237B2 (en) Clearing house for publish/subscribe of status data from distributed telecommunications systems
CN102984784A (en) Transmitting data over multiple networks
US20130163590A1 (en) Method of processing sip messages
CN104660546A (en) Synchronization source (SSRC)-based method for receiving and transmitting real-time transmission protocol (RTP) packet
US9071690B2 (en) Call transfer processing in SIP mode
CN115065665B (en) Session system, session control method thereof, and storage medium
US9591377B2 (en) Method and device for recording multimedia data
US9374391B2 (en) Composite endpoint mechanism
JP2014093642A (en) High-speed distribution method to session border controller, and connection system
JP6479701B2 (en) Early media authorization control system and early media authorization control method
US20060250976A1 (en) Method and apparatus for media device correspondence
CN102255980A (en) Method and apparatus for managing calling information of session initiation protocol
CN104702602A (en) System and method of realizing dynamically creating channel and expansion of gateway cluster based on SIP (System in Package)
CN103795878A (en) Protection method, device and system for voice-over-internet-protocol service
US20090028136A1 (en) Method And Apparatus For Controlling Preset Events
JP2010147730A (en) Network device, ip network system, and call control method
KR20100013600A (en) Method of providing a multimedia service based on a qos policy and system for performing the same

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 518000 podium building 414-418, building 12, Shenzhen Bay science and technology ecological park, No. 18, Keji South Road, community, high tech Zone, Yuehai street, Nanshan District, Shenzhen, Guangdong

Patentee after: Shenzhen Star Network Communication Technology Co.,Ltd.

Address before: 518000 podium building 414-418, building 12, Shenzhen Bay science and technology ecological park, No. 18, Keji South Road, community, high tech Zone, Yuehai street, Nanshan District, Shenzhen, Guangdong

Patentee before: Shenzhen City Star Network Communication Technology Co.,Ltd.

CP01 Change in the name or title of a patent holder