Embodiment
Refer to Fig. 2, Fig. 2 is the schematic flow sheet of networking telephone method of attachment first execution mode of the present invention.
Described networking telephone method of attachment, comprises the following steps:
S202, obtains the call signaling of main dialing user transmission to offline service end;
S204, obtains the network connection state of called party terminal;
If the network connection state of described called party terminal is normal, then perform step S206; If the network connection state of described called party terminal is abnormal, then perform step S208;
S206, is transferred to described called party terminal by described call signaling from described offline service end;
S208, preserves described call signaling in described offline service end, recovers normally, more described call signaling is transferred to described called party terminal from described offline service end in the network connection state of described called party terminal.
In networking telephone method of attachment of the present invention, offline service end is got by the call signaling sent by main dialing user, in the called party terminal network jitter of receipt of call signaling or disconnection and cannot receipt of call signaling time, first preserve described call signaling at described offline service end; When the network recovery of called party terminal, information off-line can be pulled from offline service end, therefore described call signaling be transferred to described called party terminal from offline service end.Even if the therefore network jitter of called subscriber or of short duration disconnection, also bid signaling can not lose, after network recovery, still can receive call signaling, the call completing rate of the networking telephone can be improved.
Wherein, described offline service end is the off-line subsystem set up in the background system of the networking telephone, and it mails to the information of offline user for preserving, and transfers to online, initiatively pull information off-line from offline service end when offline user accesses again.
In step S202, when main dialing user sends call signaling, first can obtain the access subsystem of the extremely described main dialing user connection of call signaling that described main dialing user sends, then by the access subsystem that described main dialing user connects, described call signaling be transferred to described offline service end.
Further, when performing step S202, can further when main dialing user send described call signaling, whether the network first detecting called party terminal connects normal, if the network malunion of called party terminal is normal, then described signaling is obtained to described offline service end.
In step S204, obtain the network connection state of called party terminal.
Described network connection state comprises the normal and network connection state exception of network connection state.Wherein, Network Abnormal can comprise the abnormalities such as broken string, network jitter.
When detecting that the network connection state of described called party terminal is normal, then perform step S206, described call signaling is transferred to described called party terminal from described offline service end.
Therefore, when the network connection state of described called party terminal is normal, offline service end can forward described call signaling immediately, reduces the time of delay that called party terminal obtains call signaling, reaches the connection time delay the same with normal networking telephone getting type.
When detecting that the network connection state of described called party terminal is abnormal, perform step S208, first in described offline service end, described call signaling is preserved, and wait for that the network connection state of described called party terminal is recovered normally, more described call signaling is transferred to described called party terminal from described offline service end.
When call signaling is transferred to described called party terminal from described offline service end, first described call signaling can be transferred to the access subsystem of described called party terminal connection from described offline service end, described call signaling is transferred to described called party terminal by the access subsystem connected by described called party terminal.
In one embodiment, recover normally in the network connection state of described called party terminal, described offline service end initiatively sends call signaling to corresponding called party terminal;
In another embodiment, recover normally in the network connection state of described called party terminal, described called party terminal initiatively connection logs in described offline service end, send off-line signaling to described offline service end and obtain request, after described offline service termination receives described off-line signaling acquisition request, if preserve corresponding call signaling, then call signaling is sent to corresponding described called party terminal.
After described call signaling transfers to corresponding called party terminal, called party terminal completes the connection of the networking telephone according to call signaling.Can eject networking telephone UI (UserInterface, user interface) at called party terminal, called party terminal can be performed by the operational order of described networking telephone UI and answers or hang up operation.
In present embodiment, call signaling is kept at offline service end, even if like this because user network brief interruption causes call signaling to be lost, also can get from background system after network recovery, improves the call completing rate of the networking telephone.
Refer to Fig. 3, Fig. 3 is the schematic flow sheet of networking telephone method of attachment second execution mode of the present invention.
The networking telephone method of attachment of present embodiment and the difference of described first execution mode are mainly, further comprising the steps:
S302, obtains the call signaling of described main dialing user transmission to forwarding service end online;
S304, is forwarded to corresponding called party terminal by described online forwarding service end by described call signaling.
Described online forwarding service end is the service end for forwarding online message, namely, when the network of described called party terminal connects normal, the message that other user sides send described called party terminal and call signaling are all sent to called party terminal by described online forwarding service end; And when the network of called party terminal connects abnormal, described online forwarding service end information and call signaling cannot be sent to described called party terminal, because described online forwarding service end is also without the function of preserving information off-line, therefore call signaling may be lost.Now, another road call signaling can be preserved by offline service end, and after called party terminal network connects recovery, initiatively from described offline service end pulling data, obtain another road call signaling, thus complete networking telephone connection.
Described online forwarding service end can be the forwarding subsystem of VOIP backstage acquiescence, and usual VOIP user needs the information being sent to other user, all gives described forwarding subsystem and is sent to designated user, comprise the forwarding of user's call signaling.
That is described first execution mode only described call signaling is got offline service end, completed the transmission of call signaling by offline service end.And the networking telephone method of attachment of the second execution mode does not transmit described call signaling by means of only offline service end, also transmit described call signaling by the online forwarding service end in networking telephone background system simultaneously.
When the call signaling that the described main dialing user of acquisition sends is to online forwarding service end, first can obtain the access subsystem of the extremely described main dialing user connection of call signaling that described main dialing user sends, described call signaling is transferred to described online forwarding service end by the access subsystem connected by described main dialing user.
When described call signaling being forwarded to corresponding called party terminal by described online forwarding service end, also first described call signaling can be transferred to the access subsystem of described called party terminal connection from described online forwarding service end, described call signaling is transferred to described called party terminal by the access subsystem connected by described called party terminal.
Due in the present embodiment, describedly do not transmit described call signaling by means of only offline service end, also transmit described call signaling by the online forwarding service end in networking telephone background system simultaneously, so when the network connection state of described called party terminal is normal, the call signaling of described offline service end and described online forwarding service end transmission can be received respectively.
For this reason, the redundancy processing rule of a call signaling can be set up in advance at described called party terminal, when to receive plural call signaling simultaneously, can process according to described redundancy processing rule, described redundancy processing rule comprises: prioritizing selection forwards the call signaling of service end transmission online, or the call signaling of prioritizing selection offline service end transmission, or prioritizing selection reaches the call signaling of described called party terminal the earliest.
The networking telephone method of attachment of present embodiment, while background system is handed down to user call signaling, saves it, even if like this because user network brief interruption causes call signaling to be lost, also can get from background system after network recovery.
Refer to Fig. 4, Fig. 4 is the schematic flow sheet of networking telephone method of attachment the 3rd execution mode of the present invention.
The networking telephone method of attachment of present embodiment and the difference of described first execution mode are mainly, further comprising the steps:
S402, obtains call signaling that described main dialing user sends to system message Push Service end corresponding to the operating system of described called party terminal;
S404, by the network linking of described system message Push Service end and described called party terminal, is sent to described called party terminal by described call signaling.
The propelling movement subsystem of described system message Push Service end and VOIP, conventional system message Push Service, the Push Service APNS (ApplePushNotificationService) of such as IOS system, it and each equipment installing IOS system keep one to be longly connected, application developer can through APNS to user's pushed information for the APP (application, application) of IOS system; Another kind of conventional system message Push Service is Android system Push Service GCM (GoogleCloudMessagingforAndroid), and the APP application developer of Android system can through GCM to user's pushed information.
In the present embodiment, user mails to the call signaling of other user, for ensureing reliability, while being sent by offline service end, is pushed to called party terminal by system message Push Service end.
When the system message Push Service end that the operating system of the call signaling to described called party terminal that obtain the transmission of described main dialing user is corresponding, first can obtain the access subsystem of the extremely described main dialing user connection of call signaling that described main dialing user sends, described call signaling is transferred to described system message Push Service end by the access subsystem connected by described main dialing user.
Then by the network linking of described system message Push Service end and described called party terminal, described call signaling is sent to described called party terminal.
Due in the present embodiment, describedly do not transmit described call signaling by means of only offline service end, also transmit described call signaling by the system message Push Service end in networking telephone background system simultaneously, so when the network connection state of described called party terminal is normal, the call signaling of described offline service end and the transmission of described system message Push Service end can be received respectively.
For this reason, the redundancy processing rule of a call signaling can be set up in advance at described called party terminal, when to receive plural call signaling simultaneously, can process according to described redundancy processing rule, described redundancy processing rule comprises: the call signaling of prioritizing selection system message Push Service end transmission, or the call signaling of prioritizing selection offline service end transmission, or prioritizing selection reaches the call signaling of described called party terminal the earliest.
The length that the networking telephone method of attachment of present embodiment utilizes mobile phone operating system built-in connects, and as the GCM of APNS and the android of IOS, call signaling is uploaded to APNS or GCM, is issued to mobile phone by them, give user process.Repeatedly, number of retries can configure call signaling meeting retry.
Refer to Fig. 5, Fig. 5 is the schematic flow sheet of networking telephone method of attachment the 4th execution mode of the present invention.
The difference of networking telephone method of attachment the 4th execution mode of the present invention and described first execution mode is mainly, comprises the step being transmitted described call signaling in the second execution mode by the online forwarding service end in networking telephone background system further: obtain the call signaling of described main dialing user transmission to forwarding service end online; By described online forwarding service end, described call signaling is forwarded to corresponding called party terminal.
And,
The step of described call signaling is transmitted by the system message Push Service end in networking telephone background system: obtain call signaling that described main dialing user sends to system message Push Service end corresponding to the operating system of described called party terminal in 3rd execution mode; By the network linking of described system message Push Service end and described called party terminal, described call signaling is sent to described called party terminal.
Above-mentioned two steps can with the first execution mode in carried out by the step of offline service end call transmission signaling simultaneously.The implementation of above-mentioned two steps respectively with second and the 3rd execution mode similar, do not repeating at this.
Due in the present embodiment, describedly do not transmit described call signaling by means of only offline service end, also transmit described call signaling by the online forwarding service end in networking telephone background system and system message Push Service end simultaneously, so when the network connection state of described called party terminal is normal, the call signaling of described offline service end, described online forwarding service end and described system message Push Service end transmission can be received respectively.
For this reason, the redundancy processing rule of a call signaling can be set up in advance at described called party terminal, when to receive plural call signaling simultaneously, can process according to described redundancy processing rule, described redundancy processing rule comprises: prioritizing selection forwards the call signaling of service end transmission online, the call signaling of prioritizing selection system message Push Service end transmission, or the call signaling of prioritizing selection offline service end transmission, or prioritizing selection reaches the call signaling of described called party terminal the earliest.
The networking telephone method of attachment of present embodiment, while background system is handed down to user call signaling, saves it, even if like this because user network brief interruption causes call signaling to be lost, also can get from background system after network recovery.
And utilize the long connection that mobile phone operating system is built-in, as the GCM of APNS and the android of IOS, call signaling is uploaded to APNS or GCM, be issued to mobile phone by them, give user process.Repeatedly, number of retries can configure call signaling meeting retry.
Such as, user side A makes a call, and call signaling divides three tunnels to be sent to user side B via the access front end of user side A:
The first via gives the access subsystem of user side B, is then issued to user side B, and this road downloading speed is fast;
Second tunnel is given offline service end call signaling and is saved, if user side B there occurs temporary transient network interruption, the first via is probably lost, after network recovery, it pulls call signaling from offline service end, and this road is equivalent to delay sending call signaling;
System message Push Service end is given on 3rd tunnel, and it utilizes the long of mobile phone operating system to connect, and as the GCM of APNS and the android of IOS, is issued to user side B by them by this long connection.
The present invention can preserve user's call signaling, and preserving duration can configure, and ensureing that called party terminal is when occurring network brief interruption, not lost-call signaling, after network recovery, being pulled immediately by offline service end, improves call completing rate.And utilize the long connection that mobile phone operating system is built-in, push call signaling to user, ensure that call signaling correctly sends to user, improve call completing rate.
Refer to Fig. 6, Fig. 6 is the structural representation of networking telephone connected system first execution mode of the present invention.
Described networking telephone connected system, comprising:
Signaling acquisition module 10, for obtaining the call signaling of main dialing user transmission to offline service end;
Network detection module 20, for obtaining the network connection state of called party terminal;
Off-line transport module 30, if normal for the network connection state of described called party terminal, is then transferred to described called party terminal by described call signaling from described offline service end; If the network connection state of described called party terminal is abnormal, then in described offline service end, preserve described call signaling, recover normally in the network connection state of described called party terminal, more described call signaling is transferred to described called party terminal from described offline service end.
In networking telephone connected system of the present invention, offline service end is got by the call signaling sent by main dialing user, in the called party terminal network jitter of receipt of call signaling or disconnection and cannot receipt of call signaling time, first preserve described call signaling at described offline service end; When the network recovery of called party terminal, information off-line can be pulled from offline service end, therefore described call signaling be transferred to described called party terminal from offline service end.Even if the therefore network jitter of called subscriber or of short duration disconnection, also bid signaling can not lose, after network recovery, still can receive call signaling, the call completing rate of the networking telephone can be improved.
Wherein, described offline service end is the off-line subsystem set up in the background system of the networking telephone, and it mails to the information of offline user for preserving, and transfers to online, initiatively pull information off-line from offline service end when offline user accesses again.
Described signaling acquisition module 10 is when detecting that main dialing user sends call signaling, first can obtain the access subsystem of the extremely described main dialing user connection of call signaling that described main dialing user sends, then by the access subsystem that described main dialing user connects, described call signaling be transferred to described offline service end.
Further, described signaling acquisition module 10 can further when main dialing user sends described call signaling, whether the network first detecting called party terminal connects normal, if the network malunion of called party terminal is normal, then obtains described signaling to described offline service end.
Described network detection module 20 obtains the network connection state of called party terminal.
Described network connection state comprises the normal and network connection state exception of network connection state.Wherein, Network Abnormal can comprise the abnormalities such as broken string, network jitter.
When described network detection module 20 detects that the network connection state of described called party terminal is normal, described call signaling is transferred to described called party terminal from described offline service end by described off-line transport module 30.
Therefore, when the network connection state of described called party terminal is normal, offline service end can forward described call signaling immediately, reduces the time of delay that called party terminal obtains call signaling, reaches the connection time delay the same with normal networking telephone getting type.
When described network detection module 20 detects that the network connection state of described called party terminal is abnormal, first described off-line transport module 30 preserves described call signaling in described offline service end, and wait for that the network connection state of described called party terminal is recovered normally, more described call signaling is transferred to described called party terminal from described offline service end.
Described off-line transport module 30 is when being transferred to described called party terminal by call signaling from described offline service end, first described call signaling can be transferred to the access subsystem of described called party terminal connection from described offline service end, described call signaling is transferred to described called party terminal by the access subsystem connected by described called party terminal.
In one embodiment, recover normally in the network connection state of described called party terminal, described off-line transport module 30 initiatively sends the called party terminal of call signaling to correspondence from described offline service end;
In another embodiment, recover normally in the network connection state of described called party terminal, described called party terminal initiatively connection logs in described offline service end, send off-line signaling to described offline service end and obtain request, after described offline service termination receives described off-line signaling acquisition request, if preserve corresponding call signaling, then call signaling is sent to corresponding described called party terminal by described off-line transport module 30.
Described off-line transport module 30 is after described call signaling transfers to corresponding called party terminal, and called party terminal completes the connection of the networking telephone according to call signaling.Can eject networking telephone UI (UserInterface, user interface) at called party terminal, called party terminal can be performed by the operational order of described networking telephone UI and answers or hang up operation.
In present embodiment, call signaling is kept at offline service end, even if like this because user network brief interruption causes call signaling to be lost, also can get from background system after network recovery, improves the call completing rate of the networking telephone.
Refer to Fig. 7, Fig. 7 is the structural representation of networking telephone connected system second execution mode of the present invention.
The networking telephone connected system of present embodiment and the difference of described first execution mode are mainly, comprise further:
Online forwarding module 40, for obtaining the call signaling of described main dialing user transmission to forwarding service end online, is forwarded to corresponding called party terminal by described online forwarding service end by described call signaling.
The forwarding subsystem of described online forwarding service end and VOIP, usual user needs the information being sent to other user, all gives described forwarding subsystem and is sent to designated user, comprise the forwarding of user's call signaling.
That is described first execution mode only described call signaling is got offline service end, completed the transmission of call signaling by offline service end.And the networking telephone method of attachment of the second execution mode does not transmit described call signaling by means of only offline service end, also transmit described call signaling by the online forwarding service end in networking telephone background system simultaneously.
Described online forwarding module 40 is when the call signaling that the described main dialing user of acquisition sends is to online forwarding service end, first can obtain the access subsystem of the extremely described main dialing user connection of call signaling that described main dialing user sends, described call signaling is transferred to described online forwarding service end by the access subsystem connected by described main dialing user.
Described online forwarding module 40 is when being forwarded to corresponding called party terminal by described online forwarding service end by described call signaling, also first described call signaling can be transferred to the access subsystem of described called party terminal connection from described online forwarding service end, described call signaling is transferred to described called party terminal by the access subsystem connected by described called party terminal.
Due in the present embodiment, describedly do not transmit described call signaling by means of only offline service end, also transmit described call signaling by the online forwarding service end in networking telephone background system simultaneously, so when the network connection state of described called party terminal is normal, the call signaling of described offline service end and described online forwarding service end transmission can be received respectively.
For this reason, the redundancy processing rule of a call signaling can be set up in advance at described called party terminal, when to receive plural call signaling simultaneously, can process according to described redundancy processing rule, described redundancy processing rule comprises: prioritizing selection forwards the call signaling of service end transmission online, or the call signaling of prioritizing selection offline service end transmission, or prioritizing selection reaches the call signaling of described called party terminal the earliest.
The networking telephone method of attachment of present embodiment, while background system is handed down to user call signaling, saves it, even if like this because user network brief interruption causes call signaling to be lost, also can get from background system after network recovery.
Refer to Fig. 8, Fig. 8 is the structural representation of networking telephone connected system the 3rd execution mode of the present invention.
The networking telephone connected system of present embodiment and the difference of described first execution mode are mainly, comprise further:
Info push module 50, for obtaining call signaling that described main dialing user sends to system message Push Service end corresponding to the operating system of described called party terminal, and by the network linking of described system message Push Service end and described called party terminal, described call signaling is sent to described called party terminal.
The propelling movement subsystem of described system message Push Service end and VOIP, conventional system message Push Service, the Push Service APNS (ApplePushNotificationService) of such as IOS system, it and each equipment installing IOS system keep one to be longly connected, application developer can through APNS to user's pushed information for the APP (application, application) of IOS system; Another kind of conventional system message Push Service is Android system Push Service GCM (GoogleCloudMessagingforAndroid), and the APP application developer of Android system can through GCM to user's pushed information.
In the present embodiment, user mails to the call signaling of other user, for ensureing reliability, while being sent by offline service end, is pushed to called party terminal by system message Push Service end.
Described info push module 50 is when the system message Push Service end that the operating system of the call signaling to described called party terminal that obtain the transmission of described main dialing user is corresponding, first can obtain the access subsystem of the extremely described main dialing user connection of call signaling that described main dialing user sends, described call signaling is transferred to described system message Push Service end by the access subsystem connected by described main dialing user.
Then by the network linking of described system message Push Service end and described called party terminal, described call signaling is sent to described called party terminal.
Due in the present embodiment, describedly do not transmit described call signaling by means of only offline service end, also transmit described call signaling by the system message Push Service end in networking telephone background system simultaneously, so when the network connection state of described called party terminal is normal, the call signaling of described offline service end and the transmission of described system message Push Service end can be received respectively.
For this reason, the redundancy processing rule of a call signaling can be set up in advance at described called party terminal, when to receive plural call signaling simultaneously, can process according to described redundancy processing rule, described redundancy processing rule comprises: the call signaling of prioritizing selection system message Push Service end transmission, or the call signaling of prioritizing selection offline service end transmission, or prioritizing selection reaches the call signaling of described called party terminal the earliest.
The length that the networking telephone method of attachment of present embodiment utilizes mobile phone operating system built-in connects, and as the GCM of APNS and the android of IOS, call signaling is uploaded to APNS or GCM, is issued to mobile phone by them, give user process.Repeatedly, number of retries can configure call signaling meeting retry.
Refer to Fig. 9, Fig. 9 is the structural representation of networking telephone connected system the 4th execution mode of the present invention.
The difference of networking telephone connected system the 4th execution mode of the present invention and described first execution mode is mainly, described online forwarding module 40 in further second execution mode, for obtaining the call signaling of described main dialing user transmission to forwarding service end online, by described online forwarding service end, described call signaling is forwarded to corresponding called party terminal; And the 3rd described info push module 50 in execution mode, for obtaining call signaling that described main dialing user sends to system message Push Service end corresponding to the operating system of described called party terminal, and by the network linking of described system message Push Service end and described called party terminal, described call signaling is sent to described called party terminal.
Above-mentioned two module transfer call signalings can with simultaneously being carried out by offline service end call transmission signaling in the first execution mode.The implementation of above-mentioned two modules respectively with second and the 3rd execution mode similar, do not repeating at this.
Due in the present embodiment, describedly do not transmit described call signaling by means of only offline service end, also transmit described call signaling by the online forwarding service end in networking telephone background system and system message Push Service end simultaneously, so when the network connection state of described called party terminal is normal, the call signaling of described offline service end, described online forwarding service end and described system message Push Service end transmission can be received respectively.
For this reason, the redundancy processing rule of a call signaling can be set up in advance at described called party terminal, when to receive plural call signaling simultaneously, can process according to described redundancy processing rule, described redundancy processing rule comprises: prioritizing selection forwards the call signaling of service end transmission online, the call signaling of prioritizing selection system message Push Service end transmission, or the call signaling of prioritizing selection offline service end transmission, or prioritizing selection reaches the call signaling of described called party terminal the earliest.
The networking telephone method of attachment of present embodiment, while background system is handed down to user call signaling, saves it, even if like this because user network brief interruption causes call signaling to be lost, also can get from background system after network recovery.
And utilize the long connection that mobile phone operating system is built-in, as the GCM of APNS and the android of IOS, call signaling is uploaded to APNS or GCM, be issued to mobile phone by them, give user process.Repeatedly, number of retries can configure call signaling meeting retry.
The present invention can preserve user's call signaling, and preserving duration can configure, and ensureing that called party terminal is when occurring network brief interruption, not lost-call signaling, after network recovery, being pulled immediately by offline service end, improves call completing rate.And utilize the long connection that mobile phone operating system is built-in, push call signaling to user, ensure that call signaling correctly sends to user, improve call completing rate.
One of ordinary skill in the art will appreciate that and realize all or part of flow process in above-mentioned execution mode and the system of correspondence, described music player, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process as the respective embodiments described above.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc.
The above embodiment only have expressed several execution mode of the present invention, and it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection range of patent of the present invention should be as the criterion with claims.