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.
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.