CN106888104A - A kind of the Internet telephone calls method, relevant device and system - Google Patents

A kind of the Internet telephone calls method, relevant device and system Download PDF

Info

Publication number
CN106888104A
CN106888104A CN201510940720.0A CN201510940720A CN106888104A CN 106888104 A CN106888104 A CN 106888104A CN 201510940720 A CN201510940720 A CN 201510940720A CN 106888104 A CN106888104 A CN 106888104A
Authority
CN
China
Prior art keywords
mobile terminal
terminal
call
media channel
calling
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.)
Pending
Application number
CN201510940720.0A
Other languages
Chinese (zh)
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.)
Hangzhou Huawei Enterprises Communications Technologies Co Ltd
Original Assignee
Hangzhou Huawei Enterprises Communications Technologies 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 Hangzhou Huawei Enterprises Communications Technologies Co Ltd filed Critical Hangzhou Huawei Enterprises Communications Technologies Co Ltd
Priority to CN201510940720.0A priority Critical patent/CN106888104A/en
Publication of CN106888104A publication Critical patent/CN106888104A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/54Arrangements for diverting calls for one subscriber to another predetermined subscriber
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/508Network service management, e.g. ensuring proper service fulfilment according to agreements based on type of value added network service under agreement
    • H04L41/5087Network service management, e.g. ensuring proper service fulfilment according to agreements based on type of value added network service under agreement wherein the managed service relates to voice services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M7/00Arrangements for interconnection between switching centres
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M7/00Arrangements for interconnection between switching centres
    • H04M7/006Networks other than PSTN/ISDN providing telephone service, e.g. Voice over Internet Protocol (VoIP), including next generation networks with a packet-switched transport layer
    • H04M7/0081Network operation, administration, maintenance, or provisioning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/16Communication-related supplementary services, e.g. call-transfer or call-hold

Abstract

The embodiment of the invention discloses a kind of the Internet telephone calls method relevant device and system, the method includes:Call server receives the first call request comprising call number that calling terminal sends, and the first call request is used to ask terminal corresponding with call number to set up the media channel for session;The network quality of mobile terminal in the corresponding multiple terminals of call server detection of call number in the mobile packet network for accessing;When network quality is unsatisfactory for default reference conditions, call server sends the second call request to ask fixed terminal and calling terminal to set up the media channel for session to the fixed terminal in multiple terminals, and does not send for asking mobile terminal and calling terminal to set up the call request of the media channel for session to mobile terminal.Using the present invention, high-quality session is ensure that, improve Consumer's Experience.

Description

A kind of the Internet telephone calls method, relevant device and system
Technical field
The present invention relates to field of computer technology, more particularly to a kind of the Internet telephone calls method, relevant device And system.
Background technology
The networking telephone (Voice over Internet Protocol, VOIP) be it is a kind of by digitization of speech signals, It is converted into IP messages and is transmitted based on IP agreement so that recipient obtains voice letter to IP messages decompression Number conversational mode.The both sides of session are needed in the dialogue-based initiation protocol (Session before conversating Initiation Protocol, SIP) media channel for session is set up, set up media channel for session Process is as follows:The calling terminal for initiating session sends call request, the call request to call server first Comprising call number;Call server receives the call request, and lookup should from the mapping table for prestoring The corresponding terminal called of call number;The call server sends call request, the calling to the terminal called IP of the request bag containing calling terminal, port numbers and media capability;The terminal called receives the call request, and Enter line ringing to prompt the user to choose whether to access session;When user's control terminal called accesses session, quilt Terminal is made to send 200OK message to call server;The call server receive the 200OK message and to Calling terminal sends 200OK message, the 200OK message packages containing the IP of the terminal called, port numbers and The media capability that the terminal called finally determines, calling terminal and terminal called know mutual IP, port numbers, And after the media capability that is all suitable for of both sides, the media channel for session is to be successfully established.
Many enterprises specially employ " one number service " mechanism based on VOIP to improve intercommunication efficiency, Mobile terminal, PC (personal computer, PC), base of as same user etc. distribute phase Same call number;When other users are to the call server request call call number, call server Send call request to ask the foundation to be used for terminals such as the corresponding mobile terminal of the call number, PC, bases The media channel of session.But the mobile terminal in mobile packet network is relative in intranet In PC and base for, the stability of network is weaker (the poor situation of network quality occurs), if Call server sends call request and causes the shifting when the network quality of mobile terminal is poor to mobile terminal Dynamic terminal establishes the media channel for session with calling terminal, then follow-up quality of the conversation can be caused poor.
The content of the invention
The embodiment of the invention discloses a kind of the Internet telephone calls method, relevant device and system, ensure that High-quality session, improves Consumer's Experience.
In a first aspect, the embodiment of the present invention provides a kind of the Internet telephone calls method, the method includes:
Call server receives the first call request comprising call number that calling terminal sends, described first Call request is used to ask terminal corresponding with the call number to set up the media channel for session;
Mobile terminal in the corresponding multiple terminals of the call server detection call number is in access Network quality in mobile packet network;
When the network quality is unsatisfactory for default reference conditions, the call server is to the multiple end Fixed terminal in end sends the second call request and is used with asking the fixed terminal to be set up with the calling terminal In the media channel of session, and do not send for asking the mobile terminal with the master to the mobile terminal Terminal is made to set up the call request of the media channel for session.
By performing above-mentioned steps, when call server judges that the network of mobile terminal is unsatisfactory for default ginseng When examining condition, do not initiate call request to mobile terminal but initiate call request so that caller to fixed terminal Terminal sets up session with fixed terminal, has ensured calling terminal and terminal called (above-mentioned mobile terminal and movement Terminal belongs to terminal called) between quality of the conversation.
With reference in a first aspect, in the first possible implementation of first aspect, the call server Detect net of the mobile terminal in the corresponding multiple terminals of the call number in the mobile packet network for accessing Network quality includes:
The call server sends to the mobile terminal in the corresponding multiple terminals of the call number and includes net 3rd call request of the identification information of network detection, for asking to be set up for detecting net with the mobile terminal The media channel of network quality;
When it is described for detect network quality media channel set up after, the call server by with it is described Mobile terminal interacts detection messages to detect network matter of the mobile terminal in the mobile packet network for accessing Amount, the network quality include packet loss, bandwidth rates and when Yanzhong at least one.
By performing above-mentioned steps, call server detects net immediately with mobile terminal by interacting detection messages Network quality so that the result of detection has more reference value.
With reference to the first possible implementation of first aspect, in second possible realization of first aspect In mode, methods described also includes:
When the network quality meets the reference conditions, the call server is sent out to the mobile terminal It is logical for the media of session to ask the mobile terminal and the calling terminal to be set up to send the 4th call request Road.
By performing above-mentioned steps, when calling terminal is to some call number of call server request call, Call server first judges whether the network of the corresponding mobile terminal of the call number meets reference conditions, if Meet and then the mobile terminal is initiated to call so that calling terminal and mobile terminal set up session, ensured calling Quality of the conversation between server and mobile terminal.
With reference to second possible implementation of first aspect, in the third possible realization of first aspect In mode, when the network quality meets the reference conditions, the call server is to described mobile whole End sends the 4th call request to ask the mobile terminal to set up the media for session with the calling terminal Passage includes:
The call server sends the 4th call request to the mobile terminal, so that the mobile terminal is repaiied Change the media channel for detecting network quality to ask the mobile terminal to be set up with the calling terminal For the media channel of session.
By performing above-mentioned steps, call server is based on for detecting that the media channel of network quality is detected When the network quality of mobile terminal meets reference conditions, directly this is used to detect that the media channel of network is carried out Change and initiate foundation for the media channel of session with to mobile terminal, improve the media set up for session The efficiency of passage.
With reference to second possible implementation of first aspect, in the 4th kind of possible realization of first aspect In mode, when the network quality meets the reference conditions, the call server is to described mobile whole End sends the 4th call request to ask the mobile terminal to set up the media for session with the calling terminal Passage includes:
The call server sends interrupt instruction to the mobile terminal, interrupts described for detecting network matter The media channel of amount;
The call server to the mobile terminal send the 4th call request with ask the mobile terminal with The calling terminal sets up the media channel for session.
Second aspect, the embodiment of the present invention provides a kind of the Internet telephone calls method, and the method includes:
Mobile terminal receives the first call request that call server sends, and first call request is described Call server is judged after the second call request comprising call number for receiving calling terminal transmission The net of the mobile terminal in the corresponding multiple terminals of the call number in the mobile packet network for accessing Network quality meets the request sent during default reference conditions;
The mobile terminal sets up the media for session according to first call request and the calling terminal Passage.
By performing above-mentioned steps, when calling terminal is to some call number of call server request call, Call server first judges whether the network of the corresponding mobile terminal of the call number meets reference conditions, if Meet and then the mobile terminal is initiated to call so that calling terminal and mobile terminal set up session, correspondingly, should Mobile terminal receives the request and sets up session with calling terminal, ensured call server and mobile terminal it Between quality of the conversation.
With reference to second aspect, in the first possible implementation of second aspect, the mobile terminal connects Before receiving the first call request that call server sends, methods described also includes:
The mobile terminal receives the 3rd of the identification information comprising network detection that the call server sends Call request;
The mobile terminal is set up for detecting network according to the 3rd call request with the call server The media channel of quality;
The mobile terminal is based on described for detecting that the media channel of network interacts inspection with the call server Text is observed and predicted, detects the mobile terminal in the mobile packet network for accessing for the call server Network quality, the network quality include packet loss, bandwidth rates and when Yanzhong at least one.
By performing above-mentioned steps, call server detects net immediately with mobile terminal by interacting detection messages Network quality so that the result of detection has more reference value.
With reference to the first possible implementation of second aspect, in second possible realization of second aspect In mode, the mobile terminal is set up for session according to first call request and the calling terminal Media channel includes:
The mobile terminal leads to according to first call request is changed for detecting the media of network quality Road is setting up with the calling terminal media channel for session.
By performing above-mentioned steps, call server is based on for detecting that the media channel of network quality is detected When the network quality of mobile terminal meets reference conditions, directly this is used to detect that the media channel of network is carried out Change and initiate foundation for the media channel of session with to mobile terminal, improve the media set up for session The efficiency of passage.
With reference to the first possible implementation of second aspect, in the third possible realization of second aspect In mode, the mobile terminal is set up for session according to first call request and the calling terminal Media channel includes:
The mobile terminal receives the interrupt instruction that the call server sends, and according to the interrupt instruction Interrupt the media channel for detecting network;
The mobile terminal receives the 4th call request that the call server sends, and according to the described 4th The media channel for session is set up in call request with the calling terminal.
The third aspect, the embodiment of the present invention provides a kind of call server, and the call server includes receiving dress Put, dispensing device, memory and processor, wherein, the memory is used to store the program of control calling Code, the processor is used to call the program code of the control calling to be operated as follows to perform:
The first call request comprising call number that calling terminal sends, institute are received by the reception device State the first call request for ask corresponding with call number terminal set up logical for the media of session Road;
Detect the mobile terminal in the corresponding multiple terminals of the call number in the mobile packet network for accessing Network quality;
When the network quality is unsatisfactory for default reference conditions, by the dispensing device to the multiple Fixed terminal in terminal sends the second call request to ask the fixed terminal to be set up with the calling terminal For the media channel of session, and not to the mobile terminal send for ask the mobile terminal with it is described Calling terminal sets up the call request of the media channel for session.
By performing aforesaid operations, when call server judges that the network of mobile terminal is unsatisfactory for default ginseng When examining condition, do not initiate call request to mobile terminal but initiate call request so that caller to fixed terminal Terminal sets up session with fixed terminal, has ensured calling terminal and terminal called (above-mentioned mobile terminal and movement Terminal belongs to terminal called) between quality of the conversation.
With reference to the third aspect, in the first possible implementation of the third aspect, the processor detection The network matter of mobile terminal in the corresponding multiple terminals of the call number in the mobile packet network for accessing Amount, specially:
Sent to the mobile terminal in the corresponding multiple terminals of the call number by the dispensing device and included 3rd call request of the identification information of network detection, for asking to be set up for detecting with the mobile terminal The media channel of network quality;
After the media channel for detecting network quality is set up, by the dispensing device and described connect Receiving apparatus interact detection messages to detect the mobile terminal in the mobile packet network for accessing with the mobile terminal Network quality in network, the network quality include packet loss, bandwidth rates and when Yanzhong at least one.
By performing aforesaid operations, call server detects net immediately with mobile terminal by interacting detection messages Network quality so that the result of detection has more reference value.
With reference to the first possible implementation of the third aspect, in second possible realization of the third aspect In mode, the processor is additionally operable to:
When the network quality meets the reference conditions, by the dispensing device to the mobile terminal It is logical for the media of session to ask the mobile terminal and the calling terminal to be set up to send the 4th call request Road.
By performing aforesaid operations, when calling terminal is to some call number of call server request call, Call server first judges whether the network of the corresponding mobile terminal of the call number meets reference conditions, if Meet and then the mobile terminal is initiated to call so that calling terminal and mobile terminal set up session, ensured calling Quality of the conversation between server and mobile terminal.
With reference to second possible implementation of the third aspect, in the third possible realization of the third aspect In mode, when the network quality meets the reference conditions, the processor passes through the dispensing device The 4th call request is sent to the mobile terminal used with asking the mobile terminal to be set up with the calling terminal In the media channel of session, specially:
4th call request is sent to the mobile terminal by the dispensing device, so that the mobile terminal The modification media channel for detecting network quality is to ask the mobile terminal to be built with the calling terminal Found the media channel for session.
By performing aforesaid operations, call server is based on for detecting that the media channel of network quality is detected When the network quality of mobile terminal meets reference conditions, directly this is used to detect that the media channel of network is carried out Change and initiate foundation for the media channel of session with to mobile terminal, improve the media set up for session The efficiency of passage.
With reference to second possible implementation of the third aspect, in the 4th kind of possible realization of the third aspect In mode, when the network quality meets the reference conditions, the processor passes through the dispensing device The 4th call request is sent to the mobile terminal used with asking the mobile terminal to be set up with the calling terminal In the media channel of session, specially:
Interrupt instruction is sent to the mobile terminal by the dispensing device, is interrupted described for detecting network The media channel of quality;
4th call request is sent to ask the mobile terminal to the mobile terminal by the dispensing device The media channel for session is set up with the calling terminal.
Fourth aspect, the embodiment of the present invention provides a kind of mobile terminal, it is characterised in that including reception device, Dispensing device, memory and processor, wherein, the memory is used to store the program code of control calling, The processor is used to call the program code of the control calling to be operated as follows to perform:
The first call request that call server sends is received by the reception device, first calling please Ask as the call server is receiving second call request comprising call number of calling terminal transmission Afterwards, judge the mobile terminal in the corresponding multiple terminals of the call number in the mobile packet for accessing Network quality in network meets the request sent during default reference conditions;
The media channel for session is set up according to first call request and the calling terminal.
By performing aforesaid operations, when calling terminal is to some call number of call server request call, Call server first judges whether the network of the corresponding mobile terminal of the call number meets reference conditions, if Meet and then the mobile terminal is initiated to call so that calling terminal and mobile terminal set up session, correspondingly, should Server in mobile terminal receives the request by reception device, and sets up session with calling terminal, ensures Quality of the conversation between call server and mobile terminal.
With reference to fourth aspect, in the first possible implementation of fourth aspect, the processor is also used In:
Before the first call request that call server sends is received by the reception device, by described The 3rd calling that reception device receives the identification information comprising network detection that the call server sends please Ask;
Led to according to the media that the 3rd call request and the call server are set up for detecting network quality Road;
Based on the media channel for detecting network by the dispensing device and the reception device and institute Call server interaction detection messages are stated, detects that the mobile terminal is being accessed for the call server Mobile packet network in network quality, the network quality include packet loss, bandwidth rates and when Yanzhong At least one.
By performing aforesaid operations, call server detects net immediately with mobile terminal by interacting detection messages Network quality so that the result of detection has more reference value.
With reference to the first possible implementation of fourth aspect, in second possible realization of fourth aspect In mode, the processor sets up the matchmaker for session according to first call request and the calling terminal Body passage, specially:
According to first call request modification media channel for being used to detect network quality with the master Terminal is made to set up the media channel for session.
By performing aforesaid operations, call server is based on for detecting that the media channel of network quality is detected When the network quality of mobile terminal meets reference conditions, directly this is used to detect that the media channel of network is carried out Change and initiate foundation for the media channel of session with to mobile terminal, improve the media set up for session The efficiency of passage.
With reference to the first possible implementation of fourth aspect, in the third possible realization of fourth aspect In mode, the processor sets up the matchmaker for session according to first call request and the calling terminal Body passage, specially:
The interrupt instruction that the call server sends is received by the reception device, and according to the interruption It is used to detect the media channel of network described in instruction breaks;
The 4th call request that the call server sends is received by the reception device, and according to described The media channel for session is set up in 4th call request with the calling terminal.
5th aspect, the embodiment of the present invention provides a kind of call server, and the call server includes being used for Perform the functional unit of the part or all of step of embodiment of the present invention first aspect either type.
6th aspect, the embodiment of the present invention provides a kind of mobile terminal, and the mobile terminal is included for performing The functional unit of the part or all of step of embodiment of the present invention second aspect either type.
7th aspect, the embodiment of the present invention provides a kind of calling system, and the calling system includes call server And mobile terminal, wherein:
The call server, the first call request comprising call number for receiving calling terminal transmission, First call request is used for request terminal corresponding with the call number and sets up logical for the media of session Road;
The call server, is additionally operable to detect the movement in the corresponding multiple terminals of the call number Network quality of the terminal in the mobile packet network for accessing;
The call server, is additionally operable to when the network quality is unsatisfactory for default reference conditions, to institute State the fixed terminal in multiple terminals and send the second call request to ask the fixed terminal with the caller end The media channel for session is set up at end, and does not send for asking the mobile terminal to the mobile terminal With the call request that the calling terminal sets up the media channel for session.
By running said system, when call server judges that the network of mobile terminal is unsatisfactory for default ginseng When examining condition, do not initiate call request to mobile terminal but initiate call request so that caller to fixed terminal Terminal sets up session with fixed terminal, has ensured calling terminal and terminal called (above-mentioned mobile terminal and movement Terminal belongs to terminal called) between quality of the conversation
With reference to the 7th aspect, in the first possible implementation of the 7th aspect, the call server, It is additionally operable to detect the mobile terminal in the corresponding multiple terminals of the call number in the mobile packet for accessing Network quality in network, specially:
The call server, for sending the 3rd call request to ask and the shifting to the mobile terminal Dynamic terminal sets up the media channel for detecting network quality;
The mobile terminal, for receiving the 3rd call request, and according to the 3rd call request with The call server sets up the media channel for detecting network quality;
The mobile terminal, for based on the media channel and the calling clothes for detecting network quality Business device interaction detection messages;
The call server, for based on the media channel for detecting network quality and the movement Detection messages described in terminal interaction, and existed according to the situation calculating mobile terminal of the interaction detection messages Network quality in the mobile packet network of access, the network quality include packet loss, bandwidth rates and when At least one of Yanzhong.
With reference to the first possible implementation of the 7th aspect, in second possible realization of the 7th aspect In mode, the call server is additionally operable to when the network quality meets the reference conditions, to institute State mobile terminal and send the 4th call request;
The mobile terminal, is additionally operable to be set up for meeting with the calling terminal according to the 4th call request The media channel of words.
With reference to second possible implementation of the 7th aspect, in the third possible realization of the 7th aspect In mode, the mobile terminal is additionally operable to be set up with the calling terminal according to the 4th call request and uses In the media channel of session, specially:
The mobile terminal, is additionally operable to according to the 4th call request modification for detecting network quality Media channel setting up with the calling terminal media channel for session.
With reference to second possible implementation of the 7th aspect, in the 4th kind of possible realization of the 7th aspect In mode, the call server is additionally operable to when the network quality meets the reference conditions, to institute State mobile terminal and send the 4th call request, specially:
The call server, is additionally operable to send interrupt instruction to the mobile terminal, interrupts described for examining Survey the media channel of network quality;
The mobile terminal, is additionally operable to receive the interrupt instruction, and it is described to respond the interrupt instruction interruption Media channel for detecting network quality;
The call server, is additionally operable to send the 4th call request to ask the shifting to the mobile terminal Dynamic terminal sets up the media channel for session with the calling terminal.
In some possible implementations, when the network quality includes packet loss, exhaled described in the detection The network quality bag of mobile terminal in the corresponding multiple terminals of code of calling out the numbers in the mobile packet network for accessing Include:
The call server sends N number of detection messages, the shifting in detection cycle to the mobile terminal Dynamic terminal is used to count the quantity C of the detection messages for receiving in the detection cycle and in the detection The detection messages that forwarding is received in cycle;
The call server is connected in the detection cycle detection messages for receiving the mobile terminal forwarding And the numerical value C for sending, and count the quantity S of the detection messages for receiving the mobile terminal forwarding;
The call server calculates the packet loss according to described N, C and S, and described N, C and S are equal It is positive integer.
In some possible implementations, the network quality includes bandwidth rates, exhales described in the detection The network quality bag of mobile terminal in the corresponding multiple terminals of code of calling out the numbers in the mobile packet network for accessing Include:
The call server sends detection messages in detection cycle to the mobile terminal, described mobile whole Hold the bit number D for counting the detection messages for receiving in the detection cycle and detect week described The detection messages that forwarding is received in phase;
The call server is connected in the detection cycle detection messages for receiving the mobile terminal forwarding And the numerical value D for sending, and count the bit number U of the detection messages for receiving the mobile terminal forwarding;
The call server calculates the bandwidth rates according to the detection cycle, the D and U, described D and U is positive integer.
In some possible implementations, the network quality includes time delay, the detection ringing number The network quality of mobile terminal in the corresponding multiple terminals of code in the mobile packet network for accessing includes:
The call server sends N number of detection messages and records hair in detection cycle to the mobile terminal Give each detection messages time stamp T on (n is more than or equal to 1, less than or equal to N, and N and n be it is just whole Number), the mobile terminal is used to be forwarded in the detection cycle detection messages for receiving;
The call server is connected in the detection cycle detection report for receiving the mobile terminal forwarding Text simultaneously records the time stamp T in for receiving each detection messages;
The call server calculates the time delay according to the Ton and Tin of each detection messages for receiving.
In some possible implementations, the movement in corresponding multiple terminals to the call number When terminal sends three call request of the identification information comprising network detection, receiving the 3rd calling please The mobile terminal asked does not export prompting message, for example, do not enter line ringing, it is mobile whole to avoid user from takeing for End now has to be electrically accessed.
It is described for asking terminal corresponding with the call number to be set up in some possible implementations The first call request for the media channel of session indicates conversation type;When the conversation type is different, The reference conditions are different.
By implementing the embodiment of the present invention, when call server judges that the network of mobile terminal is unsatisfactory for presetting Reference conditions when, not to mobile terminal initiate call request but to fixed terminal initiate call request so that Calling terminal and fixed terminal set up session, ensured calling terminal and terminal called (above-mentioned mobile terminal with Mobile terminal belongs to terminal called) between quality of the conversation.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to implementing Example or the accompanying drawing to be used needed for description of the prior art are briefly described, it should be apparent that, describe below In accompanying drawing be some embodiments of the present invention, for those of ordinary skill in the art, do not paying wound On the premise of the property made is worked, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is provided in an embodiment of the present invention a kind of based on VOIP " one number service " application scenarios schematic diagram;
Fig. 2 is a kind of schematic flow sheet of the Internet telephone calls method provided in an embodiment of the present invention;
Fig. 2A is a kind of schematic flow sheet for detecting network quality provided in an embodiment of the present invention;
Fig. 2 B are the framework schematic diagrames of mobile terminal provided in an embodiment of the present invention and call server;
Fig. 3 is the schematic flow sheet of another the Internet telephone calls method provided in an embodiment of the present invention;
Fig. 4 is the schematic flow sheet of another the Internet telephone calls method provided in an embodiment of the present invention;
Fig. 5 is a kind of structural representation of call server provided in an embodiment of the present invention;
Fig. 6 is a kind of structural representation of mobile terminal provided in an embodiment of the present invention;
Fig. 7 is the structural representation of another call server provided in an embodiment of the present invention;
Fig. 8 is the structural representation of another mobile terminal provided in an embodiment of the present invention;
Fig. 9 is a kind of structural representation of calling system provided in an embodiment of the present invention.
Specific embodiment
Terminal (including mobile terminal and fixed terminal) described in the embodiment of the present invention for can installation and deployment be When communication applications client terminal device, mobile terminal therein is to be linked into mobile packet network, and profit The terminal device of network data transmission, such as mobile phone, panel computer, notebook are carried out with the mobile packet network Computer, palm PC, mobile internet device (MID, mobile internet device), wearable device (such as intelligent watch (such as iWatch), Intelligent bracelet, pedometer etc.) etc.;Fixed terminal is to be linked into In LAN or wide area network, and network data is carried out with call server using the LAN or wide area network The terminal device of transmission, such as base, PC;The call server is integrated into internet.
The technical scheme in the embodiment of the present invention is explicitly described below in conjunction with accompanying drawing, wherein, figure 1~4 method for describing the embodiment of the present invention.
Fig. 1 is referred to, Fig. 1 is a kind of based on VOIP " one number service " application scenarios schematic diagram, user The call number of A associates mobile terminal 1 11, base 112 and PC terminals 113, the call number of user B Association mobile terminal 1 21, base 122 and PC terminals 123, mobile terminal 1 11, base 112, PC ends End 113, mobile terminal 1 21, base 122 and PC terminals 123 are carried out in call server 110 in advance Registration, IP of the log-on message comprising each terminal, port numbers and for distinguish mobile terminal and it is fixed eventually The identification information at end;When one of terminal request and another terminal set up media channel, the request is needed Transfer is carried out by call server 110;Base 112, base 122, PC terminals 113 and PC terminals 123 are communicated by intranet (or wide area network) with call server 110, mobile terminal 1 11 and move Dynamic terminal 121 is communicated by mobile packet network with call server 110.It is understood that Fig. 1 shows Each equipment for going out is intended to indicate that in " one number service " scene there are multiple users, and each user is except correspondence one Fixed terminal can also be corresponded to outside individual mobile terminal, is not intended that in " one number service " scene and is only limited to above example The terminal of act.
It should be noted that various message, request, response for being related in the embodiment of the present invention etc. are reported with IP The form transmission of text, therefore various message, request, response in the embodiment of the present invention etc. all contains transmission The IP information of side and the IP information and media capability of media capability and recipient are (for example, for informing itself The medium type supported, such as audio, video, game information), be subsequently related to these message, request, All no longer individually emphasized during the contents such as response.In embodiments of the present invention, call server sends IP to terminal Message includes two kinds of situations, and one kind asks situation to be directly connected between call server and terminal, and the two can be with Directly transmit IP messages;Another situation is that call server is indirectly connected to terminal, and the two can be by it Middle node transfer IP messages.
Fig. 2 is referred to, Fig. 2 is that a kind of flow of the Internet telephone calls method provided in an embodiment of the present invention is illustrated Figure;After describing the call request that call server is received for call number, the ringing number is detected first The network quality of the corresponding mobile terminal of code, when network quality is unsatisfactory for reference conditions to the call number pair The fixed terminal answered initiates call request without initiating the scheme of call request to the mobile terminal, below by way of Step S201~S204 is described in detail to the program.
S201:Call server receive calling terminal send comprising the call request of call number first, it is described First call request is used to ask terminal corresponding with the call number to set up the media channel for session.
Specifically, each terminal is to the call number that should have itself, and these terminals itself IP information And corresponding call number all have registered in call server, its IP information is positioned for call server Send the destination of IP messages;According to the communication mechanism of VOIP, when calling terminal will call terminal called (i.e. Set up the media channel for session with terminal called) when, it is necessary to send called comprising this to call server First call request of the call number of terminal, is transferred by call server;Correspondingly, calling clothes Business device receives first call request and parses call number therein, and call server is according to the ringing number Code can know the target of calling terminal calling.
S202:The call server detects that the mobile terminal in the corresponding multiple terminals of the call number exists Network quality in the mobile packet network of access.
Specifically, because each terminal all have registered on call server, therefore call server is stored with The corresponding number of each terminal, wherein, each number can also be corresponded to and fixed in addition to correspondence mobile terminal Terminal, refers to table 1, is the corresponding relation of a kind of number provided in an embodiment of the present invention and terminal.
Terminal Attribute Number
Base 1 Fixed terminal 666666
Mobile phone 1 Mobile terminal 666666
Base 2 Fixed terminal 111111
Mobile phone 2 Mobile terminal 111111
Table 1
In table 1, number " 666666 " has corresponded to two terminals, i.e. base 1 and mobile phone 1, number " 111111 " Correspondence two terminals, i.e. base 2 and mobile phone 2.Assuming that the call number that call server gets is " 666666 ", then call server can find " base 1 " and " mobile phone from above-mentioned corresponding relation first 1 ", can learn that " mobile phone 1 " is the corresponding movement of call number " 666666 " further combined with " attribute " Terminal.Because mobile terminal is in mobile packet network, network stabilization is weaker, therefore call server Before calling is initiated to mobile phone 1, the network quality of mobile phone 1 is first detected;It should be noted that calling clothes Although the number that multiple terminals of some user of device terminal storage of being engaged in are external is identical, but each end End can have respective branch so that call server is distinguish between, for example, base 1 and mobile phone 1 are external Number is " 666666 ", but can be, for base 1 sets branch " 888888 ", is that mobile phone 1 sets branch “999999”。
In a kind of optional scheme, the call server detects the corresponding multiple terminals of the call number In mobile terminal access mobile packet network in network quality include:The call server is to institute State the mobile terminal in the corresponding multiple terminals of call number sends the identification information comprising network detection the 3rd Call request, for asking to set up media channel with the mobile terminal and asking the mobile terminal to feed back Network quality;The call server receive that the mobile terminal sends for the 3rd call request Response message, the network quality that the response message is measured in advance comprising the mobile terminal.
Specifically, the 3rd call request can be one article of Invite message, the invite message and prior art In invite message something in common be all be request set up media channel, receive the invite message Terminal all can feedback response message indicating whether to set up media channel;Difference is, the invite Identification information is included in the header field of message, the identification information is used to indicate mobile terminal feedback network quality, I other words, mobile terminal has also fed back network quality while whether feedback sets up media channel, the network Quality can be mobile terminal to be surveyed receiving measurement configuration (Measurement Control) that base station issues afterwards The Reference Signal Received Power (Reference Signal Received Power, RSRP) of the Serving cell measured With in Reference Signal Received Quality (Reference Signal Received Quality, RSRQ) at least one, In the prior art, base station sends measurement configuration (Measurement Control) so that mobile whole to mobile terminal End carries out the measurement of signal intensity to Serving cell, and by measurement report (Measurement Report) Report measurement result.
In another optional scheme, the call server detects that the call number is corresponding multiple whole The network quality of mobile terminal in end in the mobile packet network for accessing includes:The call server to Mobile terminal in the corresponding multiple terminals of the call number sends the of the identification information comprising network detection Three call requests, for asking to set up the media channel for detecting network quality with the mobile terminal;When After the media channel for detecting network quality is set up, the call server is by mobile whole with described End interaction detection messages test the network quality of the mobile terminal, the network quality include packet loss, Bandwidth rates and when Yanzhong at least one, should during interactive stream between call server and mobile terminal As shown in Figure 2 A, including step 1~6, each step is described in detail as follows journey:
Step 1:Call server sends the 3rd call request to mobile terminal, and the 3rd call request can be with It is the invite message comprising identification information, the identification information is arranged in the header field of invite message, is used It is used to detect network quality in the media channel for indicating this time request foundation.
Step 2:Mobile terminal receives the 3rd call request and it is parsed, and learns that this time request is built Vertical media channel is used to detect network quality;Need clear, it is emphasized that mobile terminal receives the invite Do not reminded after message, to avoid user from thinking that mobile terminal now has telephone access.Meanwhile, it is mobile whole Hold and send response message (such as 200OK message) to show to set up for detecting network to call server The media channel of quality;Correspondingly, call server receives the response message of mobile terminal feedback, according to sound After answering message to learn and can set up the media channel for detecting network quality, inspection is interacted between mobile terminal Text is observed and predicted, and network quality is drawn according to the situation of the reception of detection messages.Above-mentioned 3rd call request may be used also To carry detection cycle, both sides can also determine when to stop inspection in mutual message based on the detection cycle Survey so that testing result has more real-time.
During interaction detection messages, quantity N and the reception of detection messages can be sent by sender The quantity C that side receives detection messages calculates packet loss;The detection report that will can be received in detection cycle T The bit number D of text is divided by detection cycle T drawing bandwidth rates;A detection report can be sent to recipient Text then receive the recipient forwarding the detection messages, then according to most start send the detection messages when Between stab Ton and finally receive the time stamp T in of the detection messages and calculate time delay.When detection messages are by exhaling When making server be sent to mobile terminal, the packet loss for calculating is descending packet loss, the bandwidth speed for calculating Rate is downlink bandwidth speed;When detection messages are sent to call server by mobile terminal, what is calculated loses Bag rate is up packet loss, and the bandwidth rates for calculating are upstream bandwidth speed.Further, signal quality Including packet loss, bandwidth rates and when Yanzhong at least one, such as in a kind of scheme only measurement packet loss, Packet loss, bandwidth rates and time delay are measured in another scheme.
If the parameters such as above-mentioned N, C, D, T being related to are by acquisition for mobile terminal, then mobile terminal is needed The reporting parameters that will be got to call server for calculating network quality, for example, call server N number of detection messages are sent in detection cycle T set in advance, correspondingly, mobile terminal takes to the calling The detection messages that business device sends are received and the detection messages to receiving are counted, if in the detection cycle C detection messages are have received altogether, then the quantitative value C of the detection messages that mobile terminal will be received sends To call server to calculate packet loss by call server;Optionally, call server will can also be sent out The quantitative value N of the detection messages sent is sent to mobile terminal, and mobile terminal have received C detection counting on After message, you can calculate packet loss according to numerical value C and N, packet loss then is sent into call server; It should be noted that N, C, D and U are positive integer, T, Tin and Ton are positive number.
Fig. 2 B are referred to, Fig. 2 B are the framework schematic diagrames of mobile terminal and call server, presented in inspection Survey during network quality inside mobile terminal, call server inside and mobile terminal and calling service Function situation between device.Wherein, mobile terminal includes the inspection of UI modules, call processing module and network quality Module is surveyed, call server is moved includes Call Control Block and network quality detection module, call server Call Control Block is used to send invite message with request detection network to the call processing module of mobile terminal Quality, the call processing module of mobile terminal finds to need to detect network quality after receiving the invite message Afterwards, control UI modules do not enter line ringing, while controlling network quality detection module proceeds by network quality Detection;The network quality detection module of mobile terminal is reported with the network quality detection module of call server The interaction of text, and network matter is calculated according to interactive situation by the network quality detection module of call server Amount.
Up packet loss, descending packet loss, upstream bandwidth speed, downlink bandwidth are included with network quality below Describe how to detect network quality as a example by speed, average delay and maximum delay.
Step 3:Call server constant duration in detection cycle T is continuous to send N number of to mobile terminal Detection messages, each detection messages carry the sequence number of itself, for example, the 1st Serial No. of message P1, the Serial No. Pn, n of n-th message are the no more than positive integer of N;Call server is also recorded for Send the timestamp of each detection messages, the timestamp difference of the 1st detection messages to n-th detection messages The ToN that is expressed as To1, To2, To3 ....
Step 4:Mobile terminal receives the detection messages of call server transmission simultaneously in above-mentioned detection cycle T Perform following operation:
(1), the quantity C of the detection messages that statistics is received in whole detection cycle T, although calling clothes The quantity of the detection messages that business device sends is N, but segment message is may have lost during being somebody's turn to do, therefore is needed The quantity of message of the mobile terminal to receiving is wanted to count;
(2), the bit number D of the detection messages that statistics is received in whole detection cycle T;
(3) detection messages, are often received the detection messages is just transmitted to call server;
(4) numerical value C and D, are sent to call server after detection cycle terminates.It should be noted that N number of message sends and receives in batches, therefore step one and step 2 and suitable in the absence of absolute priority Sequence.
Step 5:Call server receives the detection messages and numerical value C and D of mobile terminal forwarding, and holds The following operation of row:
(1), record receives the timestamp of each detection messages, and in logging timestamp, call server can also The sequence number Pn in the detection messages for receiving is parsed, Receiving Order row number is the timestamp of the detection messages of Pn It is calculated as Tin, it is assumed that call server have received the detection messages of Serial No. P2, then the corresponding time Stamp is calculated as Ti2.
(2), the quantity S of the detection messages that statistics is received in whole detection cycle T, although mobile whole The quantity for holding the detection messages of forwarding is C, and message dropping is might have in repeating process, it is therefore desirable to receiving To message counted;
(3), the bit number U of the detection messages that statistics is received in whole detection cycle T;
Step 6:Call server calculates up losing based on above-mentioned parameter C, D, S, U, Ton, Tin Bag rate, descending packet loss, upstream bandwidth speed, downlink bandwidth speed, average delay and maximum delay, meter Calculation mode is as follows:
Downlink bandwidth speed Sd=D/T;
Upstream bandwidth speed Su=U/T;
Descending packet loss:PLRd=(N-C)/N;
Up packet loss:PLRu=(S-C)/C;
Average delay:
Maximum delay:TDmax=MAX [(Ti1-To1) ..., (TiM-ToM)];
It should be noted that when call server is not received by the detection messages of Serial No. Pj, Tij-Toj=0, for example, it is assumed that call server is not received by the detection messages of Serial No. P3, that Meter Ti3-To3=0.
Step S203:Call server judges whether the network quality meets default reference conditions.
Specifically, call server be based on calculate parameter Sd, Su for characterizing network quality, PLRd, PLRu、Judge whether the network of mobile terminal meets default reference conditions with TDmax, specifically Upstream bandwidth speed, downlink bandwidth speed, up packet loss, descending packet loss, average delay can be set With the term of reference of maximum delay, then think that network meets when each amount for measuring is in the term of reference Default reference conditions, the term of reference may be configured as in a kind of optional scheme:Up packet loss is less than 10%th, descending packet loss is more than 8kbps less than 10%, upstream bandwidth speed, and downlink bandwidth speed is more than 8kbps, Maximum delay is less than 200ms, and average delay is less than 160ms;Certainly it can also be according to actual needs set to He is worth.
Further, default reference conditions can use different standards, example in different conversation types Such as when the conversation type that calling terminal request is set up is voice (can be embodied by media capability), it is used for The upstream bandwidth speed and downlink bandwidth speed of reference could be arranged to smaller value, when the conversation type set up is During video, upstream bandwidth speed and downlink bandwidth speed for referring to could be arranged to higher value.
Step S204:It is described to ask that the call server sends the second call request to the fixed terminal Fixed terminal sets up the media channel for session with the calling terminal, and not to mobile terminal transmission For asking the mobile terminal and the calling terminal to set up the call request of the media channel for session.
Specifically, above-mentioned call number works as movement also to that should have fixed terminal in addition to that should have mobile terminal When the network quality of terminal is unsatisfactory for default reference conditions, call server sends BYE and disappears to mobile terminal To indicate mobile terminal to discharge media channel resource, BYE's breath that mobile terminal receives call server transmission disappears Breath, according to the media channel resource for detecting network quality that BYE message release has been built up, release The backward call server feedback 200OK message of success is finished with indicating media channel resource to discharge;Simultaneously Call server sends the second call request to the fixed terminal, and second call request can be specially one Invite message, the invite message packages be sent to containing calling terminal bishop's terminal of call server IP, Port numbers and media capability.
Step S205:Fixed terminal receives the invite message, and according to the invite message enter line ringing with Remind user to choose whether to receive calls, if user have selected on fixed terminal received calls, fix Terminal sends 200OK message to call server, the IP comprising calling terminal and end in the 200OK message Media capability after slogan, and the IP of fixed terminal, port numbers and negotiation.
Step S206:Call server receives the 200OK message, and 200OK message parsing is led It is the IP and port numbers of terminal, and the media capability after the IP of fixed terminal, port numbers and negotiation;Then Call server to calling terminal send 200OK message, the 200OK message packages containing fixed terminal IP, Media capability after port numbers and negotiation, so far calling terminal and fixed terminal have both known about mutual IP, end The media capability that slogan and negotiated rear both sides support, establishes use between calling terminal and fixed terminal In the media channel of session.
By performing step S201~S206, when call server judges that the network of mobile terminal is unsatisfactory for presetting Reference conditions when, not to mobile terminal initiate call request but to fixed terminal initiate call request so that Calling terminal and fixed terminal set up session, ensured calling terminal and terminal called (above-mentioned mobile terminal with Mobile terminal belongs to terminal called) between quality of the conversation.
Above step S201~S206 describes call server and was first detected before calling is initiated to mobile terminal The network quality of mobile terminal, exhales when network quality is unsatisfactory for default reference conditions to fixed terminal initiation The technical scheme cried, below describes when the network quality for detecting mobile terminal meets default reference conditions, The call server to the mobile terminal send the 4th call request with ask the mobile terminal with it is described Calling terminal sets up the technical scheme of the media channel for session.
In a kind of optional scheme, the call server sends the 4th call request to the mobile terminal Included with the media channel for asking the mobile terminal and the calling terminal to be set up for session:The calling Server sends the 4th call request to the mobile terminal, so that mobile terminal modification is described for examining The media channel of network quality is surveyed to ask the mobile terminal to set up the matchmaker for session with the calling terminal Body passage, is specifically referred to the step S207~S209 shown in Fig. 3.
Step S207:Call server sends the 4th call request to mobile terminal, and the 4th call request is One reinvite message, the reinvite message packages are sent to the caller end of call server containing calling terminal The IP at end, port numbers and media capability.
Step S208:Mobile terminal receives the reinvite message, and current according to the reinvite message modifications Existed for detecting the media channel of network quality to discharge media channel resource, mobile terminal exists The laggard line ringing of media channel resource is released to remind user to choose whether to receive calls, if user is moving Be have selected in dynamic terminal and received calls, then mobile terminal sends 200OK message to call server, and this 200 IP and port numbers comprising calling terminal in OK message, and the IP of mobile terminal itself, port numbers and association Media capability after business.
Step S209:Call server receives the 200OK message, and 200OK message parsing is led It is the IP and port numbers of terminal, and the media capability after the IP of mobile terminal, port numbers and negotiation;Then 200OK message, IP of the 200OK message packages containing mobile terminal, port numbers and association are sent to calling terminal Media capability after business;Correspondingly, calling terminal receive the 200OK message with obtain mobile terminal IP, Media capability after port numbers and negotiation.So far calling terminal has both known about mutual IP, end with mobile terminal The media capability all supported after slogan and both sides are negotiated, establishes use between calling terminal and mobile terminal In the media channel of session.
In another optional scheme, the call server sends the 4th calling to the mobile terminal please Ask is included with the media channel for asking the mobile terminal and the calling terminal to be set up for session:It is described to exhale Make server send interrupt instruction to the mobile terminal, interrupt the media for detecting network quality and lead to Road;The call server to the mobile terminal send the 4th call request with ask the mobile terminal with The calling terminal sets up the media channel for session, is specifically referred to the step shown in Fig. 4 S210~S214.
Step S210:Call server sends interrupt instruction to mobile terminal, and the interrupt instruction can be one BYE is asked, and indicates the media channel of the detection network quality between mobile terminal release and call server.
Step S211:Mobile terminal receives BYE requests, and responds BYE requests to discharge and call The media channel of the detection network quality between server, mobile terminal is releasing the detection network quality After media channel to call server send 200OK message with inform detection network quality media channel Finished through release
Step S212:Call server receives the 200OK message, and detection is known according to the 200OK message The media channel of network quality has been discharged when finishing, and call server sends the 4th calling to mobile terminal please Ask, the 4th call request can be specially one article of invite message, the invite message packages are sent out containing calling terminal Give IP, port numbers and the media capability of bishop's terminal of call server.
Step S213:Mobile terminal receives the invite message, and according to the invite message enter line ringing with Remind user to choose whether to receive calls, if user have selected on mobile terminals received calls, move Terminal sends 200OK message to call server, the IP comprising calling terminal and end in the 200OK message Media capability after slogan, and the IP of mobile terminal, port numbers and negotiation.
Step S214:Call server receives the 200OK message, and 200OK message parsing is led It is the IP and port numbers of terminal, and the media capability after the IP of mobile terminal, port numbers and negotiation;Then Call server to calling terminal send 200OK message, the 200OK message packages containing mobile terminal IP, Media capability after port numbers and negotiation, so far calling terminal and mobile terminal have both known about mutual IP, end The media capability all supported after slogan and both sides are negotiated, establishes use between calling terminal and mobile terminal In the media channel of session.
By performing step S207~S209 or step S210~S214, when calling terminal is to call server During some call number of request call, call server first judges the corresponding mobile terminal of the call number Whether network meets reference conditions, and calling is initiated so that calling terminal and shifting to the mobile terminal if meeting Dynamic terminal sets up session, has ensured the quality of the conversation between call server and mobile terminal.
The method that the embodiment of the present invention is illustrated based on accompanying drawing 1~4 above, for the ease of preferably implementing The scheme of the embodiment of the present invention, the equipment for describing the embodiment of the present invention in detail with reference to Fig. 5~8.
Fig. 5 is referred to, Fig. 5 is a kind of structural representation of call server 50 provided in an embodiment of the present invention, The call server 50 can include reception device 501, dispensing device 502, memory 503 and processor 504 (it can also be multiple that processor can be one, in Fig. 5 by taking a processor as an example), reception device 501st, dispensing device 502, memory 503 and processor 504 connect bus 505 respectively, wherein, storage Store the program code of one group of control calling in device 503, and processor 504 is used to calling in memory 503 The program code of the control calling of storage performs following operation:
Processor 504 receives calling terminal sends comprising call number the by the reception device 501 One call request, first call request is used for request terminal corresponding with the call number sets up is used for The media channel of session;Specifically, each terminal is to the call number that should have itself, and these terminals The IP information and corresponding call number of itself all be have registered in call server 50, and its IP information is used The destination of IP messages is sent in the positioning of call server 50;According to the communication mechanism of VOIP, when caller end Hold when calling terminal called (media channel for session is set up with terminal called), it is necessary to calling First call request of call number of the transmission comprising the terminal called of server 50, such as invite message, by Call server 50 is transferred;Correspondingly, the processor 504 in call server 50 is by receiving Device 501 receives the invite message and parses call number therein, and the processor 504 is according to the calling Number can know the target of calling terminal calling.
Processor 504 detects movement of the mobile terminal in the corresponding multiple terminals of the call number in access Network quality in packet network;The network quality can be what mobile terminal was measured in advance, such as according to base station In measurement configuration (Measurement Control) RSRP that measures and RSRQ for issuing at least one, place The network quality that reason device 504 can send an instruction to indicate mobile terminal to measure to mobile terminal sends To processor 504;The network quality can also be that processor 504 carries out message interaction reality by with mobile terminal When measure, can also be what other modes were measured certainly, be not restricted herein.
Processor 504 when the network quality is unsatisfactory for default reference conditions, by the dispensing device 502 send the second call request to ask the fixed terminal and institute to the fixed terminal in the multiple terminal State calling terminal and set up media channel for session, and to the mobile terminal do not send described for asking Mobile terminal sets up the call request of the media channel for session with the calling terminal.Specifically, shifting is worked as When the network quality of dynamic terminal is unsatisfactory for default reference conditions, processor 504 by dispensing device 502 to Mobile terminal sends BYE message to indicate mobile terminal to discharge media channel resource, and mobile terminal receives calling Server send BYE message, according to the BYE message release built up for detecting network quality Media channel resource, discharge successfully backward processor 504 feed back 200OK message to indicate media channel to provide Source has discharged and has finished;Simultaneous processor 504 sends second and exhales by dispensing device 502 to the fixed terminal Request is cried, second call request can be specially an invite message, the invite message packages end containing caller End is sent to IP, port numbers and the media capability of bishop's terminal of processor 504.Correspondingly, it is fixed whole End receives the invite message, and enters line ringing according to the invite message to remind user to choose whether to answer electricity Words, if user have selected on fixed terminal received calls, fixed terminal sends 200 to processor 504 The IP of OK message, IP and port numbers comprising calling terminal in the 200 OK message, and fixed terminal, Port numbers and consult after media capability, correspondingly, processor 501 by reception device 501 receive this 200 OK message, obtains the IP and port numbers of calling terminal to 200 OK message parsing, and fixed terminal Media capability after IP, port numbers and negotiation;Then processor 504 passes through dispensing device 502 to calling terminal Send 200OK message, the media after IP of the 200OK message packages containing fixed terminal, port numbers and negotiation Ability, so far calling terminal and fixed terminal have both known about mutual IP, port numbers and negotiated rear both sides The media capability all supported, establishes the media channel for session between calling terminal and fixed terminal.
By performing aforesaid operations, when processor 504 judges that the network of mobile terminal is unsatisfactory for default ginseng When examining condition, do not initiate call request to mobile terminal but initiate call request so that caller to fixed terminal Terminal sets up session with fixed terminal, has ensured calling terminal and terminal called (above-mentioned mobile terminal and movement Terminal belongs to terminal called) between quality of the conversation.
In a kind of optional scheme, the processor 504 detects the corresponding multiple terminals of the call number In mobile terminal access mobile packet network in network quality, specially:
The processor 504 is by the dispensing device 502 in the corresponding multiple terminals of the call number Mobile terminal send comprising network detection identification information the 3rd call request, for asking and the shifting Dynamic terminal sets up the media channel for detecting network quality;Specifically, processor 504 passes through dispensing device 502 send the 3rd call request to mobile terminal, and the 3rd call request can be one article comprising identification information Invite message, the identification information is arranged in the header field of invite message, for indicating what this time request was set up Media channel is used to detect network quality;Correspondingly, mobile terminal receives the 3rd call request and it is entered Row parsing, learns that the media channel that this time request is set up is used to detect network quality;Need it is clear, it is emphasized that Mobile terminal is not reminded after receiving the invite message, to avoid user from thinking that mobile terminal now has electricity Words are accessed.Meanwhile, mobile terminal sends response message (such as 200OK message) to show to processor 504 The media channel for detecting network quality can be set up;Correspondingly, processor 504 passes through reception device 501 The response message of mobile terminal feedback is received, the response message can be set up for detecting network matter for instruction The media channel of amount.
After the media channel for detecting network quality is set up, by the dispensing device 502 and institute Reception device 501 is stated to interact detection messages with the mobile terminal to detect the mobile terminal in the shifting for accessing Network quality in dynamic packet network, the network quality include packet loss, bandwidth rates and when Yanzhong extremely One item missing.Above-mentioned 3rd call request can also carry detection cycle, and both sides can also base in mutual message Determine when to stop detection in the detection cycle so that testing result has more real-time.
By performing aforesaid operations, processor 504 is by reception device 501 and dispensing device 502 and movement Terminal interaction detection messages detect network quality immediately so that the result of detection has more reference value.
In another optional scheme, the processor 504 is additionally operable to:
When the network quality meets the reference conditions, by the dispensing device 502 to the movement Terminal sends the 4th call request to ask the mobile terminal to set up the matchmaker for session with the calling terminal Body passage.
By performing aforesaid operations, when calling terminal is to some call number of request call of processor 504, Call server 50 first judges whether the network of the corresponding mobile terminal of the call number meets reference conditions, such as Fruit meets and then the mobile terminal is initiated to call so that calling terminal and mobile terminal set up session, has ensured and has exhaled It is the quality of the conversation between server 50 and mobile terminal.
In another optional scheme, when the network quality meets the reference conditions, the treatment Device 504 sends the 4th call request to ask the shifting by the dispensing device 502 to the mobile terminal Dynamic terminal sets up the media channel for session with the calling terminal, specially:
The processor 504 sends the 4th call request by the dispensing device 502 to the mobile terminal, So that the mobile terminal modification media channel for detecting network quality is to ask the mobile terminal The media channel for session is set up with the calling terminal.
Specifically, the processor 504 sends the 4th call request by dispensing device 501 to mobile terminal, 4th call request is one article of reinvite message, and the reinvite message packages are sent to treatment containing calling terminal The IP of the calling terminal of device 504, port numbers and media capability.Mobile terminal receives the reinvite message, And according to the reinvite message modifications it is current existed for detecting the media channel of network quality to release Media channel resource is put, mobile terminal is releasing the laggard line ringing of media channel resource to remind user to select Whether receive calls, if user have selected on mobile terminals received calls, mobile terminal is to processor 504 send 200 OK message, IP and port numbers comprising calling terminal, Yi Jiyi in the 200 OK message Move the media capability after IP, port numbers and the negotiation of terminal itself.Processor 504 passes through reception device 501 The 200 OK message is received, the IP and port numbers of calling terminal are obtained to 200 OK message parsing, and Media capability after the IP of mobile terminal, port numbers and negotiation;Then 200OK message is sent to calling terminal, Media capability after IP of the 200OK message packages containing mobile terminal, port numbers and negotiation;Correspondingly, caller Terminal receives the 200OK message with the media capability after the IP, port numbers and the negotiation that obtain mobile terminal.Extremely This calling terminal and mobile terminal both known about mutual IP, port numbers and both sides it is negotiated after all support Media capability, establishes the media channel for session between calling terminal and mobile terminal.
By performing aforesaid operations, processor 504 is based on for detecting that the media channel of network quality is detected When the network quality of mobile terminal meets reference conditions, directly this is used to detect that the media channel of network is carried out Change and initiate foundation for the media channel of session with to mobile terminal, improve the media set up for session The efficiency of passage.
In another optional scheme, when the network quality meets the reference conditions, the treatment Device 504 sends the 4th call request to ask the shifting by the dispensing device 502 to the mobile terminal Dynamic terminal sets up the media channel for session with the calling terminal, specially:
The processor sends interrupt instruction by the dispensing device 502 to the mobile terminal, interrupts institute State the media channel for detecting network quality;Processor 504 is sent out by dispensing device 502 to mobile terminal Interrupt instruction is sent, the interrupt instruction can be a BYE request, indicate mobile terminal release and processor 504 Between detection network quality media channel, mobile terminal receives BYE requests, and responds the BYE Ask the media channel of the detection network quality to discharge and between processor 504.
4th call request is sent to ask the movement to the mobile terminal by the dispensing device 502 Terminal sets up the media channel for session with the calling terminal.Specifically, mobile terminal is releasing this Send 200 OK message to inform detection network quality to processor 504 after detecting the media channel of network quality Media channel discharged and finished, processor 504 receives the 200OK message by reception device 501, According to the 200 OK message know detection network quality media channel discharged finish when, processor 504 4th call request is sent to mobile terminal by dispensing device 502, the 4th call request can be specially One invite message, the invite message packages are sent to the calling terminal of call server containing calling terminal IP, port numbers and media capability.Mobile terminal receives the invite message, and is carried out according to the invite message Ring to remind user to choose whether to receive calls, if user have selected on mobile terminals received calls, Then mobile terminal sends 200 OK message to call server, and calling terminal is included in the 200 OK message Media capability after IP and port numbers, and the IP of mobile terminal, port numbers and negotiation;Processor 504 leads to Cross reception device 501 and receive the 200 OK message, the IP of calling terminal is obtained to 200 OK message parsing And the media capability after port numbers, and the IP of mobile terminal, port numbers and negotiation;Then processor 504 200OK message is sent to calling terminal by dispensing device 502, the 200OK message packages contain mobile terminal Media capability after IP, port numbers and negotiation, so far calling terminal and mobile terminal both known about mutual IP, The media capability all supported after port numbers and both sides are negotiated, establishes between calling terminal and mobile terminal For the media channel of session.
It should be noted that the embodiment that above-mentioned call server 50 can correspond to described by reference picture 1~4 is come Implement, here is omitted.
Fig. 6 is referred to, Fig. 6 is a kind of structural representation of mobile terminal 60 provided in an embodiment of the present invention, The mobile terminal 60 can include reception device 601, dispensing device 602, memory 603 and processor 604 (it can also be multiple that processor can be one, in Fig. 6 by taking a processor as an example), reception device 601, Dispensing device 602, memory 603 and processor 604 connect bus 605 respectively, wherein, memory 603 The program code of middle storage one group of control calling, and processor 604 is used to calling what is stored in memory 603 The program code of calling is controlled to perform following operation:
The processor 604 please by the first calling that the reception device 601 receives call server transmission Ask, first call request be the call server receive calling terminal transmission comprising ringing number After second call request of code, the mobile terminal in the corresponding multiple terminals of the call number is judged The request that 60 network quality in the mobile packet network for accessing sends when meeting default reference conditions;Should First call request can be an invite message.
The processor 504 sets up the matchmaker for session according to first call request and the calling terminal Body passage.
By performing aforesaid operations, when calling terminal is to some call number of call server request call, Call server first judges whether the network of the corresponding mobile terminal 60 of the call number meets reference conditions, such as Fruit meets and then initiate calling to the mobile terminal 60 so that calling terminal sets up session, phase with mobile terminal 60 Ying Di, the server in the mobile terminal 60 receives the request, and and calling terminal by reception device 601 Session is set up, the quality of the conversation between call server and mobile terminal 60 has been ensured.
In a kind of optional scheme, the processor 604 is additionally operable to:
The processor 604 is receiving the first calling that call server sends by the reception device 601 Before request, by being detected comprising network of receiving that the call server sends of the reception device 601 3rd call request of identification information;Specifically, call server sends the 3rd calling and asks to processor 604 Ask, the 3rd call request can be one article of invite message comprising identification information, the identification information is arranged on In the header field of invite message, for indicating that the media channel that this time request is set up is used to detect network quality.
The processor 604 is set up for detecting net according to the 3rd call request with the call server The media channel of network quality;Specifically, processor 604 receives the 3rd calling and asks by reception device 601 Ask and it is parsed, learn that the media channel that this time request is set up is used to detect network quality;Need clear , it is emphasized that mobile terminal is not reminded after receiving the invite message, to avoid user from thinking mobile whole End now has telephone access.Meanwhile, processor 604 is sent to call server by dispensing device 602 and rung Message (such as 200 OK message) is answered to show that the media channel for detecting network quality can be set up;Accordingly Ground, the response message of the feedback of call server receiving processor 604.
The processor 604 is based on the media channel for detecting network and passes through the dispensing device 602 Detection messages are interacted with the call server with the reception device 601, for the call server Network quality of the mobile terminal 60 in the mobile packet network for accessing is detected, the network quality includes Packet loss, bandwidth rates and when Yanzhong at least one.Specifically, learn and can set up according to response message For after the media channel for detecting network quality, detection messages being interacted between processor 604, and according to inspection The situation for observing and predicting the reception of text draws network quality.
By performing aforesaid operations, processor 604 is examined immediately with call server by interacting detection messages Survey network quality so that the result of detection has more reference value.
In another optional scheme, the processor 604 is according to first call request and the master Terminal is made to set up the media channel for session, specially:
Processor 604 is used to detect the media channel of network quality according to first call request is changed To set up with the calling terminal media channel for session.
Specifically, call server sends the first call request to mobile terminal 60, and first call request is One reinvite message, the reinvite message packages are sent to the caller end of call server containing calling terminal The IP at end, port numbers and media capability;Processor 604 in mobile terminal 60 is connect by reception device 601 Receive the reinvite message, and according to the reinvite message modifications it is current existed for detecting network , to discharge media channel resource, processor 604 is to release media channel resource laggard for the media channel of quality Line ringing is to remind user to choose whether to receive calls, if user have selected on mobile terminal 60 answers electricity Talk about, then processor 604 sends 200 OK message, 200 OK by dispensing device 602 to call server IP and port numbers comprising calling terminal in message, and after the IP of mobile terminal itself, port numbers and negotiation Media capability;Call server receives the 200 OK message, and caller is obtained to 200 OK message parsing Media capability after the IP and port numbers of terminal, and the IP of mobile terminal, port numbers and negotiation;Then to Calling terminal sends 200OK message, IP of the 200OK message packages containing mobile terminal, port numbers and negotiation Media capability afterwards;Correspondingly, calling terminal receives the 200OK message to obtain IP, the end of mobile terminal Media capability after slogan and negotiation.So far calling terminal has both known about mutual IP, end with mobile terminal 60 The media capability all supported after slogan and both sides are negotiated, establishes between calling terminal and mobile terminal 60 For the media channel of session.
By performing aforesaid operations, call server is based on for detecting that the media channel of network quality is detected When the network quality of mobile terminal 60 meets reference conditions, directly this is used to detect that the media channel of network enters Row modification initiates foundation for the media channel of session with to processor 604, improves and sets up for session The efficiency of media channel.
In another optional scheme, the processor 604 is according to first call request and the master Terminal is made to set up the media channel for session, specially:
The processor 604 receives the middle severed finger that the call server sends by the reception device 601 Order, and it is used to detect the media channel of network according to the interrupt instruction is interrupted;Specifically, calling clothes Business device sends interrupt instruction to processor 604, and the interrupt instruction can be a BYE request, instruction treatment Device 604 discharges the media channel of the detection network quality and call server between;Processor 604 is by connecing Receiving apparatus 601 receive BYE requests, and respond BYE requests to discharge and call server between The media channel of network quality is detected, processor 604 is after the media channel for releasing the detection network quality 200 OK message are sent to call server finished with informing that the media channel of detection network quality has discharged.
The processor 604 receives the four classes of syllables that the call server sends by the reception device 601 Request is cried, and sets up the media channel for session with the calling terminal according to the 4th call request; Specifically, call server receives the 200OK message, and detection network matter is known according to the 200 OK message The media channel of amount has been discharged when finishing, and call server sends the 4th call request to processor 604, 4th call request can be specially one article of invite message, and the invite message packages are sent to containing calling terminal The IP of bishop's terminal of call server, port numbers and media capability;Processor 604 passes through reception device 601 receive the invite message, and enter line ringing according to the invite message to remind user to choose whether to answer Phone, if user have selected on mobile terminal 60 received calls, processor 604 passes through dispensing device 602 send 200 OK message to call server, the IP comprising calling terminal and end in the 200 OK message Media capability after slogan, and the IP of mobile terminal 60, port numbers and negotiation;Call server is received should 200 OK message, the IP and port numbers of calling terminal are obtained to 200 OK message parsing, and mobile whole Hold the media capability after 60 IP, port numbers and negotiation;Then call server sends 200OK to calling terminal Message, the media capability after IP of the 200OK message packages containing mobile terminal, port numbers and negotiation, so far leads Cry terminal and mobile terminal 60 both known about mutual IP, port numbers and both sides it is negotiated after the matchmaker that all supports Ability of immigrants, establishes the media channel for session between calling terminal and mobile terminal 60.
It should be noted that above-mentioned mobile terminal 60 can correspond to the embodiment described by reference picture 1~4 to have Body realizes that here is omitted.
It is a kind of call server 70 provided in an embodiment of the present invention, the calling service to refer to Fig. 7, Fig. 7 Device 70 include receiving unit 701, the transmitting element 703 of detection unit 702 and first, unit it is detailed It is described as follows.
Receiving unit 701 is used to receive first call request comprising call number of calling terminal transmission, institute State the first call request for ask corresponding with call number terminal set up logical for the media of session Road;
The mobile terminal that detection unit 702 is used to detect in the corresponding multiple terminals of the call number is being accessed Mobile packet network in network quality;
First transmitting element 703 is pre- for detecting that the network quality is unsatisfactory in the detection unit 702 If reference conditions when, send the second call request to the fixed terminal in the multiple terminal described to ask Fixed terminal sets up the media channel for session with the calling terminal, and not to mobile terminal transmission For asking the mobile terminal and the calling terminal to set up the call request of the media channel for session.
In a kind of optional scheme, detection unit 702 includes the first transmission sub-unit and detection sub-unit, First transmission sub-unit and detection sub-unit are described as follows:
First transmission sub-unit, for being sent to the mobile terminal in the corresponding multiple terminals of the call number 3rd call request of the identification information comprising network detection, is used for for asking to be set up with the mobile terminal Detect the media channel of network quality;
Detection sub-unit, for it is described for detect network quality media channel set up after, by with institute Mobile terminal interaction detection messages are stated to detect network of the mobile terminal in the mobile packet network for accessing Quality, the network quality include packet loss, bandwidth rates and when Yanzhong at least one.
In another optional scheme, the call server 70 also includes:
Second transmitting element, for when the network quality meets the reference conditions, to described mobile whole End sends the 4th call request to ask the mobile terminal to set up the media for session with the calling terminal Passage.
In another optional scheme, second transmitting element to the mobile terminal specifically for sending 4th call request, so that mobile terminal modification is described for detecting the media channel of network quality to ask Ask the mobile terminal that the media channel for session is set up with the calling terminal.
In another optional scheme, second transmitting element includes:
Second transmission sub-unit, for sending interrupt instruction to the mobile terminal, interrupts described for detecting The media channel of network quality;
3rd transmission sub-unit, for sending the 4th call request to ask the movement to the mobile terminal Terminal sets up the media channel for session with the calling terminal.
It should be noted that the embodiment that above-mentioned call server 70 can correspond to described by reference picture 1~4 is come Implement, here is omitted.
By implementing the embodiment shown in Fig. 7, when call server 70 judges that the network of mobile terminal is discontented with During the default reference conditions of foot, not initiating call request to mobile terminal but initiate calling to fixed terminal please Ask so that calling terminal and fixed terminal set up session, ensured calling terminal and terminal called (above-mentioned movement Terminal and mobile terminal belong to terminal called) between quality of the conversation.
Fig. 8 is referred to, Fig. 8 is the structural representation of another mobile terminal 80 provided in an embodiment of the present invention, The mobile terminal 80 sets up unit 802, the first receiving unit 801 including the first receiving unit 801 and first Being described in detail as follows for unit 802 is set up with first:
First receiving unit 801 is used to receive the first call request of call server transmission, and described first exhales Request is made to be asked in the comprising call number second calling for receiving calling terminal transmission for the call server After asking, judge the mobile terminal 80 in the corresponding multiple terminals of the call number in the movement for accessing Network quality in packet network meets the request sent during default reference conditions;
First sets up unit 802 for being set up for meeting according to first call request and the calling terminal The media channel of words.
In a kind of optional scheme, the mobile terminal 80 also includes the second receiving unit, and methods described is also Including:
Second receiving unit, for receiving the first calling that call server sends in first receiving unit Before request, the 3rd calling for receiving the identification information comprising network detection that the call server sends please Ask;
Second sets up unit, for being set up for examining with the call server according to the 3rd call request Survey the media channel of network quality;
Interactive unit, for based on described for detecting that the media channel of network is interacted with the call server Detection messages, detect the mobile terminal 80 in the mobile packet network for accessing for the call server In network quality, the network quality include packet loss, bandwidth rates and when Yanzhong at least one.
In a kind of optional scheme, described first sets up unit 802 specifically for according to the described first calling Request modification is described for detecting that the media channel of network quality is set up for session with the calling terminal Media channel.
In another optional scheme, described first sets up unit 802 includes:
First receiving subelement, for receiving the interrupt instruction that the call server sends, and according to described Interrupt instruction interrupts the media channel for detecting network;
Second receiving subelement, the 4th call request for receiving the call server transmission, and according to The media channel for session is set up in 4th call request with the calling terminal.
It should be noted that above-mentioned mobile terminal 80 can correspond to the embodiment described by reference picture 1~4 to have Body realizes that here is omitted.
By implementing the embodiment shown in Fig. 8, when call server judges that the network of mobile terminal 80 is discontented with During the default reference conditions of foot, do not initiate call request to mobile terminal 80 but initiate to call to fixed terminal Ask so that calling terminal and fixed terminal set up session, to have ensured calling terminal and terminal called (above-mentioned shifting Dynamic terminal 80 and mobile terminal 80 belong to terminal called) between quality of the conversation.
Setting for the embodiment of the present invention is illustrated based on accompanying drawing 5~8 above, for the ease of preferably implementing this The scheme of inventive embodiments, with reference to the system that Fig. 9 descriptions are made up of equipment in Fig. 5~8.
Refer to Fig. 9, a kind of calling system 90 that Fig. 9 is provided for present aspect embodiment, the calling system 90 Including call server 901 and mobile terminal 902, wherein:
Call server 50 or Fig. 7 in embodiment of the call server 901 corresponding to Fig. 5 is right Call server 70 in the embodiment answered;Mobile terminal 902 is the movement in the embodiment corresponding to Fig. 6 Mobile terminal 80 in embodiment corresponding to terminal 60 or Fig. 7.
In sum, when call server judges that the network of mobile terminal is unsatisfactory for default reference conditions, Call request is not initiated to mobile terminal but initiate call request so that calling terminal and fixation to fixed terminal Terminal sets up session, has ensured that (above-mentioned mobile terminal is belonged to calling terminal with mobile terminal with terminal called Terminal called) between quality of the conversation.When call server judges the network of the mobile terminal reference conditions When, to mobile terminal the first call request of initiation so that calling terminal sets up session with the mobile terminal, enter one Ensured to step calling terminal with terminal called (above-mentioned mobile terminal belongs to terminal called with mobile terminal) Between quality of the conversation.
One of ordinary skill in the art will appreciate that all or part of flow in realizing above-described embodiment method, Computer program be can be by instruct the hardware of correlation to complete, described program can be stored in computer In read/write memory medium, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method. And foregoing storage medium includes:ROM, RAM, magnetic disc or CD etc. are various can be with store program codes Medium.
Although with reference to specific features and embodiment, invention has been described, it is clear that, do not taking off In the case of the spirit and scope of the present invention, it can be modified and various combinations.Correspondingly, originally Specification and drawings are only the exemplary illustration of the invention that appended claims are defined, and are considered as Any and all modifications, change, combination or equivalent in the covering scope of the invention.

Claims (19)

1. a kind of the Internet telephone calls method, it is characterised in that including:
Call server receives the first call request comprising call number that calling terminal sends, described first Call request is used to ask terminal corresponding with the call number to set up the media channel for session;
Mobile terminal in the corresponding multiple terminals of the call server detection call number is in access Network quality in mobile packet network;
When the network quality is unsatisfactory for default reference conditions, the call server is to the multiple end Fixed terminal in end sends the second call request and is used with asking the fixed terminal to be set up with the calling terminal In the media channel of session, and do not send for asking the mobile terminal with the master to the mobile terminal Terminal is made to set up the call request of the media channel for session.
2. method according to claim 1, it is characterised in that exhaled described in the call server detection The network quality bag of mobile terminal in the corresponding multiple terminals of code of calling out the numbers in the mobile packet network for accessing Include:
The call server sends to the mobile terminal in the corresponding multiple terminals of the call number and includes net 3rd call request of the identification information of network detection, for asking to be set up for detecting net with the mobile terminal The media channel of network quality;
When it is described for detect network quality media channel set up after, the call server by with it is described Mobile terminal interacts detection messages to detect network matter of the mobile terminal in the mobile packet network for accessing Amount, the network quality include packet loss, bandwidth rates and when Yanzhong at least one.
3. method according to claim 2, it is characterised in that methods described also includes:
When the network quality meets the reference conditions, the call server is sent out to the mobile terminal It is logical for the media of session to ask the mobile terminal and the calling terminal to be set up to send the 4th call request Road.
4. method according to claim 3, it is characterised in that when the network quality meets the ginseng When examining condition, the call server sends the 4th call request to ask the movement to the mobile terminal The media channel that terminal and the calling terminal set up for session includes:
The call server sends the 4th call request to the mobile terminal, so that the mobile terminal is repaiied Change the media channel for detecting network quality to ask the mobile terminal to be set up with the calling terminal For the media channel of session.
5. method according to claim 3, it is characterised in that when the network quality meets the ginseng When examining condition, the call server sends the 4th call request to ask the movement to the mobile terminal The media channel that terminal and the calling terminal set up for session includes:
The call server sends interrupt instruction to the mobile terminal, interrupts described for detecting network matter The media channel of amount;
The call server to the mobile terminal send the 4th call request with ask the mobile terminal with The calling terminal sets up the media channel for session.
6. a kind of the Internet telephone calls method, it is characterised in that including:
Mobile terminal receives the first call request that call server sends, and first call request is described Call server is judged after the second call request comprising call number for receiving calling terminal transmission The net of the mobile terminal in the corresponding multiple terminals of the call number in the mobile packet network for accessing Network quality meets the request sent during default reference conditions;
The mobile terminal sets up the media for session according to first call request and the calling terminal Passage.
7. method according to claim 6, it is characterised in that the mobile terminal receives calling service Before the first call request that device sends, methods described also includes:
The mobile terminal receives the 3rd of the identification information comprising network detection that the call server sends Call request;
The mobile terminal is set up for detecting network according to the 3rd call request with the call server The media channel of quality;
The mobile terminal is based on described for detecting that the media channel of network interacts inspection with the call server Text is observed and predicted, detects the mobile terminal in the mobile packet network for accessing for the call server Network quality, the network quality include packet loss, bandwidth rates and when Yanzhong at least one.
8. method according to claim 7, it is characterised in that the mobile terminal is according to described first The media channel that call request and the calling terminal set up for session includes:
The mobile terminal leads to according to first call request is changed for detecting the media of network quality Road is setting up with the calling terminal media channel for session.
9. method according to claim 7, it is characterised in that the mobile terminal is according to described first The media channel that call request and the calling terminal set up for session includes:
The mobile terminal receives the interrupt instruction that the call server sends, and according to the interrupt instruction Interrupt the media channel for detecting network;
The mobile terminal receives the 4th call request that the call server sends, and according to the described 4th The media channel for session is set up in call request with the calling terminal.
10. a kind of call server, it is characterised in that including reception device, dispensing device, memory and Processor, wherein, the memory is used to store the program code of control calling, and the processor is used to adjust Following operation is performed with the program code of the control calling:
The first call request comprising call number that calling terminal sends, institute are received by the reception device State the first call request for ask corresponding with call number terminal set up logical for the media of session Road;
Detect the mobile terminal in the corresponding multiple terminals of the call number in the mobile packet network for accessing Network quality;
When the network quality is unsatisfactory for default reference conditions, by the dispensing device to the multiple Fixed terminal in terminal sends the second call request to ask the fixed terminal to be set up with the calling terminal For the media channel of session, and not to the mobile terminal send for ask the mobile terminal with it is described Calling terminal sets up the call request of the media channel for session.
11. call servers according to claim 10, it is characterised in that the processor detects institute State network matter of the mobile terminal in the corresponding multiple terminals of call number in the mobile packet network for accessing Amount, specially:
Sent to the mobile terminal in the corresponding multiple terminals of the call number by the dispensing device and included 3rd call request of the identification information of network detection, for asking to be set up for detecting with the mobile terminal The media channel of network quality;
After the media channel for detecting network quality is set up, by the dispensing device and described connect Receiving apparatus interact detection messages to detect the mobile terminal in the mobile packet network for accessing with the mobile terminal Network quality in network, the network quality include packet loss, bandwidth rates and when Yanzhong at least one.
12. call servers according to claim 11, it is characterised in that the processor is additionally operable to:
When the network quality meets the reference conditions, by the dispensing device to the mobile terminal It is logical for the media of session to ask the mobile terminal and the calling terminal to be set up to send the 4th call request Road.
13. call servers according to claim 12, it is characterised in that when the network quality is full During the foot reference conditions, the processor sends the four classes of syllables by the dispensing device to the mobile terminal Request is cried to ask the mobile terminal that the media channel for session is set up with the calling terminal, specially:
4th call request is sent to the mobile terminal by the dispensing device, so that the mobile terminal The modification media channel for detecting network quality is to ask the mobile terminal to be built with the calling terminal Found the media channel for session.
14. call servers according to claim 12, it is characterised in that when the network quality is full During the foot reference conditions, the processor sends the four classes of syllables by the dispensing device to the mobile terminal Request is cried to ask the mobile terminal that the media channel for session is set up with the calling terminal, specially:
Interrupt instruction is sent to the mobile terminal by the dispensing device, is interrupted described for detecting network The media channel of quality;
4th call request is sent to ask the mobile terminal to the mobile terminal by the dispensing device The media channel for session is set up with the calling terminal.
15. a kind of calling systems, it is characterised in that including call server and mobile terminal, wherein:
The call server, the first call request comprising call number for receiving calling terminal transmission, First call request is used for request terminal corresponding with the call number and sets up logical for the media of session Road;
The call server, is additionally operable to detect the movement in the corresponding multiple terminals of the call number Network quality of the terminal in the mobile packet network for accessing;
The call server, is additionally operable to when the network quality is unsatisfactory for default reference conditions, to institute State the fixed terminal in multiple terminals and send the second call request to ask the fixed terminal with the caller end The media channel for session is set up at end, and does not send for asking the mobile terminal to the mobile terminal With the call request that the calling terminal sets up the media channel for session.
16. calling systems according to claim 15, it is characterised in that the call server, also For detecting the mobile terminal in the corresponding multiple terminals of the call number in the mobile packet network for accessing Network quality in network, specially:
The call server, for sending the 3rd call request to ask and the shifting to the mobile terminal Dynamic terminal sets up the media channel for detecting network quality;
The mobile terminal, for receiving the 3rd call request, and according to the 3rd call request with The call server sets up the media channel for detecting network quality;
The mobile terminal, for based on the media channel and the calling clothes for detecting network quality Business device interaction detection messages;
The call server, for based on the media channel for detecting network quality and the movement Detection messages described in terminal interaction, and existed according to the situation calculating mobile terminal of the interaction detection messages Network quality in the mobile packet network of access, the network quality include packet loss, bandwidth rates and when At least one of Yanzhong.
17. calling systems according to claim 16, it is characterised in that
The call server, is additionally operable to when the network quality meets the reference conditions, to the shifting Dynamic terminal sends the 4th call request;
The mobile terminal, is additionally operable to be set up for meeting with the calling terminal according to the 4th call request The media channel of words.
18. calling systems according to claim 17, it is characterised in that the mobile terminal, also use In the media channel for session is set up according to the 4th call request and the calling terminal, specially:
The mobile terminal, is additionally operable to according to the 4th call request modification for detecting network quality Media channel setting up with the calling terminal media channel for session.
19. according to claim 17 calling system, it is characterised in that the call server, also use In when the network quality meets the reference conditions, the 4th call request is sent to the mobile terminal, Specially:
The call server, is additionally operable to send interrupt instruction to the mobile terminal, interrupts described for examining Survey the media channel of network quality;
The mobile terminal, is additionally operable to receive the interrupt instruction, and it is described to respond the interrupt instruction interruption Media channel for detecting network quality;
The call server, is additionally operable to send the 4th call request to ask the shifting to the mobile terminal Dynamic terminal sets up the media channel for session with the calling terminal.
CN201510940720.0A 2015-12-15 2015-12-15 A kind of the Internet telephone calls method, relevant device and system Pending CN106888104A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510940720.0A CN106888104A (en) 2015-12-15 2015-12-15 A kind of the Internet telephone calls method, relevant device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510940720.0A CN106888104A (en) 2015-12-15 2015-12-15 A kind of the Internet telephone calls method, relevant device and system

Publications (1)

Publication Number Publication Date
CN106888104A true CN106888104A (en) 2017-06-23

Family

ID=59174606

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510940720.0A Pending CN106888104A (en) 2015-12-15 2015-12-15 A kind of the Internet telephone calls method, relevant device and system

Country Status (1)

Country Link
CN (1) CN106888104A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107733732A (en) * 2017-08-22 2018-02-23 贵阳朗玛信息技术股份有限公司 A kind of method and device for judging network condition
CN108112029A (en) * 2017-12-21 2018-06-01 维沃移动通信有限公司 A kind of paging processing method and mobile terminal
CN110460732A (en) * 2019-09-24 2019-11-15 腾讯科技(深圳)有限公司 Network quality monitoring method, device and the communication server
CN111327562A (en) * 2018-12-13 2020-06-23 海能达通信股份有限公司 Session detection method, session system and storage medium
CN112637542A (en) * 2020-11-27 2021-04-09 深圳市捷视飞通科技股份有限公司 Call connection establishing method and device, computer equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101277342A (en) * 2007-03-27 2008-10-01 华为技术有限公司 Method, apparatus and system for implementing fork service
CN101938689A (en) * 2009-06-29 2011-01-05 阿尔卡特朗讯 Position information-based session establishing method and device in one number service
CN102469427A (en) * 2010-11-15 2012-05-23 中国移动通信集团公司 Method, system and device for realizing one-number service
CN103685159A (en) * 2012-09-05 2014-03-26 中国电信股份有限公司 Method and terminal for selecting and calling network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101277342A (en) * 2007-03-27 2008-10-01 华为技术有限公司 Method, apparatus and system for implementing fork service
CN101938689A (en) * 2009-06-29 2011-01-05 阿尔卡特朗讯 Position information-based session establishing method and device in one number service
CN102469427A (en) * 2010-11-15 2012-05-23 中国移动通信集团公司 Method, system and device for realizing one-number service
CN103685159A (en) * 2012-09-05 2014-03-26 中国电信股份有限公司 Method and terminal for selecting and calling network

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107733732A (en) * 2017-08-22 2018-02-23 贵阳朗玛信息技术股份有限公司 A kind of method and device for judging network condition
CN107733732B (en) * 2017-08-22 2021-03-05 贵阳朗玛信息技术股份有限公司 Method and device for judging network condition
CN108112029A (en) * 2017-12-21 2018-06-01 维沃移动通信有限公司 A kind of paging processing method and mobile terminal
CN111327562A (en) * 2018-12-13 2020-06-23 海能达通信股份有限公司 Session detection method, session system and storage medium
CN110460732A (en) * 2019-09-24 2019-11-15 腾讯科技(深圳)有限公司 Network quality monitoring method, device and the communication server
CN110460732B (en) * 2019-09-24 2021-05-14 腾讯科技(深圳)有限公司 Network quality monitoring method and device and communication server
CN112637542A (en) * 2020-11-27 2021-04-09 深圳市捷视飞通科技股份有限公司 Call connection establishing method and device, computer equipment and storage medium
CN112637542B (en) * 2020-11-27 2023-06-09 深圳市捷视飞通科技股份有限公司 Call connection establishment method, device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN106888104A (en) A kind of the Internet telephone calls method, relevant device and system
US6894715B2 (en) Mixing video signals for an audio and video multimedia conference call
US8385233B2 (en) Active speaker identification
US7154864B2 (en) Method and apparatus for providing conference call announcement using SIP signalling in a communication system
US8730942B2 (en) Method and arrangement for enabling a multimedia communication session
US7719975B2 (en) Method and system for communication session under conditions of bandwidth starvation
US8218458B2 (en) Method and apparatus for voice conference monitoring
US8284916B2 (en) Conference-call participant-information processing
CN1735093B (en) Communication device and its control method
CN105024868A (en) Network quality detection method and network quality detection system for video Internet
CN104486359B (en) Test method and device, the monitoring method and system of the voice quality of IMS network
CN108924872A (en) Data transmission method, terminal and equipment of the core network
WO2017045535A1 (en) Processing method, system and device for system telephone in voice call
CN110300003A (en) Data processing method and client
CN104754283B (en) audio/video communication method, server and system
CN107968767A (en) A kind of multi-terminal communication method, server and first terminal
CN103685750B (en) A kind of contact person's system for prompting and method
CN107181926A (en) A kind of communication means, device and server
CN104506745B (en) A kind of gateway device and conversation monitoring processing method
CN108464022A (en) Method and apparatus in wireless communication system for more servicing
CN107968731B (en) The aobvious number method for detecting abnormality of one kind and server
CN110225213A (en) A kind of recognition methods of voice communication scene and audio policy service end
CN102202038B (en) Method and system for realizing voice energy display, conference server and terminal
TWI275989B (en) A network device and a method for detecting voice quality and a communication system using the same
CN106912030A (en) A kind of group calling method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170623

RJ01 Rejection of invention patent application after publication