WO2012167620A1 - Method and system for reducing calling failure of color ring back tone service - Google Patents

Method and system for reducing calling failure of color ring back tone service Download PDF

Info

Publication number
WO2012167620A1
WO2012167620A1 PCT/CN2012/070102 CN2012070102W WO2012167620A1 WO 2012167620 A1 WO2012167620 A1 WO 2012167620A1 CN 2012070102 W CN2012070102 W CN 2012070102W WO 2012167620 A1 WO2012167620 A1 WO 2012167620A1
Authority
WO
WIPO (PCT)
Prior art keywords
call
ratio
call data
shared memory
calling
Prior art date
Application number
PCT/CN2012/070102
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 WO2012167620A1 publication Critical patent/WO2012167620A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/42017Customized ring-back tones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements

Definitions

  • the present invention relates to the field of mobile communication technologies, and in particular, to a method and system for reducing a call failure of a CRBT service after an abnormality of a broadband ring tones primary device service is switched to a standby device.
  • the Service Control Point (SCP) of the intelligent network is built in a fault-tolerant manner.
  • the main SCP is down, the network is disconnected, the database is abnormal, and the abnormal process of the intelligent network platform is detected by the dual-machine software, and the command is issued by the standby SCP.
  • SCP Service Control Point
  • the length of the switching process depends on the setting of the heartbeat detection of the dual-machine, the hardware configuration level of the standby device, the network bandwidth, and the startup process of the standby intelligent network service. If the traffic peaks and the switching time is too long, it may cause a large number of call loss and cause more user complaints.
  • the broadband ring back tone service platform and the switching side and the playback device pass a session layer signaling control protocol (SIP), a bearer independent call control protocol (BICC), and a media gateway.
  • SIP session layer signaling control protocol
  • BICC bearer independent call control protocol
  • MGCP Media Gateway Control Protocol
  • the call flow is divided into a crossover scheme and a non-crossover scheme.
  • the service platform in the crossover solution indicates that the CRBT plays and continues to be called.
  • the non-crossover solution the service platform only indicates the CRBT playback, and the connected call is completed by the switching device. Summary of the invention
  • the technical problem to be solved by the present invention is to provide a method and system for reducing the call failure of the CRBT service. After the primary and backup devices of the CRBT service platform are switched, the CRBT playback and call status can be restored, and the call failure during the collapse and recovery of the broadband CRBT host is reduced. rate.
  • the present invention provides a method for reducing a call failure of a CRBT service, including:
  • the calling device After the calling service process enters the specified state, the calling device writes the call data of the call to the shared memory, and after the active device and the standby device are switched, the standby device reads the call data from the shared memory. , resume the call.
  • the call service process enters the specified state, where: the CRBT service platform uses the non-crossover solution to call the service process to enter the ring back tone state to the calling party, or the CRBT service platform uses the crossover solution to call the service process to enter the calling and calling party. Call status.
  • the call data includes: data that plays the CRBT to the calling party when the CRBT service platform uses the non-crossover solution, or data of the calling and the called call when the CRBT service platform uses the bridging scheme.
  • the method further includes:
  • the standby device resumes the call, if the on-hook signaling is received, the call is released; otherwise, the state of the call service flow before the primary device and the backup device are switched is maintained or discarded according to the result of the in-call detection.
  • the maintaining or abandoning the status of the call service flow before the switching of the active device and the standby device according to the result of the in-call detection includes:
  • the standby device sends an in-call detection message to the calling party, and if the response message of the calling party is received, the ring back tone state is kept to the calling party, otherwise the call is released. ;
  • the standby device sends an in-call detection message to the calling party and the called party respectively, and if the response message of the calling party and the called party is received, the main message is maintained. The called party is in a call state, otherwise the call is released.
  • the method further includes: marking the call data as valid, and if the primary device and the standby device are not switched after the call ends, The primary device marks the call data of the call in the shared memory as invalid Or delete;
  • the standby device After the standby device reads the call data from the shared memory, the call data written by the active device in the shared memory is marked as invalid or deleted.
  • the calling device writes the call data of the call to the shared memory, including:
  • the ratio of the number of calls written by the active device to the shared memory to the total number of calls in the given time or to the number of calls is not greater than Call data write ratio.
  • the reading, by the standby device, the call data from the shared memory comprises: the number of calls corresponding to the valid call data read by the backup device from the shared memory is stored by the primary device The ratio of the number of calls corresponding to the valid call data in the shared memory is not greater than the call data read ratio.
  • the call data write ratio/read ratio is determined as follows:
  • the system administrator sets the call data write ratio/read ratio
  • the system periodically collects system performance indicators, and determines the corresponding call data writing ratio/read ratio according to the system performance indicators;
  • the present invention further provides a system for reducing a call failure of a CRBT service, including an active device, a backup device, and a shared memory, where
  • the active device is configured to: after the call service flow enters the specified state, write the call data of the call to the shared memory;
  • the standby device is configured to: after the primary device and the standby device are switched, read the call data from the shared memory to resume the call.
  • the call service process enters a specified state, where: the CRBT service platform uses non-cross The incoming call service process enters the ring back tone state to the calling party, or the color ring tone service platform uses the crossover solution to call the service process to enter the calling and called call state.
  • the call data includes: data that plays the CRBT to the calling party when the CRBT service platform uses the non-crossover solution, or data of the calling and the called call when the CRBT service platform uses the bridging scheme.
  • the standby device is further configured to: release the call if the on-hook signaling is received after the call is resumed; otherwise, maintain or abandon the call service flow before the primary device and the backup device are switched according to the in-call detection result. status.
  • the standby device is further configured to:
  • the in-call detection message is sent to the calling party, and if the response message of the calling party is received, the CRBT state is kept to be played to the calling party, otherwise the conversation is released;
  • the CRBT service platform uses the bridging scheme to send an in-call detection message to the calling party and the called party respectively. If the response message of the calling party and the called party is received, the calling party and the called party are kept in a call state, otherwise the call is released. dialogue.
  • the primary device is further configured to: mark the call data as valid after the call data of the call is written into the shared memory, and if the primary device and the backup device do not switch after the call ends, The call data of the call in the shared memory is marked as invalid or deleted; the standby device is further configured to: after reading the call data from the shared memory, write the primary device in the shared memory Incoming call data is marked as invalid or deleted.
  • the primary device is configured to: the number of calls written by the primary device to the shared memory and the total number of calls in the given time in a given time or a given number of calls Or the ratio to the number of calls is not greater than the call data write ratio.
  • the standby device is configured to: the number of calls corresponding to the valid call data read from the shared memory and the number of calls corresponding to the valid call data stored by the active device in the shared memory The ratio is not greater than the call data read ratio.
  • the system further comprises a performance monitoring and data writing/reading control device, configured to: determine the call data writing ratio/read ratio according to the following manner:
  • FIG. 1 is a structural diagram of a system for reducing a call failure of a CRBT service in an embodiment
  • FIG. 2 is a flowchart of a method for reducing a call failure of a CRBT service in an embodiment
  • FIG. 3 is a structural diagram of a system for reducing a call failure of a CRBT service in an application example
  • FIG. 4 is a flow chart showing the operation of the system for reducing the failure of the CRBT service call shown in FIG. 3.
  • an embodiment of the present invention provides a system for reducing a call failure of a CRBT service, where the system includes an active device, a backup device, a dual-machine monitoring device, and a shared memory, where: the primary device is used for After the call service flow enters the specified state, the call data of the call is written into the shared memory;
  • the call service process enters the specified state, and the CRBT service platform uses the non-crossover solution to call the service process to enter the ring back tone state to the calling party, or the CRBT service platform uses the crossover solution to call the service process to enter the calling and called call. status.
  • the call data includes: The CRBT service platform plays the ring back tone to the calling party when the non-crossover solution is used.
  • the calling device when the calling device writes the call data of the call to the shared memory, the number of calls written by the active device to the shared memory and the given time in a given time or a given number of calls
  • the ratio of the total number of calls in the fixed time or the number of calls to the number of calls is not greater than the call data write ratio, that is, the active device writes the call data of the call according to a call data write ratio.
  • the call data write ratio refers to the ratio of the number of calls written to the shared memory to the total number of calls in the given time or the number of calls, which may be set by the system administrator, It can be dynamically modified after the system is running, as other dynamically modifiable parameters are periodically read by the system and validated in the next cycle, or dynamically determined in conjunction with system performance indicators.
  • the standby device is configured to read the call data from the shared memory after the primary device and the standby device are switched, and resume the call.
  • the standby device reads the valid call data from the shared memory according to the call data read ratio.
  • the call data read ratio refers to a percentage of the number of calls read out in the shared memory, and the call data read ratio is determined similarly to the call data write ratio, and may also be set by the system administrator. It can also be dynamically modified after the system is running. As other dynamically modifiable parameters are periodically read by the system and validated in the next cycle, or dynamically determined in combination with system performance indicators.
  • the standby device After the standby device reads the call data from the shared memory, the call data written by the active device in the shared memory is marked as invalid or deleted.
  • the standby device is further configured to release the call if the on-hook signaling is received; otherwise, the call service flow is maintained or abandoned according to the in-call detection result. status.
  • the standby device maintains or discards the state of the call service flow before the switching between the active device and the standby device according to the result of the in-call detection, including:
  • the standby device sends an in-call detection message to the calling party, and if the response message of the calling party is received, the ring back tone state is kept to the calling party, otherwise the call is released. ;
  • the standby device divides the calling party and the called party into Do not send an in-call detection message. If the response message of the calling party and the called party is received, the calling and calling state is maintained, otherwise the call is released.
  • the dual-machine monitoring device is configured to monitor the running status of the active device, and enable the standby device when the primary device is abnormal.
  • the embodiment of the present invention provides a method for reducing a call failure of a CRBT service, including the following steps:
  • the active device After the call service process enters the specified state, the active device writes the call data of the call to the shared memory.
  • the call service process enters the specified state, where the call service process uses the non-crossover solution to call the service process.
  • the CRBT status is played to the calling party or the CRBT service platform uses the bridging scheme to call the service flow in the main and called call state, and the active device writes the current call data to the shared memory; the status can also be set as needed.
  • the current call data written by the active device to the shared memory includes: the CRBT service platform plays the CRBT data to the calling party when the non-crossover solution is used, or the data of the calling and the called call when the CRBT service platform uses the crossover solution. .
  • the number of calls written by the active device to the shared memory and the given time in a given time or a given number of calls is not greater than the call data write ratio, that is, the active device writes the call data to the shared memory according to the call data write ratio.
  • the monitoring period can be set. Within each monitoring period, the ratio of the number of calls written to the shared memory to the total number of calls in the period does not exceed 30%, or, using a counter, set each N calls. The number of calls written to the shared memory does not exceed 30%, and the N value is set as needed.
  • the call data write ratio can be set by the system administrator, or can be dynamically modified after the system is running.
  • the other dynamically changeable parameters are periodically read by the system and validated in the next cycle, or dynamically combined with system performance indicators. Determined.
  • S102 After the primary device is abnormal, the primary device and the standby device perform switching;
  • S103 The standby device reads the call data from the shared memory to resume the call.
  • the standby device reads the valid call data from the shared memory according to the call data read ratio. The ratio of the number of calls corresponding to the valid call data read by the standby device from the shared memory to the number of calls corresponding to the valid call data stored by the active device in the shared memory is not greater than the call data read Proportion.
  • the determination of the call data read ratio is similar to the call data write ratio, and may also be set by the system administrator, or may be dynamically modified after the system is running, and the other dynamically changeable parameters are periodically read by the system, and Effective within the next cycle, or dynamically determined in conjunction with system performance metrics.
  • the call data writing ratio/read ratio may be determined in the following manner but not in other dynamic manners, including:
  • the system administrator sets the call data write ratio/read ratio
  • the system periodically collects system performance indicators, and determines the corresponding call data writing ratio/read ratio according to the system performance indicators;
  • step S103 after the standby device resumes the call, if the on-hook signaling is received, the call is released; otherwise, the state of the call service flow before the switching between the active device and the standby device is maintained or abandoned according to the in-call detection result.
  • the standby device sends an in-call detection message to the calling party, and if the response message of the calling party is received, the ring back tone state is kept to the calling party, otherwise the call is released. ; If the CRBT service platform uses the bridging scheme, the standby device sends an in-call detection message to the calling party and the called party respectively, and if the response message of the calling party and the called party is received, the main message is maintained. The called party is in a call state, otherwise the call is released.
  • the system for reducing a CRBT service call failure may further include: a performance monitoring and data writing/reading control device, configured to determine a call data writing ratio/read ratio, It can be determined in the following ways but not in other dynamic ways:
  • the performance monitoring and data writing/reading control device periodically collects system performance indicators, and determines a corresponding call data writing ratio/read ratio according to the system performance indicators;
  • the performance monitoring and data writing/reading control device compares the corresponding call data writing ratio/read ratio determined by the system with the calling data writing ratio/reading ratio set by the system administrator, and selects The smaller value is used as the final call data write ratio/read ratio.
  • the system administrator manually sets the call data write/read ratio, and sets the upper limit of the number of calls in the monitoring period (usually 10 minutes, which can be configured according to the actual situation). This value can be dynamically modified after the system is running. It can be read periodically by the system with other dynamically modifiable parameters and will take effect in the next cycle.
  • the system performance indicators include overall CPU utilization and memory usage, critical process CPU and memory usage, and 10 throughput (optional). In a specific implementation manner, a system performance indicator in different situations may be associated with a call data write/read ratio, and the performance monitoring and data write/read control device may collect the performance data after the corresponding relationship.
  • Table 1 Correspondence between system performance indicators and the current call data write ratio allowed by the system. Assume that the upper limit of the data write ratio set by the system administrator is 70%. If the current system performance indicator corresponds to the first correspondence, that is, call data. The write ratio is up to 80%, and the smaller of the two is selected after the comparison, that is, 70% is the final call data write ratio written to the shared memory; if the current system performance indicator corresponds to the second correspondence, that is, the call data The write ratio is up to 60%, and the smaller of the two is selected after the comparison, that is, 60% as the final call data write ratio written to the shared memory. In this application example, the active device may also set a service status counter for every hundred calls, and the initial value of the counter is 0.
  • a CRBT call triggers the counter to increase by 1, and reaches 100 and then resets. 0, re-accumulate.
  • the active device can set the call data corresponding to the counter count 0 ⁇ 29 to be written to the shared memory. In this way, it is possible to write the number of calls corresponding to the counter to the shared memory in accordance with the final call data write ratio.
  • the correspondence between the system performance index and the call data readout ratio currently allowed by the system can also be set as shown in Table 2:
  • Table 2 Correspondence between the system performance indicator and the current allowed call data read ratio of the system. Assume that the upper limit of the data read ratio set by the system administrator is 70%. If the current system performance indicator corresponds to the first correspondence, that is, the call data. The readout ratio is 80%, and after the comparison, the two are selected. The smaller value, that is, 70% as the final call data readout ratio read from the shared memory; if the current system performance index corresponds to the second correspondence, that is, the call data readout ratio is 60%, after the comparison, the two are selected. The smaller value, 60%, is the final call data readout ratio read from the shared memory. As shown in FIG. 4, in the application example, the workflow of the system for reducing a CRBT service call failure is as follows:
  • S201 The broadband ringtone intelligent network service platform starts normally, the active device runs normally, and the dual-machine monitoring device monitors the working status of the active device; whether the dual-machine monitoring device has an intelligent network platform, database or system abnormality for the primary device Monitoring;
  • S203 The interactive side call, the CRBT service platform enters the ring tone playing state by using the non-crossover solution, or the color ringing service platform uses the bridging scheme and the calling party enters the call state;
  • S205 The performance monitoring and data writing/reading control device compares the call data writing ratio corresponding to the system performance indicator (as shown in Table 1) with the call data writing ratio set by the system administrator, and selects both The smaller value is sent to the active device as the current shared memory call data write ratio;
  • the data structure for writing call data to the shared memory mainly includes: a dialog protocol identifier (such as a call-id, a from-tag, and a to-tag field in the sip protocol), a user number (including a calling and called number, Forwarding number, ur i, etc., routing data of the protocol stack, current media negotiation status, and saved media information, and identifying the validity of the data area in the fixed area of the shared memory file (initially "valid,"), the data The segment is fixed in length in the shared memory.
  • a dialog protocol identifier such as a call-id, a from-tag, and a to-tag field in the sip protocol
  • a user number including a calling and called number, Forwarding number, ur i, etc., routing data of the protocol stack, current media negotiation status, and saved media information, and identifying the validity of the data area in the fixed area of the shared memory file (initially "valid,"), the data The segment is fixed in length in the shared memory.
  • the dual-machine monitoring device monitors whether the primary device is abnormal. If no abnormality is found, the primary device continues to work normally, and the call data in the shared memory is marked as invalid or deleted after the call ends; otherwise, the process goes to step S208;
  • S209 The standby device sends a message to the performance monitoring and data writing/reading control device, requesting to obtain a call data read ratio of the current shared memory;
  • S210 performance monitoring and data writing/reading control device comparing the system performance indicator Corresponding call data read ratio (as shown in Table 2) and the call data read ratio set by the system administrator, select the smaller of the two as the current shared memory final call data read ratio, and send to the standby device;
  • the standby device reads out the call data marked as valid in the shared memory according to the obtained call data read ratio, and then marks the call data written by the active device in the shared memory as invalid or deleted, according to the read. Call data to recover this part of the call;
  • step S212 If the standby device receives the on-hook signaling, release the session, and end the call; otherwise, go to step S213;
  • S213 Send an in-call detection message to the calling party and the calling party according to the bridging and non-crossover scheme configured by the service;
  • the detection message is sent in several batches.
  • the default value can be used for each batch of data. It can also be configured by the administrator based on the current traffic of the current network and the status of the network device.
  • the detection message is sent to the calling side, and the caller's detection response is not received within the waiting period after the transmission, or the response carries the error code to inform that the call does not exist, and the call data in the memory is released; otherwise, if the calling side sends If it responds correctly, it is still in the ring tone playback state, the memory call data continues to be maintained, and the on-hook request from the calling side continues to be processed later for the calling party or the calling party to release the call.
  • S215 The standby device replaces the primary device service, and the dual-machine monitoring device monitors the working state of the standby device; subsequent requests are processed according to the primary device.
  • the data area is written to the shared storage for re-switching.
  • the method and system for reducing the CRBT service call failure provided by the present invention are used for the CRBT playback state or the crossover scheme of the non-crossover solution before the dual-machine switching of the broadband CRBT service platform is compared with the prior art.
  • the CRBT playback and the call after the switching of the broadband CRBT service in the fault-tolerant network can be effectively restored, and the call failure rate during the collapse and recovery of the broadband CRBT host is reduced, and the normal service is not affected. Stability.
  • the method and system for reducing the call failure of the CRBT service overcome the problem of writing a large amount of call data to the shared storage, which may cause a decrease in CPU performance and 10 is too busy, by controlling the write/read data of the shared memory. Defects greatly improve CPU performance and avoid system waste.
  • the CRBT playback and the call after the switching of the broadband CRBT service in the fault-tolerant network can be effectively restored, and the call failure rate during the collapse and recovery of the broadband CRBT host is reduced, and the normal service is avoided. Stability and system performance.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Telephonic Communication Services (AREA)

Abstract

Disclosed in the present invention are a method and a system for reducing calling failure of color ring back tone service, wherein, the system comprises: a primary device, a backup device and a share storage, and the method comprises: the primary device writes the calling data of said calling into the share storage after the calling service flow enters a designated state, the backup device reads said calling data from the share storage and recovers the calling after the handoff from the primary device to the backup device. The method and the system can effectively enable the color ring back tone playing and the call of the broadband color ring back tone service in the network comprising double devices for fault tolerance to be recovered after the handoff, reduce the calling failure rate during the period of the breakdown and recovery of a broadband color ring back tone host, and at the same time avoid influencing the normal service stability and the system performance.

Description

一种降低彩铃业务呼叫失败的方法和系统  Method and system for reducing call failure of CRBT service
技术领域 Technical field
本发明涉及移动通信技术领域, 具体涉及一种宽带彩铃主用设备服务异 常倒换到备用设备后降低彩铃业务呼叫失败的方法和系统。 背景技术  The present invention relates to the field of mobile communication technologies, and in particular, to a method and system for reducing a call failure of a CRBT service after an abnormality of a broadband ring tones primary device service is switched to a standby device. Background technique
在彩铃业务现网应用中, 智能网各个业务控制点 (Service Control Point, 简称 SCP )—般釆取双机容错方式搭建。 主用 SCP出现宕机、 断网、 数据库 异常、 智能网平台进程异常等情况会被双机软件所检测, 并发出指令由备用 SCP服务。 上述主备用 SCP倒换发生时一般会有若干路呼叫进行中, 由于主 用设备崩溃, 这些呼叫将全部失败。 而倒换过程长短取决于双机心跳检测设 置、 备用设备硬件配置水平、 网络带宽、 备用设备智能网服务启动过程等。 若在话务高峰且倒换时间过长,有可能引起大量呼损进而引发较多用户投诉。  In the current ring network application of the CRBT service, the Service Control Point (SCP) of the intelligent network is built in a fault-tolerant manner. The main SCP is down, the network is disconnected, the database is abnormal, and the abnormal process of the intelligent network platform is detected by the dual-machine software, and the command is issued by the standby SCP. When the above-mentioned primary and backup SCP switching occurs, there are usually several calls in progress, and all the calls will fail due to the failure of the primary device. The length of the switching process depends on the setting of the heartbeat detection of the dual-machine, the hardware configuration level of the standby device, the network bandwidth, and the startup process of the standby intelligent network service. If the traffic peaks and the switching time is too long, it may cause a large number of call loss and cause more user complaints.
宽带彩铃业务平台和交换侧以及放音设备通过一个会话层的信令控制协 议(SIP Session Initiation Protocol, 简称 SIP)、 与承载无关的呼叫控制协议 (Bearer Independent Call Control protocol, 简称 BICC)、 媒体网关控制协议 ( Media Gateway Control Protocol, 简称 MGCP )等基于 IP的协议进行交互, 呼叫流程则分为跨接方案和非跨接方案。 其中跨接方案中业务平台指示彩铃 播放并接续被叫; 非跨接方案中业务平台仅指示彩铃播放, 接续被叫由交换 设备完成。 发明内容  The broadband ring back tone service platform and the switching side and the playback device pass a session layer signaling control protocol (SIP), a bearer independent call control protocol (BICC), and a media gateway. The IP Gateway-based protocol, such as the Media Gateway Control Protocol (MGCP), interacts. The call flow is divided into a crossover scheme and a non-crossover scheme. The service platform in the crossover solution indicates that the CRBT plays and continues to be called. In the non-crossover solution, the service platform only indicates the CRBT playback, and the connected call is completed by the switching device. Summary of the invention
目前, 在现有的宽带彩铃业务流程中, 如果主备用设备发生倒换, 则放 弃本次呼叫释放对话, 备用设备重新开始接受发起的新呼叫, 完成新的彩铃 业务, 备用设备无法恢复原始呼叫。 因此, 急需一种在彩铃业务平台主备用 设备倒换后, 可以恢复彩铃播放和通话状态, 降低宽带彩铃主机崩溃和恢复 期间的呼叫失败率的方法。 本发明需要解决的技术问题是提供一种降低彩铃业务呼叫失败的方法和 系统, 在彩铃业务平台主备用设备倒换后, 可以恢复彩铃播放和通话状态, 降低宽带彩铃主机崩溃和恢复期间的呼叫失败率。 Currently, in the existing broadband CRBT service process, if the primary and backup devices are switched, the call release session is abandoned, and the standby device resumes accepting the initiated new call to complete the new CRBT service, and the backup device cannot restore the original call. Therefore, there is an urgent need for a method for recovering CRBT playback and call status after the main ring device switching of the CRBT service platform, and reducing the call failure rate during the collapse and recovery of the broadband CRBT host. The technical problem to be solved by the present invention is to provide a method and system for reducing the call failure of the CRBT service. After the primary and backup devices of the CRBT service platform are switched, the CRBT playback and call status can be restored, and the call failure during the collapse and recovery of the broadband CRBT host is reduced. rate.
为了解决上述技术问题, 本发明提供了一种降低彩铃业务呼叫失败的方 法, 包括:  In order to solve the above technical problem, the present invention provides a method for reducing a call failure of a CRBT service, including:
主用设备在呼叫业务流程进入指定状态后, 将该呼叫的呼叫数据写入共 享存储器, 所述主用设备和备用设备倒换后, 所述备用设备从所述共享存储 器中读取所述呼叫数据, 恢复呼叫。  After the calling service process enters the specified state, the calling device writes the call data of the call to the shared memory, and after the active device and the standby device are switched, the standby device reads the call data from the shared memory. , resume the call.
优选地, 所述呼叫业务流程进入指定状态包括: 彩铃业务平台釆用非跨 接方案呼叫业务流程进入向主叫方播放彩铃状态, 或者彩铃业务平台釆用跨 接方案呼叫业务流程进入主被叫通话状态。  Preferably, the call service process enters the specified state, where: the CRBT service platform uses the non-crossover solution to call the service process to enter the ring back tone state to the calling party, or the CRBT service platform uses the crossover solution to call the service process to enter the calling and calling party. Call status.
优选地, 所述呼叫数据包括: 彩铃业务平台釆用非跨接方案时向主叫方 播放彩铃的数据, 或者彩铃业务平台釆用跨接方案时主被叫通话的数据。  Preferably, the call data includes: data that plays the CRBT to the calling party when the CRBT service platform uses the non-crossover solution, or data of the calling and the called call when the CRBT service platform uses the bridging scheme.
优选地, 所述方法还包括:  Preferably, the method further includes:
所述备用设备恢复呼叫后, 若收到挂机信令则释放呼叫; 否则根据呼叫 内检测结果保持或放弃所述主用设备和备用设备倒换前呼叫业务流程所处状 态。  After the standby device resumes the call, if the on-hook signaling is received, the call is released; otherwise, the state of the call service flow before the primary device and the backup device are switched is maintained or discarded according to the result of the in-call detection.
优选地, 所述根据呼叫内检测结果保持或放弃所述主用设备和备用设备 倒换前呼叫业务流程所处状态, 包括:  Preferably, the maintaining or abandoning the status of the call service flow before the switching of the active device and the standby device according to the result of the in-call detection includes:
若所述彩铃业务平台釆用非跨接方案, 所述备用设备向主叫方发送呼叫 内检测消息, 若收到主叫方的响应消息, 则保持向主叫方播放彩铃状态, 否 则释放呼叫;  If the CRBT service platform uses a non-crossover solution, the standby device sends an in-call detection message to the calling party, and if the response message of the calling party is received, the ring back tone state is kept to the calling party, otherwise the call is released. ;
若所述彩铃业务平台釆用跨接方案, 所述备用设备向主叫方和被叫方分 别发送呼叫内检测消息, 若收到所述主叫方和被叫方的响应消息, 则保持主 被叫通话状态, 否则释放呼叫。  If the CRBT service platform uses the bridging scheme, the standby device sends an in-call detection message to the calling party and the called party respectively, and if the response message of the calling party and the called party is received, the main message is maintained. The called party is in a call state, otherwise the call is released.
优选地, 所述主用设备将所述呼叫的呼叫数据写入所述共享存储器后, 还包括: 将该呼叫数据标记为有效, 若呼叫结束后主用设备和备用设备未发 生倒换, 则所述主用设备将所述共享存储器中该呼叫的呼叫数据标记为无效 或者删除; Preferably, after the calling device writes the call data of the call to the shared memory, the method further includes: marking the call data as valid, and if the primary device and the standby device are not switched after the call ends, The primary device marks the call data of the call in the shared memory as invalid Or delete;
所述备用设备从所述共享存储器中读取所述呼叫数据后, 将所述共享存 储器中所述主用设备写入的呼叫数据均标记为无效或删除。  After the standby device reads the call data from the shared memory, the call data written by the active device in the shared memory is marked as invalid or deleted.
优选地, 所述主用设备在呼叫业务流程进入指定状态后, 将该呼叫的呼 叫数据写入共享存储器包括:  Preferably, after the calling service process enters the specified state, the calling device writes the call data of the call to the shared memory, including:
在给定时间或给定呼叫个数阔值中, 所述主用设备写入共享存储器的呼 叫个数与该给定时间内的总呼叫个数或者与该呼叫个数阔值的比值不大于呼 叫数据写入比例。  In a given time or a given number of calls, the ratio of the number of calls written by the active device to the shared memory to the total number of calls in the given time or to the number of calls is not greater than Call data write ratio.
优选地, 所述备用设备从所述共享存储器中读取所述呼叫数据包括: 所 述备用设备从所述共享存储器中读出的有效呼叫数据对应的呼叫个数与所述 主用设备存储到所述共享存储器中的有效呼叫数据对应的呼叫个数的比值不 大于呼叫数据读出比例。  Preferably, the reading, by the standby device, the call data from the shared memory comprises: the number of calls corresponding to the valid call data read by the backup device from the shared memory is stored by the primary device The ratio of the number of calls corresponding to the valid call data in the shared memory is not greater than the call data read ratio.
优选地, 按如下方式确定所述呼叫数据写入比例 /读出比例:  Preferably, the call data write ratio/read ratio is determined as follows:
系统管理员设定呼叫数据写入比例 /读出比例;  The system administrator sets the call data write ratio/read ratio;
系统定时收集系统性能指标, 并才艮据所述系统性能指标确定相应的呼叫 数据写入比例 /读出比例;  The system periodically collects system performance indicators, and determines the corresponding call data writing ratio/read ratio according to the system performance indicators;
将所述系统确定的相应的呼叫数据写入比例 /读出比例与系统管理员设 定的所述呼叫数据写入比例 /读出比例进行比较, 选择值较小者作为最终呼叫 数据写入比例 /读出比例。  Comparing the corresponding call data write ratio/read ratio determined by the system with the call data write ratio/read ratio set by the system administrator, and selecting the smaller value as the final call data write ratio / Read ratio.
此外, 为了解决上述技术问题, 本发明还提供了一种降低彩铃业务呼叫 失败的系统, 包括主用设备、 备用设备和共享存储器, 其中, In addition, in order to solve the above technical problem, the present invention further provides a system for reducing a call failure of a CRBT service, including an active device, a backup device, and a shared memory, where
所述主用设备设置为: 在呼叫业务流程进入指定状态后, 将该呼叫的呼 叫数据写入共享存储器;  The active device is configured to: after the call service flow enters the specified state, write the call data of the call to the shared memory;
所述备用设备设置为: 在主用设备和备用设备倒换后, 从所述共享存储 器中读取所述呼叫数据, 恢复呼叫。  The standby device is configured to: after the primary device and the standby device are switched, read the call data from the shared memory to resume the call.
优选地, 所述呼叫业务流程进入指定状态包括: 彩铃业务平台釆用非跨 接方案呼叫业务流程进入向主叫方播放彩铃状态, 或者彩铃业务平台釆用跨 接方案呼叫业务流程进入主被叫通话状态。 Preferably, the call service process enters a specified state, where: the CRBT service platform uses non-cross The incoming call service process enters the ring back tone state to the calling party, or the color ring tone service platform uses the crossover solution to call the service process to enter the calling and called call state.
优选地, 所述呼叫数据包括: 彩铃业务平台釆用非跨接方案时向主叫方 播放彩铃的数据, 或者彩铃业务平台釆用跨接方案时主被叫通话的数据。  Preferably, the call data includes: data that plays the CRBT to the calling party when the CRBT service platform uses the non-crossover solution, or data of the calling and the called call when the CRBT service platform uses the bridging scheme.
优选地, 所述备用设备还设置为: 在恢复呼叫后, 若收到挂机信令则释 放呼叫; 否则根据呼叫内检测结果保持或放弃所述主用设备和备用设备倒换 前呼叫业务流程所处状态。  Preferably, the standby device is further configured to: release the call if the on-hook signaling is received after the call is resumed; otherwise, maintain or abandon the call service flow before the primary device and the backup device are switched according to the in-call detection result. status.
优选地, 所述备用设备还设置为:  Preferably, the standby device is further configured to:
若所述彩铃业务平台釆用非跨接方案, 向主叫方发送呼叫内检测消息, 若收到主叫方的响应消息, 则保持向主叫方播放彩铃状态, 否则释放对话; 若所述彩铃业务平台釆用跨接方案, 向主叫方和被叫方分别发送呼叫内 检测消息, 若收到所述主叫方和被叫方的响应消息, 则保持主被叫通话状态, 否则释放对话。  If the CRBT service platform uses the non-crossover scheme, the in-call detection message is sent to the calling party, and if the response message of the calling party is received, the CRBT state is kept to be played to the calling party, otherwise the conversation is released; The CRBT service platform uses the bridging scheme to send an in-call detection message to the calling party and the called party respectively. If the response message of the calling party and the called party is received, the calling party and the called party are kept in a call state, otherwise the call is released. dialogue.
优选地, 所述主用设备还设置为: 将所述呼叫的呼叫数据写入所述共享 存储器后将该呼叫数据标记为有效, 若呼叫结束后主用设备和备用设备未发 生倒换, 则将所述共享存储器中该呼叫的呼叫数据标记为无效或者删除; 所述备用设备还设置为: 从所述共享存储器中读取所述呼叫数据后, 将 所述共享存储器中所述主用设备写入的呼叫数据均标记为无效或删除。  Preferably, the primary device is further configured to: mark the call data as valid after the call data of the call is written into the shared memory, and if the primary device and the backup device do not switch after the call ends, The call data of the call in the shared memory is marked as invalid or deleted; the standby device is further configured to: after reading the call data from the shared memory, write the primary device in the shared memory Incoming call data is marked as invalid or deleted.
优选地, 所述主用设备是设置为: 在给定时间或给定呼叫个数阔值中, 所述主用设备写入共享存储器的呼叫个数与该给定时间内的总呼叫个数或者 与该呼叫个数阔值的比值不大于呼叫数据写入比例。  Preferably, the primary device is configured to: the number of calls written by the primary device to the shared memory and the total number of calls in the given time in a given time or a given number of calls Or the ratio to the number of calls is not greater than the call data write ratio.
优选地, 所述备用设备是设置为: 从所述共享存储器中读出的有效呼叫 数据对应的呼叫个数与所述主用设备存储到所述共享存储器中的有效呼叫数 据对应的呼叫个数的比值不大于呼叫数据读出比例。  Preferably, the standby device is configured to: the number of calls corresponding to the valid call data read from the shared memory and the number of calls corresponding to the valid call data stored by the active device in the shared memory The ratio is not greater than the call data read ratio.
优选地, 所述系统还包括性能监控及数据写入 /读出控制设备, 设置为: 按如下方式确定所述呼叫数据写入比例 /读出比例:  Preferably, the system further comprises a performance monitoring and data writing/reading control device, configured to: determine the call data writing ratio/read ratio according to the following manner:
定时收集系统性能指标, 并才艮据所述系统性能指标确定相应的呼叫数据 写入比例 /读出比例; 将所述系统确定的相应的呼叫数据写入比例 /读出比例与系统管理员设 定的呼叫数据写入比例 /读出比例进行比较, 选择值较小者作为最终呼叫数据 写入比例 /读出比例。 Collecting system performance indicators at regular intervals, and determining corresponding call data writing ratios/read ratios according to the system performance indicators; Comparing the corresponding call data write ratio/read ratio determined by the system with the call data write ratio/read ratio set by the system administrator, and selecting the smaller value as the final call data write ratio/read Proportion.
与现有技术相比, 釆用本发明实施例后, 可以有效地使宽带彩铃业务双 机容错组网下倒换后的彩铃播放和通话得到恢复, 降低宽带彩铃主机崩溃和 恢复期间的呼叫失败率, 同时避免影响正常业务的稳定性以及系统性能。 附图概述 Compared with the prior art, after the embodiment of the present invention is used, the CRBT playback and the call after the switching of the broadband CRBT service in the fault-tolerant network can be effectively restored, and the call failure rate during the collapse and recovery of the broadband CRBT host is reduced. At the same time, avoid affecting the stability of normal business and system performance. BRIEF abstract
图 1是实施例中降低彩铃业务呼叫失败的系统结构图;  FIG. 1 is a structural diagram of a system for reducing a call failure of a CRBT service in an embodiment; FIG.
图 2是实施例中降低彩铃业务呼叫失败的方法流程图;  2 is a flowchart of a method for reducing a call failure of a CRBT service in an embodiment;
图 3是一个应用示例中降低彩铃业务呼叫失败的系统结构图;  FIG. 3 is a structural diagram of a system for reducing a call failure of a CRBT service in an application example; FIG.
图 4是图 3所示降低彩铃业务呼叫失败的系统的工作流程图。 本发明的较佳实施方式  FIG. 4 is a flow chart showing the operation of the system for reducing the failure of the CRBT service call shown in FIG. 3. Preferred embodiment of the invention
为使本发明的目的、 技术方案和优点更加清楚明白, 下文中将结合附图 对本发明的实施例进行详细说明。 需要说明的是, 在不冲突的情况下, 本申 请中的实施例及实施例中的特征可以相互任意组合。  In order to make the objects, the technical solutions and the advantages of the present invention more clearly, the embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments of the present application may be arbitrarily combined with each other.
实施例一  Embodiment 1
如图 1所示, 本发明实施例提供了一种降低彩铃业务呼叫失败的系统, 该系统包括主用设备、 备用设备、 双机监控设备以及共享存储器, 其中: 所述主用设备, 用于在呼叫业务流程进入指定状态后, 将该呼叫的呼叫 数据写入共享存储器;  As shown in FIG. 1 , an embodiment of the present invention provides a system for reducing a call failure of a CRBT service, where the system includes an active device, a backup device, a dual-machine monitoring device, and a shared memory, where: the primary device is used for After the call service flow enters the specified state, the call data of the call is written into the shared memory;
其中, 所述呼叫业务流程进入指定状态包括: 彩铃业务平台釆用非跨接 方案呼叫业务流程进入向主叫方播放彩铃状态, 或者彩铃业务平台釆用跨接 方案呼叫业务流程进入主被叫通话状态。  The call service process enters the specified state, and the CRBT service platform uses the non-crossover solution to call the service process to enter the ring back tone state to the calling party, or the CRBT service platform uses the crossover solution to call the service process to enter the calling and called call. status.
所述呼叫数据包括: 彩铃业务平台釆用非跨接方案时向主叫方播放彩铃 的数据, 或者彩铃业务平台釆用跨接方案时主被叫通话的数据。 The call data includes: The CRBT service platform plays the ring back tone to the calling party when the non-crossover solution is used. The data, or the data of the calling party's call when the ring back tone service platform uses the bridging scheme.
其中, 所述主用设备在将该呼叫的呼叫数据写入共享存储器时, 在给定 时间或给定呼叫个数阔值中, 所述主用设备写入共享存储器的呼叫个数与该 给定时间内的总呼叫个数或者与该呼叫个数阔值的比值不大于呼叫数据写入 比例, 即, 所述主用设备将该呼叫的呼叫数据按照某一呼叫数据写入比例写 入共享存储器。 所述呼叫数据写入比例是指写入共享存储器的呼叫个数与该 给定时间内的总呼叫个数或者与该呼叫个数阔值的比值, 该比值可以由系统 管理员设定, 也可以在系统运行后动态修改, 随着其它可动态修改参数被系 统定时读取、 并于下个周期内生效, 或者结合系统性能指标来动态地确定。  Wherein, when the calling device writes the call data of the call to the shared memory, the number of calls written by the active device to the shared memory and the given time in a given time or a given number of calls The ratio of the total number of calls in the fixed time or the number of calls to the number of calls is not greater than the call data write ratio, that is, the active device writes the call data of the call according to a call data write ratio. Memory. The call data write ratio refers to the ratio of the number of calls written to the shared memory to the total number of calls in the given time or the number of calls, which may be set by the system administrator, It can be dynamically modified after the system is running, as other dynamically modifiable parameters are periodically read by the system and validated in the next cycle, or dynamically determined in conjunction with system performance indicators.
所述备用设备, 用于在主用设备和备用设备倒换后, 从所述共享存储器 中读取所述呼叫数据, 恢复呼叫。  The standby device is configured to read the call data from the shared memory after the primary device and the standby device are switched, and resume the call.
其中, 所述备用设备按照呼叫数据读出比例从所述共享存储器中将有效 呼叫数据读出。 所述呼叫数据读出比例是指读出的呼叫数占共享存储器中有 效的呼叫数据数的百分比, 所述呼叫数据读出比例的确定与呼叫数据写入比 例类似, 也可以由系统管理员设定, 也可以在系统运行后动态修改, 随着其 它可动态修改参数被系统定时读取、 并于下个周期内生效, 或者结合系统性 能指标来动态地确定。  The standby device reads the valid call data from the shared memory according to the call data read ratio. The call data read ratio refers to a percentage of the number of calls read out in the shared memory, and the call data read ratio is determined similarly to the call data write ratio, and may also be set by the system administrator. It can also be dynamically modified after the system is running. As other dynamically modifiable parameters are periodically read by the system and validated in the next cycle, or dynamically determined in combination with system performance indicators.
所述备用设备从所述共享存储器中读取所述呼叫数据后, 将所述共享存 储器中所述主用设备写入的呼叫数据均标记为无效或删除。  After the standby device reads the call data from the shared memory, the call data written by the active device in the shared memory is marked as invalid or deleted.
其中, 在备用设备恢复呼叫后, 所述备用设备还用于若收到挂机信令则 释放呼叫; 否则根据呼叫内检测结果保持或放弃所述主用设备和备用设备倒 换前呼叫业务流程所处状态。  After the backup device resumes the call, the standby device is further configured to release the call if the on-hook signaling is received; otherwise, the call service flow is maintained or abandoned according to the in-call detection result. status.
所述备用设备根据呼叫内检测结果保持或放弃所述主用设备和备用设备 倒换前呼叫业务流程所处状态, 包括:  The standby device maintains or discards the state of the call service flow before the switching between the active device and the standby device according to the result of the in-call detection, including:
若所述彩铃业务平台釆用非跨接方案, 所述备用设备向主叫方发送呼叫 内检测消息, 若收到主叫方的响应消息, 则保持向主叫方播放彩铃状态, 否 则释放呼叫;  If the CRBT service platform uses a non-crossover solution, the standby device sends an in-call detection message to the calling party, and if the response message of the calling party is received, the ring back tone state is kept to the calling party, otherwise the call is released. ;
若所述彩铃业务平台釆用跨接方案, 所述备用设备向主叫方和被叫方分 别发送呼叫内检测消息, 若收到所述主叫方和被叫方的响应消息, 则保持主 被叫通话状态, 否则释放呼叫。 If the CRBT service platform uses a bridging scheme, the standby device divides the calling party and the called party into Do not send an in-call detection message. If the response message of the calling party and the called party is received, the calling and calling state is maintained, otherwise the call is released.
所述双机监控设备, 用于监控主用设备的运行状况, 并在主用设备异常 时启用备用设备。  The dual-machine monitoring device is configured to monitor the running status of the active device, and enable the standby device when the primary device is abnormal.
相应地, 如图 2所示, 本发明实施例提供了一种降低彩铃业务呼叫失败 的方法, 包括以下步骤: Correspondingly, as shown in FIG. 2, the embodiment of the present invention provides a method for reducing a call failure of a CRBT service, including the following steps:
S101 : 主用设备在呼叫业务流程进入指定状态后, 将该呼叫的呼叫数据 写入共享存储器; 其中, 所述呼叫业务流程进入指定状态包括: 彩铃业务平台釆用非跨接 方案呼叫业务流程处于向主叫方播放彩铃状态或者彩铃业务平台釆用跨接方 案呼叫业务流程处于主被叫通话状态, 主用设备将当前呼叫数据写入共享存 储器; 也可以根据需要设定状态。 其中, 主用设备写入共享存储器的当前呼叫数据包括: 彩铃业务平台釆 用非跨接方案时向主叫方播放彩铃的数据, 或者彩铃业务平台釆用跨接方案 时主被叫通话的数据。  S101: After the call service process enters the specified state, the active device writes the call data of the call to the shared memory. The call service process enters the specified state, where the call service process uses the non-crossover solution to call the service process. The CRBT status is played to the calling party or the CRBT service platform uses the bridging scheme to call the service flow in the main and called call state, and the active device writes the current call data to the shared memory; the status can also be set as needed. The current call data written by the active device to the shared memory includes: the CRBT service platform plays the CRBT data to the calling party when the non-crossover solution is used, or the data of the calling and the called call when the CRBT service platform uses the crossover solution. .
其中, 所述主用设备在将该呼叫的呼叫数据写入共享存储器时, 在给定 时间或给定呼叫个数阔值中, 所述主用设备写入共享存储器的呼叫个数与该 给定时间内的总呼叫个数或者与该呼叫个数阔值的比值不大于呼叫数据写入 比例, 即, 所述主用设备按照呼叫数据写入比例将呼叫数据写入共享存储器。 比如, 可以设定监控周期, 每个监控周期内, 写入共享存储器的呼叫个数与 该段时间内的总呼叫个数之比不超过 30 % , 或者, 使用计数器, 设定每 N个 呼叫中, 写入共享存储器的呼叫个数不超过 30 % , N值根据需要设定。  Wherein, when the calling device writes the call data of the call to the shared memory, the number of calls written by the active device to the shared memory and the given time in a given time or a given number of calls The ratio of the total number of calls or the number of calls to the call is not greater than the call data write ratio, that is, the active device writes the call data to the shared memory according to the call data write ratio. For example, the monitoring period can be set. Within each monitoring period, the ratio of the number of calls written to the shared memory to the total number of calls in the period does not exceed 30%, or, using a counter, set each N calls. The number of calls written to the shared memory does not exceed 30%, and the N value is set as needed.
呼叫数据写入比例可以由系统管理员设定, 也可以在系统运行后动态修 改, 随着其它可动态修改参数被系统定时读取、 并于下个周期内生效, 或者 结合系统性能指标来动态地确定。 The call data write ratio can be set by the system administrator, or can be dynamically modified after the system is running. The other dynamically changeable parameters are periodically read by the system and validated in the next cycle, or dynamically combined with system performance indicators. Determined.
S102: 主用设备出现异常后, 主用设备和备用设备进行倒换; S103: 备用设备从所述共享存储器中读取所述呼叫数据, 恢复呼叫。 其中, 所述备用设备按照呼叫数据读出比例从所述共享存储器中将有效 呼叫数据读出。 所述备用设备从所述共享存储器中读出的有效呼叫数据对应 的呼叫个数与所述主用设备存储到所述共享存储器中的有效呼叫数据对应的 呼叫个数的比值不大于呼叫数据读出比例。 S102: After the primary device is abnormal, the primary device and the standby device perform switching; S103: The standby device reads the call data from the shared memory to resume the call. The standby device reads the valid call data from the shared memory according to the call data read ratio. The ratio of the number of calls corresponding to the valid call data read by the standby device from the shared memory to the number of calls corresponding to the valid call data stored by the active device in the shared memory is not greater than the call data read Proportion.
所述呼叫数据读出比例的确定与呼叫数据写入比例类似, 也可以由系统 管理员设定, 也可以在系统运行后动态修改, 随着其它可动态修改参数被系 统定时读取、 并于下个周期内生效, 或者结合系统性能指标来动态地确定。  The determination of the call data read ratio is similar to the call data write ratio, and may also be set by the system administrator, or may be dynamically modified after the system is running, and the other dynamically changeable parameters are periodically read by the system, and Effective within the next cycle, or dynamically determined in conjunction with system performance metrics.
其中, 所述备用设备从所述共享存储器中读取所述呼叫数据后, 将所述 共享存储器中所述主用设备写入的呼叫数据均标记为无效或删除。 这样, 共 享存储器就可以节省存储空间, 被标识为无效的数据可被新数据所覆盖, 并 能够保证后续话务的良好性能和稳定性。 在上述步骤中, 所述呼叫数据写入比例 /读出比例可以按照以下方式但不 排除其他动态的方式来确定, 包括:  After the standby device reads the call data from the shared memory, the call data written by the active device in the shared memory is marked as invalid or deleted. In this way, shared memory can save storage space, data that is identified as invalid can be overwritten by new data, and can guarantee good performance and stability of subsequent traffic. In the above steps, the call data writing ratio/read ratio may be determined in the following manner but not in other dynamic manners, including:
系统管理员设定呼叫数据写入比例 /读出比例;  The system administrator sets the call data write ratio/read ratio;
系统定时收集系统性能指标, 并才艮据所述系统性能指标确定相应的呼叫 数据写入比例 /读出比例;  The system periodically collects system performance indicators, and determines the corresponding call data writing ratio/read ratio according to the system performance indicators;
将所述系统确定的相应的呼叫数据写入比例 /读出比例与系统管理员设 定的所述呼叫数据写入比例 /读出比例进行比较, 选择值较小者作为最终呼叫 数据写入比例 /读出比例。 此外, 在步骤 S103中, 所述备用设备恢复呼叫后, 若收到挂机信令则释 放呼叫; 否则根据呼叫内检测结果保持或放弃所述主用设备和备用设备倒换前呼 叫业务流程所处状态, 具体为:  Comparing the corresponding call data write ratio/read ratio determined by the system with the call data write ratio/read ratio set by the system administrator, and selecting the smaller value as the final call data write ratio / Read ratio. In addition, in step S103, after the standby device resumes the call, if the on-hook signaling is received, the call is released; otherwise, the state of the call service flow before the switching between the active device and the standby device is maintained or abandoned according to the in-call detection result. , Specifically:
若所述彩铃业务平台釆用非跨接方案, 所述备用设备向主叫方发送呼叫 内检测消息, 若收到主叫方的响应消息, 则保持向主叫方播放彩铃状态, 否 则释放呼叫; 若所述彩铃业务平台釆用跨接方案, 所述备用设备向主叫方和被叫方分 别发送呼叫内检测消息, 若收到所述主叫方和被叫方的响应消息, 则保持主 被叫通话状态, 否则释放呼叫。 If the CRBT service platform uses a non-crossover solution, the standby device sends an in-call detection message to the calling party, and if the response message of the calling party is received, the ring back tone state is kept to the calling party, otherwise the call is released. ; If the CRBT service platform uses the bridging scheme, the standby device sends an in-call detection message to the calling party and the called party respectively, and if the response message of the calling party and the called party is received, the main message is maintained. The called party is in a call state, otherwise the call is released.
在一个应用示例中, 如图 3所示, 所述降低彩铃业务呼叫失败的系统还 可以包括: 性能监控及数据写入 /读出控制设备, 用于确定呼叫数据写入比例 /读出比例, 可以按照以下方式但不排除其他动态的方式来确定: In an application example, as shown in FIG. 3, the system for reducing a CRBT service call failure may further include: a performance monitoring and data writing/reading control device, configured to determine a call data writing ratio/read ratio, It can be determined in the following ways but not in other dynamic ways:
所述性能监控及数据写入 /读出控制设备定时收集系统性能指标, 并根据 所述系统性能指标确定相应的呼叫数据写入比例 /读出比例;  The performance monitoring and data writing/reading control device periodically collects system performance indicators, and determines a corresponding call data writing ratio/read ratio according to the system performance indicators;
所述性能监控及数据写入 /读出控制设备将所述系统确定的相应的呼叫 数据写入比例 /读出比例与系统管理员设定的呼叫数据写入比例 /读出比例进 行比较, 选择值较小者作为最终呼叫数据写入比例 /读出比例。  The performance monitoring and data writing/reading control device compares the corresponding call data writing ratio/read ratio determined by the system with the calling data writing ratio/reading ratio set by the system administrator, and selects The smaller value is used as the final call data write ratio/read ratio.
其中,系统管理员手动设定呼叫数据写入 /读出比例,设定监控周期内(通 常是 10分钟,该比例可根据实际情况配置)呼叫数占总呼叫数百分比的上限。 该值在系统运行后可以动态修改,随着其它可动态修改参数被系统定时读取、 并于下个周期内生效。 其中, 所述系统性能指标包括整体 CPU利用率和内存占用率、 关键进程 CPU和内存占用率、 10吞吐量(可选)等。 在具体实施方式时, 可以将不同 情况下的系统性能指标与呼叫数据写入 /读出比例形成对应关系, 性能监控及 数据写入 /读出控制设备釆集到性能数据后, 在上述对应关系中匹配到能够满 足的性能最优的记录, 获得对应的呼叫数据写入 /读出比例, 进入下个监控周 期后, 性能监控及数据写入 /读出控制设备继续釆集性能数据并生成新的呼叫 数据写入 /读出比例。 在具体实施时, 可以为系统性能指标与系统当前允许的呼叫数据写入比 例设定如表 1所示的对应关系:  Among them, the system administrator manually sets the call data write/read ratio, and sets the upper limit of the number of calls in the monitoring period (usually 10 minutes, which can be configured according to the actual situation). This value can be dynamically modified after the system is running. It can be read periodically by the system with other dynamically modifiable parameters and will take effect in the next cycle. The system performance indicators include overall CPU utilization and memory usage, critical process CPU and memory usage, and 10 throughput (optional). In a specific implementation manner, a system performance indicator in different situations may be associated with a call data write/read ratio, and the performance monitoring and data write/read control device may collect the performance data after the corresponding relationship. Matching to the performance-optimized record that can be satisfied, obtaining the corresponding call data write/read ratio, after entering the next monitoring cycle, the performance monitoring and data write/read control device continues to collect performance data and generate new Call data write/read ratio. In the specific implementation, the corresponding relationship between the system performance indicator and the call data currently allowed by the system can be written as shown in Table 1:
CPU占用率 内存空闲率 当前总话务量 呼叫数据写入比例 CPU usage Memory idle rate Current total traffic Call data write ratio
1 2%以下 50%以上 每秒 150个呼 最高为 80% 1 2% or less 50% or more 150 calls per second Up to 80%
叫以下 2 6%以下 40%以上 每秒 200呼叫 最高为 60% Called the following 2 6% or less 40% or more 200 calls per second up to 60%
以下  the following
表 1 : 系统性能指标与系统当前允许的呼叫数据写入比例的对应关系 假设系统管理员设定的数据写入比例上限为 70%, 如果当前系统性能指 标对应第一种对应关系, 即呼叫数据写入比例最高为 80%, 在比较后选取两 者中较小值, 即 70%作为写入共享存储器的最终呼叫数据写入比例; 如果当 前系统性能指标对应第二种对应关系, 即呼叫数据写入比例最高为 60%, 在 比较后选取两者中较小值, 即 60%作为写入共享存储器的最终呼叫数据写入 比例。 在本应用示例中, 所述主用设备还可以设置一个每百个呼叫的业务状态 计数器, 计数器初始值为 0 , 在每个监控周期内一次彩铃呼叫触发该计数器 加 1 , 到达 100后重新置 0, 重新累加。 例如, 最终的呼叫数据写入比例为 30%, 则主用设备可以设置将计数器计数为 0~29对应的呼叫数据写入共享存 储器。 这样, 就可以实现按照最终的呼叫数据写入比例将计数器对应的呼叫 数写入共享存储器了。 相应地, 也可以为系统性能指标与系统当前允许的呼叫数据读出比例设 定如表 2所示的对应关系: Table 1: Correspondence between system performance indicators and the current call data write ratio allowed by the system. Assume that the upper limit of the data write ratio set by the system administrator is 70%. If the current system performance indicator corresponds to the first correspondence, that is, call data. The write ratio is up to 80%, and the smaller of the two is selected after the comparison, that is, 70% is the final call data write ratio written to the shared memory; if the current system performance indicator corresponds to the second correspondence, that is, the call data The write ratio is up to 60%, and the smaller of the two is selected after the comparison, that is, 60% as the final call data write ratio written to the shared memory. In this application example, the active device may also set a service status counter for every hundred calls, and the initial value of the counter is 0. In each monitoring period, a CRBT call triggers the counter to increase by 1, and reaches 100 and then resets. 0, re-accumulate. For example, if the final call data write ratio is 30%, the active device can set the call data corresponding to the counter count 0~29 to be written to the shared memory. In this way, it is possible to write the number of calls corresponding to the counter to the shared memory in accordance with the final call data write ratio. Correspondingly, the correspondence between the system performance index and the call data readout ratio currently allowed by the system can also be set as shown in Table 2:
Figure imgf000011_0001
Figure imgf000011_0001
表 2: 系统性能指标与系统当前允许的呼叫数据读出比例的对应关系 假设系统管理员设定的数据读出比例上限为 70%, 如果当前系统性能指 标对应第一种对应关系, 即呼叫数据读出比例为 80%, 在比较后选取两者中 较小值, 即 70%作为从共享存储器读出的最终呼叫数据读出比例; 如果当前 系统性能指标对应第二种对应关系, 即呼叫数据读出比例为 60%, 在比较后 选取两者中较小值,即 60%作为从共享存储器读出的最终呼叫数据读出比例。 如图 4所示, 在本应用示例中, 上述降低彩铃业务呼叫失败的系统的工 作流程如下: Table 2: Correspondence between the system performance indicator and the current allowed call data read ratio of the system. Assume that the upper limit of the data read ratio set by the system administrator is 70%. If the current system performance indicator corresponds to the first correspondence, that is, the call data. The readout ratio is 80%, and after the comparison, the two are selected. The smaller value, that is, 70% as the final call data readout ratio read from the shared memory; if the current system performance index corresponds to the second correspondence, that is, the call data readout ratio is 60%, after the comparison, the two are selected. The smaller value, 60%, is the final call data readout ratio read from the shared memory. As shown in FIG. 4, in the application example, the workflow of the system for reducing a CRBT service call failure is as follows:
S201 : 宽带彩铃智能网业务平台双机正常启动, 主用设备正常运行, 双机 监控设备监控主用设备工作状态; 所述双机监控设备对主用设备是否发生智能网平台、 数据库或系统异常 进行监控; S202: 系统管理员设定呼叫数据写入 /读出比例, 同时启动性能监控及数 据写入 /读出控制设备, 周期性地(在监控周期内)收集系统性能指标, 产生 对应的呼叫数据写入 /读出比例; S201: The broadband ringtone intelligent network service platform starts normally, the active device runs normally, and the dual-machine monitoring device monitors the working status of the active device; whether the dual-machine monitoring device has an intelligent network platform, database or system abnormality for the primary device Monitoring; S202: The system administrator sets the call data write/read ratio, starts the performance monitoring and data write/read control device, periodically collects the system performance indicators (within the monitoring period), and generates corresponding Call data write/read ratio;
S203 : 交互侧起呼, 彩铃业务平台釆用非跨接方案进入铃音播放状态, 或彩铃业务平台釆用跨接方案且主被叫进入通话状态; S204: 主用设备向性能监控及数据写入 /读出控制设备发送消息, 请求获 取当前共享存储器的呼叫数据写入比例; S203: The interactive side call, the CRBT service platform enters the ring tone playing state by using the non-crossover solution, or the color ringing service platform uses the bridging scheme and the calling party enters the call state; S204: the main device writes to the performance monitoring and data The in/out control device sends a message requesting to obtain a call data writing ratio of the current shared memory;
S205: 性能监控及数据写入 /读出控制设备比较所述系统性能指标对应的 呼叫数据写入比例 (如表 1所示)与系统管理员设定的呼叫数据写入比例, 选取两者中较小值作为当前共享存储器呼叫数据写入比例,发送给主用设备; S206: 主用设备根据业务状态计数器的统计, 将当前呼叫数据按照获得 的呼叫数据写入比例写入共享存储器; 例如,获得的呼叫数据写入比例为 30%,则主用设备将计数器计数为 0~29 对应的呼叫数据写入共享存储器,也可以将计数为 30 ~ 59的呼叫对应的呼叫 数据写入共享存储器, 或者取不连续的计数下的呼叫对应的呼叫数据写入共 享存储器, 只要满足每 100个呼叫中写入 30个呼叫的呼叫数据即可。 将呼叫数据写入共享存储器的数据结构主要包括: 对话协议标识量(如 sip协议中的 call-id、 from-tag和 to-tag字段) 、 用户号码(包括主被叫号码、 前转号码、 uri等) 、 协议栈的路由数据、 当前媒体协商状态和保存的媒体信 息, 并在共享存储器文件固定区域标识该数据区的有效性(初始为"有效,,), 该数据段在共享存储器中长度固定。 S205: The performance monitoring and data writing/reading control device compares the call data writing ratio corresponding to the system performance indicator (as shown in Table 1) with the call data writing ratio set by the system administrator, and selects both The smaller value is sent to the active device as the current shared memory call data write ratio; S206: The primary device writes the current call data to the shared memory according to the obtained call data write ratio according to the statistics of the service status counter; for example, The obtained call data write ratio is 30%, and the active device writes the call data corresponding to the counter count from 0 to 29 to the shared memory, and can also write the call data corresponding to the call with the count of 30 to 59 into the shared memory. Or the call data corresponding to the call under the discontinuous count is written into the shared memory as long as the call data of 30 calls per 100 calls is satisfied. The data structure for writing call data to the shared memory mainly includes: a dialog protocol identifier (such as a call-id, a from-tag, and a to-tag field in the sip protocol), a user number (including a calling and called number, Forwarding number, ur i, etc., routing data of the protocol stack, current media negotiation status, and saved media information, and identifying the validity of the data area in the fixed area of the shared memory file (initially "valid,"), the data The segment is fixed in length in the shared memory.
S207: 双机监控设备监控主用设备是否出现异常, 若未发现异常, 主用 设备继续正常工作, 并在呼叫结束后将共享存储器中的呼叫数据标记为无效 或者删除; 否则转至步骤 S208; S207: The dual-machine monitoring device monitors whether the primary device is abnormal. If no abnormality is found, the primary device continues to work normally, and the call data in the shared memory is marked as invalid or deleted after the call ends; otherwise, the process goes to step S208;
S208: 双机监控设备启动备用设备; S208: The dual-machine monitoring device starts the standby device;
S209: 备用设备向性能监控及数据写入 /读出控制设备发送消息, 请求获 取当前共享存储器的呼叫数据读出比例; S210: 性能监控及数据写入 /读出控制设备比较所述系统性能指标对应的 呼叫数据读出比例 (如表 2所示 )与系统管理员设定的呼叫数据读出比例, 选取两者中较小值作为当前共享存储器最终呼叫数据读出比例, 发送给备用 设备; S209: The standby device sends a message to the performance monitoring and data writing/reading control device, requesting to obtain a call data read ratio of the current shared memory; S210: performance monitoring and data writing/reading control device comparing the system performance indicator Corresponding call data read ratio (as shown in Table 2) and the call data read ratio set by the system administrator, select the smaller of the two as the current shared memory final call data read ratio, and send to the standby device;
S211 : 备用设备按照获得的呼叫数据读出比例将所述共享存储器中标记 为有效的呼叫数据读出, 然后将共享存储器中主用设备写入的呼叫数据均标 记为无效或删除, 根据读取的呼叫数据恢复这部分呼叫; S211: The standby device reads out the call data marked as valid in the shared memory according to the obtained call data read ratio, and then marks the call data written by the active device in the shared memory as invalid or deleted, according to the read. Call data to recover this part of the call;
S212: 如果备用设备收到挂机信令, 释放对话, 结束呼叫; 否则转至步 骤 S213;  S212: If the standby device receives the on-hook signaling, release the session, and end the call; otherwise, go to step S213;
S213: 根据业务配置的跨接、 非跨接方案分别向主被叫方、 主叫方发送 呼叫内检测消息;  S213: Send an in-call detection message to the calling party and the calling party according to the bridging and non-crossover scheme configured by the service;
其中, 为避免瞬间发送数据量过大造成网络阻塞、 丟包等异常, 检测消 息分为若干批定时发出。 每批数据量可釆用默认值, 也可由管理员依据现网 当前业务量、 网络设备状况进行合理配置。  In order to avoid abnormality such as network congestion and packet loss caused by excessive data transmission in an instant, the detection message is sent in several batches. The default value can be used for each batch of data. It can also be configured by the administrator based on the current traffic of the current network and the status of the network device.
S214: 若对话内检测收到响应, 则继续维持对话, 否则释放对话; 在上述步骤 S213~S214中,对于跨接方案,检测消息向主被叫分别发送, 发送后等待周期内未收到主被叫检测响应或者响应携带错误码告知呼叫不存 在(如 sip协议 481 Call/Transaction Dose Not Exist响应), 则释放内存中的呼 叫数据; 否则若主被叫侧都发送正确响应 (如 sip协议 200OK响应) , 则主 被叫仍处于通话状态, 内存呼叫数据继续保持, 后面继续处理来自主被叫侧 的挂机、 再次媒体协商等请求。 S214: If the response is detected in the session, the session is continued, otherwise the session is released; in the above steps S213-S214, for the spanning scheme, the detection message is separately sent to the calling party, and the waiting period is not received after the sending. The called detection response or the response carries an error code to inform that the call does not exist (such as the sip protocol 481 Call/Transaction Dose Not Exist response), then release the call in memory Call data; otherwise, if the calling party side sends a correct response (such as the sip protocol 200 OK response), the calling party is still in the call state, the memory call data continues to be maintained, and the hang-up from the calling party side is resumed, and the media negotiation is performed again. Wait for the request.
对非跨接方案, 检测消息向主叫侧发送, 发送后等待周期内未收到主叫 检测响应或者响应携带错误码告知呼叫不存在, 则释放内存中的呼叫数据; 否则若主叫侧发送正确响应, 则仍处于彩铃放音状态, 内存呼叫数据继续保 持,后面继续处理来自主叫侧的挂机请求以便主被叫通话或者主叫释放呼叫。  For the non-crossover scheme, the detection message is sent to the calling side, and the caller's detection response is not received within the waiting period after the transmission, or the response carries the error code to inform that the call does not exist, and the call data in the memory is released; otherwise, if the calling side sends If it responds correctly, it is still in the ring tone playback state, the memory call data continues to be maintained, and the on-hook request from the calling side continues to be processed later for the calling party or the calling party to release the call.
S215: 备用设备代替主用设备服务, 双机监控设备对备用设备工作状态 实施监控; 后续请求按主用设备方式处理。  S215: The standby device replaces the primary device service, and the dual-machine monitoring device monitors the working state of the standby device; subsequent requests are processed according to the primary device.
与主用设备类似地确定当前写入共享存储器呼叫数据比例, 将彩铃播放 Determine the current write shared memory call data ratio similarly to the active device, and play the CRBT
(非跨接方案)或通话 (跨接方案)状态下数据区写入共享存储, 以备再次 倒换。 In the (non-crossover scheme) or call (crossover scheme) state, the data area is written to the shared storage for re-switching.
至此, 本应用示例降低彩铃业务呼叫失败的系统的工作流程执行完毕。  So far, this application example has completed the workflow of the system that failed to call the CRBT service.
从上述实施例可以看出, 相对于现有技术, 本发明提供的降低彩铃业务 呼叫失败的方法及系统用于宽带彩铃业务平台双机倒换前处于非跨接方案的 彩铃播放状态或者跨接方案的通话状态的场景之下, 可以有效地使宽带彩铃 业务双机容错组网下倒换后的彩铃播放和通话得到恢复, 降低宽带彩铃主机 崩溃和恢复期间的呼叫失败率, 同时不会影响正常业务的稳定性。 It can be seen from the above-mentioned embodiments that the method and system for reducing the CRBT service call failure provided by the present invention are used for the CRBT playback state or the crossover scheme of the non-crossover solution before the dual-machine switching of the broadband CRBT service platform is compared with the prior art. Under the scenario of the call state, the CRBT playback and the call after the switching of the broadband CRBT service in the fault-tolerant network can be effectively restored, and the call failure rate during the collapse and recovery of the broadband CRBT host is reduced, and the normal service is not affected. Stability.
此外, 本发明提供的降低彩铃业务呼叫失败的方法及系统, 还通过对共 享存储器写入 /读出数据的控制, 克服了将大量呼叫数据写入共享存储可能引 发 CPU性能下降和 10过于繁忙的缺陷, 大大提高了 CPU性能, 且避免了系 统的资源浪费。  In addition, the method and system for reducing the call failure of the CRBT service provided by the present invention overcome the problem of writing a large amount of call data to the shared storage, which may cause a decrease in CPU performance and 10 is too busy, by controlling the write/read data of the shared memory. Defects greatly improve CPU performance and avoid system waste.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序 来指令相关硬件完成, 所述程序可以存储于计算机可读存储介质中, 如只读 存储器、 磁盘或光盘等。 可选地, 上述实施例的全部或部分步骤也可以使用 一个或多个集成电路来实现。 相应地, 上述实施例中的各模块 /单元可以釆用 硬件的形式实现, 也可以釆用软件功能模块的形式实现。 本发明不限制于任 何特定形式的硬件和软件的结合。 One of ordinary skill in the art will appreciate that all or a portion of the above steps may be performed by a program to instruct the associated hardware, such as a read only memory, a magnetic disk, or an optical disk. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the above embodiment can be used The form of hardware implementation can also be implemented in the form of software function modules. The invention is not limited to any specific form of combination of hardware and software.
以上所述仅为本发明的优选实施例而已, 并非用于限定本发明的保护范 围。 根据本发明的发明内容, 还可有其他多种实施例, 在不背离本发明精神 改变和变形, 凡在本发明的精神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。  The above description is only a preferred embodiment of the present invention and is not intended to limit the scope of protection of the present invention. In view of the present invention, various other modifications, equivalents, improvements, etc., should be made without departing from the spirit and scope of the invention. It is included in the scope of protection of the present invention.
工业实用性 Industrial applicability
釆用本发明实施例后, 可以有效地使宽带彩铃业务双机容错组网下倒换 后的彩铃播放和通话得到恢复, 降低宽带彩铃主机崩溃和恢复期间的呼叫失 败率, 同时避免影响正常业务的稳定性以及系统性能。  After the embodiment of the present invention is used, the CRBT playback and the call after the switching of the broadband CRBT service in the fault-tolerant network can be effectively restored, and the call failure rate during the collapse and recovery of the broadband CRBT host is reduced, and the normal service is avoided. Stability and system performance.

Claims

权 利 要 求 书 Claim
1、 一种降低彩铃业务呼叫失败的方法, 包括:  1. A method for reducing a call failure of a CRBT service, including:
主用设备在呼叫业务流程进入指定状态后, 将该呼叫的呼叫数据写入共 享存储器, 所述主用设备和备用设备倒换后, 所述备用设备从所述共享存储 器中读取所述呼叫数据, 恢复呼叫。  After the calling service process enters the specified state, the calling device writes the call data of the call to the shared memory, and after the active device and the standby device are switched, the standby device reads the call data from the shared memory. , resume the call.
2、 如权利要求 1所述的方法, 其中, 2. The method of claim 1 wherein
所述呼叫业务流程进入指定状态包括: 彩铃业务平台釆用非跨接方案呼 叫业务流程进入向主叫方播放彩铃状态, 或者彩铃业务平台釆用跨接方案呼 叫业务流程进入主被叫通话状态。  The call service process enters the specified state, including: the CRBT service platform uses the non-crossover solution to call the service process to enter the CRBT state to the calling party, or the CRBT service platform uses the bridging scheme to call the service process to enter the calling and calling state.
3、 如权利要求 1所述的方法, 其中, 3. The method of claim 1, wherein
所述呼叫数据包括: 彩铃业务平台釆用非跨接方案时向主叫方播放彩铃 的数据, 或者彩铃业务平台釆用跨接方案时主被叫通话的数据。  The call data includes: data that the CRBT service platform plays to the calling party when the non-crossover solution is used, or the data of the calling party and the called party when the CRBT service platform uses the bridging scheme.
4、 如权利要求 1所述的方法, 其中, 所述方法还包括: 4. The method of claim 1, wherein the method further comprises:
所述备用设备恢复呼叫后, 若收到挂机信令则释放呼叫; 否则根据呼叫 内检测结果保持或放弃所述主用设备和备用设备倒换前呼叫业务流程所处状 态。  After the standby device resumes the call, if the on-hook signaling is received, the call is released; otherwise, the state of the call service flow before the primary device and the backup device are switched is maintained or discarded according to the result of the in-call detection.
5、 如权利要求 4所述的方法, 其中, 5. The method of claim 4, wherein
所述根据呼叫内检测结果保持或放弃所述主用设备和备用设备倒换前呼 叫业务流程所处状态, 包括:  And maintaining, according to the result of the in-call detection, the status of the call service flow before the switching between the active device and the standby device, including:
若所述彩铃业务平台釆用非跨接方案, 所述备用设备向主叫方发送呼叫 内检测消息, 若收到主叫方的响应消息, 则保持向主叫方播放彩铃状态, 否 则释放呼叫;  If the CRBT service platform uses a non-crossover solution, the standby device sends an in-call detection message to the calling party, and if the response message of the calling party is received, the ring back tone state is kept to the calling party, otherwise the call is released. ;
若所述彩铃业务平台釆用跨接方案, 所述备用设备向主叫方和被叫方分 别发送呼叫内检测消息, 若收到所述主叫方和被叫方的响应消息, 则保持主 被叫通话状态, 否则释放呼叫。 If the CRBT service platform uses the bridging scheme, the standby device sends an in-call detection message to the calling party and the called party respectively, and if the response message of the calling party and the called party is received, the main message is maintained. The called party is in a call state, otherwise the call is released.
6、 如权利要求 1所述的方法, 其中, 6. The method of claim 1, wherein
所述主用设备将所述呼叫的呼叫数据写入所述共享存储器后, 还包括: 将该呼叫数据标记为有效, 若呼叫结束后主用设备和备用设备未发生倒 换, 则所述主用设备将所述共享存储器中该呼叫的呼叫数据标记为无效或者 删除;  After the calling device writes the call data of the call to the shared memory, the method further includes: marking the call data as valid, and if the primary device and the standby device are not switched after the call ends, the primary device The device marks the call data of the call in the shared memory as invalid or deleted;
所述备用设备从所述共享存储器中读取所述呼叫数据后, 将所述共享存 储器中所述主用设备写入的呼叫数据均标记为无效或删除。  After the standby device reads the call data from the shared memory, the call data written by the active device in the shared memory is marked as invalid or deleted.
7、 如权利要求 1所述的方法, 其中, 所述方法还包括: The method of claim 1, wherein the method further comprises:
所述主用设备在呼叫业务流程进入指定状态后, 将该呼叫的呼叫数据写 入共享存储器包括:  After the calling service enters the specified state, the calling device writes the call data of the call to the shared memory, including:
在给定时间或给定呼叫个数阔值中, 所述主用设备写入共享存储器的呼 叫个数与该给定时间内的总呼叫个数或者与该呼叫个数阔值的比值不大于呼 叫数据写入比例。  In a given time or a given number of calls, the ratio of the number of calls written by the active device to the shared memory to the total number of calls in the given time or to the number of calls is not greater than Call data write ratio.
8、 如权利要求 1所述的方法, 其中, 8. The method of claim 1, wherein
所述备用设备从所述共享存储器中读取所述呼叫数据包括: 所述备用设 备从所述共享存储器中读出的有效呼叫数据对应的呼叫个数与所述主用设备 存储到所述共享存储器中的有效呼叫数据对应的呼叫个数的比值不大于呼叫 数据读出比例。  The reading, by the standby device, the call data from the shared memory includes: the number of calls corresponding to the valid call data read by the standby device from the shared memory is stored with the active device to the share The ratio of the number of calls corresponding to the valid call data in the memory is not greater than the call data read ratio.
9、 如权利要求 7或 8所述的方法, 其中, 9. The method according to claim 7 or 8, wherein
按如下方式确定所述呼叫数据写入比例 /读出比例:  The call data write ratio/read ratio is determined as follows:
系统管理员设定呼叫数据写入比例 /读出比例;  The system administrator sets the call data write ratio/read ratio;
系统定时收集系统性能指标, 并才艮据所述系统性能指标确定相应的呼叫 数据写入比例 /读出比例;  The system periodically collects system performance indicators, and determines the corresponding call data writing ratio/read ratio according to the system performance indicators;
将所述系统确定的相应的呼叫数据写入比例 /读出比例与系统管理员设 定的所述呼叫数据写入比例 /读出比例进行比较, 选择值较小者作为最终呼叫 数据写入比例 /读出比例。 Comparing the corresponding call data write ratio/read ratio determined by the system with the call data write ratio/read ratio set by the system administrator, and selecting the smaller value as the final call data write ratio / Read ratio.
10、 一种降低彩铃业务呼叫失败的系统, 包括主用设备、 备用设备和共 享存储器, 其中, 10. A system for reducing a call failure of a CRBT service, comprising a primary device, a backup device, and a shared memory, wherein
所述主用设备设置为: 在呼叫业务流程进入指定状态后, 将该呼叫的呼 叫数据写入共享存储器;  The active device is configured to: after the call service flow enters the specified state, write the call data of the call to the shared memory;
所述备用设备设置为: 在所述主用设备和所述备用设备倒换后, 从所述 共享存储器中读取所述呼叫数据, 恢复呼叫。  The standby device is configured to: after the primary device and the standby device are switched, read the call data from the shared memory to resume a call.
11、 如权利要求 10所述的系统, 其中, 11. The system of claim 10, wherein
所述呼叫业务流程进入指定状态包括: 彩铃业务平台釆用非跨接方案呼 叫业务流程进入向主叫方播放彩铃状态, 或者彩铃业务平台釆用跨接方案呼 叫业务流程进入主被叫通话状态。  The call service process enters the specified state, including: the CRBT service platform uses the non-crossover solution to call the service process to enter the CRBT state to the calling party, or the CRBT service platform uses the bridging scheme to call the service process to enter the calling and calling state.
12、 如权利要求 10所述的系统, 其中, 12. The system of claim 10, wherein
所述呼叫数据包括: 彩铃业务平台釆用非跨接方案时向主叫方播放彩铃 的数据, 或者彩铃业务平台釆用跨接方案时主被叫通话的数据。  The call data includes: data that the CRBT service platform plays to the calling party when the non-crossover solution is used, or the data of the calling party and the called party when the CRBT service platform uses the bridging scheme.
13、 如权利要求 10所述的系统, 其中, 13. The system of claim 10, wherein
所述备用设备还设置为: 在恢复呼叫后, 若收到挂机信令则释放呼叫; 否则根据呼叫内检测结果保持或放弃所述主用设备和备用设备倒换前呼叫业 务流程所处状态。  The standby device is further configured to: release the call if the on-hook signaling is received after the call is resumed; otherwise, maintain or abandon the state of the call service flow before the primary device and the standby device switch according to the in-call detection result.
14、 如权利要求 13所述的系统, 其中, 所述备用设备还设置为: 若所述彩铃业务平台釆用非跨接方案, 向主叫方发送呼叫内检测消息, 若收到主叫方的响应消息, 则保持向主叫方播放彩铃状态, 否则释放对话; 若所述彩铃业务平台釆用跨接方案, 向主叫方和被叫方分别发送呼叫内 检测消息, 若收到所述主叫方和被叫方的响应消息, 则保持主被叫通话状态, 否则释放对话。  14. The system according to claim 13, wherein the standby device is further configured to: if the CRBT service platform uses a non-crossover scheme, send an in-call detection message to the calling party, if the calling party is received The response message keeps playing the CRBT status to the calling party, otherwise the dialog is released; if the CRBT service platform uses the bridging scheme, the caller and the called party respectively send an in-call detection message, if the call is received The response message of the calling party and the called party keeps the calling and calling state of the call, otherwise the dialogue is released.
15、 如权利要求 10所述的系统, 其中, 15. The system of claim 10, wherein
所述主用设备还设置为: 将所述呼叫的呼叫数据写入所述共享存储器后 将该呼叫数据标记为有效, 若呼叫结束后所述主用设备和所述备用设备未发 生倒换, 则将所述共享存储器中该呼叫的呼叫数据标记为无效或者删除; 所述备用设备还设置为: 从所述共享存储器中读取所述呼叫数据后, 将 所述共享存储器中所述主用设备写入的呼叫数据均标记为无效或删除。 The primary device is further configured to: mark the call data as valid after the call data of the call is written into the shared memory, and if the primary device and the backup device are not sent after the call ends Switching, the call data of the call in the shared memory is marked as invalid or deleted; the standby device is further configured to: after reading the call data from the shared memory, the shared memory The call data written by the primary device is marked as invalid or deleted.
16、 如权利要求 10所述的系统, 其中, 16. The system of claim 10, wherein
所述主用设备是设置为: 在给定时间或给定呼叫个数阔值中, 所述主用 设备写入共享存储器的呼叫个数与该给定时间内的总呼叫个数或者与该呼叫 个数阔值的比值不大于呼叫数据写入比例。  The primary device is configured to: in a given time or a given number of calls, the number of calls written by the primary device to the shared memory and the total number of calls in the given time or The ratio of the number of calls to the threshold is not greater than the call data write ratio.
17、 如权利要求 10所述的系统, 其中, 17. The system of claim 10, wherein
所述备用设备是设置为: 从所述共享存储器中读出的有效呼叫数据对应 的呼叫个数与所述主用设备存储到所述共享存储器中的有效呼叫数据对应的 呼叫个数的比值不大于呼叫数据读出比例。  The standby device is configured to: the ratio of the number of calls corresponding to the valid call data read from the shared memory to the number of calls corresponding to the valid call data stored by the active device in the shared memory is not Greater than the call data read ratio.
18、 如权利要求 16或 17所述的系统, 其中,  18. The system of claim 16 or 17, wherein
所述系统还包括性能监控及数据写入 /读出控制设备, 设置为: 按如下方 式确定所述呼叫数据写入比例 /读出比例:  The system also includes a performance monitoring and data write/read control device configured to: determine the call data write ratio/read ratio as follows:
定时收集系统性能指标, 并才艮据所述系统性能指标确定相应的呼叫数据 写入比例 /读出比例;将所述系统确定的相应的呼叫数据写入比例 /读出比例与 系统管理员设定的呼叫数据写入比例 /读出比例进行比较, 选择值较小者作为 最终呼叫数据写入比例 /读出比例。  Collecting system performance indicators periodically, and determining the corresponding call data writing ratio/read ratio according to the system performance index; writing the corresponding call data determined by the system to the ratio/read ratio and the system administrator setting The predetermined call data write ratio/read ratio is compared, and the smaller value is selected as the final call data write ratio/read ratio.
PCT/CN2012/070102 2011-06-08 2012-01-06 Method and system for reducing calling failure of color ring back tone service WO2012167620A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110152891.9 2011-06-08
CN201110152891.9A CN102821365B (en) 2011-06-08 2011-06-08 It is a kind of to reduce the method and system of Ring Back Tone service call failure

Publications (1)

Publication Number Publication Date
WO2012167620A1 true WO2012167620A1 (en) 2012-12-13

Family

ID=47295433

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/070102 WO2012167620A1 (en) 2011-06-08 2012-01-06 Method and system for reducing calling failure of color ring back tone service

Country Status (2)

Country Link
CN (1) CN102821365B (en)
WO (1) WO2012167620A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112738053A (en) * 2020-12-24 2021-04-30 咪咕文化科技有限公司 Video color ring playing method, system, server, network equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1112814C (en) * 1999-09-18 2003-06-25 深圳市中兴通讯股份有限公司 Method for reducting message loss rate by call protection
CN1976370A (en) * 2005-11-28 2007-06-06 中兴通讯股份有限公司 Method for keeping call data uniformity after master-slave gateway replacing
CN101022661A (en) * 2007-03-20 2007-08-22 中国移动通信集团江苏有限公司 Ringing 1+N disaster-tolerant realizing method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100466522C (en) * 2005-12-13 2009-03-04 华为技术有限公司 Farend access communication system, and control method
WO2008064599A1 (en) * 2006-12-01 2008-06-05 Huawei Technologies Co., Ltd. Resuming method when called in msc pool, system and equipment thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1112814C (en) * 1999-09-18 2003-06-25 深圳市中兴通讯股份有限公司 Method for reducting message loss rate by call protection
CN1976370A (en) * 2005-11-28 2007-06-06 中兴通讯股份有限公司 Method for keeping call data uniformity after master-slave gateway replacing
CN101022661A (en) * 2007-03-20 2007-08-22 中国移动通信集团江苏有限公司 Ringing 1+N disaster-tolerant realizing method

Also Published As

Publication number Publication date
CN102821365B (en) 2017-08-01
CN102821365A (en) 2012-12-12

Similar Documents

Publication Publication Date Title
US9386053B2 (en) Disaster recovery with a central conferencing routing server
US7539127B1 (en) System and method for recovering from endpoint failure in a communication session
US8345556B2 (en) Congestion control system, service edge node, guidance server, congestion control method, program therefor, and recording medium recorded therewith
WO2009018744A1 (en) Implementation method, system, media gateway and media gateway controller for route control
JP4566589B2 (en) SIP server
EP1959657A1 (en) Method, system, application server and switching device for processing call
JP2008153774A (en) Thin client system and communication device
RU2274961C2 (en) Method for actively establishing connections by means of service controlling node in mobile telecommunications system
WO2011017967A1 (en) Service control point in intelligent network and method for intercepting call
JP5202383B2 (en) COMMUNICATION NETWORK SYSTEM, ITS CALL CONTROL DEVICE, AND TRANSMISSION CONTROL METHOD
WO2010051730A1 (en) Method, apparatus and system for data synchronization
WO2012167620A1 (en) Method and system for reducing calling failure of color ring back tone service
JP2007336146A (en) Traffic throughput expansion method at network congestion and system
CN110768816B (en) Multimedia service exception protection method and device
WO2010094198A1 (en) Apparatus and method for controlling amount of concurrent calls
CA2860509A1 (en) Central conferencing routing server
WO2013102353A1 (en) Internet protocol(ip) private branch exchange(pbx) registration method, device and system
WO2017211165A1 (en) Media server and media service method
CN113596083B (en) High-availability cloud communication call recovery method and system based on state tracking
US20070206582A1 (en) Voip modem and method for detecting voip service
JP4143766B2 (en) Congestion control device, congestion control method and program
US20130185409A1 (en) Method and system for determining ip bearer optimization based on virtual media gateway
WO2006136098A1 (en) A call processing method
JP6635525B1 (en) Exchange, communication system, registration method and registration program
JP3804654B2 (en) DSL mode management system, management server, DSL mode management method used therefor, and program thereof

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: 12797587

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: 12797587

Country of ref document: EP

Kind code of ref document: A1