CN102821365B - It is a kind of to reduce the method and system of Ring Back Tone service call failure - Google Patents

It is a kind of to reduce the method and system of Ring Back Tone service call failure Download PDF

Info

Publication number
CN102821365B
CN102821365B CN201110152891.9A CN201110152891A CN102821365B CN 102821365 B CN102821365 B CN 102821365B CN 201110152891 A CN201110152891 A CN 201110152891A CN 102821365 B CN102821365 B CN 102821365B
Authority
CN
China
Prior art keywords
calling
call
ratio
call data
stand
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201110152891.9A
Other languages
Chinese (zh)
Other versions
CN102821365A (en
Inventor
贺镇海
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
Nanjing ZTE New Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing ZTE New Software Co Ltd filed Critical Nanjing ZTE New Software Co Ltd
Priority to CN201110152891.9A priority Critical patent/CN102821365B/en
Priority to PCT/CN2012/070102 priority patent/WO2012167620A1/en
Publication of CN102821365A publication Critical patent/CN102821365A/en
Application granted granted Critical
Publication of CN102821365B publication Critical patent/CN102821365B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Landscapes

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

Abstract

The method and system of Ring Back Tone service call failure are reduced the invention discloses a kind of, wherein, the system includes:Host apparatus, stand-by equipment and shared memory, methods described include:The call data of the calling are write shared memory by host apparatus after call business flow enters designated state, after the host apparatus and stand-by equipment are switched, and the stand-by equipment reads the call data from the shared memory, recover calling.This method and system can effectively make the polyphonic ringtone playing after being switched under wide-band color bell business dual computer fault-tolerant networking and call be restored, call failure rate during reducing the collapse of wide-band color bell main frame and recovering, while avoiding influenceing the stability and systematic function of regular traffic.

Description

It is a kind of to reduce the method and system of Ring Back Tone service call failure
Technical field
The present invention relates to mobile communication technology field, and in particular to a kind of wide-band color bell host apparatus service is switched to extremely The method and system of Ring Back Tone service call failure is reduced after stand-by equipment.
Background technology
In the application of Ring Back Tone service existing network, each service control point of intelligent network (Service Control Point, abbreviation SCP) typically dual computer fault-tolerant mode is taken to build.Primary SCP occurs that the machine of delaying, suspension, database be abnormal, intelligent network platform process is different Often situations such as can be detected by duplex software, and send instruction serviced by standby SCP.One when above-mentioned standby usage SCP switches generation As have during if main line calling carries out, due to host apparatus collapse, these callings are by whole failures.And reversed process length depends on In the setting of two-shipper heartbeat detection, stand-by equipment hardware configuration level, the network bandwidth, stand-by equipment Intelligent network service start-up course Deng.If in traffic peak and switching time is long, it is possible to cause a large amount of call losses and then trigger more customer complaint.
Signaling control protocol (the SIP that wide-band color bell business platform and exchange side and tone playing equipment pass through a session layer Session Initiation Protocol, abbreviation SIP), the call control protocol (Bearer unrelated with carrying Independent Call Control protocol, abbreviation BICC), MGCP (Media Gateway Control Protocol, abbreviation MGCP) etc. IP-based agreement interact, call flow be then divided into bridging solution and it is non-across Connect scheme.Business platform indicates polyphonic ringtone playing and continued called wherein in bridging solution;Business platform only refers in non-bridging scheme Show polyphonic ringtone playing, continue to be called is completed by switching equipment.
Call loss, which occurs, for business platform reversed process can be divided into following situation:(1) lateral business platform is exchanged during switching New rising is initiated to call for asking;(2) various Signalling exchanges and the inside such as media negotiation, data access, state machine migration are being carried out Operation flow;(3) bridging solution internal process comes to an end, and media server is to caller coloring ring back tone playing sound;(4) non-bridging scheme Internal process comes to an end, and is just carrying out to caller coloring ring back tone playing sound;(5) bridging solution internal process comes to an end, and carries out Calling and called call (situation of the calling and called by business platform talking connection is not present in non-bridging scheme).
(1) plants situation:Switching to have caused to call for trying to achieve will retransmit less than response, and now host apparatus can not be located Manage the request and for it storage allocation data field.If switch successfully back-up machine receive repeat requests can normal process;If retransmitting The call failure that then exchange side is initiated is had timed out, and the recovery of this failure does not have feasibility.
(2) plant situation:Host apparatus business is in complicated state transition before switching, and these callings are set standby It is standby to recover to be used to re-create data field and implement service condition compared with multi-system resource by consumption subsequently to change.And come from and switch this Body and the follow-up signaling of exchange side or media server, which have, some uncertain (including receives connections, again on-hook, negotiation etc. Various requests or response, and these message re-transmission until time-out), succeeding state transition can not be controlled accurately.Therefore this portion The recovery of calling is divided not have feasibility.
(3) plant situation:Bridging solution is in polyphonic ringtone playing state before switching.Although now operation flow, which is in, waits shape State, but similar (2) plant the uncertain more of the same follow-up signaling of situation, may receive connection, on-hook, new negotiation request And response message, and these message re-transmission until time-out, succeeding state transition can not determine control, this Part call it is extensive It is multiple not have feasibility equally.
(4) plant situation:Non-bridging scheme is in polyphonic ringtone playing state before switching.Now operation flow, which is in, waits shape State, on-hook signaling may be received during switching to be used to stop playback.If continuing this batch of calling in standby host after switching, if receiving extension Machine signaling then indicates that playback stops, and is otherwise defaulted as tone playing state and sends in dialogue to caller exchange side to detect, timer week Detection response is received in phase then to continue to play, and otherwise stops playback and releasing session.
(5) plant situation:Bridging solution is in talking state before switching.Now business is waited for, during switching On-hook signaling may be received and stop call.If continuing this batch of calling in standby host after switching, it is sent to if on-hook signaling is received Opposite end call release, is otherwise defaulted as continuing to converse and sending respectively in dialogue to calling and called side detecting, is received in timer period Then continue to converse to detection response, otherwise indicate that opposite end stops conversing and discharging dialogue.
Existing patent document includes:Number of patent application is " a kind of double for CN200910158328.5 Chinese patent application The method of real-time processing data, system and equipment in machine backup technique " and the China that number of patent application is CN200610034519 Patent application " method and device for realizing synchronous data in double machine heat backup ".
Number of patent application proposes real in a kind of double-machine standby technology for CN200910158328.5 Chinese patent application When processing data method, system and equipment, it is ensured that to data carry out in real time processing, in the absence of delay.The patent application does not have There is persistently the proposing a solution in intelligent network platform stand-by equipment for playback in broadband voice business and call.
Number of patent application proposes same step number in a kind of two-node cluster hot backup for CN200610034519 Chinese patent application According to method and device.In the patent application, synchrodata is compressed and transmitted after adding corresponding check code to standby host, reduces double Machine lock in time simultaneously avoids loss of data.The data syn-chronization mode that the patent is proposed can not be efficiently applied to broadband voice industry The active and standby synchronous applications of business.
At present, in existing wide-band color bell operation flow, if primary/standby devices are switched, this calling is abandoned Release dialogue, stand-by equipment restarts the new calling for receiving to initiate, and completes new Ring Back Tone service, and stand-by equipment can not recover former Begin to call.Therefore, it is badly in need of one kind after Ring Back Tone service platform primary/standby devices are switched, polyphonic ringtone playing and call shape can be recovered State, the method for the call failure rate during the collapse of reduction wide-band color bell main frame and recovery.
The content of the invention
The technical problem to be solved in the invention is to provide a kind of method and system of reduction Ring Back Tone service call failure, After Ring Back Tone service platform primary/standby devices are switched, polyphonic ringtone playing and talking state, the main frame collapse of reduction wide-band color bell can be recovered With the call failure rate during recovery.
In order to solve the above-mentioned technical problem, the invention provides a kind of method for reducing Ring Back Tone service call failure, including:
Host apparatus is after call business flow enters designated state, by the shared storage of call data write-in of the calling Device, after the host apparatus and stand-by equipment are switched, the stand-by equipment reads the calls from the shared memory According to recovery calling.
Further, the call business flow includes into designated state:Ring Back Tone service platform uses non-bridging scheme Call business flow, which enters to calling party's coloring ring back tone playing state, or Ring Back Tone service platform, uses bridging solution call business flow Into calling and called talking state.
Further, the call data include:Ring Back Tone service platform plays coloured silk when using non-bridging scheme to calling party The data of bell, or Ring Back Tone service platform is using the data of calling and called call during bridging solution.
Further, methods described also includes:
The stand-by equipment recovers after calling, the call release if on-hook signaling is received;Otherwise tied according to detection in calling Fruit keeps or abandoned the host apparatus and stand-by equipment switches preceding call business flow status.
Further, it is described according to testing result holding in calling or to abandon the host apparatus and before stand-by equipment switches Call business flow status, including:
If the Ring Back Tone service platform uses non-bridging scheme, the stand-by equipment is detected into calling party's transmission calling to disappear Breath, if receiving the response message of calling party, keeps to calling party's coloring ring back tone playing state, otherwise call release;
If the Ring Back Tone service platform uses bridging solution, the stand-by equipment sends and exhaled respectively to calling party and callee Interior detection message is, if receiving the response message of the calling party and callee, calling and called talking state is kept, otherwise discharges Calling.
Further, the host apparatus also exhales this after the call data of the calling are write into the shared memory It is effective to be data markers, if host apparatus and stand-by equipment are not switched after end of calling, and the host apparatus is by institute The call data of the calling of this in shared memory are stated labeled as invalid or deletion;
The stand-by equipment is read from the shared memory after the call data, by institute in the shared memory The call data for stating host apparatus write-in mark and are or delete.
Further, the host apparatus is after call business flow enters designated state, by the call data of the calling Write-in shared memory includes:
In preset time or given calling number threshold value, the calling number of the host apparatus write-in shared memory with Total calling number in the preset time is not more than call data write-in ratio with the ratio of the calling number threshold value.
Further, the stand-by equipment reads the call data from the shared memory and included:It is described standby The corresponding calling number of effective call data that equipment is read from the shared memory is stored to institute with the host apparatus The ratio for stating the corresponding calling number of the effective call data in shared memory is not more than call data reading ratio.
Further, the call data write-in ratio/reading ratio is determined as follows:
System manager's setting call data write-in ratio/reading ratio;
Timing collection system performance indications, and determine that corresponding call data write according to the system performance index Ratio/reading ratio;
Described in corresponding call data write-in ratio/reading ratio and the system manager that the system is determined set Call data write-in ratio/reading ratio is compared, and selective value smaller writes ratio/read-around ratio as final call data Example.
In addition, in order to solve the above-mentioned technical problem, what it is present invention also offers a kind of reduction Ring Back Tone service call failure is System, including host apparatus, stand-by equipment and shared memory, wherein,
The host apparatus, for after call business flow enters designated state, the call data of the calling to be write Shared memory;
The stand-by equipment, for after host apparatus and stand-by equipment are switched, institute to be read from the shared memory Call data are stated, recover calling.
Further, the call business flow includes into designated state:Ring Back Tone service platform uses non-bridging scheme Call business flow, which enters to calling party's coloring ring back tone playing state, or Ring Back Tone service platform, uses bridging solution call business flow Into calling and called talking state.
Further, the call data include:Ring Back Tone service platform plays coloured silk when using non-bridging scheme to calling party The data of bell, or Ring Back Tone service platform is using the data of calling and called call during bridging solution.
Further, the stand-by equipment, is additionally operable to after calling is recovered, the call release if on-hook signaling is received;It is no Then according to testing result holding in calling or abandon the host apparatus and stand-by equipment switch before shape residing for call business flow State.
Further, the stand-by equipment is additionally operable to:If the Ring Back Tone service platform uses non-bridging scheme, to calling party Detection message in calling is sent, if receiving the response message of calling party, keeps, to calling party's coloring ring back tone playing state, otherwise discharging Dialogue;And,
If the Ring Back Tone service platform uses bridging solution, sent respectively in calling to calling party and callee and detect and disappear Breath, if receiving the response message of the calling party and callee, keeps calling and called talking state, otherwise release dialogue.
Further, the host apparatus, is additionally operable to write the call data of the calling after the shared memory , will be described shared if host apparatus and stand-by equipment are not switched after end of calling by the call data labeled as effective The call data of the calling of this in memory are labeled as invalid or deletion;
The stand-by equipment, is additionally operable to read after the call data from the shared memory, and described share is deposited The call data of the write-in of host apparatus described in reservoir, which are marked, to be or deletes.
Further, the host apparatus is after call business flow enters designated state, by the call data of the calling Write-in shared memory includes:
In preset time or given calling number threshold value, the calling number of the host apparatus write-in shared memory with Total calling number in the preset time is not more than call data write-in ratio with the ratio of the calling number threshold value.
Further, the stand-by equipment reads the call data from the shared memory and included:It is described standby The corresponding calling number of effective call data that equipment is read from the shared memory is stored to institute with the host apparatus The ratio for stating the corresponding calling number of the effective call data in shared memory is not more than call data reading ratio.
Further, the system also includes performance monitoring and data write/read control device, for as follows Determine the call data write-in ratio/reading ratio:
Timed collection system performance index, and determine that corresponding call data write-in is compared according to the system performance index Example/reading ratio;
The calling that corresponding call data write-in ratio/reading ratio that the system is determined is set with system manager Data write-in ratio/reading ratio is compared, and selective value smaller writes ratio/reading ratio as final call data.
Compared with prior art, after using the present invention, it can effectively make to fall under wide-band color bell business dual computer fault-tolerant networking Polyphonic ringtone playing and call after changing are restored, the call failure rate during the collapse of reduction wide-band color bell main frame and recovery, simultaneously Avoid influenceing the stability and systematic function of regular traffic.
Brief description of the drawings
Fig. 1 is the system construction drawing of reduction Ring Back Tone service call failure in embodiment;
Fig. 2 is the method flow diagram of reduction Ring Back Tone service call failure in embodiment;
Fig. 3 is the system construction drawing of reduction Ring Back Tone service call failure in an application example;
Fig. 4 is the workflow diagram of the system of reduction Ring Back Tone service call failure shown in Fig. 3.
Embodiment
For the object, technical solutions and advantages of the present invention are more clearly understood, below in conjunction with accompanying drawing to the present invention Embodiment be described in detail.It should be noted that in the case where not conflicting, in the embodiment and embodiment in the application Feature can mutually be combined.
Embodiment one
As shown in figure 1, the embodiments of the invention provide a kind of system for reducing Ring Back Tone service call failure, the system includes Host apparatus, stand-by equipment, two-shipper monitoring device and shared memory, wherein:
The host apparatus, for after call business flow enters designated state, the call data of the calling to be write Shared memory;
Wherein, the call business flow includes into designated state:Ring Back Tone service platform is called using non-bridging scheme Operation flow enters to be entered to calling party's coloring ring back tone playing state, or Ring Back Tone service platform using bridging solution call business flow Calling and called talking state.
The call data include:Ring Back Tone service platform use non-bridging scheme when to calling party's coloring ring back tone playing data, Or Ring Back Tone service platform is using the data of calling and called call during bridging solution.
Wherein, the host apparatus is by the call data of the calling when writing shared memory, in preset time or gives Surely in calling number threshold value, calling number and the total calling in the preset time of the host apparatus write-in shared memory Number is not more than call data write-in ratio with the ratio of the calling number threshold value, i.e. the host apparatus is by the calling Call data are according to a certain call data write-in ratio write-in shared memory.The call data write-in ratio refers to write-in altogether Enjoy the calling number and total calling number in the preset time or the ratio with the calling number threshold value, the ratio of memory It can be set, can also dynamically be changed after system operation by system manager, as other parameters that can dynamically change are by system Timing is read and come into force in the next cycle, or combines system performance index to dynamically determine.
The stand-by equipment, for after host apparatus and stand-by equipment are switched, institute to be read from the shared memory Call data are stated, recover calling.
Wherein, the stand-by equipment reads ratio from the shared memory by effective call data according to call data Read.The call data read ratio and refer to that the calls read accounts for the percentage of effective call data number in shared memory Than, the determination of the call data reading ratio and call data write-in ratio are similar, can also be set by system manager, Can dynamically it be changed after system operation, as other parameters that can dynamically change are read by timing and in the next cycle Come into force, or combine system performance index to dynamically determine.
The stand-by equipment is read from the shared memory after the call data, by institute in the shared memory The call data for stating host apparatus write-in mark and are or delete.
Wherein, after stand-by equipment recovers calling, the stand-by equipment is additionally operable to the call release if on-hook signaling is received; Otherwise according to testing result holding in calling or abandon the host apparatus and stand-by equipment switch before residing for call business flow State.
The stand-by equipment is according to testing result holding in calling or abandons the host apparatus and before stand-by equipment switches Call business flow status, including:
If the Ring Back Tone service platform uses non-bridging scheme, the stand-by equipment is detected into calling party's transmission calling to disappear Breath, if receiving the response message of calling party, keeps to calling party's coloring ring back tone playing state, otherwise call release;
If the Ring Back Tone service platform uses bridging solution, the stand-by equipment sends and exhaled respectively to calling party and callee Interior detection message is, if receiving the response message of the calling party and callee, calling and called talking state is kept, otherwise discharges Calling.
The two-shipper monitoring device, the operation conditions for monitoring host apparatus, and enable standby when host apparatus is abnormal Use equipment.
Correspondingly, as shown in Fig. 2 the embodiments of the invention provide a kind of method for reducing Ring Back Tone service call failure, bag Include following steps:
S101:Host apparatus writes the call data of the calling shared after call business flow enters designated state Memory;
Wherein, the call business flow includes into designated state:Ring Back Tone service platform is called using non-bridging scheme Operation flow is in and is in calling party's coloring ring back tone playing state or Ring Back Tone service platform using bridging solution call business flow Active calls data are write shared memory by calling and called talking state, host apparatus;State can also be set as needed.
Wherein, the active calls data of host apparatus write-in shared memory include:Ring Back Tone service platform uses non-bridging To the data of calling party's coloring ring back tone playing during scheme, or Ring Back Tone service platform is using the data of calling and called call during bridging solution.
Wherein, the host apparatus is by the call data of the calling when writing shared memory, in preset time or gives Surely in calling number threshold value, calling number and the total calling in the preset time of the host apparatus write-in shared memory Number is not more than call data write-in ratio with the ratio of the calling number threshold value, i.e. the host apparatus is according to calls Call data are write into shared memory according to write-in ratio.Such as, it can set in monitoring cycle, each monitoring cycle, write The ratio between the calling number of shared memory and total calling number in this time are no more than 30%, or, using counter, if In fixed every N number of calling, the calling number of write-in shared memory is set as needed no more than 30%, N values.
Call data write-in ratio can be set by system manager, can also dynamically be changed after system operation, with Other parameters that can dynamically change are read and come into force in the next cycle by timings, or combine system performance index to move Determine to state.
S102:Host apparatus occurs after exception, and host apparatus and stand-by equipment are switched;
S103:Stand-by equipment reads the call data from the shared memory, recovers calling.
Wherein, the stand-by equipment reads ratio from the shared memory by effective call data according to call data Read.The corresponding calling number of effective call data that the stand-by equipment is read from the shared memory with it is described primary Equipment storage is not more than call data to the ratio of the corresponding calling number of the effective call data in the shared memory and read Go out ratio.
The determination of the call data reading ratio and call data write-in ratio are similar, can also be set by system manager It is fixed, can also dynamically it be changed after system operation, as other parameters that can dynamically change were read by timing and in next week Come into force in phase, or combine system performance index to dynamically determine.
Wherein, the stand-by equipment is read from the shared memory after the call data, by the shared storage The call data of the write-in of host apparatus described in device, which are marked, to be or deletes.So, shared memory can just be saved and deposited Space is stored up, being identified as invalid data can be covered by new data, and ensure that the superperformance and stably of follow-up traffic Property.
In above-mentioned steps, call data write-in ratio/reading ratio in such a way but can be not excluded for it His dynamic mode determines, including:
System manager's setting call data write-in ratio/reading ratio;
Timing collection system performance indications, and determine that corresponding call data write according to the system performance index Ratio/reading ratio;
Described in corresponding call data write-in ratio/reading ratio and the system manager that the system is determined set Call data write-in ratio/reading ratio is compared, and selective value smaller writes ratio/read-around ratio as final call data Example.
In addition, in step s 103, the stand-by equipment recovers after calling, the call release if on-hook signaling is received;
Otherwise according to testing result holding in calling or the host apparatus is abandoned and stand-by equipment switches preceding call business Flow status, be specially:
If the Ring Back Tone service platform uses non-bridging scheme, the stand-by equipment is detected into calling party's transmission calling to disappear Breath, if receiving the response message of calling party, keeps to calling party's coloring ring back tone playing state, otherwise call release;
If the Ring Back Tone service platform uses bridging solution, the stand-by equipment sends and exhaled respectively to calling party and callee Interior detection message is, if receiving the response message of the calling party and callee, calling and called talking state is kept, otherwise discharges Calling.
In an application example, as shown in figure 3, the system of the reduction Ring Back Tone service call failure can also include: Performance monitoring and data write/read control device, for determine call data write ratio/reading ratio, can according to Under type but it is not excluded for other dynamic modes to determine:
The performance monitoring and data write/read control device timed collection system performance index, and according to the system System performance indications determine corresponding call data write-in ratio/reading ratio;
The corresponding call data that the performance monitoring and data write/read control device determine the system write Ratio/reading ratio and call data write-in ratio/reading ratio of system manager's setting are compared, selective value smaller Ratio/reading ratio is write as final call data.
Wherein, system manager manually sets call data write/read ratio, (is typically 10 in the setting monitoring cycle Minute, the ratio can configure according to actual conditions) calls accounts for the upper limit of total calls percentage.The value can after system operation With dynamic modification, as other parameters that can dynamically change are read and come into force in the next cycle by timings.
Wherein, the system performance index includes overall cpu busy percentage and memory usage, critical processes CPU and internal memory Occupancy, I/O throughput (optional) etc.., can be by the system performance index under different situations and calling in embodiment Data write/read ratio formation corresponding relation, performance monitoring and data write/read control device collect performance data Afterwards, the record for the best performance that disclosure satisfy that is matched in above-mentioned corresponding relation, corresponding call data write/read is obtained Ratio, into after the next monitoring cycle, performance monitoring and data write/read control device continue collecting performance data and generated New call data write/read ratio.
In the specific implementation, the call data write-in ratio setting that can currently allow for system performance index and system is such as Corresponding relation shown in table 1:
Table 1:The call data that system performance index and system currently allow write the corresponding relation of ratio
Assuming that the data that set of system manager write the ratio upper limit as 70%, if current system performance indications correspondingly the A kind of corresponding relation, i.e. call data write-in ratio are up to 80%, and smaller value, i.e. 70% conduct in both are chosen after the comparison Write the final call data write-in ratio of shared memory;If current system performance indications second of corresponding relation of correspondence, I.e. call data write-in ratio is up to 60%, and smaller value in both is chosen after the comparison, i.e., 60% is used as the shared storage of write-in The final call data write-in ratio of device.
In this application example, the host apparatus can also set the service condition counter of every hundred callings, Counter initial value is 0, and the calling of CRBT triggers the counter and adds 1 within each monitoring cycle, is set to 0 again after reaching 100, Again add up.For example, final call data write-in ratio is 30%, then it is 0 that host apparatus, which can be set rolling counters forward, ~29 corresponding call data write-in shared memories.This way it is possible to realize will according to final call data write-in ratio The corresponding calls write-in shared memory of counter.
Correspondingly, or the call data that system performance index and system currently allow read ratio setting such as table 2 Shown corresponding relation:
Table 2:The call data that system performance index and system currently allow read the corresponding relation of ratio
Assuming that the data read-out ratio upper limit that system manager sets is 70%, if current system performance indications correspondence the It is 80% that a kind of corresponding relation, i.e. call data, which read ratio, and smaller value in both is chosen after the comparison, i.e., 70% as from altogether The final call data for enjoying memory reading read ratio;If current system performance indications second of corresponding relation of correspondence, i.e., It is 60% that call data, which read ratio, and smaller value, i.e., 60% are chosen in both after the comparison as reading from shared memory Final call data read ratio.
As shown in figure 4, in this application example, the workflow of the system of above-mentioned reduction Ring Back Tone service call failure is such as Under:
S201:Wide-band color bell intelligent network business platform two-shipper normally starts, and host apparatus is normally run, two-shipper monitoring device Monitor host apparatus working condition;
Whether the two-shipper monitoring device occurs intelligent network platform, database or system exception to host apparatus is supervised Control;
S202:System manager set call data write/read ratio, while startability monitoring and data write-in/ Control device is read, periodically the collection system performance indications (within the monitoring cycle), produce corresponding call data write-in/reading Go out ratio;
S203:Interaction side rises and exhaled, and Ring Back Tone service platform enters tone broadcast state, or Ring Back Tone service using non-bridging scheme Platform is using bridging solution and calling and called enter talking state;
S204:Host apparatus sends message to performance monitoring and data write/read control device, and acquisition request is currently common Enjoy the call data write-in ratio of memory;
S205:Performance monitoring and the corresponding calls of the data write/read control device system performance index Ratio is write with the call data that system manager sets according to write-in ratio (as shown in table 1), smaller value conduct in both is chosen Current shared memory calls data write ratio, are sent to host apparatus;
S206:Host apparatus is according to the statistics of service condition counter, by calls of the active calls data according to acquisition According to write-in ratio write-in shared memory;
For example, the call data write-in ratio obtained is 30%, then rolling counters forward is 0~29 corresponding by host apparatus Call data write shared memory, can also be by the corresponding shared storage of call data write-in of the calling for being counted as 30~59 Device, or the corresponding call data write-in shared memory of the calling under discontinuous counting is taken, as long as meeting every 100 callings The call data of middle 30 callings of write-in.
The data structure that call data are write into shared memory mainly includes:Session protocol mark amount is (in such as sip protocol Call-id, from-tag and to-tag field), Subscriber Number (including numbers of calling and called parties, transferred number, uri etc.), agreement Route data, current media negotiation state and the media information of preservation of stack, and in shared memory file FX mark The validity (being initially " effective ") of the data field, data segment length in shared memory is fixed.
S207:Whether two-shipper monitoring device monitoring host apparatus there is exception, if no abnormal, host apparatus continues just Often work, and after the call has ended by the call data in shared memory labeled as invalid or deletion;Otherwise step is gone to S208;
S208:Two-shipper monitoring device starts stand-by equipment;
S209:Stand-by equipment sends message to performance monitoring and data write/read control device, and acquisition request is currently common The call data for enjoying memory read ratio;
S210:Performance monitoring and the corresponding calls of the data write/read control device system performance index Ratio is read with the call data that system manager sets according to the ratio of reading (as shown in table 2), smaller value conduct in both is chosen The final call data of current shared memory read ratio, are sent to stand-by equipment;
S211:Stand-by equipment reads ratio by mark in the shared memory according to the call data of acquisition Call data are read, and the call data for then writing host apparatus in shared memory, which are marked, to be or delete, according to The call data of reading recover this Part call;
S212:If stand-by equipment receives on-hook signaling, release dialogue terminates calling;Otherwise step S213 is gone to;
S213:Send in calling and detect to calling and called side, calling party respectively according to the bridging of business configuration, non-bridging scheme Message;
Wherein, to avoid moment from sending, data volume is excessive to cause network congestion, packet loss etc. abnormal, and detection message is divided into some Timing is criticized to send.Default value can be used per batch data amount, also can be by keeper according to existing network current traffic, network equipment situation Carry out reasonable disposition.
S214:If detection receives response in dialogue, dialogue is continued to, otherwise release dialogue;
In above-mentioned steps S213~S214, for bridging solution, detection message is sent respectively to calling and called, after transmission etc. Treat that not receiving calling and called detection response or response in the cycle carries error code and inform that (such as sip protocol is not present in calling 481Call/Transaction Dose Not Exist are responded), then call data in releasing memory;If otherwise calling and called side Correct response (such as sip protocol 200OK responses) is all sent, then calling and called are still in talking state, and internal memory call data continue to protect Hold, behind continue with the on-hook from calling and called side, again media negotiation etc. ask.
To non-bridging scheme, detection message is sent to Calling Side, does not receive caller detection response after transmission in latent period Or response carries error code and informs that calling is not present, then call data in releasing memory;If otherwise Calling Side sends correct Response, then still in CRBT tone playing state, internal memory call data continue keep, behind continue with the on-hook from Calling Side please Ask so as to calling and called call or caller call release.
S215:Stand-by equipment replaces host apparatus service, and two-shipper monitoring device is to stand-by equipment working condition implementing monitoring; Subsequent request is handled by host apparatus mode.
Presently written shared memory call data ratio is similarly determined with host apparatus, by polyphonic ringtone playing (non-bridging Scheme) or call (bridging solution) state under the shared storage of data field write-in, in case switching again.
So far, the workflow of the system of this application example reduction Ring Back Tone service call failure is finished.
From above-described embodiment as can be seen that the reduction Ring Back Tone service call failure provided relative to prior art, the present invention Method and system be used for wide-band color bell business platform two-shipper switch before in non-bridging scheme polyphonic ringtone playing state or across Under the scene for the talking state for connecing scheme, it can effectively make the CRBT after being switched under wide-band color bell business dual computer fault-tolerant networking Play and call is restored, the call failure rate during the collapse of reduction wide-band color bell main frame and recovery, while not interfering with just The stability of normal business.
In addition, the method and system for the reduction Ring Back Tone service call failure that the present invention is provided, also by shared memory The control of write/read data, overcoming may trigger cpu performance to decline and IO mistakes the shared storage of a large amount of call data write-in In busy defect, cpu performance is substantially increased, and avoid the wasting of resources of system.
One of ordinary skill in the art will appreciate that all or part of step in the above method can be instructed by program Related hardware is completed, and described program can be stored in computer-readable recording medium, such as read-only storage, disk or CD Deng.Alternatively, all or part of step of above-described embodiment can also use one or more integrated circuits to realize.Accordingly Each module/unit in ground, above-described embodiment can be realized in the form of hardware, it would however also be possible to employ the shape of software function module Formula is realized.The present invention is not restricted to the combination of the hardware and software of any particular form.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the scope of the present invention.According to The content of the invention of the present invention, can also there is other various embodiments, in the case of without departing substantially from spirit of the invention and its essence, be familiar with Those skilled in the art is all in the spirit and principles in the present invention when that can make various corresponding changes and deformation according to the present invention Within, any modification, equivalent substitution and improvements made etc. should be included in the scope of the protection.

Claims (16)

1. a kind of method for reducing Ring Back Tone service call failure, including:
The call data of the calling are write shared memory, institute by host apparatus after call business flow enters designated state State host apparatus and after stand-by equipment switches, the stand-by equipment reads the call data from the shared memory, extensive Multiple calling;
The stand-by equipment recovers after calling, the call release if on-hook signaling is received;Otherwise protected according to testing result in calling Hold or abandon the host apparatus and stand-by equipment switches preceding call business flow status.
2. the method as described in claim 1, it is characterised in that:
The call business flow includes into designated state:Ring Back Tone service platform is entered using non-bridging scheme call business flow Enter and conversed to calling party's coloring ring back tone playing state, or Ring Back Tone service platform using bridging solution call business flow into calling and called State.
3. the method as described in claim 1, it is characterised in that:
The call data include:Ring Back Tone service platform use non-bridging scheme when to calling party's coloring ring back tone playing data, or The data of calling and called call when Ring Back Tone service platform uses bridging solution.
4. the method as described in claim 1, it is characterised in that:
It is described according to testing result holding in calling or abandon the host apparatus and stand-by equipment switch before call business flow Status, including:
If Ring Back Tone service platform uses non-bridging scheme, the stand-by equipment sends in calling to calling party and detects message, if receiving To the response message of calling party, then keep to calling party's coloring ring back tone playing state, otherwise call release;
If the Ring Back Tone service platform uses bridging solution, the stand-by equipment is sent in calling respectively to calling party and callee Message is detected, if receiving the response message of the calling party and callee, calling and called talking state is kept, otherwise release is exhaled Cry.
5. the method as described in claim 1, it is characterised in that:
The call data are also labeled as by the host apparatus after the call data of the calling are write into the shared memory Effectively, if host apparatus and stand-by equipment are not switched after end of calling, the host apparatus is by the shared memory In the calling call data labeled as it is invalid or delete;
The stand-by equipment is read from the shared memory after the call data, will be main described in the shared memory The call data write with equipment, which are marked, to be or deletes.
6. the method as described in claim 1, it is characterised in that:Methods described also includes:
The call data of the calling are write shared memory by the host apparatus after call business flow enters designated state Including:
In preset time or given calling number threshold value, the calling number of the host apparatus write-in shared memory is given with this Total calling number in fixing time is not more than call data write-in ratio with the ratio of the calling number threshold value.
7. the method as described in claim 1, it is characterised in that:
The stand-by equipment reads the call data from the shared memory to be included:The stand-by equipment is shared from described The corresponding calling number of effective call data read in memory is stored into the shared memory with the host apparatus Effective call data it is corresponding calling number ratio be not more than call data read ratio.
8. method as claimed in claims 6 or 7, it is characterised in that:
The call data write-in ratio/reading ratio is determined as follows:
System manager's setting call data write-in ratio/reading ratio;
Timing collection system performance indications, and determine that corresponding call data write-in is compared according to the system performance index Example/reading ratio;
The calling that corresponding call data write-in ratio/reading ratio that the system is determined is set with system manager Data write-in ratio/reading ratio is compared, and selective value smaller writes ratio/reading ratio as final call data.
9. a kind of system for reducing Ring Back Tone service call failure, including host apparatus, stand-by equipment and shared memory, its feature It is:
The host apparatus, for after call business flow enters designated state, the call data of the calling being write shared Memory;
The stand-by equipment, for after the host apparatus and the stand-by equipment are switched, being read from the shared memory The call data are taken, recover calling;It is additionally operable to after calling is recovered, the call release if on-hook signaling is received;Otherwise basis Testing result keeps or abandoned the host apparatus in calling and stand-by equipment switches preceding call business flow status.
10. system as claimed in claim 9, it is characterised in that:
The call business flow includes into designated state:Ring Back Tone service platform is entered using non-bridging scheme call business flow Enter and conversed to calling party's coloring ring back tone playing state, or Ring Back Tone service platform using bridging solution call business flow into calling and called State.
11. system as claimed in claim 9, it is characterised in that:
The call data include:Ring Back Tone service platform use non-bridging scheme when to calling party's coloring ring back tone playing data, or The data of calling and called call when Ring Back Tone service platform uses bridging solution.
12. system as claimed in claim 9, it is characterised in that:
The stand-by equipment is additionally operable to:If Ring Back Tone service platform uses non-bridging scheme, detect and disappear into calling party's transmission calling Breath, if receiving the response message of calling party, keeps to calling party's coloring ring back tone playing state, otherwise release dialogue;And,
If the Ring Back Tone service platform uses bridging solution, sent respectively in calling to calling party and callee and detect message, if The response message of the calling party and callee are received, then keeps calling and called talking state, otherwise release dialogue.
13. system as claimed in claim 9, it is characterised in that:
The host apparatus, is additionally operable to write the call data mark call data of the calling after the shared memory It is designated as effectively, if the host apparatus and the stand-by equipment are not switched after end of calling, by the shared memory In the calling call data labeled as it is invalid or delete;
The stand-by equipment, is additionally operable to read after the call data from the shared memory, by the shared memory Described in the call data of host apparatus write-in mark and be or delete.
14. system as claimed in claim 9, it is characterised in that:
The call data of the calling are write shared memory by the host apparatus after call business flow enters designated state Including:
In preset time or given calling number threshold value, the calling number of the host apparatus write-in shared memory is given with this Total calling number in fixing time is not more than call data write-in ratio with the ratio of the calling number threshold value.
15. system as claimed in claim 9, it is characterised in that:
The stand-by equipment reads the call data from the shared memory to be included:The stand-by equipment is shared from described The corresponding calling number of effective call data read in memory is stored into the shared memory with the host apparatus Effective call data it is corresponding calling number ratio be not more than call data read ratio.
16. the system as described in claims 14 or 15, it is characterised in that:
The system also includes performance monitoring and data write/read control device, for determining the calling as follows Data write ratio/reading ratio:
Timed collection system performance index, and determine that corresponding call data write ratio/reading according to the system performance index Go out ratio;The calling that corresponding call data write-in ratio/reading ratio that the system is determined is set with system manager Data write-in ratio/reading ratio is compared, and selective value smaller writes ratio/reading ratio as final call data.
CN201110152891.9A 2011-06-08 2011-06-08 It is a kind of to reduce the method and system of Ring Back Tone service call failure Active CN102821365B (en)

Priority Applications (2)

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

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
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 (2)

Publication Number Publication Date
CN102821365A CN102821365A (en) 2012-12-12
CN102821365B true CN102821365B (en) 2017-08-01

Family

ID=47295433

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110152891.9A Active 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

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 (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1283049A (en) * 1999-09-18 2001-02-07 深圳市中兴通讯股份有限公司 Method for reducting message loss rate by call protection
CN101022661A (en) * 2007-03-20 2007-08-22 中国移动通信集团江苏有限公司 Ringing 1+N disaster-tolerant realizing method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1976370A (en) * 2005-11-28 2007-06-06 中兴通讯股份有限公司 Method for keeping call data uniformity after master-slave gateway replacing
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 (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1283049A (en) * 1999-09-18 2001-02-07 深圳市中兴通讯股份有限公司 Method for reducting message loss rate by call protection
CN101022661A (en) * 2007-03-20 2007-08-22 中国移动通信集团江苏有限公司 Ringing 1+N disaster-tolerant realizing method

Also Published As

Publication number Publication date
CN102821365A (en) 2012-12-12
WO2012167620A1 (en) 2012-12-13

Similar Documents

Publication Publication Date Title
CN101170747A (en) Relay state adjusting method and device
CN101156398B (en) Method and system for switching terminal state of media gateway
CN101262528B (en) A multi-gateway backup method for voice access of network call
EP1772025A1 (en) Communications system and method for load management
JP4566589B2 (en) SIP server
CN105790903A (en) Terminal and terminal call soft handover method
JP2013519265A (en) Method and apparatus for preventing repeated refresh in address table of Ethernet ring network node
CN103078873A (en) Asynchronous fault tolerance method, device and equipment for message
CN101026658A (en) Network telephone system for restoring talking after abnormal broken line and its method
CN102821365B (en) It is a kind of to reduce the method and system of Ring Back Tone service call failure
JP2011035606A (en) Media server, session recovery method, and computer program
CN100391153C (en) Communications system
CN103051484A (en) Method and system for processing session service and session border controller
CN100499696C (en) Method for solving interior and exterior simultaneous robbing under signaling and service separate structure
CN110768816A (en) Multimedia service exception protection method and device
CN101917302B (en) Method and system for reducing call disconnection caused by transient interruption of terminal media
CN101094274A (en) Method for realizing disaster tolerated uninterrupted call in media gateway of next generation of network
JP4678650B2 (en) Call processing system and method
CN108337103B (en) Backup method, standby recovery method and system of SIP server
CN103138998B (en) A kind of detection of proxy-state, device and system
CN102404135A (en) Internet protocol (IP) bearer optimizing determining method and system based on virtual media gateway
CN101873238B (en) Method for realizing association of calling control protocol and media control protocol
CN105515655B (en) A kind of voice main and standby rearranging method based on Session Initiation Protocol
WO2016127304A1 (en) Voice service registration method and digital terminal
JP5427853B2 (en) Data synchronization method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20170623

Address after: Yuhuatai District of Nanjing City, Jiangsu province 210012 Bauhinia Road No. 68

Applicant after: Nanjing Zhongxing New Software Co., Ltd.

Address before: 518057 Nanshan District Guangdong high tech Industrial Park, South Road, science and technology, ZTE building, Ministry of Justice

Applicant before: ZTE Corporation

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20190522

Address after: 710065 ZTE TECHNOLOGY AND TECHNOLOGY PARK NO. 10 TANG YAN NAN ROAD, XI'AN HIGH-TECHNOLOGY DISTRICT, SHAANXI PROVINCE

Patentee after: Xi'an Zhongxing Jingcheng Technology Co., Ltd.

Address before: 210012 No. 68 Bauhinia Road, Yuhuatai District, Jiangsu, Nanjing

Patentee before: Nanjing Zhongxing New Software Co., Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200609

Address after: 518057 Nanshan District science and Technology Industrial Park, Guangdong high tech Industrial Park, ZTE building

Patentee after: ZTE Corp.

Address before: 710065 ZTE TECHNOLOGY AND TECHNOLOGY PARK NO. 10 TANG YAN NAN ROAD, XI'AN HIGH-TECHNOLOGY DISTRICT, SHAANXI PROVINCE

Patentee before: Xi'an Zhongxing Jingcheng Technology Co.,Ltd.