CN105100523B - Voice channel method for building up, apparatus and system - Google Patents

Voice channel method for building up, apparatus and system Download PDF

Info

Publication number
CN105100523B
CN105100523B CN201510363777.9A CN201510363777A CN105100523B CN 105100523 B CN105100523 B CN 105100523B CN 201510363777 A CN201510363777 A CN 201510363777A CN 105100523 B CN105100523 B CN 105100523B
Authority
CN
China
Prior art keywords
client
media engine
voice
party server
voice communication
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510363777.9A
Other languages
Chinese (zh)
Other versions
CN105100523A (en
Inventor
侯俊杰
辛显龙
金峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510363777.9A priority Critical patent/CN105100523B/en
Publication of CN105100523A publication Critical patent/CN105100523A/en
Application granted granted Critical
Publication of CN105100523B publication Critical patent/CN105100523B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The disclosure discloses a kind of voice channel method for building up, apparatus and system, belongs to network telephony art.Voice channel method for building up includes:Receive the first voice communication request of the first client transmission;The second online client of inquiry and called number binding;Determine the second media engine of third-party server corresponding with the second client;The second voice communication request is encapsulated according to the second protocol corresponding to the second media engine;After the confirmation signaling that the second client for receiving third-party server feedback returns, the voice channel between the foundation of the first client and the second client is notified.Therefore Internet phone-calling can not be realized between two accounts of the server registration of different VOIP providers by solving, so that the problem of limitation is compared in the call of VOIP;Having reached the user group of each VOIP providers can share, the effect that the users of different VOIP providers can dial network telephone each other.

Description

Voice channel method for building up, apparatus and system
Technical field
This disclosure relates to network telephony art, more particularly to a kind of voice channel method for building up, apparatus and system.
Background technology
With the development of network technology, voice communication can be realized between a large amount of network clients.
The various networking telephones (English at this stage:Voice Over Internet Protocol, referred to as:Carrying VOIP) For business when providing voice communication, it is necessary to user's register account number on the server that the provider provides, when in same service When the first account and the second account are registered with device, the first client for being logged in the first account can be utilized to dial and be logged in the Second client of two accounts, realizes the Internet phone-calling between the first account and the second account.
Since the signaling that different VOIP providers provide is inconsistent, at two of the server registration of different VOIP providers Internet phone-calling can not be realized between account, so that limitation is compared in the call of VOIP.
The content of the invention
In order to solve can not to realize Internet phone-calling between two accounts of the server registration of different VOIP providers, from And the problem of causing the call of VOIP to compare limitation, the disclosure provides voice channel method for building up, apparatus and system.The technology Scheme is as follows:
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of voice channel method for building up, applied to transfer server In, the described method includes:
The first voice communication request of the first client transmission is received, the first voice communication request is first visitor Using the first media engine of selection according to what is obtained after the first protocol encapsulation, the first voice communication request includes at family end Called number;
The second online client of inquiry and called number binding;
Determine the second media engine of third-party server corresponding with second client;
The second voice communication request, second voice are encapsulated according to the second protocol corresponding to second media engine The mark of second client is included in call request, the second voice communication request is used to trigger the third party's service Device notifies second client there are call request, to receive the confirmation signaling for allowing call that second client returns;
After the confirmation signaling that second client for receiving the third-party server feedback returns, notice First client establishes the voice channel between second client.
Optionally, the voice channel for notifying first client to establish between second client, including:
Sent to first client and be used to indicate that first client is established between second client The notice of voice channel, the information of the second media engine corresponding with the third-party server is carried in the notice.
Optionally, the voice channel for notifying first client to establish between second client, including:
Inquiry with the called number binding each second client and each second client in wire State, the presence of second client are provided by server corresponding with second client;
Second client is determined from current online second client.
Optionally, the method further includes:
For each third-party server, inquire about with called number binding and corresponding with the third-party server each A second client;
The presence acquisition that the mark for including each second client is sent to the third-party server please Ask;
Receive the presence for each second client that the third-party server is replied.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of voice channel method for building up, applied to the first client In, the described method includes:
Receive dial called number dial instruction after, choose the first media engine;
The first voice communication request is packaged according to the first agreement using first media engine, first language The called number is included in sound call request;
First voice communication request after encapsulation is sent to transfer server, the first voice communication request and is used Inquiring and after the second client in line of called number binding, determining and institute in triggering the transfer server The second media engine of the corresponding third-party server of the second client is stated, according to second corresponding to second media engine The second voice communication of protocol encapsulation is asked, and second voice communication request is sent extremely with the third-party server, described Second voice communication request, which is used to triggering the third-party server, notifies second client there are call request, in described Turn server and receive second client that the third-party server returns to allow the confirmation signaling of call, notify described the One client establishes the voice channel between second client;
The notice for being used to establish the voice channel between second client that the transfer server is sent is received, Establish the voice channel between second client.
Optionally, the first media engine of the selection, including:
Media engine corresponding with each client is obtained, the client is different from first client, each matchmaker Body engine is used for the signaling that will be sent according to protocol encapsulation corresponding with the media engine, and each media engine defines use Audio data packet format when VoP is transmitted;
The media engine of time delay minimum is selected from each media engine, the media engine is determined as described first Media engine.
Optionally, the information with second media engine, the foundation and the described second visitor are carried in the notice Voice channel between the end of family, including:
Obtain the audio data packet format that first media engine limits;
If the voice number that the audio data packet format that first media engine limits is limited with second media engine It is identical according to bag form, then VoP is sent to the third-party server, to trigger the third-party server by described in VoP is sent to second client, and the voice opened between first client and second client leads to Road;
If the voice number that the audio data packet format that first media engine limits is limited with second media engine It is different according to bag form, then the VoP is sent to the transfer server, by the transfer server by the voice Data packet is converted into the form that the third-party server can identify, and the transformed VoP is sent to institute Third-party server is stated, the VoP is sent to second client with triggering the third-party server, is opened Open the voice channel between first client and second client.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of voice channel establishes device, applied to transfer server In, described device includes:
Reception device, is configured as receiving the first voice communication request that the first client is sent, first voice leads to Words request is first client using the first media engine of selection according to obtaining after the first protocol encapsulation, described first Voice communication request includes called number;
First enquiry module, is configured as the second online client of inquiry and called number binding;
Determining module, is configured to determine that out corresponding with second client that first enquiry module inquires Second media engine of third-party server;
Package module, is configured as second corresponding to second media engine determined according to the determining module The second voice communication of protocol encapsulation is asked, and the mark of second client is included in the second voice communication request, described Second voice communication request notifies second client there are call request, to receive institute for triggering the third-party server State the confirmation signaling for allowing call of the second client return;
Notification module, is configured as the institute returned in second client for receiving the third-party server feedback State after confirming signaling, the voice channel for notifying first client to establish between second client.
Optionally, the notification module, is additionally configured to:
Sent to first client and be used to indicate that first client is established between second client The notice of voice channel, the information of the second media engine corresponding with the third-party server is carried in the notice.
Optionally, first enquiry module, including:
Submodule is inquired about, is configured as each second client and described each that inquiry is bound with the called number The presence of second client, the presence of second client is by server corresponding with second client There is provided;
Determination sub-module, is configured as from current online second client that the inquiry submodule inquires Determine second client.
Optionally, described device further includes:
Second enquiry module, is configured as each third-party server, inquiry and called number binding and with institute State corresponding each second client of third-party server;
Sending module, is configured as including what second enquiry module inquired to third-party server transmission The presence of the mark of each second client obtains request;
Receiving module, be configured as receiving each second client that the third-party server is replied in wire State.
According to the fourth aspect of the embodiment of the present disclosure, there is provided a kind of voice channel establishes device, applied to the first client In, described device includes:
Choose module, be configured as receive dial called number dial instruction after, choose the first media engine;
Package module, first media engine for being configured as choosing using the selection module is according to the first agreement pair First voice communication request is packaged, and the called number is included in the first voice communication request;
Sending module, is configured as first voice communication request after the package module is encapsulated and sends to transfer Server, first voice communication request are used to triggering the transfer server and are inquiring and called number binding After the second client of line, determine the second media engine of third-party server corresponding with second client, press The second voice communication request is encapsulated according to the second protocol corresponding to second media engine, and second voice communication is asked Send to the third-party server, the second voice communication request and be used to trigger described in the third-party server notice For second client there are call request, the transfer server receives second client of the third-party server return Allow the confirmation signaling of call, the voice channel for notifying first client to establish between second client;
Module is established, is configured as receiving that the transfer server sends is used to establish between second client Voice channel notice, establish and second client between voice channel.
Optionally, the selection module, including:
First acquisition submodule, is configured as obtaining media engine corresponding with each client, the client and institute The first client difference is stated, each media engine is used for the letter that will be sent according to protocol encapsulation corresponding with the media engine Order, audio data packet format when each media engine is defined for transmitting VoP;
Submodule is chosen, is configured as selecting time delay from each media engine that first acquisition submodule obtains Minimum media engine, first media engine is determined by the media engine.
Optionally, the information with second media engine is carried in the notice, it is described to establish module, including:
Second acquisition submodule, is configured as obtaining the audio data packet format that first media engine limits;
First sending submodule, is configured as first media engine that second acquisition submodule obtains and limits Audio data packet format it is identical with the audio data packet format that second media engine limits when, to the third party's service Device sends VoP, is sent the VoP to second client with triggering the third-party server, Open the voice channel between first client and second client;
Second sending submodule, is configured as first media engine that second acquisition submodule obtains and limits Audio data packet format it is different from the audio data packet format that second media engine limits when, to the transfer server The VoP is sent, the VoP is converted into the third-party server by the transfer server can The form of identification, and the transformed VoP is sent to the third-party server, to trigger the third party Server sends the VoP to second client, opens first client and second client Between voice channel.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a kind of voice channel establishes system, and the system comprises transfer Server and the first client:
The transfer server is included as described in the third aspect and the various optional implementations of the third aspect Voice channel establishes device;
First client is included as described in fourth aspect and the various optional implementations of fourth aspect Voice channel establishes device.
According to the 6th of the embodiment of the present disclosure the aspect, there is provided a kind of voice channel establishes device, during described device is applied to Turn in server, described device includes:
Processor;
For storing the memory of the processor-executable instruction;
Wherein, the processor is configured as:
The first voice communication request of the first client transmission is received, the first voice communication request is first visitor Using the first media engine of selection according to what is obtained after the first protocol encapsulation, the first voice communication request includes at family end Called number;
The second online client of inquiry and called number binding;
Determine the second media engine of third-party server corresponding with second client;
The second voice communication request, second voice are encapsulated according to the second protocol corresponding to second media engine The mark of second client is included in call request, the second voice communication request is used to trigger the third party's service Device notifies second client there are call request, to receive the confirmation signaling for allowing call that second client returns;
After the confirmation signaling that second client for receiving the third-party server feedback returns, notice First client establishes the voice channel between second client.
According to the 7th of embodiment of the present disclosure aspect, there is provided a kind of voice channel establishes device, and described device is applied to the In one client, described device includes:
Processor;
For storing the memory of the processor-executable instruction;
Wherein, the processor is configured as:
Receive dial called number dial instruction after, choose the first media engine;
The first voice communication request is packaged according to the first agreement using first media engine, first language The called number is included in sound call request;
First voice communication request after encapsulation is sent to transfer server, the first voice communication request and is used Inquiring and after the second client in line of called number binding, determining and institute in triggering the transfer server The second media engine of the corresponding third-party server of the second client is stated, according to second corresponding to second media engine The second voice communication of protocol encapsulation is asked, and second voice communication request is sent extremely with the third-party server, described Second voice communication request, which is used to triggering the third-party server, notifies second client there are call request, in described Turn server and receive second client that the third-party server returns to allow the confirmation signaling of call, notify described the One client establishes the voice channel between second client;
The notice for being used to establish the voice channel between second client that the transfer server is sent is received, Establish the voice channel between second client.
The technical scheme provided by this disclosed embodiment can include the following benefits:
The first voice communication is sent to transfer server to ask, inquired about using transfer server called by the first client The second client bound in number, encapsulates the second voice communication request using second protocol, voice is established with the second client Passage, realizes the Internet phone-calling between the second client;Since a signaling gateway, the side mutually turned by agreement can be provided Formula solves the problems, such as that communication signaling agreement is inconsistent, therefore solves two accounts in the server registration of different VOIP providers Internet phone-calling can not be realized between number, so that the problem of limitation is compared in the call of VOIP;Each VOIP providers are reached User group can share, the effect that the users of different VOIP providers can dial network telephone each other.
It should be appreciated that the general description and following detailed description of the above are only exemplary, this can not be limited It is open.
Brief description of the drawings
Attached drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the disclosure Example, and be used in specification to explain the principle of the disclosure together.
Fig. 1 is the implementation environment involved by a kind of voice channel method for building up exemplified according to exemplary partial implementation Schematic diagram;
Fig. 2 is a kind of flow chart of voice channel method for building up according to an exemplary embodiment;
Fig. 3 is a kind of flow chart of the voice channel method for building up shown according to another exemplary embodiment;
Fig. 4 A are a kind of flow charts of voice channel method for building up according to another exemplary embodiment;
Fig. 4 B are the flow charts of the first media engine of selection according to an exemplary embodiment;
Fig. 4 C are the second online clients of the inquiry and called number binding according to an exemplary embodiment Flow chart;
Fig. 4 D are the flow charts of the voice channel between foundation and the second client according to an exemplary embodiment;
Fig. 5 A are the block diagrams that a kind of voice channel according to an exemplary embodiment establishes device;
Fig. 5 B are that a kind of voice channel shown according to another exemplary embodiment establishes the block diagram of device;
Fig. 6 A are the block diagrams that a kind of voice channel according to an exemplary embodiment establishes device;
A kind of voice channel that Fig. 6 B are shown according to another exemplary embodiment establishes the block diagram of device;
Fig. 7 is the block diagram that a kind of voice channel according to an exemplary embodiment establishes system;
Fig. 8 is the block diagram for being used to establish the device of voice channel according to an exemplary embodiment.
Fig. 9 is the block diagram of the device for establishing voice channel shown according to another exemplary embodiment.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During attached drawing, unless otherwise indicated, the same numbers in different attached drawings represent the same or similar key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
Fig. 1 is the implementation environment involved by a kind of voice channel method for building up exemplified according to exemplary partial implementation Schematic diagram, as shown in Figure 1, the implementation environment can include the first client 10, transfer server 11,12 and of third-party server Second client 13.
First client 10 can be connected by wired or wireless way with transfer server 11.
Transfer server 11 can be connected by wired or wireless way with third-party server 12.
Third-party server 12 can be connected by wired or wireless way with the second client 13, in the second client 13 The account of upper login is usually the account that successful registration is crossed on third-party server 12.
The account that first client 10 logs in can not be the account crossed in 12 successful registration of third-party server, Ye Jideng Record the first client 10 account and to log in the account of the second client 13 can not be same account system.
Fig. 2 is a kind of flow chart of voice channel method for building up according to an exemplary embodiment, as shown in Fig. 2, The voice channel method for building up is applied in the transfer server 11 in the implementation environment shown in Fig. 1, comprises the following steps.
In step 201, the first voice communication request that the first client is sent is received.
In step 202, the second online client of inquiry and called number binding.
In step 203, the second media engine of third-party server corresponding with the second client is determined.
In step 204, the second voice communication request is encapsulated according to the second protocol corresponding to the second media engine.
In step 205, after the confirmation signaling that the second client for receiving third-party server feedback returns, notice First client establishes the voice channel between the second client.
In conclusion the voice channel method for building up provided in the embodiment of the present disclosure, is taken by the first client to transfer Device of being engaged in sends the first voice communication request, using the second client bound in transfer server inquiry called number, utilizes the Two the second voice communications of protocol encapsulation are asked, and are established voice channel with the second client, are realized the net between the second client Network is conversed;Since a signaling gateway can be provided, solve that communication signaling agreement is inconsistent to ask by way of agreement mutually turns Topic, therefore solve and can not realize Internet phone-calling between two accounts of the server registration of different VOIP providers, so that So that the problem of limitation is compared in the call of VOIP;Having reached the user group of each VOIP providers can share, different VOIP The effect that the user of provider can dial network telephone each other.
Fig. 3 is a kind of flow chart of the voice channel method for building up shown according to another exemplary embodiment, such as Fig. 3 institutes Show, which is applied in the first client 10 in the implementation environment shown in Fig. 1, comprises the following steps.
In step 301, receive dial called number dial instruction after, choose the first media engine.
In step 302, the first voice communication request is packaged according to the first agreement using the first media engine, the Called number is included in one voice communication request.
In step 303, the first voice communication request after encapsulation is sent to transfer server.
In step 304, the voice channel being used to establish between the second client that transfer server is sent is received Notice, establishes the voice channel between the second client.
In conclusion the voice channel method for building up provided in the embodiment of the present disclosure, is taken by the first client to transfer Device of being engaged in sends the first voice communication request, using the second client bound in transfer server inquiry called number, utilizes the Two the second voice communications of protocol encapsulation are asked, and are established voice channel with the second client, are realized the net between the second client Network is conversed;Since a signaling gateway can be provided, solve that communication signaling agreement is inconsistent to ask by way of agreement mutually turns Topic, therefore solve and can not realize Internet phone-calling between two accounts of the server registration of different VOIP providers, so that So that the problem of limitation is compared in the call of VOIP;Having reached the user group of each VOIP providers can share, different VOIP The effect that the user of provider can dial network telephone each other.
In a kind of possible implementation, the first client is established voice with the second client by transfer server and is led to During road, it may refer to as shown in Figure 4 A, it is a kind of voice channel method for building up according to another exemplary embodiment Flow chart, as shown in Figure 4 A, the voice channel method for building up may include steps of:
Step 401, the first client receive dial called number dial instruction after, choose the first media engine.
When the first client receives after dialing request of user, determine to send the first media of information to transfer server Engine.
In a kind of possible implementation, the step 401 in Fig. 4 A can further be replaced with to step 401a to step Rapid 401b.Refer to shown in Fig. 4 B, it is the flow chart of the first media engine of selection according to an exemplary embodiment, such as Shown in Fig. 4 B, voice channel method for building up may comprise steps of.
In step 401a, media engine corresponding with each client is obtained, each client and the first client are not Together, each media engine is used for the signaling that will be sent according to protocol encapsulation corresponding with media engine, each media engine limit Audio data packet format during VoP is determined to be used to transmit.
In general, the bottom of the first client can have multiple media engines, each media engine has corresponding Standard agreement, namely each media engine can utilize the information that the packing of corresponding standard agreement will be sent, and will packing Information afterwards is sent to transfer server.
For example, corresponding to the media engine of Michat client, the corresponding protocol encapsulation of Michat can be utilized to send out The signaling sent.
In step 401b, the media engine of time delay minimum is selected from each media engine, media engine is determined For the first media engine.
Time delay minimum means that call connection is easier success, and voice quality is more preferable, therefore can select the matchmaker of time delay minimum Body engine.
Step 402, the first client asks to carry out according to the first agreement using the first media engine to the first voice communication Encapsulation.
The call request for being sent to transfer server is packaged by the first client using the first media engine, encapsulation association Discuss the message tunneling that message is received for transfer server.
Step 403, the first client sends the first voice communication request after encapsulation to transfer server.
Step 404, after transfer server receives the first voice communication request that the first client is sent, inquiry and called number The second online client of code binding.
In practical applications, since the agreement that signaling is transmitted under different account systems is different, in order to realize not With voice communication is carried out between the client under account system, transfer can be carried out using transfer server.In order to connect Client under two kinds of agreements, the disclosure make use of middle account, i.e. telephone number, to realize the docking of two clients.
In this case, transfer server can prestore the client of each telephone number binding.As the first client End preparation is when dialing called number, and transfer server can then inquire about the second client corresponding with the called number, and can be with Obtain client online in these second clients.
In a kind of possible implementation, the step 404 in Fig. 4 can further be replaced with to step 404a to step 404b.Fig. 4 C are referred to, it is the second online visitor of the inquiry according to an exemplary embodiment and called number binding The flow chart at family end, as shown in Figure 4 C, voice channel method for building up may comprise steps of.
In step 404a, inquiry with called number binding each second client and each second client Wire state, the presence of the second client are provided by server corresponding with the second client.
Transfer server is inquired about with whether each second client of called number binding is online or empty in call successively Not busy state, when the second client being queried is in offline or call engaged condition, then it is assumed that the client is not in idle shape State (namely not possessing call condition), then inquires about next the second client with called number binding.
Here the second client said can be the client on the mobile terminals such as mobile phone, computer, tablet, this A little clients have usually been logged in by user account, and each embodiment of the disclosure does not limit the species of the second client It is fixed.
In general, when transfer server establish from predetermined third-party server it is this by under different account systems During the business that client is docked, transfer server can be respectively to bound in each third-party server enquiring telephone number Each second client presence, third-party server can then feed back the second client under account number system Wire state.
When actually realizing, transfer server obtains the presence of the second client bound in each telephone number When, it may include steps of:
First, transfer server is inquired about with called number binding and taken with third party for each third-party server Corresponding each second client of business device.
Second, transfer server sends the presence for the mark for including each second client to third-party server Obtain request.
Transfer server is sent to different third-party server The no instruction in networking state.
3rd, transfer server receives the presence for each second client that third-party server is replied.
For example, when some called number is bundled with the second client that Michat number is 123456, at this time, transfer service Device can be then the online of 123456 the second client to third-party server acquisition request corresponding with the Michat Michat number State, third-party server can then be fed back to transfer server the Michat number be 123456 the second client in wire State.
Obviously, after the presence for the second client being requested changes, third-party server can be automatic The presence of changed second client of these presences is reported to transfer server.
In step 404b, second client is determined from current the second online client.
If current the second online client has two or more, transfer server can randomly choose one Second client of line, alternatively, being screened to the networking state of the second client, prioritizing selection is in Wi-Fi networking states Under the second client, alternatively, networking time delay that can also be to the second client counts, prioritizing selection networking time delay is minimum The second client.
If the second client is in networking state with third-party server, which replys transfer service The presence of the second client of device, wherein presence can be including idle, busy etc., if the second client and third party Server is in suspension state, then the third-party server does not reply the inquiry instruction of transfer server transmission.
Step 405, transfer server determines the second media engine of third-party server corresponding with the second client.
After the second online client is determined, then third party's clothes corresponding with second client can be determined Second media engine of business device,
Step 406, transfer server encapsulates the second voice communication according to the second protocol corresponding to the second media engine and asks Ask.
Second protocol of the transfer server according to corresponding to the second media engine, encapsulation the second voice communication request.
Wherein, the mark of the second client is included in second voice communication request, second voice communication request is used for Triggering third-party server notifies the second client there are call request, to receive the confirmation for allowing call that the second client returns Signaling.
Step 407, transfer server sends the second voice communication request after encapsulation to third-party server.
That is, being realized by above-mentioned steps 404 to step 406 will be asked using the first voice communication of the first protocol encapsulation Conversion is asked in order to be provided to third party using the second voice communication request of second protocol encapsulation, second voice communication request Server is identified, and the called number conversion that the first client wants to be conversed is online in order to be bound with the called number The second client.
Step 408, third-party server notifies the second client to there is call after the second voice communication request is received Request.
Third-party server notifies that the mode of the second client can be initiated jingle bell, voice prompt, initiate vibrations etc., this Place notifies third-party server the mode of the second client not limit.
Step 409, third-party server receives the confirmation signaling for allowing call that the second client returns.
When the user of the second client determines to allow call, the second client can then be returned to third-party server to be allowed The confirmation signaling of call, corresponding, third-party server can then receive the confirmation signaling of the second client return.
Step 410, third-party server feeds back the second client to transfer server allows the confirmation signaling of call.
Step 411, the confirmation signaling that transfer server is returned in the second client for receiving third-party server feedback Afterwards, sent to the first client and be used for the notice for indicating the voice channel that the first client is established between the second client, led to The information of the second media engine corresponding with third-party server is carried in knowing.
That is, by above-mentioned steps 408 to step 411, then can realize:Allow to answer the call in the second client When, sending allows confirmation signaling to third-party server, the third party's service of call to send the confirmation signaling to transfer take again Business device, protocol conversion is carried out by transfer server, and the voice channel for notifying the first client to establish between the second client.
Step 412, the first client receives the voice being used between foundation and the second client that transfer server is sent The notice of passage, establishes the voice channel between the second client.
First client receives transfer server and sends the notice for establishing the voice channel between the second client, then Voice channel is established according to the audio data packet format corresponding to the second media engine, carrying out voice with the second client is connected.
In a kind of possible implementation, the step 412 in Fig. 4 A can further be replaced with to step 412a to step Rapid 412c.Refer to shown in Fig. 4 D, it is the voice between foundation and the second client according to an exemplary embodiment The flow chart of passage, as shown in Figure 4 D, voice channel method for building up may comprise steps of.
In step 412a, the audio data packet format that the first media engine limits is obtained.
In step 412b, if the language that audio data packet format and the second media engine that the first media engine limits limit Sound data packet format is identical, then VoP is sent to third-party server, to trigger third-party server by voice data Bag is sent to the second client, opens the voice channel between the first client and the second client.
First client is contrasted the first media engine of acquisition and the second media engine, if the first media engine The audio data packet format of restriction is identical with the audio data packet format that the second media engine limits, it is meant that the first media engine It is same media engine with the second media engine, can be direct after the first client carries out protocol conversion according to the first media engine VoP is sent to the 3rd server, voice channel is established by the 3rd server and the second client, is conversed.
In step 412c, if the language that audio data packet format and the second media engine that the first media engine limits limit Sound data packet format is different, then sends VoP to transfer server, be converted into VoP by transfer server The form that third-party server can identify, and transformed VoP is sent to third-party server, to trigger Tripartite's server sends VoP to the second client, and the voice opened between the first client and the second client leads to Road.
If the VoP lattice that audio data packet format and the second media engine that the first media engine limits limit Formula is different, it is meant that the first media engine and the second media engine are not same media engines, and the first client is according to the first matchmaker After body engine carries out protocol conversion, also need to carry out the second media engine protocol conversion, concurrent sending voice data packet to transfer takes It is engaged in device, VoP is converted into the form that third-party server can identify by transfer server, then take by third party Business device and the second client establish voice channel, converse.
Above-mentioned steps 401 to step 403 and step 412 can be individually implemented as using the first client as executive agent Voice channel method for building up, step 404 to step 407 and step 411 can be individually implemented as using transfer server as execution The voice channel method for building up of main body.
In conclusion the voice channel method for building up provided in the embodiment of the present disclosure, is taken by the first client to transfer Device of being engaged in sends the first voice communication request, using the second client bound in transfer server inquiry called number, utilizes the Two the second voice communications of protocol encapsulation are asked, and are established voice channel with the second client, are realized the net between the second client Network is conversed;Since a signaling gateway can be provided, solve that communication signaling agreement is inconsistent to ask by way of agreement mutually turns Topic, therefore solve and can not realize Internet phone-calling between two accounts of the server registration of different VOIP providers, so that So that the problem of limitation is compared in the call of VOIP;Having reached the user group of each VOIP providers can share, different VOIP The effect that the user of provider can dial network telephone each other.
In addition, transfer server is come true by inquiring about the presence of the second client corresponding to third-party server Fixed second media engine, and the second media engine information is sent to the first client, notify the first client to establish voice channel; First client sends call request using the first media engine to transfer server, by the first media engine of acquisition and second Media engine is contrasted, if the two is identical, VoP is sent directly to third-party server, if different VoP is sent to transfer server and carries out protocol conversion, realizes that voice connects.
Following is disclosure apparatus embodiments, can be used for performing embodiments of the present disclosure.It is real for disclosure equipment The details not disclosed in example is applied, refer to embodiments of the present disclosure.
Fig. 5 A are the block diagrams that a kind of voice channel according to an exemplary embodiment establishes device, as shown in Figure 5A, The voice channel establishes device applied in transfer server, which establishes device and include but not limited to:First receives Module 501, the first enquiry module 502, determining module 503, package module 504, notification module 505.
First receiving module 501, is configured as receiving the first voice communication request that the first client is sent;
First enquiry module 502, is configured as the second online client of inquiry and called number binding;
Determining module 503, is configured to determine that out corresponding with the second client that the first enquiry module 501 inquires Second media engine of tripartite's server;
Package module 504, second corresponding to the second media engine for being configured as determining according to determining module 503 are assisted View encapsulation the second voice communication request;
Notification module 505, is configured as the confirmation letter returned in the second client for receiving third-party server feedback After order, the voice channel between the foundation of the first client and the second client is notified.
In a kind of possible implementation, Fig. 5 B are referred to, it is the one kind shown according to another exemplary embodiment For establishing the block diagram of voice channel device, which includes:Inquire about submodule 501a and determination sub-module 501b.
Submodule 501a is inquired about, is configured as each second client and each second of inquiry and called number binding The presence of client, the presence of the second client are provided by server corresponding with the second client;
Determination sub-module 501b, is configured as from current the second online client that inquiry submodule 501a is inquired Determine second client.
In a kind of possible implementation, referring still to shown in Fig. 5 B, which, which establishes device, to include: Second enquiry module 506,507 and second receiving module 508 of sending module.
Second enquiry module 506, is configured as each third-party server, inquiry and called number binding and with Corresponding each second client of third-party server;
Sending module 507, be configured as to third-party server send include the second enquiry module 506 inquire it is each The presence of the mark of a second client obtains request;
Second receiving module 508, be configured as receive third-party server reply each second client in wire State.
In conclusion the voice channel provided in the embodiment of the present disclosure establishes device, taken by the first client to transfer Device of being engaged in sends the first voice communication request, using the second client bound in transfer server inquiry called number, utilizes the Two the second voice communications of protocol encapsulation are asked, and are established voice channel with the second client, are realized the net between the second client Network is conversed;Since a signaling gateway can be provided, solve that communication signaling agreement is inconsistent to ask by way of agreement mutually turns Topic, therefore solve and can not realize Internet phone-calling between two accounts of the server registration of different VOIP providers, so that So that the problem of limitation is compared in the call of VOIP;Having reached the user group of each VOIP providers can share, different VOIP The effect that the user of provider can dial network telephone each other.
In addition, transfer server is come true by inquiring about the presence of the second client corresponding to third-party server Fixed second media engine, and the second media engine information is sent to the first client, notify the first client to establish voice channel.
Fig. 6 A are referred to, it is the block diagram that a kind of voice channel according to an exemplary embodiment establishes device, such as Shown in Fig. 6 A, which establishes device applied in the first client, which establishes device and include but not limited to: Choose module 601, package module 602, sending module 603 and establish module 604.
Choose module 601, be configured as receive dial called number dial instruction after, choose the first media draw Hold up;
Package module 602, is configured as using choosing the first media engine of the selection of module 601 according to the first agreement to the One voice communication request is packaged, and called number is included in the first voice communication request;
Sending module 603, is configured as the request of the first voice communication after package module 602 is encapsulated and sends to transfer clothes Business device.
Module 604 is established, is configured as receiving the language being used between foundation and the second client that transfer server is sent The notice of sound passage, establishes the voice channel between the second client.
In a kind of possible implementation, Fig. 6 B are referred to, it is the one kind shown according to another exemplary embodiment Voice channel establishes the block diagram of device, the selection module 601, including:First acquisition submodule 601a and selection submodule 601b.
First acquisition submodule 601a, is configured as obtaining corresponding with each client media engine, client and the One client is different, and each media engine is used for the signaling that will be sent according to protocol encapsulation corresponding with media engine, each Audio data packet format when media engine is defined for transmitting VoP;
Submodule 601b is chosen, is configured as selecting from each media engine that the first acquisition submodule 601a is obtained The media engine of time delay minimum, is determined as the first media engine by media engine.
In a kind of possible implementation, referring still to shown in Fig. 6 B, this, which establishes module 604, to include:Second Acquisition submodule 604a, the first sending submodule 604b and the second sending submodule 604c.
Second acquisition submodule 604a, is configured as obtaining the audio data packet format that the first media engine limits;
First sending submodule 604b, is configured as the first media engine restriction of the second acquisition submodule 604a acquisitions When audio data packet format is identical with the audio data packet format that the second media engine limits, voice is sent to third-party server Data packet, VoP is sent to the second client, open the first client and the second visitor with triggering third-party server Voice channel between the end of family;
Second sending submodule 604c, the first media engine for being configured as the second acquisition submodule 604a acquisitions limit Audio data packet format it is different from the audio data packet format that the second media engine limits when, to transfer server send voice Data packet, the form that third-party server can identify is converted into by transfer server by VoP, and will be transformed VoP is sent to third-party server, is sent VoP to the second client with triggering third-party server, Open the voice channel between the first client and the second client.
In conclusion the voice channel provided in the embodiment of the present disclosure establishes device, taken by the first client to transfer Device of being engaged in sends the first voice communication request, using the second client bound in transfer server inquiry called number, utilizes the Two the second voice communications of protocol encapsulation are asked, and are established voice channel with the second client, are realized the net between the second client Network is conversed;Since a signaling gateway can be provided, solve that communication signaling agreement is inconsistent to ask by way of agreement mutually turns Topic, therefore solve and can not realize Internet phone-calling between two accounts of the server registration of different VOIP providers, so that So that the problem of limitation is compared in the call of VOIP;Having reached the user group of each VOIP providers can share, different VOIP The effect that the user of provider can dial network telephone each other.
In addition, the first client sends call request using the first media engine to transfer server, by the first of acquisition Media engine and the second media engine are contrasted, if the two is identical, VoP is sent directly to third party's clothes Business device, VoP is sent to transfer server carry out protocol conversion if different, realizes that voice connects.
Fig. 7 is that a kind of voice channel according to an exemplary embodiment establishes the block diagram of system, as shown in fig. 7, being somebody's turn to do Voice channel establishes system applied in implementation environment shown in Fig. 1.The voice channel, which establishes system, to be included:First client 701 and transfer server 702.
First client 701 includes the voice channel described in Fig. 5 A and Fig. 5 B such as and establishes device, specifically may refer to Description in Fig. 5 A and Fig. 5 B, just repeats no more here.
Transfer server 702 can include the voice channel described in Fig. 6 A and Fig. 6 B such as and establish device, specifically can be with Referring to the description in Fig. 6 A and Fig. 6 B, just repeat no more here.
In conclusion the voice channel provided in the embodiment of the present disclosure establishes system, taken by the first client to transfer Device of being engaged in sends the first voice communication request, using the second client bound in transfer server inquiry called number, utilizes the Two the second voice communications of protocol encapsulation are asked, and are established voice channel with the second client, are realized the net between the second client Network is conversed;Since a signaling gateway can be provided, solve that communication signaling agreement is inconsistent to ask by way of agreement mutually turns Topic, therefore solve and can not realize Internet phone-calling between two accounts of the server registration of different VOIP providers, so that So that the problem of limitation is compared in the call of VOIP;Having reached the user group of each VOIP providers can share, different VOIP The effect that the user of provider can dial network telephone each other.
On the equipment in above-described embodiment, wherein modules perform the concrete mode of operation in related this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
One exemplary embodiment of the disclosure provides a kind of voice channel and establishes device, can realize the language that the disclosure provides Sound Path Setup method, the external equipment include:Processor, the memory for storing processor-executable instruction;
Wherein, processor is configured as:
The first voice communication request of the first client transmission is received, first voice communication request is the first client profit With the first media engine of selection according to what is obtained after the first protocol encapsulation, the first voice communication request includes called number;
The second online client of inquiry and called number binding;
Determine the second media engine of third-party server corresponding with the second client;
The second voice communication request, the second voice communication request are encapsulated according to the second protocol corresponding to the second media engine In include the mark of the second client, the second voice communication request, which is used to triggering third-party server, notifies the second client to exist Call request, receives the confirmation signaling for allowing call that the second client returns;
After the confirmation signaling that the second client for receiving third-party server feedback returns, the first client is notified to build The vertical voice channel between the second client.
One exemplary embodiment of the disclosure provides voice channel and establishes device, can realize that the voice that the disclosure provides leads to Road method for building up, the movement equipment include:Processor, the memory for storing processor-executable instruction;
Wherein, processor is configured as:
Receive dial called number dial instruction after, choose the first media engine;
The first voice communication request is packaged according to the first agreement using the first media engine, the first voice communication please Called number is included in asking;
The first voice communication request after encapsulation is sent to transfer server, the first voice communication request and is used in triggering Turn server inquiring with after the second client in line of called number binding, determining corresponding with the second client the Second media engine of tripartite's server, encapsulating the second voice communication according to the second protocol corresponding to the second media engine please Ask, and the second voice communication request is sent extremely and third-party server, the second voice communication request are used to trigger third party's service Device notifies the second client that transfer server, which receives the second client that third-party server returns, to be allowed to lead to there are call request The confirmation signaling of words, the voice channel for notifying the first client to establish between the second client;
The notice for being used to establish the voice channel between the second client that transfer server is sent is received, is established and the Voice channel between two clients.
Fig. 8 is the block diagram for being used to establish the device of voice channel according to an exemplary embodiment.For example, device 800 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, and medical treatment is set It is standby, body-building equipment, personal digital assistant etc..
With reference to Fig. 8, device 800 can include following one or more assemblies:Processing component 802, memory 804, power supply Component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, Yi Jitong Believe component 816.
The integrated operation of the usual control device 800 of processing component 802, such as with display, call, data communication, phase The operation that machine operates and record operation is associated.Processing component 802 can refer to including one or more processors 818 to perform Order, to complete all or part of step of above-mentioned method.In addition, processing component 802 can include one or more modules, just Interaction between processing component 802 and other assemblies.For example, processing component 802 can include multi-media module, it is more to facilitate Interaction between media component 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in device 800.These data are shown Example includes the instruction of any application program or method for being operated on device 800, and contact data, telephone book data, disappears Breath, picture, video etc..Memory 804 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM) are erasable to compile Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 806 provides electric power for the various assemblies of device 800.Power supply module 806 can include power management system System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 800.
Multimedia component 808 is included in the screen of one output interface of offer between device 800 and user.In some realities Apply in example, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen can To be implemented as touch-screen, to receive input signal from the user.Touch panel include one or more touch sensors with Gesture on sensing touch, slip and touch panel.Touch sensor can not only sense the boundary of a touch or slide action, and And also detection and touch or the relevant duration and pressure of slide.In certain embodiments, multimedia component 808 includes One front camera and/or rear camera.It is preceding during such as screening-mode or video mode when device 800 is in operator scheme The multi-medium data of outside can be received by putting camera and/or rear camera.Each front camera and rear camera can To be a fixed optical lens system or there is focusing and optical zoom capabilities.
Audio component 810 is configured as output and/or input audio signal.For example, audio component 810 includes a Mike Wind (MIC), when device 800 is in operator scheme, during such as call model, logging mode and speech recognition mode, microphone by with It is set to reception external audio signal.The received audio signal can be further stored in memory 804 or via communication set Part 816 is sent.In certain embodiments, audio component 810 further includes a loudspeaker, for exports audio signal.
I/O interfaces 812 provide interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor component 814 includes one or more sensors, and the state for providing various aspects for device 800 is commented Estimate.For example, sensor component 814 can detect opening/closed mode of device 800, the relative positioning of component, such as component For the display and keypad of device 800, sensor component 814 can be with the position of 800 1 components of detection device 800 or device Put change, the existence or non-existence that user contacts with device 800,800 orientation of device or acceleration/deceleration and the temperature of device 800 Change.Sensor component 814 can include proximity sensor, be configured to detect without any physical contact near The presence of object.Sensor component 814 can also include optical sensor, such as CMOS or ccd image sensor, for should in imaging With middle use.In certain embodiments, which can also include acceleration transducer, gyro sensor, magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between device 800 and other equipment.Device 800 can access the wireless network based on communication standard, such as Wi-Fi, 2G or 3G, or combinations thereof.In an exemplary reality Apply in example, communication component 816 receives broadcast singal or the related letter of broadcast from external broadcasting management system via broadcast channel Breath.In one exemplary embodiment, communication component 816 further includes near-field communication (NFC) module, to promote junction service.Example Such as, in NFC module radio frequency identification (RFID) technology can be based on, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 800 can be believed by one or more application application-specific integrated circuit (ASIC), numeral Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing above-mentioned voice channel foundation side Method.
In the exemplary embodiment, the non-transitorycomputer readable storage medium including instruction is additionally provided, such as is wrapped The memory 804 of instruction is included, above-metioned instruction can be performed by the processor 818 of device 800 to complete above-mentioned voice channel foundation side Method.For example, non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, Floppy disk and optical data storage devices etc..
Fig. 9 is the block diagram of the device for establishing voice channel shown according to another exemplary embodiment.For example, device 900 may be provided as a network side equipment.With reference to Fig. 9, device 900 includes processing component 902, its further comprise one or Multiple processors, and as the memory resource representated by memory 904, can be by the execution of processing component 902 for storing Instruction, such as application program.The application program stored in memory 904 can include each one or more correspondence In the module of one group of instruction.In addition, processing component 902 is configured as execute instruction, to perform above-mentioned voice channel method for building up.
Device 900 can also include the power management that a power supply module 906 is configured as executive device 900, and one has Line or radio network interface 908 are configured as device 900 connecting receipts network, and input and output (I/O) interface 910.Dress Putting 900 can operate based on the operating system for being stored in memory 904, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice invention disclosed herein Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be appreciated that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by appended claim.

Claims (17)

  1. A kind of 1. voice channel method for building up, it is characterised in that applied in transfer server, the described method includes:
    The first voice communication request of the first client transmission is received, the first voice communication request is first client Using the first media engine of selection according to what is obtained after the first protocol encapsulation, the first voice communication request includes called Number, first media engine are that the media for the time delay minimum selected from multiple media engines of first client draw Hold up;
    The second online client of inquiry and called number binding, second client are current the second online visitor Second client of time delay minimum of networking in the end of family;
    Determine the second media engine of third-party server corresponding with second client;
    The second voice communication request, second voice communication are encapsulated according to the second protocol corresponding to second media engine The mark of second client is included in request, the second voice communication request is led to for triggering the third-party server Know that second client there are call request, receives the confirmation signaling for allowing call that second client returns;
    After the confirmation signaling that second client for receiving the third-party server feedback returns, described in notice First client establishes the voice channel between second client.
  2. 2. according to the method described in claim 1, it is characterized in that, described notify first client to establish and described second Voice channel between client, including:
    The voice for being used for indicating that first client is established between second client is sent to first client The notice of passage, the information of the second media engine corresponding with the third-party server is carried in the notice.
  3. 3. according to the method described in claim 1, it is characterized in that, online the of the inquiry and called number binding Two clients, including:
    Inquiry and each second client of called number binding and the presence of each second client, institute The presence for stating the second client is provided by server corresponding with second client;
    Second client is determined from current online second client.
  4. 4. according to any method in claims 1 to 3, it is characterised in that the method further includes:
    It is that inquiry is bound with called number and corresponding with the third-party server each for each third-party server Two clients;
    The presence that the mark for including each second client is sent to the third-party server obtains request;
    Receive the presence for each second client that the third-party server is replied.
  5. A kind of 5. voice channel method for building up, it is characterised in that applied in the first client, the described method includes:
    Receive dial called number dial instruction after, choose the first media engine, first media engine is from more The media engine for the time delay minimum selected in a media engine;
    The first voice communication request is packaged according to the first agreement using first media engine, first voice leads to The called number is included in words request;
    First voice communication request after encapsulation is sent to transfer server, the first voice communication request and is used to touch Send out transfer server described and inquiring with after the second client in line of called number binding, determining and described the Second media engine of the corresponding third-party server of two clients, according to the second protocol corresponding to second media engine Encapsulate the second voice communication request, and second voice communication request send to the third-party server, described second Voice communication request notifies second client that there are call request, the transfer clothes for triggering the third-party server Business device, which receives second client that the third-party server returns, allows the confirmation signaling of call, notifies first visitor The voice channel between second client is established at family end, and second client is in current the second online client Second client of time delay minimum of networking;
    The notice for being used to establish the voice channel between second client that the transfer server is sent is received, is established With the voice channel between second client.
  6. 6. according to the method described in claim 5, it is characterized in that, it is described selection the first media engine, including:
    Media engine corresponding with each client is obtained, the client is different from first client, and each media draw The signaling for that will be sent according to protocol encapsulation corresponding with the media engine is held up, each media engine is defined for passing Pass audio data packet format during VoP;
    The media engine of time delay minimum is selected from each media engine, the media engine is determined as first media Engine.
  7. 7. the method according to claim 5 or 6, it is characterised in that carry in the notice and draw with second media The information held up, the voice channel between the foundation and second client, including:
    Obtain the audio data packet format that first media engine limits;
    If the VoP that the audio data packet format that first media engine limits is limited with second media engine Form is identical, then VoP is sent to the third-party server, to trigger the third-party server by the voice Data packet is sent to second client, opens the voice channel between first client and second client;
    If the VoP that the audio data packet format that first media engine limits is limited with second media engine Form is different, then sends the VoP to the transfer server, by the transfer server by the voice data Bag is converted into the form that the third-party server can identify, and the transformed VoP is sent to described the Tripartite's server, the VoP is sent to second client, open institute with triggering the third-party server State the voice channel between the first client and second client.
  8. 8. a kind of voice channel establishes device, it is characterised in that applied in transfer server, described device includes:
    Receiving module, is configured as receiving the first voice communication request that the first client is sent, first voice communication please First client described in Seeking Truth using the first media engine of selection according to being obtained after the first protocol encapsulation, first voice Call request includes called number, and first media engine is selected from multiple media engines of first client Time delay minimum media engine;
    First enquiry module, is configured as the second online client of inquiry and called number binding, second visitor Family end is the second client of networking time delay minimum in current the second online client;
    Determining module, is configured to determine that out second client the corresponding 3rd inquired with first enquiry module Second media engine of square server;
    Package module, is configured as the second protocol corresponding to second media engine determined according to the determining module The second voice communication request is encapsulated, includes the mark of second client in second voice communication request, described second Voice communication request, which is used to triggering the third-party server, notifies second client there are call request, receives described the What two clients returned allows the confirmation signaling of call;
    Notification module, is configured as returning in second client for receiving the third-party server feedback described true After recognizing signaling, the voice channel between the first client foundation and second client is notified.
  9. 9. device according to claim 8, it is characterised in that the notification module, is additionally configured to:
    The voice for being used for indicating that first client is established between second client is sent to first client The notice of passage, the information of the second media engine corresponding with the third-party server is carried in the notice.
  10. 10. device according to claim 8, it is characterised in that first enquiry module, including:
    Submodule is inquired about, is configured as each second client and described each second of inquiry and called number binding The presence of client, the presence of second client are provided by server corresponding with second client 's;
    Determination sub-module, is configured as determining from current online second client that the inquiry submodule inquires Go out second client.
  11. 11. according to any device in claim 8 to 10, it is characterised in that described device further includes:
    Second enquiry module, is configured as each third-party server, inquiry and called number binding and with described the Corresponding each second client of tripartite's server;
    Sending module, is configured as sending to the third-party server and includes described in second enquiry module inquires The presence of the mark of each second client obtains request;
    Receiving module, is configured as receiving the presence for each second client that the third-party server is replied.
  12. 12. a kind of voice channel establishes device, it is characterised in that applied in the first client, described device includes:
    Choose module, be configured as receive dial called number dial instruction after, choose the first media engine, described the One media engine is the media engine for the time delay minimum selected from multiple media engines;
    Package module, first media engine for being configured as choosing using the selection module is according to the first agreement to first Voice communication request is packaged, and the called number is included in the first voice communication request;
    Sending module, is configured as first voice communication request after the package module is encapsulated and sends to transfer service Device, first voice communication request be used to triggering the transfer server inquire it is online with called number binding The second client after, the second media engine of third-party server corresponding with second client is determined, according to institute State the second protocol corresponding to the second media engine and encapsulate the second voice communication request, and second voice communication request is sent To with the third-party server, the second voice communication request described second is notified for triggering the third-party server There are call request, the transfer server receives second client that the third-party server returns to be allowed client The confirmation signaling of call, the voice channel for notifying first client to establish between second client, described second Client is the second client of networking time delay minimum in current the second online client;
    Module is established, is configured as receiving the language being used between foundation and second client that the transfer server is sent The notice of sound passage, establishes the voice channel between second client.
  13. 13. device according to claim 12, it is characterised in that the selection module, including:
    First acquisition submodule, is configured as obtaining corresponding with each client media engine, the client and described the One client is different, and each media engine is used for the signaling that will be sent according to protocol encapsulation corresponding with the media engine, Audio data packet format when each media engine is defined for transmitting VoP;
    Submodule is chosen, is configured as selecting time delay minimum from each media engine that first acquisition submodule obtains Media engine, the media engine is determined as first media engine.
  14. 14. the device according to claim 12 or 13, it is characterised in that carried in the notice and second media The information of engine, it is described to establish module, including:
    Second acquisition submodule, is configured as obtaining the audio data packet format that first media engine limits;
    First sending submodule, is configured as the language that first media engine that second acquisition submodule obtains limits When sound data packet format is identical with the audio data packet format that second media engine limits, sent out to the third-party server Sending voice data packet, the VoP is sent to second client, open with triggering the third-party server Voice channel between first client and second client;
    Second sending submodule, is configured as the language that first media engine that second acquisition submodule obtains limits When sound data packet format is different from the audio data packet format that second media engine limits, sent to the transfer server The VoP, the VoP is converted into the third-party server by the transfer server to identify Form, and the transformed VoP is sent to the third-party server, to trigger the third party's service Device sends the VoP to second client, opens between first client and second client Voice channel.
  15. 15. a kind of voice channel establishes system, it is characterised in that the system comprises transfer server and the first client;
    The voice channel that the transfer server is included as described in any in claim 8 to 11 establishes device;
    The voice channel that first client is included as described in any in claim 12 to 14 establishes device.
  16. 16. a kind of voice channel establishes device, it is characterised in that applied in transfer server, described device includes:
    Processor;
    For storing the memory of the processor-executable instruction;
    Wherein, the processor is configured as:
    The first voice communication request of the first client transmission is received, the first voice communication request is first client Using the first media engine of selection according to what is obtained after the first protocol encapsulation, the first voice communication request includes called Number, first media engine are that the media for the time delay minimum selected from multiple media engines of first client draw Hold up;
    The second online client of inquiry and called number binding, second client are current the second online visitor Second client of time delay minimum of networking in the end of family;
    Determine the second media engine of third-party server corresponding with second client;
    The second voice communication request, second voice communication are encapsulated according to the second protocol corresponding to second media engine The mark of second client is included in request, the second voice communication request is led to for triggering the third-party server Know that second client there are call request, receives the confirmation signaling for allowing call that second client returns;
    After the confirmation signaling that second client for receiving the third-party server feedback returns, described in notice First client establishes the voice channel between second client.
  17. 17. a kind of voice channel establishes device, it is characterised in that applied in the first client, described device includes:
    Processor;
    For storing the memory of the processor-executable instruction;
    Wherein, the processor is configured as:
    Receive dial called number dial instruction after, choose the first media engine, first media engine is from more The media engine for the time delay minimum selected in a media engine;
    The first voice communication request is packaged according to the first agreement using first media engine, first voice leads to The called number is included in words request;
    First voice communication request after encapsulation is sent to transfer server, the first voice communication request and is used to touch Send out transfer server described and inquiring with after the second client in line of called number binding, determining and described the Second media engine of the corresponding third-party server of two clients, according to the second protocol corresponding to second media engine Encapsulate the second voice communication request, and second voice communication request send to the third-party server, described second Voice communication request notifies second client that there are call request, the transfer clothes for triggering the third-party server Business device, which receives second client that the third-party server returns, allows the confirmation signaling of call, notifies first visitor The voice channel between second client is established at family end, and second client is in current the second online client Second client of time delay minimum of networking;
    The notice for being used to establish the voice channel between second client that the transfer server is sent is received, is established With the voice channel between second client.
CN201510363777.9A 2015-06-26 2015-06-26 Voice channel method for building up, apparatus and system Active CN105100523B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510363777.9A CN105100523B (en) 2015-06-26 2015-06-26 Voice channel method for building up, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510363777.9A CN105100523B (en) 2015-06-26 2015-06-26 Voice channel method for building up, apparatus and system

Publications (2)

Publication Number Publication Date
CN105100523A CN105100523A (en) 2015-11-25
CN105100523B true CN105100523B (en) 2018-04-27

Family

ID=54580009

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510363777.9A Active CN105100523B (en) 2015-06-26 2015-06-26 Voice channel method for building up, apparatus and system

Country Status (1)

Country Link
CN (1) CN105100523B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108257590B (en) * 2018-01-05 2020-10-02 携程旅游信息技术(上海)有限公司 Voice interaction method and device, electronic equipment and storage medium
CN109450870B (en) * 2018-10-22 2021-10-15 腾讯科技(深圳)有限公司 VOIP service processing method and device, storage medium and electronic device
CN109462705B (en) * 2018-11-30 2020-04-17 广州华多网络科技有限公司 Voice communication method and device based on channel
CN112437150B (en) * 2020-11-19 2023-07-25 维沃移动通信有限公司 File transmission method and device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101222548A (en) * 2007-01-12 2008-07-16 英华达(南京)科技有限公司 VOIP communication system and method
CN103227873A (en) * 2013-05-02 2013-07-31 厦门亿联网络技术股份有限公司 Method for achieving communication of VOIP phones in different local area networks
CN103379234A (en) * 2012-04-28 2013-10-30 深圳市共进电子股份有限公司 Communication method and system of network voice terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102143140A (en) * 2010-01-28 2011-08-03 国基电子(上海)有限公司 Modem and method thereof for supporting communication protocols

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101222548A (en) * 2007-01-12 2008-07-16 英华达(南京)科技有限公司 VOIP communication system and method
CN103379234A (en) * 2012-04-28 2013-10-30 深圳市共进电子股份有限公司 Communication method and system of network voice terminal
CN103227873A (en) * 2013-05-02 2013-07-31 厦门亿联网络技术股份有限公司 Method for achieving communication of VOIP phones in different local area networks

Also Published As

Publication number Publication date
CN105100523A (en) 2015-11-25

Similar Documents

Publication Publication Date Title
US10171678B2 (en) Systems and methods of call-based data communication
CN101507211A (en) Client controlled dynamic call forwarding
CN105100523B (en) Voice channel method for building up, apparatus and system
CN108833585A (en) Information interacting method, device and storage medium
WO2015184924A1 (en) Method for implementing remote assistance between terminals, service assistance server and device
CN105049219B (en) Flow booking method and system, mobile terminal and server
CN106157027A (en) Method of payment, device and system
CN106101456A (en) A kind of method and device of call contact
CN105141880B (en) Call answering method and device
JP5228551B2 (en) Cooperation method between door intercom device and IP mobile phone
CN108965413A (en) Information interacting method, device and storage medium
CN112887194A (en) Interactive method, device, terminal and storage medium for realizing communication of hearing-impaired people
CN104537526A (en) Numerical value transferring method and device and terminal
CN105391624A (en) Notification message transmission method, device and system
CN108848116A (en) call recording method, device and storage medium
CN104917995A (en) Realization method and device of off-line video communication
CN106657533B (en) Call handling method and device
CN107277422A (en) Video call method, apparatus and system
US9042528B2 (en) Data communication
CN107039054A (en) The way of recording and device
CN105847570A (en) Communication method and communication device
CN105516637A (en) Calling method and device
CN105516949A (en) Incoming call diverting method and device
CN104796488A (en) Information push method and device, terminal and server
CN106453316B (en) A kind of audio communication method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant