WO2017215408A1 - Session switching control method and apparatus and access point device - Google Patents

Session switching control method and apparatus and access point device Download PDF

Info

Publication number
WO2017215408A1
WO2017215408A1 PCT/CN2017/085344 CN2017085344W WO2017215408A1 WO 2017215408 A1 WO2017215408 A1 WO 2017215408A1 CN 2017085344 W CN2017085344 W CN 2017085344W WO 2017215408 A1 WO2017215408 A1 WO 2017215408A1
Authority
WO
WIPO (PCT)
Prior art keywords
session
service node
switched
call
service
Prior art date
Application number
PCT/CN2017/085344
Other languages
French (fr)
Chinese (zh)
Inventor
刘月清
钱建阳
张伟
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017215408A1 publication Critical patent/WO2017215408A1/en

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/40Support for services or applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/148Migration or transfer of sessions

Definitions

  • the present application relates to the field of communications, for example, to a session switching control method, apparatus, and access point device.
  • the related service system includes an access node 10, a service cluster 20, a pre-node 30, and an OCS 40 (Online Charging System). That is, the related service system generally adopts a pre-node 30 to complete the protocol processing, and multiple service nodes 20 complete the load sharing. At this time, the pre-node 30 also becomes a bottleneck of system performance, and the pre-node 30 cannot satisfy the continuously expanding service. The increased demand for node traffic. In order to avoid the front node 30 being called the performance bottleneck of the system, another related service system is shown in FIG. 2, the predecessor node is removed, and the protocol processing and service processing are performed at the service node 20.
  • OCS 40 Online Charging System
  • the access node 10 The session information can be identified, and the message of the same session is sent to the same service node. However, if one of the service nodes has a failure such as downtime or failure, the unprocessed session on the service node cannot be taken over by other service nodes, thereby causing the call. loss.
  • the embodiment of the present disclosure provides a session switching control method, device, and access point device, in which the session on the service node cannot be taken over by other service nodes to cause call loss when the related service node fails.
  • an embodiment of the present disclosure provides a session switching control method, including:
  • the session information of the session of the call is stored in the cache device
  • the target service node is determined for the session to be switched, and the control target service node extracts the session information of the session to be switched from the cache device, and restores the handover session according to the extracted session information.
  • a session switching control apparatus including:
  • a cache control module configured to: after the call is established on the service node, control the service node to store the session information of the session of the call in the cache device;
  • the switching control module is configured to determine a target service node for the session to be switched when the session switching needs to be performed, and the control target service node extracts session information of the session to be switched from the cache device, and switches the session information according to the extracted session information. The session is restored.
  • an access point device including: an access module and a processing module;
  • the access module is configured to access a call
  • the processing module is configured to send the call to the service node, and after the call is established on the service node, control the service node to store session information of the session of the call in the cache device; and determine that session switching is required
  • the target service node is determined for the session to be switched, and the control target service node extracts the session information of the session to be switched from the cache device, and restores the handover session according to the extracted session information.
  • an access point device including a processor and a memory, and the processor calls a module in the memory to perform the following steps:
  • Embodiments of the present disclosure also provide a non-transitory computer readable storage medium storing computer executable instructions arranged to perform the above method.
  • the present disclosure provides a session switching control method, apparatus, and access point device.
  • the session information of the session of the call is first stored in the cache device;
  • the target service node may be determined for each session to be switched from other service nodes other than the service node where the session is located, and then the target service node is controlled to extract the session of the session to be switched from the cache device. Information, and the switching session is restored according to the extracted session information. This completes the process of switching the session from one service node to another, and can continue to process subsequent messages of the session after the session is switched.
  • the solution provided by the embodiment of the present disclosure can be implemented when the session needs to be switched, such as a service node failure, and the session is switched from the original service node to another service node to be taken over by other service nodes, thereby avoiding call loss.
  • FIG. 1 is a schematic structural diagram of a related service charging system
  • FIG. 2 is a schematic structural diagram of another related service charging system
  • FIG. 3 is a schematic flowchart of a session switching control method according to Embodiment 1 of the present disclosure
  • FIG. 4 is a schematic structural diagram of a session switching control apparatus according to Embodiment 2 of the present disclosure.
  • FIG. 5 is a schematic structural diagram of an access point device according to Embodiment 3 of the present disclosure.
  • FIG. 6 is a schematic diagram of buffering session information in a session access process according to Embodiment 4 of the present disclosure.
  • FIG. 7 is a schematic diagram of session switching when a service node fails according to Embodiment 4 of the present disclosure.
  • FIG. 8 is a schematic diagram of handover when a single session fails according to Embodiment 4 of the present disclosure.
  • FIG. 9 is a schematic diagram of session switching when a service node is upgraded according to Embodiment 4 of the present disclosure.
  • FIG. 10 is a schematic diagram of session deletion according to Embodiment 4 of the present disclosure.
  • FIG. 11 is a schematic structural diagram of a service system according to Embodiment 4 of the present disclosure.
  • FIG. 12 is a schematic structural diagram of another service system according to Embodiment 4 of the present disclosure.
  • FIG. 13 is a schematic structural diagram of an access point device according to an embodiment of the present disclosure.
  • Embodiment 1 is a diagrammatic representation of Embodiment 1:
  • the cache device is set in the system to cache the session information of the called session during the call.
  • the session information can be provided to other service nodes for the other service nodes to resume the session, and the session is switched to ensure that the session can continue to be processed normally to avoid session loss.
  • the session switching control method provided in this embodiment is shown in FIG. 3, and includes:
  • S302 Determine, when a session handover is required, determine a target service node for the session to be switched.
  • the control target service node extracts session information of the session to be switched from the cache device, and restores the handover session according to the extracted session information.
  • the session in this embodiment includes, but is not limited to, an online charging session for a call.
  • the cache device in this embodiment may be various devices that store data, including but not limited to distributed cache clusters.
  • the session information stored in the cache device in this embodiment may include only various service-related information for performing session recovery, and may include other information according to actual application requirements.
  • the session information of the session is stored in the cache device in the S301.
  • a unique identification identifier ie, a unique ID of the session, such as a primary key
  • a unique ID of the session such as a primary key
  • Case 1 The message sending the session to the service node where the session is currently located fails to be sent; this case involves switching when a single session fails to execute.
  • the message for the session sent here may be a message to maintain the session or end the session.
  • Case 2 The service node carrying the session is faulty; for example, if the service node is down or fails due to a failure, the session currently carried on the service node (these sessions are generally incomplete sessions) need to be switched to other services. Continue processing on the node to avoid causing call loss.
  • Case 3 The service node hosting the session needs to be upgraded.
  • each session on the service node to be upgraded may be switched to another service node in advance. This processing mode can be used to gradually upgrade each service node in the service cluster.
  • Case 2 and Case 3 above involve batch upgrade of all sessions that are currently not completed on a service node.
  • the incomplete session on a service node may be 0 or 1 or more.
  • the session to be switched when determining the target service node for the session to be switched, the session to be switched may be determined from the other service nodes (that is, other service nodes except the original session bearer service node to be switched) according to the load balancing principle. Target business node.
  • the control target service node extracts the session information of the session to be switched from the cache device, including:
  • each target service node may extract the session information of the session to be switched from the cache device according to the unique identification identifier in the session switching request, and perform session recovery processing according to the session information.
  • Each target service node may extract corresponding session information (including various service information for performing session service recovery) according to the unique identification identifier to the buffer corresponding to the cache device, and then store the corresponding data area in the local area to complete the session. restore.
  • the original service node after controlling a session to be switched from the original service node to another service node, the original service node is also controlled to delete the session information stored locally in the session.
  • the service node may be directly sent to notify the service node to delete the locally stored message of the session that has been switched.
  • the service node after detecting that the service node recovers from the fault, the service node is sent a message to notify it to delete the session information of each session stored locally before.
  • the service node where the session controlling the call is currently located deletes the session information of the session in the local and cache devices.
  • a cache device is set in the system to cache session information.
  • the cache device provides session information for other service nodes to restore the session to other service nodes, completes the session switch, and ensures that the session can continue to be processed normally to avoid session loss.
  • an online charging system for calling such as the Diameter protocol applicable to online charging, and the related protocol for other sessions.
  • the control process shown in FIG. 3 in this embodiment may be completed by a specially configured session switching control device, or may be directly performed by a node in the related service system, for example, directly through an access node.
  • the following examples are given in two cases.
  • Embodiment 2 is a diagrammatic representation of Embodiment 1:
  • the embodiment provides a session switching control apparatus, which can be implemented by various servers or other control terminals, including:
  • the cache control module 41 is configured to, after the call is established on the service node, control the service node to store the session information of the session of the call in the cache device.
  • the session in this embodiment includes, but is not limited to, an online charging session for a call.
  • the cache device in this embodiment may be various devices that store data.
  • the session information stored in the cache device in the embodiment includes at least information for performing session recovery.
  • the cache control module 41 stores the session information of the session in the cache device, including: a unique identification identifier (ie, a unique ID of the session) for identifying the session and session information of the session.
  • the binding is stored in the cache device.
  • the switching control module 42 is configured to determine a target service node for the session to be switched when the session switching needs to be performed, and control the target service node to extract the session information of the session to be switched from the cache device, and treat the session information according to the extracted session information. Switch sessions to recover.
  • the session switching control apparatus in this embodiment may be a control device that performs session switching independently of the access node, and may detect a message interaction between the access node and the service node. Thereby detecting whether the call is established or not, it may determine that the call setup is completed after detecting that the service node feeds back the response of the call initial message to the access node.
  • the session switching control device can also determine whether a session fails or whether a service node is faulty by detecting a message interaction between the access node and the service node. It should be understood that the session switching control apparatus in this embodiment may also directly monitor the status of the service node to determine whether it is faulty.
  • the handover control module 42 detects that at least one of the following occurs, it is determined that a session handover is required:
  • Case 1 The message sending the session to the service node where the session is currently located fails to be sent; this case involves switching when a single session fails to execute.
  • Case 2 The service node carrying the session is faulty; for example, if the service node is down or fails due to a failure, the session currently carried on the service node (these sessions are generally incomplete sessions) need to be switched to other services. Continue processing on the node to avoid causing call loss.
  • Case 3 The service node hosting the session needs to be upgraded.
  • the handover control module 42 may switch the sessions on the service node to be upgraded to other service nodes in advance in order to avoid the impact on the currently carried session.
  • This processing mode can be used to gradually upgrade each service node in the service cluster.
  • the handover control module 42 performs batch handover of all sessions currently not completed on the service node for the above case 2 and case 3. At this point, the incomplete session on a service node may be 0 or 1 or more.
  • the handover control module 42 may wait for other service nodes (that is, other service nodes except the original session bearer service node to be switched) according to the load balancing principle. The switched session determines the target service node.
  • the session switching control apparatus in this embodiment can pass various servers or other control terminals, the above functions of the cache control module 41 and the switching control module 42 can be processed by the processor or the terminal. Implemented.
  • the control target service node extracts the session information of the session to be switched from the cache device, including:
  • the handover control module 42 sends a session handover request to the corresponding target service node for each to-be-switched session, and the sent session handover request includes a unique identification identifier for indicating that the target service node extracts session information of the to-be-switched session from the cache device.
  • each target service node may extract the session information of the session to be switched from the cache device according to the unique identification identifier in the session switching request, and perform session recovery processing according to the session information.
  • the original service node is also controlled to delete the session information stored locally in the session.
  • the handover control module 42 may directly send a message to the service node to delete the locally stored message of the session in which the handover process is performed.
  • the handover control module 42 may send a message to the service node to detect the session information of each session stored locally before deleting the fault after the service node is recovered from the fault.
  • the handover control module 42 further includes the service node where the session in which the call is currently located deletes the session information of the session in the local and cache devices.
  • the session switching control apparatus controls the cache device to perform session information caching during the call process.
  • the control cache device provides session information for other service nodes to restore the session to other service nodes, completes the session switch, and ensures that the session can continue to be processed normally to avoid session loss.
  • Embodiment 3 is a diagrammatic representation of Embodiment 3
  • the embodiment further provides an access point device (hereinafter referred to as an access point), an access module 51 and a processing module 52;
  • the access module 51 is configured to access the call.
  • the access module 51 in this embodiment receives the call initial message and sends the received call initial message to the process 52.
  • the access module 51 in this embodiment may only perform the access proxy function when the access protocol is relatively complex, and the access protocol processing portion may be deployed on the service node to complete the processing of the access protocol by the service node.
  • the access module 51 in this embodiment may directly perform the processing of the access protocol when the capability permits.
  • the access in this embodiment may be diverse, for example, applied to a third-party deduction service, which may be an http protocol access; and applied to a traditional voice service, which may be a sip protocol access; It is used for Diameter Proxy, which can be accessed by Diameter protocol; it can be applied to the internal message flow of the system, or it can be customized internal protocol access.
  • the access module 51 completes the function of protocol access.
  • the processing module 52 may be a distribution processing module configured to send the call to the service node, and after detecting that the call is established on the service node, control the service node to the session of the call.
  • the session information is stored in the cache device; and when it is determined that the session switch needs to be performed, the target service node is determined for the session to be switched, and the control target service node extracts the session information of the session to be switched from the cache device, and according to the extracted session information. Respond to the switching session.
  • the processing module 52 sends the call to the service node, for example, sends the received call initial message to the corresponding service node. After receiving the response of the call initial message fed back by the service node, the processing module 52 determines that the call has been established at the service node.
  • the session in this embodiment includes, but is not limited to, an online charging session for a call.
  • the cache device in this embodiment may be various devices that store data.
  • the session information stored in the cache device in the embodiment includes at least information for performing session recovery.
  • the processing module 52 controls the service node to store the session information of the session in the cache device, including: sending a corresponding notification message to the service node, where the notification message includes the unique identification identifier of the session (also That is, the unique ID of the session). After receiving the notification message, the service node binds the unique identification identifier (ie, the unique ID of the session) used to identify the session to the cache device in the session information of the session.
  • the cache device can be a variety of storage devices, such as a distributed cache cluster.
  • the target service node may be determined from the other service nodes except the service node where each session is located for each session to be switched through the load balancing principle.
  • Case 1 The message sending the session to the service node where the session is currently located fails to be sent; this case involves switching when a single session fails to execute.
  • Case 2 The service node carrying the session is faulty; for example, if the service node is down or fails due to a failure, the session currently carried on the service node (these sessions are generally incomplete sessions) need to be switched to other services. Continue processing on the node to avoid causing call loss.
  • Case 3 The service node hosting the session needs to be upgraded.
  • the processing module 52 may switch the sessions on the service node to be upgraded to other service nodes in advance in order to avoid the impact on the currently-held session of the service node. This processing mode can be used to gradually upgrade each service node in the service cluster.
  • processing module 52 performs batch switching on all the sessions currently not completed on the service node for the above case 2 and case 3.
  • the above functions of the access module 51 and the processing module 52 in this embodiment may be implemented by a processor or a controller of the access point device. It can be implemented by a processor, and the processor can call the module in the access point device memory to complete the foregoing functions of the access module 51 and the processing module 52 in this embodiment.
  • the processing module 52 after determining that the session switching needs to be performed, selects the target service node for each session to be switched, and then the control target service node extracts the session information of the session to be switched from the cache device, including:
  • the processing module 52 sends a session switching request to the corresponding target service node for each to-be-switched session, where the sent session switching request includes a unique identification identifier for indicating that the target service node extracts the session information of the to-be-switched session from the cache device.
  • each target service node may extract the session information of the session to be switched from the cache device according to the unique identification identifier in the session switching request, and perform session recovery processing according to the session information.
  • the processing module 52 controls a session to be switched from the original service node to another service node, the original service node is also controlled to delete the session information stored locally in the session.
  • the processing module 52 can directly send a message to the service node to delete the locally stored message of the session that has been switched.
  • the processing module 52 may send a message to the service node to detect the session information of each session stored locally before deleting the fault after the service node is recovered from the fault.
  • the processing module 52 when detecting the end of a call, further includes the service node where the session in which the call is currently located deletes the session information of the session in the local and cache devices.
  • the access point device controls the cache device to perform session information caching during the call process.
  • the control cache device provides session information for other service nodes for other service nodes to resume the session, completes the session switch, and ensures that the session can continue to be normal. Reason, to avoid causing session loss.
  • Embodiment 4 is a diagrammatic representation of Embodiment 4:
  • the present disclosure exemplifies the present disclosure by taking a cache device as a distributed cache cluster and an application scenario as an online charging scenario of a call.
  • the service system in this embodiment includes an access node, a service cluster including multiple service nodes, a cache cluster connected to the service cluster, and an OCS (Online Charging System) connected to each service node.
  • the access node includes a call access module (that is, an access module), a distribution processing module (that is, a processing module), and the service node includes a service processing module and a protocol processing module.
  • the session information is cached in this embodiment, and the session switching process in each case is as follows.
  • the process of caching session information during session access includes:
  • the distribution processing module of the access node receives the initial call message sent by the call access module, and sends the initial call message to the service processing module of the service node.
  • the service processing module of the service node completes the service logic processing, generates a charging start message, and sends the message to the protocol processing module.
  • S603 The protocol processing module of the service node is assembled into a CCR Initial message and sent to the OCS.
  • S604 The OCS returns a response, and the protocol processing module of the service node forwards the response to the service processing module, and saves the session information of the session in the local memory.
  • the service processing module logically processes the call, and forwards the call response (that is, the response of the call initial message) to the distribution processing module of the access node.
  • the distribution processing module of the access node receives the response of the call initial message, determines that the call has been established, and sends a notification message (including the unique identification identifier of the session, which can make the session number) to the service node.
  • the service node protocol processing module receives the notification message, and stores the session information of the session and the unique identification identifier of the session into the distributed cache cluster.
  • service node A the process of performing batch session switching when detecting a fault of a service node (hereinafter referred to as service node A) includes the following steps:
  • S701 The distribution processing module of the access node detects that the service node A is down or not.
  • the distribution processing module of the access node switches the presence session belonging to the service node A to the His service node evenly sends a session switch message carrying the unique identification of the original session.
  • S703 The protocol processing module of each of the other service nodes retrieves the corresponding session information from the distributed cache cluster, and performs session recovery locally to implement session switching.
  • the protocol processing module of each of the other service nodes may continue to process subsequent messages of the session originally belonging to the service node A.
  • S705 The distribution processing module of the access node detects that the service node A recovers, and notifies the protocol processing module of the service node A to delete the session cache in the original memory.
  • S801 The distribution processing module of the access node prepares to distribute the message, and the message for sending the session fails to the service node A.
  • the access node distribution processing module sends the session handover message to one of the other service nodes (for example, the service node B), and carries the unique identification identifier of the session.
  • the protocol processing module of the service node B retrieves session information of the session from the distributed cache to perform session recovery, and implements session switching.
  • the access node distribution processing module sends a message subsequent to the session to the service node B.
  • the service node B protocol processing module can continue to process the subsequent session.
  • the access node distribution processing module notifies the protocol processing module of the service node A to delete the session cache in the original memory.
  • the session switching process includes:
  • S901 The service node A is ready to be upgraded, and the distribution module of the access node updates online service node information that can be used for distribution.
  • S902 The distribution module of the access node notifies the protocol processing module of the service node A to delete the local session cache.
  • the distribution processing module of the access node switches the presence session of the service node A, and uniformly sends the session switching message to the protocol processing module of the other node, and carries the unique identification identifier of each session.
  • S904 The protocol processing module of each of the other service nodes extracts session information from the distributed cache cluster to perform session recovery, and implements handover.
  • S905 The protocol processing module of each of the other service nodes may continue to process subsequent sessions that originally belong to the service node A.
  • S906 The other service nodes are sequentially upgraded according to the foregoing method.
  • the process of deleting the session for the call is as shown in FIG. 10, and includes:
  • the distribution processing module of the access node receives the call end message, and sends the message to the service node where the session of the call is located.
  • S1002 The service processing module of the service node generates an accounting end message, and sends the message to the protocol processing module.
  • S1003 The protocol processing module of the service node is assembled into a CCR Terminal message and sent to the OCS.
  • S1004 The OCS returns a response, and the protocol processing module of the service node deletes the session in the in-memory and the distributed cache, and then forwards the response to the service processing module.
  • S1005 The service processing module of the service node logically processes and forwards the call termination response to the access node.
  • the present disclosure is exemplified below by the access access module of the access node performing the access protocol (taking the Diameter protocol as an example) and only as an access proxy.
  • the system structure diagram of the processing of the access protocol by the call access module is shown in FIG. 11, and includes: an access node 1, a service cluster 2, a distributed cache cluster 4 connected to the service cluster, and an online charging system OCS3.
  • the access node 1 comprises a call access module 1A, which can be configured to process Diameter server messages.
  • the process of session switching based on the system to implement Diameter Client load balancing is as follows:
  • the access node receives the caller's access message, and the call access module 1A completes the call access.
  • the distribution processing module 1B performs load sharing on multiple service nodes and sends it to a certain service node (the first service section in the figure). point).
  • the service processing module 2A of the service node initiates the charging start CCR Initial, and the protocol processing module 2B of the service node encapsulates the standard Diameter message and sends it to the OCS.
  • the OCS returns a response, and the protocol processing module 2B saves the session information in the local memory, and forwards the response to the service processing module 2A.
  • the service processing module 2A accesses the called party, and returns the response of the called party to the distribution processing module 1B.
  • the distribution processing module 1B determines that the session has been established, and uses the unique session id to notify the protocol processing module 2B to save the session. After receiving the notification, the protocol processing module 2B stores the session information in the distributed cache cluster 4.
  • the distribution processing module 1B maintains a heartbeat between the service node and detects whether the service node is operating normally.
  • the service node is down or not. If the distribution processing module 1B has detected it, the session shown in Figure 7 is used for session switching. If it has not been detected, but a certain session fails to be sent, the method is as shown in Figure 8. The method shown is for session switching. After the session is switched, the subsequent sessions can continue to be processed on other service nodes.
  • the distribution processing module 1B of the access node 1 sends the subsequent session to the switched service node, and the service processing module 2A of the service node generates an accounting end message CCR Teminal and forwards it to the protocol processing module 2B for protocol processing.
  • Module 2B is encapsulated as a standard Diameter message and sent to the OCS.
  • the OCS returns a response, and the protocol processing module 2B deletes the session information saved in the local memory and the session information in the distributed cache, and forwards the response to the service processing module.
  • the service processing module 2A notifies the called party to hang up, and returns the called response to the call. Enter node 1.
  • a schematic diagram of a system structure in which the call access module is only used as an access proxy includes: an access node 1, a service cluster 2, a distributed cache cluster 4 connected to the service cluster, and an online charging system OCS3.
  • the access node 1 includes a call access module 1A, which serves only as an access proxy, hereinafter referred to as an access proxy module.
  • the service cluster 2 includes a first protocol processing module 2C configured to process Diameter server messages, and a second protocol processing module 2D configured to process Diameter client messages.
  • the process of session switching based on the system to implement Diameter Client load balancing is as follows:
  • the Diameter Client initiates a CCR Initial message, and the access proxy module of the access node completes the Diameter protocol access, and the distribution processing module 1B of the access node implements load sharing on multiple service nodes and sends it to a certain service node (as shown in the figure) Business nodes 1).
  • the first protocol processing module 2C of the service node After receiving the CCR Initial message, the first protocol processing module 2C of the service node performs protocol parsing, and converts the internal message to the service processing module 2A.
  • the service processing module 2A performs the business logic processing and forwards the internal message to the second protocol processing module 2D.
  • the second protocol processing module 2D is encapsulated into a standard Diameter message and sent to the OCS.
  • the OCS returns a response
  • the second protocol processing module 2D saves the session information in the local memory, and forwards the response to the service processing module 2A
  • the service processing module 2A forwards the message to the first protocol processing module 2C, where the first protocol processing module 2C is in the local memory.
  • the session information is saved and encapsulated and returned to the distribution processing module 1B.
  • the distribution processing module 1B determines that the session has been established, and notifies the first protocol processing module 2C and the second protocol processing module 2D in the distributed cache cluster 4 using the unique session id. Save the session.
  • the first protocol processing module 2C and the second protocol processing module 2D store the session information in the distributed cache cluster 4.
  • the distribution processing module 1B maintains a heartbeat between the service node and detects whether the service node is operating normally.
  • FIG. 7 if the service node is down or not, if the distribution processing module 1B has detected, the session switching is performed in the manner shown in FIG. 7; if it is not detected, but a single session transmission failure is detected, FIG. 8 is adopted. The method shown is for session switching.
  • the access node 1 After the charging ends, the access node 1 notifies the distribution processing module 1B, and the distribution processing module 1B sends the subsequent session to the other service node, and after the first protocol processing module 2C and the service processing module 2A of the service node process, the second protocol
  • the processing module 2D is encapsulated into a standard Diameter message and sent to the OCS.
  • the response message goes from the second protocol processing module 2D to the service processing module 2A to the first protocol processing module 2C to the distribution processing module 1B to the access proxy module and then to the Diameter Client.
  • the first protocol processing module 2C and the second protocol processing module 2D respectively delete the session information saved in the local memory and the session information in the distributed cache.
  • the planning first upgrades the first service node, and the distribution processing module of the access node updates other normal running service nodes online as the load sharing node.
  • the service processing part of the first service node is partially upgraded, and the incomplete session originally processed at the first service node is taken over by other service nodes through FIG.
  • the other service nodes are upgraded according to the above.
  • the distribution processing module of the access node updates all the service nodes online to the normal state.
  • Embodiments of the present disclosure also provide a non-transitory computer readable storage medium storing a computer Execution of instructions, the computer executable instructions being arranged to perform the method of any of the above embodiments.
  • the embodiment of the present disclosure further provides a schematic structural diagram of an access point device.
  • the electronic device includes:
  • At least one processor 130 which is exemplified by a processor 130 in FIG. 13; and a memory 131, may further include a communication interface 132 and a bus 133.
  • the processor 130, the communication interface 132, and the memory 131 can complete communication with each other through the bus 133.
  • Communication interface 132 can be used for information transfer.
  • the processor 130 can invoke logic instructions in the memory 131 to perform the methods of the above-described embodiments.
  • logic instructions in the memory 131 described above may be implemented in the form of a software functional unit and sold or used as a stand-alone product, and may be stored in a computer readable storage medium.
  • the memory 131 is a computer readable storage medium, and can be used to store a software program, a computer executable program, a program instruction/module corresponding to the method in the embodiment of the present disclosure.
  • the processor 130 executes the function application and the data processing by executing the software program, the instruction and the module stored in the memory 131, that is, the session switching control method in the above method embodiment.
  • the memory 131 may include a storage program area and an storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to usage of the terminal device, and the like. Further, the memory 131 may include a high speed random access memory, and may also include a nonvolatile memory.
  • the technical solution of the embodiments of the present disclosure may be embodied in the form of a software product stored in a storage medium, including one or more instructions for causing a computer device (which may be a personal computer, a server, or a network) The device or the like) performs all or part of the steps of the method described in the embodiments of the present disclosure.
  • the foregoing storage medium may be a non-transitory storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like. a medium that can store program code, or it can be temporary State storage medium.
  • the session switching control scheme of the present disclosure When the session switching control scheme of the present disclosure is applied to an online charging system, compared with related technologies, the effect of online charging load balancing is achieved, the performance of the online charging service system is improved, and the business volume can be expanded and expanded in the future. If the service node is increased, the service node is reduced, and the service node is also reduced.
  • the load balancing can reasonably utilize resources to realize the elastic expansion and contraction of the service system.
  • the service processing part of the service system needs to be upgraded frequently to meet some personalized requirements of the user, and the protocol processing part is relatively stable. After the session switching function is used, the service processing can be smoothly upgraded and the impact on the online service can be reduced. To facilitate the maintenance of business systems.
  • the session switching control method, device, and access point device provided by the present application can be used to switch the session from the original service node to another service node and be taken over by other service nodes when the service node fails to cause the session to be switched. Causing call loss.

Abstract

The present application discloses a session switching control method and apparatus and an access point device. When determining that a call is established on a service node, storing session information of the call session into a caching device; hence, when session switching is required due to factors like service node fault, a target service node can be determined for each session to be switched from other service nodes except for the service node on which the sessions are established; the target service node is controlled to extract from the caching device the session information of a session to be switched; and the session to be switched is restored according to the extracted session information. Thus, the session is switched from one service node to the other service node, and subsequent messages of the session can be continuously processed after the session is switched. Therefore, when session switching is required due to factors like service node fault, the session is switched to other service nodes from the original service node to be taken over by the other service nodes, thus avoiding lost calls.

Description

会话切换控制方法、装置及接入点设备Session switching control method, device and access point device 技术领域Technical field
本申请涉及通信领域,例如涉及一种会话切换控制方法、装置及接入点设备。The present application relates to the field of communications, for example, to a session switching control method, apparatus, and access point device.
背景技术Background technique
随着运营商业务的飞速发展,运营商对业务系统在线计费的支撑能力、可靠性、可扩展性要求越来越高。在线计费通过Diameter协议和OCS(Online Chaiging System)交互,用户通话开始发送初始(Initial)消息开始计费,通话过程中以预定的时间间隔发送更新(Update)消息保持,通话结束发送结束(Terminal)消息完成计费。这一个完整的过程称为Diameter的一个会话(Session)。With the rapid development of carrier services, operators are increasingly demanding support, reliability, and scalability for online charging of business systems. Online charging is exchanged between the Diameter protocol and the OCS (Online Chaiging System). The user's call starts to send the initial (Initial) message to start charging. During the call, the update message is sent at a predetermined time interval. The end of the call is terminated (Terminal) The message completes the billing. This complete process is called a session of Diameter.
由于要保持会话的连续性,相关业务系统,如图1,其包括接入节点10、业务集群20、前置节点30以及OCS 40(Online Charging System,在线计费系统)。也即相关业务系统中一般采用一个前置节点30完成协议处理,多个业务节点20完成负荷分担,此时前置节点30也成了系统性能的瓶颈,前置节点30无法满足不断扩展的业务节点话务量的提高的需求。为了避免前置节点30称为系统的性能瓶颈,另一种相关业务系统如图2所示,去掉了前置节点,同时在业务节点20做协议处理和业务处理,此时,接入节点10可以识别会话信息,将同一会话的消息发往同一个业务节点,但如果其中一个业务节点出现宕机或者不通等故障,该业务节点上未处理完的会话,其他业务节点无法接管,从而引起呼叫损失。The related service system, as shown in FIG. 1, includes an access node 10, a service cluster 20, a pre-node 30, and an OCS 40 (Online Charging System). That is, the related service system generally adopts a pre-node 30 to complete the protocol processing, and multiple service nodes 20 complete the load sharing. At this time, the pre-node 30 also becomes a bottleneck of system performance, and the pre-node 30 cannot satisfy the continuously expanding service. The increased demand for node traffic. In order to avoid the front node 30 being called the performance bottleneck of the system, another related service system is shown in FIG. 2, the predecessor node is removed, and the protocol processing and service processing are performed at the service node 20. At this time, the access node 10 The session information can be identified, and the message of the same session is sent to the same service node. However, if one of the service nodes has a failure such as downtime or failure, the unprocessed session on the service node cannot be taken over by other service nodes, thereby causing the call. loss.
发明内容Summary of the invention
本公开实施例为解决:相关业务节点故障时,业务节点上的会话无法由其他业务节点接管导致呼叫损失的问题,提供一种会话切换控制方法、装置及接入点设备。 The embodiment of the present disclosure provides a session switching control method, device, and access point device, in which the session on the service node cannot be taken over by other service nodes to cause call loss when the related service node fails.
为了解决上述问题,本公开一实施例提供了一种会话切换控制方法,包括:In order to solve the above problem, an embodiment of the present disclosure provides a session switching control method, including:
当呼叫在业务节点上建立后,将该呼叫之会话的会话信息存储于缓存设备中;After the call is established on the service node, the session information of the session of the call is stored in the cache device;
判定需要进行会话切换时,为待切换的会话确定目标业务节点,控制目标业务节点从所述缓存设备中提取待切换会话的会话信息、并根据提取的会话信息对待切换会话进行恢复。When it is determined that the session is to be switched, the target service node is determined for the session to be switched, and the control target service node extracts the session information of the session to be switched from the cache device, and restores the handover session according to the extracted session information.
为了解决上述问题,本公开另一实施例提供了一种会话切换控制装置,包括:In order to solve the above problem, another embodiment of the present disclosure provides a session switching control apparatus, including:
缓存控制模块,被配置为当呼叫在业务节点上建立后,控制该业务节点将该呼叫之会话的会话信息存储于缓存设备中;a cache control module, configured to: after the call is established on the service node, control the service node to store the session information of the session of the call in the cache device;
切换控制模块,被配置为判定需要进行会话切换时,为待切换的会话确定目标业务节点,控制目标业务节点从所述缓存设备中提取待切换会话的会话信息,并根据提取的会话信息对待切换会话进行恢复。The switching control module is configured to determine a target service node for the session to be switched when the session switching needs to be performed, and the control target service node extracts session information of the session to be switched from the cache device, and switches the session information according to the extracted session information. The session is restored.
为了解决上述问题,本公开另一实施例提供了一种接入点设备,包括:接入模块和处理模块;In order to solve the above problem, another embodiment of the present disclosure provides an access point device, including: an access module and a processing module;
所述接入模块被配置为接入呼叫;The access module is configured to access a call;
所述处理模块被配置为将该呼叫发给业务节点,当所述呼叫在业务节点上建立后,控制该业务节点将该呼叫之会话的会话信息存储于缓存设备中;以及判定需要进行会话切换时,为待切换的会话确定目标业务节点,控制目标业务节点从所述缓存设备中提取待切换会话的会话信息,并根据提取的会话信息对待切换会话进行恢复。The processing module is configured to send the call to the service node, and after the call is established on the service node, control the service node to store session information of the session of the call in the cache device; and determine that session switching is required The target service node is determined for the session to be switched, and the control target service node extracts the session information of the session to be switched from the cache device, and restores the handover session according to the extracted session information.
为了解决上述问题,本公开另一实施例提供了一种接入点设备,包括处理器和存储器,所述处理器调用所述存储器中的模块执行以下步骤:In order to solve the above problems, another embodiment of the present disclosure provides an access point device including a processor and a memory, and the processor calls a module in the memory to perform the following steps:
接入呼叫;Access call
将该呼叫发给业务节点,当所述呼叫在业务节点上建立后,将该呼叫之会话的会话信息存储于缓存设备中;以及判定需要进行会话切换时,为待切换的会话确定目标业务节点,控制目标业务节点从所述缓存设备中提取待切换会话的会话信息,并根据提取的会话信息对待切换会话进行恢复。 Sending the call to the service node, when the call is established on the service node, storing the session information of the session of the call in the cache device; and determining that the session handover is required, determining the target service node for the session to be switched And controlling the target service node to extract the session information of the session to be switched from the cache device, and recover the handover session according to the extracted session information.
本公开实施例还提供了一种非暂态计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行上述方法。Embodiments of the present disclosure also provide a non-transitory computer readable storage medium storing computer executable instructions arranged to perform the above method.
上述技术方案中的一个技术方案具有如下有益效果:One of the above technical solutions has the following beneficial effects:
本公开提供了一种会话切换控制方法、装置及接入点设备,当判定呼叫在业务节点上建立后,将该呼叫之会话的会话信息先存储于缓存设备中;这样当由于业务节点故障等因素导致需要进行会话切换时,则可以从这些会话所在业务节点之外的其他业务节点中,为待切换的各会话确定目标业务节点,然后控制目标业务节点从缓存设备中提取待切换会话的会话信息、并根据提取的会话信息对待切换会话进行恢复。这样就完成了将会话从一个业务节点切换到另一个业务节点,会话切换后可以继续处理该会话的后续消息。因此本公开实施例提供的方案可以实现在业务节点故障等因素导致会话需要切换时,将该会话由原业务节点切换到其他业务节点上由其他业务节点接管,避免造成呼叫损失。The present disclosure provides a session switching control method, apparatus, and access point device. When it is determined that a call is established on a service node, the session information of the session of the call is first stored in the cache device; When a factor is required to perform session switching, the target service node may be determined for each session to be switched from other service nodes other than the service node where the session is located, and then the target service node is controlled to extract the session of the session to be switched from the cache device. Information, and the switching session is restored according to the extracted session information. This completes the process of switching the session from one service node to another, and can continue to process subsequent messages of the session after the session is switched. Therefore, the solution provided by the embodiment of the present disclosure can be implemented when the session needs to be switched, such as a service node failure, and the session is switched from the original service node to another service node to be taken over by other service nodes, thereby avoiding call loss.
附图概述BRIEF abstract
图1为一种相关业务计费系统结构示意图;1 is a schematic structural diagram of a related service charging system;
图2为另一种相关业务计费系统结构示意图;2 is a schematic structural diagram of another related service charging system;
图3为本公开实施例一提供的会话切换控制方法流程示意图;FIG. 3 is a schematic flowchart of a session switching control method according to Embodiment 1 of the present disclosure;
图4为本公开实施例二提供的会话切换控制装置结构示意图;4 is a schematic structural diagram of a session switching control apparatus according to Embodiment 2 of the present disclosure;
图5为本公开实施例三提供的接入点设备结构示意图;FIG. 5 is a schematic structural diagram of an access point device according to Embodiment 3 of the present disclosure;
图6为本公开实施例四提供的会话接入过程中会话信息的缓存示意图;FIG. 6 is a schematic diagram of buffering session information in a session access process according to Embodiment 4 of the present disclosure;
图7为本公开实施例四提供的业务节点故障时会话切换示意图;FIG. 7 is a schematic diagram of session switching when a service node fails according to Embodiment 4 of the present disclosure;
图8为本公开实施例四提供的单个会话失败时的切换示意图;FIG. 8 is a schematic diagram of handover when a single session fails according to Embodiment 4 of the present disclosure; FIG.
图9为本公开实施例四提供的业务节点升级时会话切换示意图;FIG. 9 is a schematic diagram of session switching when a service node is upgraded according to Embodiment 4 of the present disclosure;
图10为本公开实施例四提供的会话删除示意图;FIG. 10 is a schematic diagram of session deletion according to Embodiment 4 of the present disclosure;
图11为本公开实施例四提供的业务系统结构示意图;11 is a schematic structural diagram of a service system according to Embodiment 4 of the present disclosure;
图12为本公开实施例四提供的另一业务系统结构示意图;以及 FIG. 12 is a schematic structural diagram of another service system according to Embodiment 4 of the present disclosure;
图13是本公开实施例提供的接入点设备的结构示意图。FIG. 13 is a schematic structural diagram of an access point device according to an embodiment of the present disclosure.
具体实施方式detailed description
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例只是本公开中一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。The technical solutions in the embodiments of the present disclosure are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present disclosure. It is obvious that the described embodiments are only a part of the embodiments of the present disclosure, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present disclosure without departing from the inventive scope are the scope of the disclosure.
现通过实施方式结合附图的方式对本公开做出诠释说明。The present disclosure will now be explained by way of embodiments with reference to the accompanying drawings.
实施例一:Embodiment 1:
本实施例通过在系统中设置缓存设备以在呼叫过程中,对呼叫的会话之会话信息进行缓存。在需要对会话进行切换时,则可为其他业务节点提供会话信息以供其他业务节点恢复会话,完成会话的切换,保证该会话后续可以继续正常处理,避免造成会话损失。本实施例提供的会话切换控制方法参见图3所示,包括:In this embodiment, the cache device is set in the system to cache the session information of the called session during the call. When the session needs to be switched, the session information can be provided to other service nodes for the other service nodes to resume the session, and the session is switched to ensure that the session can continue to be processed normally to avoid session loss. The session switching control method provided in this embodiment is shown in FIG. 3, and includes:
S301:当呼叫在业务节点上建立后,将该呼叫之会话的会话信息存储于缓存设备中。S301: After the call is established on the service node, the session information of the session of the call is stored in the cache device.
S302:判定需要进行会话切换时,为待切换的会话确定目标业务节点。S302: Determine, when a session handover is required, determine a target service node for the session to be switched.
S303:控制目标业务节点从缓存设备中提取待切换会话的会话信息、并根据提取的会话信息对待切换会话进行恢复。S303: The control target service node extracts session information of the session to be switched from the cache device, and restores the handover session according to the extracted session information.
应当理解的是,本实施例中的会话包括但不限于呼叫的在线计费会话。本实施例中的缓存设备可以是存储数据的各种设备,包括但不限于分布式缓存集群。本实施例中缓存设备所存储的会话信息可以仅包括用于进行会话恢复的各种业务相关信息,还可以根据实际应用需求包含其他信息。另外,为了进行会话恢复时便于精准查找,上述S301中将会话的会话信息存储于缓存设备中包括:It should be understood that the session in this embodiment includes, but is not limited to, an online charging session for a call. The cache device in this embodiment may be various devices that store data, including but not limited to distributed cache clusters. The session information stored in the cache device in this embodiment may include only various service-related information for performing session recovery, and may include other information according to actual application requirements. In addition, in the S301, the session information of the session is stored in the cache device in the S301.
将用于识别会话的唯一识别标识(也即会话的唯一ID,例如主键)与该会话的会话信息绑定存储于所述缓存设备中。A unique identification identifier (ie, a unique ID of the session, such as a primary key) for identifying the session is stored in the cache device with the session information of the session.
在本实施例中,当检测到出现以下情况中的至少一种时,则判定需要进行 会话切换:In the present embodiment, when it is detected that at least one of the following cases is detected, it is determined that it is necessary to perform Session switching:
情况一:向会话当前所在的业务节点发送该会话的消息发送失败;这种情况涉及到单个会话执行失败时的切换。此处发送的会话的消息可能是维持该会话或结束该会话的消息。Case 1: The message sending the session to the service node where the session is currently located fails to be sent; this case involves switching when a single session fails to execute. The message for the session sent here may be a message to maintain the session or end the session.
情况二:承载有会话的业务节点故障;例如该业务节点宕机或由于不通等故障时,则需要将该业务节点上当前承载的会话(这些会话一般都是未完成的会话)切换到其他业务节点上以继续处理,避免导致呼叫损失。Case 2: The service node carrying the session is faulty; for example, if the service node is down or fails due to a failure, the session currently carried on the service node (these sessions are generally incomplete sessions) need to be switched to other services. Continue processing on the node to avoid causing call loss.
情况三:承载有会话的业务节点需要升级。本实施例中当一个业务节点需要升级时,为了避免对该业务节点上当前承载的会话产生影响,也可以事先将该待升级业务节点上的各会话切换到其他业务节点上。通过该处理方式可以对业务集群中的各业务节点逐步完成升级。Case 3: The service node hosting the session needs to be upgraded. In this embodiment, when a service node needs to be upgraded, in order to avoid affecting the session currently carried on the service node, each session on the service node to be upgraded may be switched to another service node in advance. This processing mode can be used to gradually upgrade each service node in the service cluster.
以上情况二和情况三则涉及到对一个业务节点上当前未完成的所有会话进行批量升级。此时一个业务节点上未完成的会话可能为0,也可能会1个或2个以上。本实施例在为这些待切换的会话确定目标业务节点时,可以根据负载均衡原则从其他业务节点(也即除待切换会话原承载业务节点之外的其他业务节点)中为待切换的会话确定目标业务节点。Case 2 and Case 3 above involve batch upgrade of all sessions that are currently not completed on a service node. At this point, the incomplete session on a service node may be 0 or 1 or more. In this embodiment, when determining the target service node for the session to be switched, the session to be switched may be determined from the other service nodes (that is, other service nodes except the original session bearer service node to be switched) according to the load balancing principle. Target business node.
本实施例中,在判定需要进行会话切换时,为各待切换的会话选定好目标业务节点之后,控制目标业务节点从缓存设备中提取待切换会话的会话信息包括:In this embodiment, after determining that the session switching needs to be performed, after selecting the target service node for each session to be switched, the control target service node extracts the session information of the session to be switched from the cache device, including:
针对各待切换会话,向对应的目标业务节点发送会话切换请求,所发送的会话切换请求包含用于指示目标业务节点从缓存设备中提取待切换会话的会话信息之唯一识别标识。各目标业务节点接收到会话切换请求之后,就可以根据该会话切换请求中的唯一识别标识从缓存设备中提取待切换会话的会话信息,并根据该会话信息进行会话恢复处理。各目标业务节点可以根据唯一识别标识到缓存设备对应的缓存区提取对应的会话信息(包括用于进行会话业务恢复的各种业务信息),然后存储在本地相应的数据区即完成对该会话的恢复。And sending, to each of the to-be-switched sessions, a session switching request to the corresponding target service node, where the sent session switching request includes a unique identification identifier for indicating that the target service node extracts session information of the to-be-switched session from the cache device. After receiving the session switching request, each target service node may extract the session information of the session to be switched from the cache device according to the unique identification identifier in the session switching request, and perform session recovery processing according to the session information. Each target service node may extract corresponding session information (including various service information for performing session service recovery) according to the unique identification identifier to the buffer corresponding to the cache device, and then store the corresponding data area in the local area to complete the session. restore.
本实施例中,当控制一个会话由原业务节点切换到其他业务节点上后,还控制原业务节点删除该会话在本地存储的会话信息。对于上述情况一和情况三,可以直接发消息通知业务节点删除本地存储的进行了切换处理的会话的消息。 对于上述情况二,则可以在检测到业务节点由故障恢复正常之后,向其发送消息通知其删除之前本地存储的各会话的会话信息。In this embodiment, after controlling a session to be switched from the original service node to another service node, the original service node is also controlled to delete the session information stored locally in the session. For the foregoing case 1 and case 3, the service node may be directly sent to notify the service node to delete the locally stored message of the session that has been switched. For the second case, after detecting that the service node recovers from the fault, the service node is sent a message to notify it to delete the session information of each session stored locally before.
本实施例中,当检测到一个呼叫结束后,还包括控制该呼叫之会话当前所在的业务节点删除本地以及缓存设备中该会话的会话信息。In this embodiment, after detecting the end of a call, the service node where the session controlling the call is currently located deletes the session information of the session in the local and cache devices.
本实施例提供的方案,在系统中设置缓存设备以进行会话信息缓存。在需要对会话进行切换时,缓存设备为其他业务节点提供会话信息以供其他业务节点恢复会话,完成会话的切换,保证该会话后续可以继续正常处理,避免造成会话损失。应当理解的是,本实施提供的方案适用于呼叫的在线计费系统,例如适用于在线计费的Diameter协议,也适用于其他会话的相关协议。In the solution provided by this embodiment, a cache device is set in the system to cache session information. When the session needs to be switched, the cache device provides session information for other service nodes to restore the session to other service nodes, completes the session switch, and ensures that the session can continue to be processed normally to avoid session loss. It should be understood that the solution provided by the present embodiment is applicable to an online charging system for calling, such as the Diameter protocol applicable to online charging, and the related protocol for other sessions.
本实施例中图3所示的控制过程可以通过专门设置的会话切换控制装置完成,也可以直接借助相关业务系统中的节点完成,例如可以直接通过接入节点完成。下面分别以两种情况进行示例说明。The control process shown in FIG. 3 in this embodiment may be completed by a specially configured session switching control device, or may be directly performed by a node in the related service system, for example, directly through an access node. The following examples are given in two cases.
实施例二:Embodiment 2:
请参见图4所示,本实施例提供了会话切换控制装置,其可以通过各种服务器或其他控制终端实现,包括:Referring to FIG. 4, the embodiment provides a session switching control apparatus, which can be implemented by various servers or other control terminals, including:
缓存控制模块41,被配置为当呼叫在业务节点上建立后,控制该业务节点将该呼叫之会话的会话信息存储于缓存设备中。The cache control module 41 is configured to, after the call is established on the service node, control the service node to store the session information of the session of the call in the cache device.
应当理解的是,本实施例中的会话包括但不限于呼叫的在线计费会话。本实施例中的缓存设备可以是存储数据的各种设备。本是实施例中缓存设备所存储的会话信息至少包括用于进行会话恢复的各信息。另外,为了进行会话恢复时便于精准查找,缓存控制模块41将会话的会话信息存储于缓存设备中包括:将用于识别会话的唯一识别标识(也即会话的唯一ID)与该会话的会话信息绑定存储于所述缓存设备中。It should be understood that the session in this embodiment includes, but is not limited to, an online charging session for a call. The cache device in this embodiment may be various devices that store data. The session information stored in the cache device in the embodiment includes at least information for performing session recovery. In addition, in order to facilitate accurate searching during session recovery, the cache control module 41 stores the session information of the session in the cache device, including: a unique identification identifier (ie, a unique ID of the session) for identifying the session and session information of the session. The binding is stored in the cache device.
切换控制模块42,被配置为判定需要进行会话切换时,为待切换的会话确定目标业务节点,控制目标业务节点从所述缓存设备中提取待切换会话的会话信息、并根据提取的会话信息对待切换会话进行恢复。The switching control module 42 is configured to determine a target service node for the session to be switched when the session switching needs to be performed, and control the target service node to extract the session information of the session to be switched from the cache device, and treat the session information according to the extracted session information. Switch sessions to recover.
本实施例中的会话切换控制装置可以是独立于接入节点之外的一个单独进行会话切换的控制装置,其可以检测接入节点与业务节点之间的消息交互情况, 从而检测呼叫是否建立完成,其可以在检测到业务节点向接入节点反馈呼叫初始消息的应答后,则判定呼叫建立完成。且会话切换控制装置还可以通过检测接入节点与业务节点之间的消息交互情况判断某一个会话是否失败,或某一业务节点是否故障等。当然应当理解的是,本实施例中的会话切换控制装置也可以直接监测业务节点的状态以判断其是否故障。The session switching control apparatus in this embodiment may be a control device that performs session switching independently of the access node, and may detect a message interaction between the access node and the service node. Thereby detecting whether the call is established or not, it may determine that the call setup is completed after detecting that the service node feeds back the response of the call initial message to the access node. The session switching control device can also determine whether a session fails or whether a service node is faulty by detecting a message interaction between the access node and the service node. It should be understood that the session switching control apparatus in this embodiment may also directly monitor the status of the service node to determine whether it is faulty.
本实施例中,切换控制模块42检测到出现以下情况中的至少一种时,判定需要进行会话切换:In this embodiment, when the handover control module 42 detects that at least one of the following occurs, it is determined that a session handover is required:
情况一:向会话当前所在的业务节点发送该会话的消息发送失败;这种情况涉及到单个会话执行失败时的切换。Case 1: The message sending the session to the service node where the session is currently located fails to be sent; this case involves switching when a single session fails to execute.
情况二:承载有会话的业务节点故障;例如该业务节点宕机或由于不通等故障时,则需要将该业务节点上当前承载的会话(这些会话一般都是未完成的会话)切换到其他业务节点上以继续处理,避免导致呼叫损失。Case 2: The service node carrying the session is faulty; for example, if the service node is down or fails due to a failure, the session currently carried on the service node (these sessions are generally incomplete sessions) need to be switched to other services. Continue processing on the node to avoid causing call loss.
情况三:承载有会话的业务节点需要升级。本实施例中当一个业务节点需要升级时,为了避免对该业务节点上当前承载的会话产生影响,切换控制模块42也可以事先将该待升级业务节点上的各会话切换到其他业务节点上。通过该处理方式可以对业务集群中的各业务节点逐步完成升级。Case 3: The service node hosting the session needs to be upgraded. In this embodiment, when a service node needs to be upgraded, the handover control module 42 may switch the sessions on the service node to be upgraded to other service nodes in advance in order to avoid the impact on the currently carried session. This processing mode can be used to gradually upgrade each service node in the service cluster.
应当理解的是,切换控制模块42对于上述情况二和情况三会对该业务节点上当前未完成的所有会话进行批量切换。此时一个业务节点上未完成的会话可能为0,也可能会1个或2个以上。本实施例切换控制模块42在为这些待切换的会话确定目标业务节点时,可以根据负载均衡原则从其他业务节点(也即除待切换会话原承载业务节点之外的其他业务节点)中为待切换的会话确定目标业务节点。It should be understood that the handover control module 42 performs batch handover of all sessions currently not completed on the service node for the above case 2 and case 3. At this point, the incomplete session on a service node may be 0 or 1 or more. In the embodiment, when the target control node is determined for the sessions to be switched, the handover control module 42 may wait for other service nodes (that is, other service nodes except the original session bearer service node to be switched) according to the load balancing principle. The switched session determines the target service node.
应当理解的是,本实施例中的会话切换控制装置,其可以通过各种服务器或其他控制终端时,其缓存控制模块41和切换控制模块42的上述功能可以通过服务器或者终端的处理器或控制器实现。It should be understood that, when the session switching control apparatus in this embodiment can pass various servers or other control terminals, the above functions of the cache control module 41 and the switching control module 42 can be processed by the processor or the terminal. Implemented.
本实施例中,切换控制模块42在判定需要进行会话切换时,为各待切换的会话选定好目标业务节点之后,控制目标业务节点从缓存设备中提取待切换会话的会话信息包括: In this embodiment, after the handover control module 42 determines that the target service node is selected for each session to be switched, the control target service node extracts the session information of the session to be switched from the cache device, including:
切换控制模块42针对各待切换会话,向对应的目标业务节点发送会话切换请求,所发送的会话切换请求包含用于指示目标业务节点从缓存设备中提取待切换会话的会话信息之唯一识别标识。各目标业务节点接收到会话切换请求之后,就可以根据该会话切换请求中的唯一识别标识从缓存设备中提取待切换会话的会话信息,并根据该会话信息进行会话恢复处理。The handover control module 42 sends a session handover request to the corresponding target service node for each to-be-switched session, and the sent session handover request includes a unique identification identifier for indicating that the target service node extracts session information of the to-be-switched session from the cache device. After receiving the session switching request, each target service node may extract the session information of the session to be switched from the cache device according to the unique identification identifier in the session switching request, and perform session recovery processing according to the session information.
本实施例中,切换控制模块42控制一个会话由原业务节点切换到其他业务节点上后,还控制原业务节点删除该会话在本地存储的会话信息。对于上述情况一和情况三,切换控制模块42可以直接发消息通知业务节点删除本地存储的进行了切换处理的会话的消息。对于上述情况二,切换控制模块42则可以在检测到业务节点由故障恢复正常之后,向其发送消息通知其删除之前本地存储的各会话的会话信息。In this embodiment, after the handover control module 42 controls a session to be switched from the original service node to another service node, the original service node is also controlled to delete the session information stored locally in the session. For the foregoing case 1 and case 3, the handover control module 42 may directly send a message to the service node to delete the locally stored message of the session in which the handover process is performed. For the foregoing case 2, the handover control module 42 may send a message to the service node to detect the session information of each session stored locally before deleting the fault after the service node is recovered from the fault.
本实施例中,切换控制模块42当检测到一个呼叫结束后,还包括控制该呼叫之会话当前所在的业务节点删除本地以及缓存设备中该会话的会话信息。In this embodiment, after detecting that a call is over, the handover control module 42 further includes the service node where the session in which the call is currently located deletes the session information of the session in the local and cache devices.
本实施例提供的会话切换控制装置通过在呼叫过程中,控制缓存设备进行会话信息缓存。在需要对会话进行切换时,控制缓存设备为其他业务节点提供会话信息以供其他业务节点恢复会话,完成会话的切换,保证该会话后续可以继续正常处理,避免造成会话损失。The session switching control apparatus provided in this embodiment controls the cache device to perform session information caching during the call process. When the session needs to be switched, the control cache device provides session information for other service nodes to restore the session to other service nodes, completes the session switch, and ensures that the session can continue to be processed normally to avoid session loss.
实施例三:Embodiment 3:
请参见图5所示,本实施例还提供了一种接入点设备(以下简称接入点),其接入模块51和处理模块52;Referring to FIG. 5, the embodiment further provides an access point device (hereinafter referred to as an access point), an access module 51 and a processing module 52;
接入模块51被配置为接入呼叫。The access module 51 is configured to access the call.
本实施例中的接入模块51接收呼叫初始消息,将接收到的呼叫初始消息发给处理52。且本实施例中的接入模块51在接入协议比较复杂时,其可以只完成接入代理功能,接入协议处理部分则可部署于业务节点由业务节点完成接入协议的处理。当然本实施例中的接入模块51在能力允许情况下,也可以直接进行接入协议的处理。The access module 51 in this embodiment receives the call initial message and sends the received call initial message to the process 52. The access module 51 in this embodiment may only perform the access proxy function when the access protocol is relatively complex, and the access protocol processing portion may be deployed on the service node to complete the processing of the access protocol by the service node. Of course, the access module 51 in this embodiment may directly perform the processing of the access protocol when the capability permits.
应当理解的是,本实施例中的接入可以是多样的,比如应用于第三方扣费业务,可以是http协议接入;应用于传统的语音业务,可以是sip协议接入;应 用于Diameter Proxy,可以是Diameter协议接入;应用于系统内部的消息流程,还可以是自定义的内部协议接入。此时,接入模块51完成协议接入的功能。It should be understood that the access in this embodiment may be diverse, for example, applied to a third-party deduction service, which may be an http protocol access; and applied to a traditional voice service, which may be a sip protocol access; It is used for Diameter Proxy, which can be accessed by Diameter protocol; it can be applied to the internal message flow of the system, or it can be customized internal protocol access. At this time, the access module 51 completes the function of protocol access.
处理模块52,本实施例中的处理模块52可以为分发处理模块,被配置为将该呼叫发给业务节点,且当检测到呼叫在业务节点上建立后,控制业务节点将该呼叫之会话的会话信息存储于缓存设备中;以及判定需要进行会话切换时,为待切换的会话确定目标业务节点,控制目标业务节点从所述缓存设备中提取待切换会话的会话信息、并根据提取的会话信息对待切换会话进行恢复。The processing module 52, in this embodiment, may be a distribution processing module configured to send the call to the service node, and after detecting that the call is established on the service node, control the service node to the session of the call. The session information is stored in the cache device; and when it is determined that the session switch needs to be performed, the target service node is determined for the session to be switched, and the control target service node extracts the session information of the session to be switched from the cache device, and according to the extracted session information. Respond to the switching session.
处理模块52将呼叫发给业务节点,例如将接收到的呼叫初始消息发给对应的业务节点。处理模块52接收到业务节点反馈的呼叫初始消息的应答后,则判定该呼叫已经在业务节点建立。The processing module 52 sends the call to the service node, for example, sends the received call initial message to the corresponding service node. After receiving the response of the call initial message fed back by the service node, the processing module 52 determines that the call has been established at the service node.
但当理解的是,本实施例中的会话包括但不限于呼叫的在线计费会话。本实施例中的缓存设备可以是存储数据的各种设备。本是实施例中缓存设备所存储的会话信息至少包括用于进行会话恢复的各信息。另外,为了进行会话恢复时便于精准查找,处理模块52控制业务节点将会话的会话信息存储于缓存设备中包括:向业务节点发送相应的通知消息,该通知消息中包含会话的唯一识别标识(也即会话的唯一ID)。业务节点收到该通知消息后,将用于识别会话的唯一识别标识(也即会话的唯一ID)与该会话的会话信息绑定存储于缓存设备中。缓存设备可以是各种存储设备,例如采用分布式缓存集群。However, it is understood that the session in this embodiment includes, but is not limited to, an online charging session for a call. The cache device in this embodiment may be various devices that store data. The session information stored in the cache device in the embodiment includes at least information for performing session recovery. In addition, in order to facilitate the accurate search in the session recovery, the processing module 52 controls the service node to store the session information of the session in the cache device, including: sending a corresponding notification message to the service node, where the notification message includes the unique identification identifier of the session (also That is, the unique ID of the session). After receiving the notification message, the service node binds the unique identification identifier (ie, the unique ID of the session) used to identify the session to the cache device in the session information of the session. The cache device can be a variety of storage devices, such as a distributed cache cluster.
处理模块52为待切换的会话确定目标业务节点时,可以通过负载平衡原则为各待切换的会话,从各会话所在的业务节点之外的其他业务节点中确定目标业务节点。When the processing module 52 determines the target service node for the session to be switched, the target service node may be determined from the other service nodes except the service node where each session is located for each session to be switched through the load balancing principle.
本实施例中,处理模块52检测到出现以下情况中的至少一种时,判定需要进行会话切换:In this embodiment, when the processing module 52 detects that at least one of the following occurs, it is determined that a session switch needs to be performed:
情况一:向会话当前所在的业务节点发送该会话的消息发送失败;这种情况涉及到单个会话执行失败时的切换。Case 1: The message sending the session to the service node where the session is currently located fails to be sent; this case involves switching when a single session fails to execute.
情况二:承载有会话的业务节点故障;例如该业务节点宕机或由于不通等故障时,则需要将该业务节点上当前承载的会话(这些会话一般都是未完成的会话)切换到其他业务节点上以继续处理,避免导致呼叫损失。 Case 2: The service node carrying the session is faulty; for example, if the service node is down or fails due to a failure, the session currently carried on the service node (these sessions are generally incomplete sessions) need to be switched to other services. Continue processing on the node to avoid causing call loss.
情况三:承载有会话的业务节点需要升级。本实施例中当一个业务节点需要升级时,为了避免对该业务节点上当前承载的会话产生影响,处理模块52也可以事先将该待升级业务节点上的各会话切换到其他业务节点上。通过该处理方式可以对业务集群中的各业务节点逐步完成升级。Case 3: The service node hosting the session needs to be upgraded. In this embodiment, when a service node needs to be upgraded, the processing module 52 may switch the sessions on the service node to be upgraded to other service nodes in advance in order to avoid the impact on the currently-held session of the service node. This processing mode can be used to gradually upgrade each service node in the service cluster.
应当理解的是,处理模块52对于上述情况二和情况三会对该业务节点上当前未完成的所有会话进行批量切换。It should be understood that the processing module 52 performs batch switching on all the sessions currently not completed on the service node for the above case 2 and case 3.
应当理解的是,本实施例中的接入模块51和处理模块52的上述功能可以通过接入点设备的处理器或控制器实现。可以通过处理器实现,处理器可以调用接入点设备存储器中的模块完成本实施例中接入模块51和处理模块52的上述功能。It should be understood that the above functions of the access module 51 and the processing module 52 in this embodiment may be implemented by a processor or a controller of the access point device. It can be implemented by a processor, and the processor can call the module in the access point device memory to complete the foregoing functions of the access module 51 and the processing module 52 in this embodiment.
本实施例中,处理模块52在判定需要进行会话切换时,为各待切换的会话选定好目标业务节点之后,控制目标业务节点从缓存设备中提取待切换会话的会话信息包括:In this embodiment, the processing module 52, after determining that the session switching needs to be performed, selects the target service node for each session to be switched, and then the control target service node extracts the session information of the session to be switched from the cache device, including:
处理模块52针对各待切换会话,向对应的目标业务节点发送会话切换请求,所发送的会话切换请求包含用于指示目标业务节点从缓存设备中提取待切换会话的会话信息之唯一识别标识。各目标业务节点接收到会话切换请求之后,就可以根据该会话切换请求中的唯一识别标识从缓存设备中提取待切换会话的会话信息,并根据该会话信息进行会话恢复处理。The processing module 52 sends a session switching request to the corresponding target service node for each to-be-switched session, where the sent session switching request includes a unique identification identifier for indicating that the target service node extracts the session information of the to-be-switched session from the cache device. After receiving the session switching request, each target service node may extract the session information of the session to be switched from the cache device according to the unique identification identifier in the session switching request, and perform session recovery processing according to the session information.
本实施例中,处理模块52控制一个会话由原业务节点切换到其他业务节点上后,还控制原业务节点删除该会话在本地存储的会话信息。对于上述情况一和情况三,处理模块52可以直接发消息通知业务节点删除本地存储的进行了切换处理的会话的消息。对于上述情况二,处理模块52则可以在检测到业务节点由故障恢复正常之后,向其发送消息通知其删除之前本地存储的各会话的会话信息。In this embodiment, after the processing module 52 controls a session to be switched from the original service node to another service node, the original service node is also controlled to delete the session information stored locally in the session. For the first case and the third case, the processing module 52 can directly send a message to the service node to delete the locally stored message of the session that has been switched. For the foregoing case 2, the processing module 52 may send a message to the service node to detect the session information of each session stored locally before deleting the fault after the service node is recovered from the fault.
本实施例中,处理模块52当检测到一个呼叫结束后,还包括控制该呼叫之会话当前所在的业务节点删除本地以及缓存设备中该会话的会话信息。In this embodiment, the processing module 52, when detecting the end of a call, further includes the service node where the session in which the call is currently located deletes the session information of the session in the local and cache devices.
本实施例中接入点设备通过在呼叫过程中,控制缓存设备进行会话信息缓存。在需要对会话进行切换时,控制缓存设备为其他业务节点提供会话信息以供其他业务节点恢复会话,完成会话的切换,保证该会话后续可以继续正常处 理,避免造成会话损失。In this embodiment, the access point device controls the cache device to perform session information caching during the call process. When the session needs to be switched, the control cache device provides session information for other service nodes for other service nodes to resume the session, completes the session switch, and ensures that the session can continue to be normal. Reason, to avoid causing session loss.
实施例四:Embodiment 4:
为了更好的理解本公开,本实施例以缓存设备为分布式缓存集群,应用场景为呼叫的在线计费场景为例,对本公开进行示例说明。本实施例中的业务系统包括接入节点、包含多个业务节点的业务集群,与业务集群连接的缓存集群,以及与各业务节点连接的OCS(Online Charging System,在线计费系统)。其中接入节点包括呼叫接入模块(也即接入模块)、分发处理模块(也即处理模块),业务节点则包括业务处理模块和协议处理模块。基于以上应用场景,本实施例中进行会话信息缓存,以及各种情况下进行会话的切换过程如下。For a better understanding of the present disclosure, the present disclosure exemplifies the present disclosure by taking a cache device as a distributed cache cluster and an application scenario as an online charging scenario of a call. The service system in this embodiment includes an access node, a service cluster including multiple service nodes, a cache cluster connected to the service cluster, and an OCS (Online Charging System) connected to each service node. The access node includes a call access module (that is, an access module), a distribution processing module (that is, a processing module), and the service node includes a service processing module and a protocol processing module. Based on the above application scenario, the session information is cached in this embodiment, and the session switching process in each case is as follows.
请参见图6所示,会话接入过程中会话信息的缓存过程包括:Referring to FIG. 6, the process of caching session information during session access includes:
S601:接入节点的分发处理模块收到呼叫接入模块发送的呼叫初始消息,将呼叫初始消息发送给业务节点的业务处理模块。S601: The distribution processing module of the access node receives the initial call message sent by the call access module, and sends the initial call message to the service processing module of the service node.
S602:业务节点的业务处理模块完成业务逻辑处理,产生计费开始消息,发送给协议处理模块。S602: The service processing module of the service node completes the service logic processing, generates a charging start message, and sends the message to the protocol processing module.
S603:业务节点的协议处理模块组装成CCR Initial消息发给OCS。S603: The protocol processing module of the service node is assembled into a CCR Initial message and sent to the OCS.
S604:OCS返回响应,业务节点的协议处理模块将响应转发给业务处理模块,并在本机内存保存该会话的会话信息。S604: The OCS returns a response, and the protocol processing module of the service node forwards the response to the service processing module, and saves the session information of the session in the local memory.
S605:业务处理模块逻辑处理后发起呼叫,并将呼叫响应(也即呼叫初始消息的应答)转发给接入节点的分发处理模块。S605: The service processing module logically processes the call, and forwards the call response (that is, the response of the call initial message) to the distribution processing module of the access node.
S606:接入节点的分发处理模块收到呼叫初始消息的应答,判定呼叫已建立,发送通知消息(包含会话的唯一识别标识,可以使会话号)给业务节点。S606: The distribution processing module of the access node receives the response of the call initial message, determines that the call has been established, and sends a notification message (including the unique identification identifier of the session, which can make the session number) to the service node.
S607:业务节点协议处理模块收到通知消息,将会话的会话信息和该会话的唯一识别标识存入到分布式缓存集群。S607: The service node protocol processing module receives the notification message, and stores the session information of the session and the unique identification identifier of the session into the distributed cache cluster.
请参见图7所示,检测到某一业务节点(以下以业务节点A进行示例)故障时进行批量会话切换的过程包括以下步骤:Referring to FIG. 7, the process of performing batch session switching when detecting a fault of a service node (hereinafter referred to as service node A) includes the following steps:
S701:接入节点的分发处理模块检测到业务节点A宕机或者不通。S701: The distribution processing module of the access node detects that the service node A is down or not.
S702:接入节点的分发处理模块将属于业务节点A的存在会话切换,向其 他业务节点均匀发送会话切换消息,携带原会话的唯一识别标识。S702: The distribution processing module of the access node switches the presence session belonging to the service node A to the His service node evenly sends a session switch message carrying the unique identification of the original session.
S703:其他各个业务节点的协议处理模块到分布式缓存集群中调取相应的会话信息,在本地进行会话恢复,实现会话切换。S703: The protocol processing module of each of the other service nodes retrieves the corresponding session information from the distributed cache cluster, and performs session recovery locally to implement session switching.
S704:其他各个业务节点的协议处理模块可以继续处理原先属于业务节点A的会话的后续消息。S704: The protocol processing module of each of the other service nodes may continue to process subsequent messages of the session originally belonging to the service node A.
S705:接入节点的分发处理模块检测到业务节点A恢复时,通知业务节点A的协议处理模块删除原先内存中的会话缓存。S705: The distribution processing module of the access node detects that the service node A recovers, and notifies the protocol processing module of the service node A to delete the session cache in the original memory.
请参见图8所示,检测到某一会话发送失败时(仍以业务节点A为例),对该会话进行切换的过程如下:As shown in Figure 8, when a session fails to be sent (still with service node A as an example), the process of switching the session is as follows:
S801:接入节点的分发处理模块准备分发消息,此时发送会话的消息给业务节点A失败。S801: The distribution processing module of the access node prepares to distribute the message, and the message for sending the session fails to the service node A.
S802:接入节点分发处理模块发送该会话切换消息给其他业务节点中的一个(例如业务节点B),携带该会话的唯一识别标识。S802: The access node distribution processing module sends the session handover message to one of the other service nodes (for example, the service node B), and carries the unique identification identifier of the session.
S803:业务节点B的协议处理模块到分布式缓存中调取该会话的会话信息进行会话恢复,实现会话切换。S803: The protocol processing module of the service node B retrieves session information of the session from the distributed cache to perform session recovery, and implements session switching.
S804:接入节点分发处理模块将该会话后续的消息发往该业务节点B。S804: The access node distribution processing module sends a message subsequent to the session to the service node B.
S805:业务节点B协议处理模块可以继续处理该后续会话。S805: The service node B protocol processing module can continue to process the subsequent session.
S806:接入节点分发处理模块通知业务节点A的协议处理模块删除原先内存中的会话缓存。S806: The access node distribution processing module notifies the protocol processing module of the service node A to delete the session cache in the original memory.
请参见图9所示,本实施例中各业务节点进行升级时,下面以当前业务节点A升级为例,其会话切换过程包括:Referring to FIG. 9 , when the service node is upgraded in this embodiment, the current service node A is upgraded as an example, and the session switching process includes:
S901:业务节点A准备升级,接入节点的分发模块在线更新其他可以用于分发的业务节点信息。S901: The service node A is ready to be upgraded, and the distribution module of the access node updates online service node information that can be used for distribution.
S902:接入节点的分发模块通知业务节点A的协议处理模块删除本机会话缓存。S902: The distribution module of the access node notifies the protocol processing module of the service node A to delete the local session cache.
S903:接入节点的分发处理模块将属于业务节点A的存在会话切换,均匀发送会话切换消息给其他节点的协议处理模块,携带各会话的唯一识别标识。 S903: The distribution processing module of the access node switches the presence session of the service node A, and uniformly sends the session switching message to the protocol processing module of the other node, and carries the unique identification identifier of each session.
S904:其他各个业务节点的协议处理模块到分布式缓存集群中提取会话信息进行会话恢复,实现切换。S904: The protocol processing module of each of the other service nodes extracts session information from the distributed cache cluster to perform session recovery, and implements handover.
S905:其他各个业务节点的协议处理模块可以继续处理原先属于业务节点A的后续会话。S905: The protocol processing module of each of the other service nodes may continue to process subsequent sessions that originally belong to the service node A.
S906:其他业务节点按照上述方法依次升级。S906: The other service nodes are sequentially upgraded according to the foregoing method.
S907:待所有业务节点升级结束后,接入节点的分发模块重新更新业务节点信息。S907: After all the service nodes are upgraded, the distribution module of the access node re-updates the service node information.
本实施例中,当一个呼叫结束后,对于该呼叫的会话的删除过程参见图10所示,包括:In this embodiment, when a call ends, the process of deleting the session for the call is as shown in FIG. 10, and includes:
S1001:接入节点的分发处理模块收到呼叫结束消息,将消息发送给该呼叫的会话所在业务节点。S1001: The distribution processing module of the access node receives the call end message, and sends the message to the service node where the session of the call is located.
S1002:业务节点的业务处理模块产生计费结束消息,发送给协议处理模块。S1002: The service processing module of the service node generates an accounting end message, and sends the message to the protocol processing module.
S1003:业务节点的协议处理模块组装成CCR Terminal消息发给OCS。S1003: The protocol processing module of the service node is assembled into a CCR Terminal message and sent to the OCS.
S1004:OCS返回响应,业务节点的协议处理模块将内存中和分布式缓存中的会话都删除,然后将响应转发给业务处理模块。S1004: The OCS returns a response, and the protocol processing module of the service node deletes the session in the in-memory and the distributed cache, and then forwards the response to the service processing module.
S1005:业务节点的业务处理模块逻辑处理后继续将呼叫结束响应转发给接入节点。S1005: The service processing module of the service node logically processes and forwards the call termination response to the access node.
为了更好的理解本公开,下面以接入节点的呼叫接入模块进行接入协议(以Diameter协议为例)的处理,以及仅作为接入代理两种情况对本公开进行示例说明。For a better understanding of the present disclosure, the present disclosure is exemplified below by the access access module of the access node performing the access protocol (taking the Diameter protocol as an example) and only as an access proxy.
其中,呼叫接入模块进行接入协议的处理的系统结构示意图参见图11所示,包括:接入节点1,业务集群2,与业务集群连接的分布式缓存集群4以及在线计费系统OCS3。其中,接入节点1包括呼叫接入模块1A,其可被配置为处理Diameter服务端消息。基于该系统实现Diameter Client负载均衡时会话切换的处理过程如下:The system structure diagram of the processing of the access protocol by the call access module is shown in FIG. 11, and includes: an access node 1, a service cluster 2, a distributed cache cluster 4 connected to the service cluster, and an online charging system OCS3. The access node 1 comprises a call access module 1A, which can be configured to process Diameter server messages. The process of session switching based on the system to implement Diameter Client load balancing is as follows:
接入节点收到主叫接入消息,呼叫接入模块1A完成呼叫接入,分发处理模块1B对多个业务节点实现负荷分担,发往某一业务节点(如图中第一个业务节 点)。业务节点的业务处理模块2A收到呼叫接入的消息后,发起计费开始CCR Initial,业务节点的协议处理模块2B封装为标准的Diameter消息,发给OCS。The access node receives the caller's access message, and the call access module 1A completes the call access. The distribution processing module 1B performs load sharing on multiple service nodes and sends it to a certain service node (the first service section in the figure). point). After receiving the message of the call access, the service processing module 2A of the service node initiates the charging start CCR Initial, and the protocol processing module 2B of the service node encapsulates the standard Diameter message and sends it to the OCS.
OCS返回响应,协议处理模块2B在本机内存保存会话信息,并转发响应给业务处理模块2A,业务处理模块2A接入被叫,并将被叫的响应返回给分发处理模块1B,此时,分发处理模块1B判定会话已建立,使用唯一的会话id通知协议处理模块2B保存会话。协议处理模块2B收到通知后,将会话信息存入分布式缓存集群4。The OCS returns a response, and the protocol processing module 2B saves the session information in the local memory, and forwards the response to the service processing module 2A. The service processing module 2A accesses the called party, and returns the response of the called party to the distribution processing module 1B. The distribution processing module 1B determines that the session has been established, and uses the unique session id to notify the protocol processing module 2B to save the session. After receiving the notification, the protocol processing module 2B stores the session information in the distributed cache cluster 4.
分发处理模块1B与业务节点之间保持心跳,检测业务节点是否正常运行。The distribution processing module 1B maintains a heartbeat between the service node and detects whether the service node is operating normally.
呼叫过程中,业务节点宕机或者不通,分发处理模块1B若已经检测到,则采用图7所示方式作会话切换;若还未检测到,但检测到某一会话发送失败时,采用图8所示方法作会话切换。会话切换后,就可以在其他业务节点继续处理后续会话了。During the call, the service node is down or not. If the distribution processing module 1B has detected it, the session shown in Figure 7 is used for session switching. If it has not been detected, but a certain session fails to be sent, the method is as shown in Figure 8. The method shown is for session switching. After the session is switched, the subsequent sessions can continue to be processed on other service nodes.
呼叫结束,接入节点1的分发处理模块1B将该后续会话发往切换后的业务节点,该业务节点的业务处理模块2A产生计费结束消息CCR Teminal,并转发给协议处理模块2B,协议处理模块2B封装为标准的Diameter消息,发给OCS。After the call ends, the distribution processing module 1B of the access node 1 sends the subsequent session to the switched service node, and the service processing module 2A of the service node generates an accounting end message CCR Teminal and forwards it to the protocol processing module 2B for protocol processing. Module 2B is encapsulated as a standard Diameter message and sent to the OCS.
OCS返回响应,协议处理模块2B删除本机内存保存的会话信息和分布式缓存中的会话信息,并转发响应给业务处理模块,业务处理模块2A通知被叫挂机,并将被叫响应返回给接入节点1。The OCS returns a response, and the protocol processing module 2B deletes the session information saved in the local memory and the session information in the distributed cache, and forwards the response to the service processing module. The service processing module 2A notifies the called party to hang up, and returns the called response to the call. Enter node 1.
其中,呼叫接入模块仅作为接入代理的系统结构示意图参见图12所示,包括:接入节点1,业务集群2,与业务集群连接的分布式缓存集群4以及在线计费系统OCS3。其中,接入节点1包括呼叫接入模块1A,其仅作为接入代理,以下简称为接入代理模块。业务集群2包括第一协议处理模块2C,被配置为处理Diameter服务端消息,第二协议处理模块2D,被配置为处理Diameter客户端消息。基于该系统实现Diameter Client负载均衡时会话切换的处理过程如下:Referring to FIG. 12, a schematic diagram of a system structure in which the call access module is only used as an access proxy includes: an access node 1, a service cluster 2, a distributed cache cluster 4 connected to the service cluster, and an online charging system OCS3. The access node 1 includes a call access module 1A, which serves only as an access proxy, hereinafter referred to as an access proxy module. The service cluster 2 includes a first protocol processing module 2C configured to process Diameter server messages, and a second protocol processing module 2D configured to process Diameter client messages. The process of session switching based on the system to implement Diameter Client load balancing is as follows:
Diameter Client发起CCR Initial消息,接入节点的接入代理模块完成Diameter协议接入,接入节点的分发处理模块1B对多个业务节点实现负荷分担,发往某一业务节点(如图中第1个业务节点1)。业务节点的第一协议处理模块2C收到CCR Initial消息后进行协议解析,转换为内部消息给业务处理模块2A,业务处理模块2A进行业务逻辑处理后以内部消息转发给第二协议处理模块2D, 第二协议处理模块2D封装为标准的Diameter消息,发给OCS。The Diameter Client initiates a CCR Initial message, and the access proxy module of the access node completes the Diameter protocol access, and the distribution processing module 1B of the access node implements load sharing on multiple service nodes and sends it to a certain service node (as shown in the figure) Business nodes 1). After receiving the CCR Initial message, the first protocol processing module 2C of the service node performs protocol parsing, and converts the internal message to the service processing module 2A. The service processing module 2A performs the business logic processing and forwards the internal message to the second protocol processing module 2D. The second protocol processing module 2D is encapsulated into a standard Diameter message and sent to the OCS.
OCS返回响应,第二协议处理模块2D在本机内存保存会话信息,并转发响应给业务处理模块2A,业务处理模块2A转发给第一协议处理模块2C,第一协议处理模块2C在本机内存保存会话信息,封装后返回给分发处理模块1B,此时,分发处理模块1B判定会话已建立,使用唯一的会话id通知第一协议处理模块2C和第二协议处理模块2D在分布式缓存集群4中保存会话。第一协议处理模块2C和第二协议处理模块2D,将会话信息存入分布式缓存集群4。The OCS returns a response, the second protocol processing module 2D saves the session information in the local memory, and forwards the response to the service processing module 2A, and the service processing module 2A forwards the message to the first protocol processing module 2C, where the first protocol processing module 2C is in the local memory. The session information is saved and encapsulated and returned to the distribution processing module 1B. At this time, the distribution processing module 1B determines that the session has been established, and notifies the first protocol processing module 2C and the second protocol processing module 2D in the distributed cache cluster 4 using the unique session id. Save the session. The first protocol processing module 2C and the second protocol processing module 2D store the session information in the distributed cache cluster 4.
分发处理模块1B与业务节点之间保持心跳,检测业务节点是否正常运行。The distribution processing module 1B maintains a heartbeat between the service node and detects whether the service node is operating normally.
计费过程中,业务节点宕机或者不通,分发处理模块1B若已经检测到,则采用图7所示方式作会话切换;若还未检测到,但检测到单个会话发送失败时,采用图8所示方法作会话切换。In the charging process, if the service node is down or not, if the distribution processing module 1B has detected, the session switching is performed in the manner shown in FIG. 7; if it is not detected, but a single session transmission failure is detected, FIG. 8 is adopted. The method shown is for session switching.
计费结束,接入节点1通知分发处理模块1B,分发处理模块1B将该后续会话发往其他业务节点,经该业务节点的第一协议处理模块2C和业务处理模块2A处理后,第二协议处理模块2D封装为标准的Diameter消息,发给OCS。After the charging ends, the access node 1 notifies the distribution processing module 1B, and the distribution processing module 1B sends the subsequent session to the other service node, and after the first protocol processing module 2C and the service processing module 2A of the service node process, the second protocol The processing module 2D is encapsulated into a standard Diameter message and sent to the OCS.
OCS返回响应后,响应消息从第二协议处理模块2D到业务处理模块2A到第一协议处理模块2C到分发处理模块1B到接入代理模块再到Diameter Client。收到响应后,第一协议处理模块2C和第二协议处理模块2D分别删除本机内存保存的会话信息和分布式缓存中的会话信息。After the OCS returns a response, the response message goes from the second protocol processing module 2D to the service processing module 2A to the first protocol processing module 2C to the distribution processing module 1B to the access proxy module and then to the Diameter Client. After receiving the response, the first protocol processing module 2C and the second protocol processing module 2D respectively delete the session information saved in the local memory and the session information in the distributed cache.
本实施例实现业务系统平滑升级时会话切换的过程如下:The process of session switching when the service system is smoothly upgraded in this embodiment is as follows:
规划先对第一个业务节点升级,接入节点的分发处理模块在线更新其他正常运行的业务节点作为负荷分担节点。The planning first upgrades the first service node, and the distribution processing module of the access node updates other normal running service nodes online as the load sharing node.
对第一个业务节点的业务处理部分升级,同时原先在第一业务节点处理的未完成会话通过图9由其他业务节点接管。The service processing part of the first service node is partially upgraded, and the incomplete session originally processed at the first service node is taken over by other service nodes through FIG.
第一个业务节点1升级成功后,对其他业务节点按照上述一一升级。After the first service node 1 is successfully upgraded, the other service nodes are upgraded according to the above.
待所有业务节点升级成功后,接入节点的分发处理模块在线更新所有的业务节点为正常状态。After all the service nodes are successfully upgraded, the distribution processing module of the access node updates all the service nodes online to the normal state.
本公开实施例还提供了一种非暂态计算机可读存储介质,存储有计算机可 执行指令,所述计算机可执行指令设置为执行上述任一实施例中的方法。Embodiments of the present disclosure also provide a non-transitory computer readable storage medium storing a computer Execution of instructions, the computer executable instructions being arranged to perform the method of any of the above embodiments.
本公开实施例还提供了一种接入点设备的结构示意图。参见图13,该电子设备包括:The embodiment of the present disclosure further provides a schematic structural diagram of an access point device. Referring to FIG. 13, the electronic device includes:
至少一个处理器(processor)130,图13中以一个处理器130为例;和存储器(memory)131,还可以包括通信接口(Communications Interface)132和总线133。其中,处理器130、通信接口132、存储器131可以通过总线133完成相互间的通信。通信接口132可以用于信息传输。处理器130可以调用存储器131中的逻辑指令,以执行上述实施例的方法。At least one processor 130, which is exemplified by a processor 130 in FIG. 13; and a memory 131, may further include a communication interface 132 and a bus 133. The processor 130, the communication interface 132, and the memory 131 can complete communication with each other through the bus 133. Communication interface 132 can be used for information transfer. The processor 130 can invoke logic instructions in the memory 131 to perform the methods of the above-described embodiments.
此外,上述的存储器131中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。In addition, the logic instructions in the memory 131 described above may be implemented in the form of a software functional unit and sold or used as a stand-alone product, and may be stored in a computer readable storage medium.
存储器131作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序,如本公开实施例中的方法对应的程序指令/模块。处理器130通过运行存储在存储器131中的软件程序、指令以及模块,从而执行功能应用以及数据处理,即实现上述方法实施例中的会话切换控制方法。The memory 131 is a computer readable storage medium, and can be used to store a software program, a computer executable program, a program instruction/module corresponding to the method in the embodiment of the present disclosure. The processor 130 executes the function application and the data processing by executing the software program, the instruction and the module stored in the memory 131, that is, the session switching control method in the above method embodiment.
存储器131可包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据终端设备的使用所创建的数据等。此外,存储器131可以包括高速随机存取存储器,还可以包括非易失性存储器。The memory 131 may include a storage program area and an storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to usage of the terminal device, and the like. Further, the memory 131 may include a high speed random access memory, and may also include a nonvolatile memory.
本公开实施例的技术方案可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括一个或多个指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本公开实施例所述方法的全部或部分步骤。而前述的存储介质可以是非暂态存储介质,包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等多种可以存储程序代码的介质,也可以是暂 态存储介质。The technical solution of the embodiments of the present disclosure may be embodied in the form of a software product stored in a storage medium, including one or more instructions for causing a computer device (which may be a personal computer, a server, or a network) The device or the like) performs all or part of the steps of the method described in the embodiments of the present disclosure. The foregoing storage medium may be a non-transitory storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like. a medium that can store program code, or it can be temporary State storage medium.
本公开的会话切换控制方案应用到在线计费系统中时,与相关技术相比,达到了在线计费负载均衡的效果,提高了在线计费业务系统的性能,并且可扩展,将来业务量提高,增加业务节点就可以,如果业务量萎缩,也减少业务节点,负载均衡能够合理利用资源,实现业务系统的弹性伸缩。另外,一般情况下,业务系统的业务处理部分需要经常升级满足用户的一些个性化需求,而协议处理部分相对稳定,使用会话切换功能后,可以实现业务处理的平滑升级,降低对在线业务的影响,便于业务系统的维护。When the session switching control scheme of the present disclosure is applied to an online charging system, compared with related technologies, the effect of online charging load balancing is achieved, the performance of the online charging service system is improved, and the business volume can be expanded and expanded in the future. If the service node is increased, the service node is reduced, and the service node is also reduced. The load balancing can reasonably utilize resources to realize the elastic expansion and contraction of the service system. In addition, in general, the service processing part of the service system needs to be upgraded frequently to meet some personalized requirements of the user, and the protocol processing part is relatively stable. After the session switching function is used, the service processing can be smoothly upgraded and the impact on the online service can be reduced. To facilitate the maintenance of business systems.
以上仅是本公开的实施方式而已,并非对本公开做任何形式上的限制,凡是依据本公开的技术实质对以上实施方式所做的任意简单修改、等同变化、结合或修饰,均仍属于本公开技术方案的保护范围。The above is only the embodiment of the present disclosure, and is not intended to limit the present disclosure in any way. Any simple modification, equivalent change, combination or modification of the above embodiment according to the technical essence of the present disclosure still belongs to the present disclosure. The scope of protection of the technical solution.
工业实用性Industrial applicability
本申请提供的会话切换控制方法、装置及接入点设备,可以实现在业务节点故障等因素导致会话需要切换时,将该会话由原业务节点切换到其他业务节点上由其他业务节点接管,避免造成呼叫损失。 The session switching control method, device, and access point device provided by the present application can be used to switch the session from the original service node to another service node and be taken over by other service nodes when the service node fails to cause the session to be switched. Causing call loss.

Claims (12)

  1. 一种会话切换控制方法,包括:A session switching control method includes:
    当呼叫在业务节点上建立后,将该呼叫之会话的会话信息存储于缓存设备中;After the call is established on the service node, the session information of the session of the call is stored in the cache device;
    判定需要进行会话切换时,为待切换的会话确定目标业务节点,控制目标业务节点从所述缓存设备中提取待切换会话的会话信息,并根据提取的会话信息对待切换会话进行恢复。When it is determined that the session is to be switched, the target service node is determined for the session to be switched, and the control target service node extracts the session information of the session to be switched from the cache device, and restores the handover session according to the extracted session information.
  2. 如权利要求1所述的方法,其中,出现以下情况中的至少一种时,判定需要进行会话切换:The method of claim 1, wherein when at least one of the following occurs, it is determined that a session switch is required:
    向会话当前所在的业务节点发送该会话的消息发送失败;The message sending the session to the service node where the session is currently located fails to be sent;
    承载有会话的业务节点故障;The service node carrying the session is faulty;
    承载有会话的业务节点需要升级。The service node hosting the session needs to be upgraded.
  3. 如权利要求1所述的方法,其中,将所述会话的会话信息存储于缓存设备中包括:The method of claim 1, wherein storing the session information of the session in a cache device comprises:
    将用于识别该会话的唯一识别标识与该会话的会话信息绑定存储于所述缓存设备中。Binding the unique identification identifier for identifying the session to the session information of the session is stored in the cache device.
  4. 如权利要求1所述的方法,其中,为待切换的会话确定目标业务节点包括:The method of claim 1 wherein determining the target service node for the session to be handed over comprises:
    根据负载均衡原则从其他业务节点中为待切换的会话确定目标业务节点。The target service node is determined from the other service nodes for the session to be switched according to the load balancing principle.
  5. 如权利要求3所述的方法,其中,控制目标业务节点从所述缓存设备中提取待切换会话的会话信息包括:The method of claim 3, wherein the controlling the target service node to extract the session information of the session to be switched from the cache device comprises:
    针对各待切换会话,向对应的目标业务节点发送会话切换请求,所述会话 切换请求包含:用于指示目标业务节点从所述缓存设备中提取待切换会话的会话信息之唯一识别标识。Sending a session switching request to the corresponding target service node for each to-be-switched session, the session The handover request includes: a unique identification identifier used to indicate that the target service node extracts session information of the session to be switched from the cache device.
  6. 如权利要求1-5任一项所述的方法,还包括:在呼叫结束后,控制该呼叫之会话当前所在的业务节点删除所述缓存设备中该会话的会话信息。The method of any of claims 1-5, further comprising: after the call ends, the service node in which the session controlling the call is currently located deletes the session information of the session in the cache device.
  7. 如权利要求1-5任一项所述的方法,其中,所述会话为呼叫的在线计费会话。The method of any of claims 1-5, wherein the session is an online charging session for a call.
  8. 一种会话切换控制装置,包括:A session switching control device includes:
    缓存控制模块,被配置为当呼叫在业务节点上建立后,控制该业务节点将该呼叫之会话的会话信息存储于缓存设备中;a cache control module, configured to: after the call is established on the service node, control the service node to store the session information of the session of the call in the cache device;
    切换控制模块,被配置为判定需要进行会话切换时,为待切换的会话确定目标业务节点,控制目标业务节点从所述缓存设备中提取待切换会话的会话信息,并根据提取的会话信息对待切换会话进行恢复。The switching control module is configured to determine a target service node for the session to be switched when the session switching needs to be performed, and the control target service node extracts session information of the session to be switched from the cache device, and switches the session information according to the extracted session information. The session is restored.
  9. 如权利要求8所述的装置,其中,所述切换控制模块检测到出现以下情况中的至少一种时,判定需要进行会话切换:The apparatus of claim 8, wherein the handover control module determines that a session handover is required when at least one of the following occurs:
    向会话当前所在的业务节点发送该会话的消息发送失败;The message sending the session to the service node where the session is currently located fails to be sent;
    承载有会话的业务节点故障;The service node carrying the session is faulty;
    承载有会话的业务节点需要升级。The service node hosting the session needs to be upgraded.
  10. 一种接入点设备,包括:接入模块和处理模块;An access point device includes: an access module and a processing module;
    所述接入模块被配置为接入呼叫;The access module is configured to access a call;
    所述处理模块被配置为将该呼叫发给业务节点,当所述呼叫在业务节点上建立后,控制该业务节点将该呼叫之会话的会话信息存储于缓存设备中;以及判定需要进行会话切换时,为待切换的会话确定目标业务节点,控制目标业务 节点从所述缓存设备中提取待切换会话的会话信息、并根据提取的会话信息对待切换会话进行恢复。The processing module is configured to send the call to the service node, and after the call is established on the service node, control the service node to store session information of the session of the call in the cache device; and determine that session switching is required Determine the target service node for the session to be switched, and control the target service. The node extracts the session information of the session to be switched from the cache device, and restores the handover session according to the extracted session information.
  11. 如权利要求10所述的设备,其中,所述切换处理模块检测到出现以下情况中的至少一种时,判定需要进行会话切换:The device of claim 10, wherein the handover processing module determines that a session switch is required when at least one of the following occurs:
    向会话当前所在的业务节点发送该会话的消息发送失败;The message sending the session to the service node where the session is currently located fails to be sent;
    承载有会话的业务节点故障;The service node carrying the session is faulty;
    承载有会话的业务节点需要升级。The service node hosting the session needs to be upgraded.
  12. 一种非暂态计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行权利要求1-7中任一项的方法。 A non-transitory computer readable storage medium storing computer executable instructions arranged to perform the method of any of claims 1-7.
PCT/CN2017/085344 2016-06-14 2017-05-22 Session switching control method and apparatus and access point device WO2017215408A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610425189.8 2016-06-14
CN201610425189.8A CN107508848A (en) 2016-06-14 2016-06-14 Session method for handover control, device and access point apparatus

Publications (1)

Publication Number Publication Date
WO2017215408A1 true WO2017215408A1 (en) 2017-12-21

Family

ID=60663407

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/085344 WO2017215408A1 (en) 2016-06-14 2017-05-22 Session switching control method and apparatus and access point device

Country Status (2)

Country Link
CN (1) CN107508848A (en)
WO (1) WO2017215408A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113079152A (en) * 2021-03-26 2021-07-06 山东英信计算机技术有限公司 Data transmission method, device and medium

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110121216B (en) * 2018-02-05 2021-06-22 大唐移动通信设备有限公司 Session recovery method and device and computer storage medium
CN109842686B (en) * 2019-03-05 2021-08-06 国家电网有限公司信息通信分公司 Load balancing system for realizing cross-regional cluster scheduling
CN110536478A (en) * 2019-04-03 2019-12-03 中兴通讯股份有限公司 Conversation processing method, device, the network equipment and storage medium
CN112866485B (en) * 2020-12-31 2022-09-02 深圳市珍爱捷云信息技术有限公司 Method, device, server and storage medium for recovering call information display

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102685163A (en) * 2011-03-15 2012-09-19 中兴通讯股份有限公司 Method and system for protecting basic session in DSN (Distributed Service Network) VoIP (Voice over Internet Protocol) service system
CN103078748A (en) * 2013-01-11 2013-05-01 华为技术有限公司 Dual-microcomputer switching method in charging system and relevant equipment and system
CN104468151A (en) * 2013-09-13 2015-03-25 华耀(中国)科技有限公司 System and method for keeping TCP (Transmission Control Protocol) session during cluster switching

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101662390B (en) * 2009-09-24 2012-10-10 中兴通讯股份有限公司 Upgrade protecting method and device thereof
US10051063B2 (en) * 2013-05-22 2018-08-14 Nokia Solutions And Networks Oy Mitigating backend signaling overload

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102685163A (en) * 2011-03-15 2012-09-19 中兴通讯股份有限公司 Method and system for protecting basic session in DSN (Distributed Service Network) VoIP (Voice over Internet Protocol) service system
CN103078748A (en) * 2013-01-11 2013-05-01 华为技术有限公司 Dual-microcomputer switching method in charging system and relevant equipment and system
CN104468151A (en) * 2013-09-13 2015-03-25 华耀(中国)科技有限公司 System and method for keeping TCP (Transmission Control Protocol) session during cluster switching

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113079152A (en) * 2021-03-26 2021-07-06 山东英信计算机技术有限公司 Data transmission method, device and medium
CN113079152B (en) * 2021-03-26 2023-01-24 山东英信计算机技术有限公司 Data transmission method, device and medium

Also Published As

Publication number Publication date
CN107508848A (en) 2017-12-22

Similar Documents

Publication Publication Date Title
WO2017215408A1 (en) Session switching control method and apparatus and access point device
US11425604B2 (en) User plane resource management method, user plane network element, and control plane network element
CN110535676B (en) SMF dynamic disaster tolerance realization method, device, equipment and storage medium
EP2744166B1 (en) Method for migrating a user link, method for migrating a user service, apparatuses and system
US9198223B2 (en) Telecommunication network
KR102266089B1 (en) Mec(mobile edge computing) system and control method thereof
CN110419249A (en) A kind of processing method and processing device of mobile management
WO2018166328A1 (en) Information processing method, apparatus, computer readable storage medium and electronic device
US11057475B2 (en) Methods, apparatus and systems for resuming transmission link
CN113824723A (en) End-to-end system solution applied to audio and video data transmission
CN107872492B (en) Method and device for supporting multi-user editing of data object at server
JP2008167359A (en) Site dividing method and file updating method in ip telephone system, and ip telephone system
CN108900441B (en) Network switching method, first electronic device and readable storage medium
CN107529229B (en) Data transmission method, device and system
US9706440B2 (en) Mobile communication system, call processing node, and communication control method
WO2022016558A1 (en) Service continuity event notification method and apparatus
WO2022194212A1 (en) Calling method and apparatus and electronic device
CN113038394B (en) Session binding relationship processing method and device, electronic equipment and readable medium
KR102273390B1 (en) Method and Apparatus for Integrating Network Function
CN109936672B (en) Online charging method and device
WO2016173169A1 (en) Connection state control method, apparatus and system
CN115349119A (en) Method and apparatus for enhanced 5GC recovery when deploying a Network Function (NF) set in a network
WO2015158058A1 (en) Method and system for implementing call saving and recovery
KR102157538B1 (en) System for upgrading / updating software of virtual network apparatus or system, method thereof
US20210266367A1 (en) Server device used in distributed processing system, distributed processing method, and program

Legal Events

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

Ref document number: 17812519

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17812519

Country of ref document: EP

Kind code of ref document: A1