CN105516123A - Method for communication between VOIP (Voice over Internet Protocol) and telephone network telephone and PCLS - Google Patents

Method for communication between VOIP (Voice over Internet Protocol) and telephone network telephone and PCLS Download PDF

Info

Publication number
CN105516123A
CN105516123A CN201510883129.6A CN201510883129A CN105516123A CN 105516123 A CN105516123 A CN 105516123A CN 201510883129 A CN201510883129 A CN 201510883129A CN 105516123 A CN105516123 A CN 105516123A
Authority
CN
China
Prior art keywords
telephone
voice
data
telephone network
callee
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.)
Granted
Application number
CN201510883129.6A
Other languages
Chinese (zh)
Other versions
CN105516123B (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.)
Guiyang Longmaster Information and Technology Co ltd
Original Assignee
Guiyang Longmaster Information and Technology 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 Guiyang Longmaster Information and Technology Co ltd filed Critical Guiyang Longmaster Information and Technology Co ltd
Priority to CN201510883129.6A priority Critical patent/CN105516123B/en
Publication of CN105516123A publication Critical patent/CN105516123A/en
Application granted granted Critical
Publication of CN105516123B publication Critical patent/CN105516123B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1069Session establishment or de-establishment
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Multimedia (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a method for communication between a VOIP (Voice over Internet Protocol) and a telephone network telephone and a PCLS. The method comprises the steps of receiving a calling request initiated by a calling party through the PCLS, wherein when the calling party is a VOIP subscriber, a called party is a telephone network telephone subscriber, and when the calling party is the telephone network telephone subscriber, the called party is the VOIP subscriber; establishing a data transmission channel used for voice data transmission between the calling party and the called party based on resource information of a PCS after the PCLS receives the calling request, wherein the resource information of the PCS is returned to a PCMS after the voice room server distributes a voice channel to the telephone network telephone subscriber which serves as the calling party or the called party and is sent to the PCLS by the PCMS; and transmitting the voice data between the calling party and the called party through the data transmission channel by the PCLS.

Description

The method of the networking telephone and telephone network telephone communication and the telephone service server that lands
Technical field
The present invention relates to Internet technology, the method for espespecially a kind of networking telephone and telephone network telephone communication and the telephone service server that lands.
Background technology
In recent years along with the development of the Internet, VOIP (VoiceoverInternetProtocol, the networking telephone) popularizes rapidly, and telecommunication voice business reduces gradually.VOIP telephone charges with the obvious advantage, but at present VOIP user can only with the VOIP telex network of same software, user must install corresponding software and could converse, and the object of communication is very restricted.Call can not be realized between VOIP user and telephone net user.
Summary of the invention
In order to solve the problems of the technologies described above, the invention provides a kind of method of networking telephone and telephone network telephone communication and the telephone service server that lands, the call between the networking telephone and telephone network phone can be realized.
In order to reach the object of the invention, the invention provides a kind of method of networking telephone and telephone network telephone communication, comprising:
The telephone service server that lands receives the call request that calling party initiates, and when described calling party is iphone user, callee is then telephone network telephone subscriber; When described calling party is telephone network telephone subscriber, callee is then iphone user;
The described telephone service server that lands is after receiving described call request, resource information according to voice room service device creates the data transmission channel being used for transmitting audio data between calling party and callee, the resource information of described voice room service device is that described voice room service device is returning to channel manage server after distributing voice channel as the telephone network telephone subscriber of calling party or callee, lands telephone service server described in described channel manage server sends to;
The described telephone service server that lands is by described data transmission channel transmitting audio data between calling party and callee.
Further, the resource information of described voice room service device comprises the address of voice room service device, control command port and speech data port;
The described resource information according to voice room service device creates the data transmission channel being used for transmitting audio data between calling party and callee, comprise: described in land telephone service server and set up control link with the control command port of voice room service device and be connected, the operating state of monitoring voice room service device, and set up data link with the speech data port of voice room service device and be connected, monitor the speech data of voice room service device, and foundation provides the data link of the call server of call service to be connected with for telephone network phone, the speech data of monitored call server.
Further, described in land telephone service server by described data transmission channel transmitting audio data between calling party and callee, comprising:
The described telephone service server that lands is after the networking telephone coded data receiving iphone user's transmission, decoding obtains networking telephone raw PCM data, put into the received frame list of networking telephone voice transfer protocol, and take out resampling can go out the networking telephone raw PCM data of a frame call net phone raw PCM data according to telephone network phone sample rate, according to telephone network phone sample rate, resampling is carried out to the networking telephone raw PCM data taken out, obtain telephone network phone raw PCM data, by the telephone network phone raw PCM data that obtains through telephone network telephonic voice transmission protocol code, obtain telephone network phone coded data, put into the transmission frame queue of telephone network telephonic voice transmission agreement.
Further, described in land telephone service server by described data transmission channel transmitting audio data between calling party and callee, comprising:
The described telephone service server that lands is after the telephone network phone coded data receiving telephone network telephone subscriber transmission, decoding obtains telephone network phone raw PCM data, put into the received frame list of telephone network telephonic voice transmission agreement, when judge according to the networking telephone sample rate data volume in list can resampling go out a frame network phone raw PCM data time, telephone network phone raw PCM data is taken out from the received frame list of described telephone network telephonic voice transmission agreement, according to networking telephone sample rate, resampling is carried out to the telephone network phone raw PCM data taken out, obtain networking telephone raw PCM data, the networking telephone raw PCM data obtained is encoded through networking telephone voice transfer protocol, obtain networking telephone coded data, stored in the transmission frame queue of networking telephone voice transfer protocol.
Further, the resource information of described voice room service device is iphone user described calling party, when callee is telephone network telephone subscriber, the telephone service server that lands described in being obtains from the call request that described channel manage server sends, described channel manage server is after calling party makes a call, for callee distributes Virtual User ID, and ask voice room service device to distribute voice channel for callee, the resource information that voice room service device returns after distributing voice channel for callee is carried in call request and described in sending to, lands telephone service server, or,
The resource information of described voice room service device is telephone network telephone subscriber described calling party, when callee is iphone user, the telephone service server that lands described in being obtains from the return messages that described channel manage server sends, the described telephone service server that lands is after receiving described call request, send to described channel manage server and join request, voice channel is distributed for calling party to make described channel manage server request voice room service device, and the resource information that voice room service device returns after distributing voice channel for callee is carried in return messages send to described in land telephone service server.
Further, one lands telephone service server, comprising: receiving element, Path Setup unit and data transmission unit, wherein:
Described receiving element, for receiving the call request that calling party initiates, when described calling party is iphone user, callee is then telephone network telephone subscriber; When described calling party is telephone network telephone subscriber, callee is then iphone user;
Described Path Setup unit, for after described message reception units receives described call request, resource information according to voice room service device creates the data transmission channel being used for transmitting audio data between calling party and callee, the resource information of described voice room service device is that described voice room service device is returning to channel manage server after distributing voice channel as the telephone network telephone subscriber of calling party or callee, lands telephone service server described in described channel manage server sends to;
Described data transmission unit, for passing through described data transmission channel transmitting audio data between calling party and callee.
Further, the resource information of described voice room service device comprises the address of voice room service device, control command port and speech data port;
Described Path Setup unit creates the data transmission channel being used for transmitting audio data between calling party and callee according to the resource information of voice room service device, comprise: set up control link with the control command port of voice room service device and be connected, the operating state of monitoring voice room service device, and set up data link with the speech data port of voice room service device and be connected, monitor the speech data of voice room service device, and foundation provides the data link of the call server of call service to be connected with for telephone network phone, the speech data of monitored call server.
Further, described data transmission unit, by described data transmission channel transmitting audio data between calling party and callee, comprising:
After the networking telephone coded data receiving iphone user's transmission, decoding obtains networking telephone raw PCM data, put into the received frame list of networking telephone voice transfer protocol, and take out resampling can go out the networking telephone raw PCM data of a frame call net phone raw PCM data according to telephone network phone sample rate, according to telephone network phone sample rate, resampling is carried out to the networking telephone raw PCM data taken out, obtain telephone network phone raw PCM data, by the telephone network phone raw PCM data that obtains through telephone network telephonic voice transmission protocol code, obtain telephone network phone coded data, put into the transmission frame queue of telephone network telephonic voice transmission agreement.
Further, described data transmission unit, by described data transmission channel transmitting audio data between calling party and callee, comprising:
After the telephone network phone coded data receiving telephone network telephone subscriber transmission, decoding obtains telephone network phone raw PCM data, put into the received frame list of telephone network telephonic voice transmission agreement, when judge according to the networking telephone sample rate data volume in list can resampling go out a frame network phone raw PCM data time, telephone network phone raw PCM data is taken out from the received frame list of described telephone network telephonic voice transmission agreement, according to networking telephone sample rate, resampling is carried out to the telephone network phone raw PCM data taken out, obtain networking telephone raw PCM data, the networking telephone raw PCM data obtained is encoded through networking telephone voice transfer protocol, obtain networking telephone coded data, stored in the transmission frame queue of networking telephone voice transfer protocol.
Further, the resource information of described voice room service device is iphone user described calling party, when callee is telephone network telephone subscriber, that described Path Setup unit obtains from the call request that described channel manage server sends, described channel manage server is after calling party makes a call, for callee distributes Virtual User ID, and ask voice room service device to distribute voice channel for callee, the resource information that voice room service device returns after distributing voice channel for callee is carried in call request and sends to described receiving element, or,
The resource information of described voice room service device is telephone network telephone subscriber described calling party, when callee is iphone user, that described Path Setup unit obtains from the return messages that described channel manage server sends, described receiving element is after receiving described call request, send to described channel manage server and join request, voice channel is distributed for calling party to make described channel manage server request voice room service device, and the resource information that voice room service device returns after distributing voice channel for callee is carried in return messages sends to described receiving element.
Compared with prior art, the present invention includes land telephone service server receive calling party initiate call request, when calling party is iphone user, callee is then telephone network telephone subscriber; When calling party is telephone network telephone subscriber, callee is then iphone user; Land telephone service server after receiving call request, resource information according to voice room service device creates the data transmission channel being used for transmitting audio data between calling party and callee, the resource information of voice room service device is that voice room service device is returning to channel manage server after distributing voice channel as the telephone network telephone subscriber of calling party or callee, is sent to land telephone service server by channel manage server; Land telephone service server by data transmission channel transmitting audio data between calling party and callee.Present invention achieves the call between the networking telephone and telephone network phone, can be call out multiple mobile phone by chatroom to carry out many people chat, in chatroom, existing iphone user also has mobile phone user.Mobile phone user also can active call iphone user add in Internet chatroom.
Other features and advantages of the present invention will be set forth in the following description, and, partly become apparent from specification, or understand by implementing the present invention.Object of the present invention and other advantages realize by structure specifically noted in specification, claims and accompanying drawing and obtain.
Accompanying drawing explanation
Accompanying drawing is used to provide the further understanding to technical solution of the present invention, and forms a part for specification, is used from and explains technical scheme of the present invention, do not form the restriction to technical solution of the present invention with the embodiment one of the application.
Fig. 1 is the Organization Chart of the system of the networking telephone of the present invention and telephone network telephone communication;
Fig. 2 is the flow chart of the method for the networking telephone of the present invention and telephone network telephone communication;
Fig. 3 is the flow chart of the Internet telephone calls telephone network phone of the embodiment of the present invention 1;
Fig. 4 is the flow chart of the telephone network phone kill-call of the embodiment of the present invention 1;
Fig. 5 is the flow chart of the telephone network call networking telephone of the embodiment of the present invention 2;
Fig. 6 is the flow chart that the networking telephone of the embodiment of the present invention 2 hangs up passage;
Fig. 7 is the Organization Chart landing telephone service server of the present invention.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly understand, hereinafter will be described in detail to embodiments of the invention by reference to the accompanying drawings.It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combination in any mutually.
Can perform in the computer system of such as one group of computer executable instructions in the step shown in the flow chart of accompanying drawing.Further, although show logical order in flow charts, in some cases, can be different from the step shown or described by order execution herein.
As shown in Figure 1, in the present invention, the system of the networking telephone and telephone network telephone communication comprises: channel manage server, voice room service device, land telephone service server and call server, wherein:
Channel manage server (PCMS), is in charge of voice room service device (PCS), lands telephone service server (PCLS), user profile and room information etc.
Voice room service device (PCS), as audio access gateway, is responsible for by iphone user by TCP access service, and provides channel resource (Channel) for access user.
Land telephone service server (PCLS), with PCMS communication, the process networking telephone, by PCMS called telephone net call request, sets up data transmission channel; PCLS also processes the call network phone that telephone network phone initiates and initiatively adds the request of chatroom.
Call server, with PCLS server interaction, changes the control signal that continues, and sets up to continue to be connected with telephone network.
As shown in Figure 2, the method for the networking telephone of the present invention and telephone network telephone communication, comprising:
Step 201: the telephone service server that lands receives the call request that calling party initiates, and when calling party is iphone user, callee is then telephone network telephone subscriber; When calling party is telephone network telephone subscriber, callee is then iphone user;
Be iphone user calling party, when callee is telephone network telephone subscriber, the iphone user of calling party makes a call to PCMS, PCMS and PCS carries out mutual, for the telephone network telephone subscriber of callee distributes voice channel, after completing the distribution of the voice channel of the telephone network telephone subscriber of callee, PCMS sends call request to PCLS, carries the resource information of PCS in request.
Be telephone network telephone subscriber calling party, when callee is iphone user, the telephone network telephone subscriber of calling party makes a call to call server, and call server sends call request to PCLS.PCLS sends to PCMS and joins request, PCMS and PCS carries out mutual, for the telephone network telephone subscriber of calling party distributes voice channel, after completing the distribution of the voice channel of the telephone network telephone subscriber of calling party, the resource information of PCS is sent to PCLS by the return messages joined request by PCMS.
Step 202: land telephone service server after receiving call request, resource information according to voice room service device creates the data transmission channel being used for transmitting audio data between calling party and callee, wherein, the resource information of sound room service device is that voice room service device is returning to channel manage server after distributing voice channel as the telephone network telephone subscriber of calling party or callee, is sent to land telephone service server by channel manage server;
The resource information of voice room service device comprises address, the control command port and speech data port etc. of voice room service device.
Be iphone user calling party, when callee is telephone network telephone subscriber, the resource information of PCS is sent to PCLS by call request by PCMS.
Be telephone network telephone subscriber calling party, when callee is iphone user, the resource information of PCS is sent to PCLS by the return messages joined request sent PCLS by PCMS.
PCLS creates the data transmission channel being used for transmitting audio data between calling party and callee according to the resource information of voice room service device, comprise: the control command port of PCLS and PCS is set up control link and connected, the operating state of monitoring PCS, and set up data link with the speech data port of PCS and be connected, monitor the speech data of PCS, and foundation provides the data link of the call server of call service to be connected with for telephone network phone, the speech data of monitored call server.
Step 203: land telephone service server by data transmission channel transmitting audio data between calling party and callee.
Telephone service server land in the present invention by data transmission channel transmitting audio data between calling party and callee, comprising:
Land telephone service server after the networking telephone coded data receiving iphone user's transmission, decoding obtains networking telephone raw PCM data, put into the received frame list of networking telephone voice transfer protocol, and take out resampling can go out the networking telephone raw PCM data of a frame call net phone raw PCM data according to telephone network phone sample rate, according to telephone network phone sample rate, resampling is carried out to the networking telephone raw PCM data taken out, obtain telephone network phone raw PCM data, by the telephone network phone raw PCM data that obtains through telephone network telephonic voice transmission protocol code, obtain telephone network phone coded data, put into the transmission frame queue of telephone network telephonic voice transmission agreement.
Land telephone service server after the telephone network phone coded data receiving telephone network telephone subscriber transmission, decoding obtains telephone network phone raw PCM data, put into the received frame list of telephone network telephonic voice transmission agreement, when judge according to the networking telephone sample rate data volume in list can resampling go out a frame network phone raw PCM data time, telephone network phone raw PCM data is taken out from the received frame list of telephone network telephonic voice transmission agreement, according to networking telephone sample rate, resampling is carried out to the telephone network phone raw PCM data taken out, obtain networking telephone raw PCM data, the networking telephone raw PCM data obtained is encoded through networking telephone voice transfer protocol, obtain networking telephone coded data, stored in the transmission frame queue of networking telephone voice transfer protocol.
PCM data are original speech sample data.
Adopt SILK with networking telephone voice transfer protocol below, telephone network telephonic voice transmission agreement adopts G729 to be that example is described.Although speech data is all that iphone user uses non-standard Real-time Transport Protocol based on Real-time Transport Protocol transmission, telephone network phone uses the Real-time Transport Protocol of standard.
SILK agreement:
Every frame duration: 40ms
Sample rate: 16k
The byte number that 40ms is corresponding: 40ms*16K*2=1280byte
G729 agreement:
Every frame duration: 20ms
Sample rate: 8k
The byte number that 20ms is corresponding: 20ms*8k*2=320byte
(1) silk->g729: obtain SILK mono-frame data by non-standard Real-time Transport Protocol, the PCM data of 1280byte are obtained after decoding, put into the list of silk received frame, then take out 640byte, utilize resampling technique, by 16k sample rate conversion for being 8k, obtain the PCM data of 320byte, finally the data of 320byte are encoded through G729, obtain the G729 data of 10 bytes, put into the list of g729 transmission frame.In order to improve efficiency of transmission, being converted to 2 frame G729 data at every turn and sending a RTP packet.
G729->silk: obtain G729 mono-frame data by standard RTP protocol, the PCM data of 320byte are obtained after decoding, put into the list of g729 received frame, when there being 640byte data in list, again by 8k resampling to 16k, obtain the PCM data of 1280byte, then 1280byte is obtained after silk coding the data of 100byte, stored in the list of silk transmission frame.
There are data inquiring in the list of silk transmission frame and the list of g729 transmission frame, namely send to object user by corresponding agreement.
Further, the resource information of PCS is iphone user calling party, when callee is telephone network telephone subscriber, that PCLS obtains from the call request that PCMS sends, PCMS is after calling party makes a call, for callee distributes Virtual User ID, and ask PCS to be that callee distributes voice channel, the resource information returned after distributing voice channel for callee by PCS is carried in call request and sends to PCLS; Or,
The resource information of PCS is telephone network telephone subscriber calling party, when callee is iphone user, that PCLS obtains from the return messages that PCMS sends, PCLS is after receiving call request, send to PCMS and join request, to make PCMS ask PCS to distribute voice channel for calling party, and the resource information returned after distributing voice channel for callee by PCS is carried in return messages and sends to PCLS.
Embodiment 1:
Iphone user in the present invention can be the iphone user in Internet chatroom, also can be the software terminal user with function of network phone.Add chatroom for the iphone user in Internet chatroom as calling telephone network telephone subscriber below and carry out voice communication, method of the present invention is described.
In the present embodiment, first iphone user needs to send request and sets up chatroom to PCMS request, and PCMS and PCS completes the foundation of chatroom alternately, and processes the speaking request of the user in chatroom, PCS by voice broadcast service to all users in chatroom.
PCLS receives the call request of the iphone user in chatroom, and sets up call proceeding with telephone network telephone subscriber, for each telephone network telephone subscriber sets up data transmission channel.Due to the coding of the speech data of the networking telephone and host-host protocol and telephone network phone inconsistent, so PCLS has needed the conversion work of speech data.
The call server of telephone network phone side can utilize hardware board to set up data channel, realizes user's access, in order to reduce call tariff, PSTN can be selected to access mobile communication network.Hardware board processing VOIP continues and the conversion of mobile network's signalling system No.7.
Create chatroom to iphone user below, the process that other network users add chatroom is described.
Iphone user (house-owner) sends and creates chatroom request to PCMS, PCMS preservation user profile and room information etc.
PCMS asks PCS to set up chatroom and voice channel resource, and PCS returns relevant information and returns PCS chatroom information to house-owner to PCMS, PCMS.House-owner adds this room.
Another iphone user (chat room members) sends request to PCMS, requires to add this room.This user is added the chatroom of PCS by PCMS.
Chat room members send speaking request to PCMS, PCMS ask PCS for this reason user in added chatroom, distribute voice channel resource, and return to chat room members.Chat room members can carry out voice call in chatroom.
PCS receives the speech data of the member in chatroom, and the speech data of users all in this chatroom is carried out stereo process, is then distributed to other users in chatroom.
As shown in Figure 3, the method for the Internet telephone calls telephone network phone of the present invention, comprising:
Step 301: iphone user initiates a calling, will enter chatroom request and send to PCMS, invites telephone network telephone subscriber to enter chatroom, is entering the telephone number of the telephone network phone carrying callee in the request of chatroom;
In the present embodiment, the iphone user of calling party can be the house-owner of chatroom.
Step 302:PCMS is that the telephone network telephone subscriber of callee distributes Virtual User ID, and upgrades the personal information of the chatroom at calling party place;
What step 303:PCMS sent that request adds chatroom joins request to PCS;
Step 304:PCS is that the telephone network telephone subscriber of callee sets up voice channel, returns resource information by adding success message to PCMS;
Resource information comprises: the speech data port of the IP address of passage ID, PCS, the control command port of PCS and PCS.
Step 305:PCMS, after receiving and adding success message, sends request floor state transform request to PCS;
Step 306:PCS upgrades the state of voice channel of user, and returns and be updated successfully message;
PCMS, after the telephone network telephone subscriber user that PCS is callee distributes voice channel, will revise the state of this user for making a speech.
Step 307:PCMS, after user state information updating, broadcasts all users of floor status to room of this user;
Step 308:PCMS sends call request to PCLS, carries the resource information of PCS in call request;
Step 309:PCLS is after receiving call request, according to the resource information of PCS, create a data transmission channel for transmitting audio data between calling party and callee, and distribute to speech processes thread, create call information simultaneously, and overtime timer is set
Overtime timer such as can be set to 1 minute.
Call request comprises user ID, the control command port of IP, PCS of PCS and the speech data port etc. of PCS.PCLS sets up a TCP with the control command port of PCS to be connected, main transmission heartbeat commands, whether monitoring PCS normally works, PCLS distributes two idle ports simultaneously, set up 2 UDP to connect, the speech data of a monitored call server, the speech data of a monitoring PCS, when receiving the speech data of call server, issue PCS after encoded conversion to speech data port.
Step 310:PCLS sends invitation message to call server;
Such as, PCLS can adopt Session Initiation Protocol to send INVITE to call server.
Step 311:PCLS completes the call proceeding between calling party and callee;
Call server, after receiving invitation message, responds conditional code 100,180, callee's the tinkle of bells.PCLS call back function also notifies PCMS current state.Call server responds conditional code 200, and callee answers.PCLS speech data can be conversed.
Step 312:PCLS is by data transmission channel transmitting audio data between calling party and callee.
As shown in Figure 4, the flow process of the telephone network telephone subscriber kill-call in the present embodiment, comprising:
The hang-up request that step 401:PCLS receipt of call server sends;
Step 402:PCLS call back function, destroys data transmission channel;
Step 403:PCLS notifies PCMS current state;
Step 404:PCMS sends the request of removing to PCS, and voice channel is removed in request;
After step 405:PCS removes voice channel, return to PCMS and remove successful response message;
Step 406:PCMS is broadcast to all users in room after receiving the removing success response message of PCS transmission;
Step 407: the user in room removes the user profile of telephone network phone;
Step 408:PCLS removes caller party information.
Embodiment 2:
Carry out voice communication for telephone network telephone subscriber as the telephone network telephone subscriber in calling Internet chatroom below, method of the present invention is described.
As shown in Figure 5, the method for the telephone network call networking telephone of the present invention, comprising:
Step 501: telephone network phone obtains called number, dialing called number, call establishment server;
The called number that telephone network phone dials can be the number of PSTN network.
Step 502: call server playing alert tones, requires that telephone network telephone subscriber inputs chatroom ID;
RemindChannel_state:
Remind_state_input_id inputs chatroom ID to be terminated with # key
Remind_state_no_id chatroom does not exist
Remind_state_join enters chatroom
Remind_state_over terminates
Step 503: call server, after telephone network telephone subscriber inputs chatroom ID, sends call request to PCLS;
Need PCLS to call server registration or the configuration file increasing PCLS address at call server.
Step 504:PCLS responds 100 and 180 ALERTING messages to call server, create call information, and to arrange overtime timer is 1 minute simultaneously;
Here preserve call information, when there being multiple calling, each calling is to there being oneself call information.When call state changes time, PCLS is that needing to know corresponding is which calling there occurs change.Simultaneously after call setup, either party needs drop calls, and PCLS needs to inquire to hang up which calling link according to calling ID.
Step 505:PCLS sends and joins request message to PCMS;
Step 506:PCMS checks whether chatroom ID exists;
What step 507:PCMS sent that request adds chatroom joins request to PCS;
Step 508:PCS is that the telephone network telephone subscriber of callee sets up voice channel, returns resource information by adding success message to PCMS;
Resource information comprises: the speech data port of the IP address of passage ID, PCS, the control command port of PCS and PCS.
Step 509:PCMS, after receiving and adding success message, sends request floor state transform request to PCS;
Step 510:PCS upgrades the state of voice channel of user, and returns and be updated successfully message;
PCMS, after the telephone network telephone subscriber user that PCS is callee distributes voice channel, will revise the state of this user for making a speech.
Step 511:PCMS, after user state information updating, broadcasts all users of floor status to room of this user;
Step 512:PCMS returns the resource information of PCS to PCLS;
Step 513:PCLS receives the response message that PCMS returns, and the resource information according to PCS creates voice transfer passage, then responding call server 200OK message;
Step 514: call server sends ACK message to PCLS, PCLS sends call state to PCMS and changes message;
Call server and PCLS need to arrange timeout clock, if calling time-out sends BYE message to telephone network telephone subscriber.
Step 515:PCLS is by data transmission channel transmitting audio data between calling party and callee.
As shown in Figure 6, the flow process of the present embodiment terminal network telephone subscriber kill-call, comprising:
Step 601: iphone user sends end call request to PCMS;
Step 602:PCMS sends hang-up request to PCLS, and PCLS receives the hang-up request (LGS_PCLS_STOP_RQ) that PCMS sends;
Step 603:PCLS sends BYE order to call server;
Step 604: the voice transfer passage of call server release telephone network phone, and return 200OK;
Step 605:PCLS call back function, destroys voice transfer channel information, and notifies PCMS current state;
Step 606:PCMS sends the request of removing to PCS, and voice channel resource is removed in request;
Step 607:PCS returns removing success message to PCMS;
Step 608:PCMS receives the removing success message of PCS, is broadcast to all subscription clients in this room;
Step 609: client removes this user profile.
Step 610:PCLS removes caller party information.
As shown in Figure 7, present invention also offers one and land telephone service server, comprising: receiving element, Path Setup unit and data transmission unit, wherein:
Described receiving element, for receiving the call request that calling party initiates, when described calling party is iphone user, callee is then telephone network telephone subscriber; When described calling party is telephone network telephone subscriber, callee is then iphone user;
Described Path Setup unit, for after described message reception units receives described call request, resource information according to voice room service device creates the data transmission channel being used for transmitting audio data between calling party and callee, the resource information of described voice room service device is that described voice room service device is returning to channel manage server after distributing voice channel as the telephone network telephone subscriber of calling party or callee, lands telephone service server described in described channel manage server sends to;
Described data transmission unit, for passing through described data transmission channel transmitting audio data between calling party and callee.
Further, the resource information of described voice room service device comprises the address of voice room service device, control command port and speech data port;
Described Path Setup unit creates the data transmission channel being used for transmitting audio data between calling party and callee according to the resource information of voice room service device, comprise: set up control link with the control command port of voice room service device and be connected, the operating state of monitoring voice room service device, and set up data link with the speech data port of voice room service device and be connected, monitor the speech data of voice room service device, and foundation provides the data link of the call server of call service to be connected with for telephone network phone, the speech data of monitored call server.
Further, described data transmission unit, by described data transmission channel transmitting audio data between calling party and callee, comprising:
After the networking telephone coded data receiving iphone user's transmission, decoding obtains networking telephone raw PCM data, put into the received frame list of networking telephone voice transfer protocol, and take out resampling can go out the networking telephone raw PCM data of a frame call net phone raw PCM data according to telephone network phone sample rate, according to telephone network phone sample rate, resampling is carried out to the networking telephone raw PCM data taken out, obtain telephone network phone raw PCM data, by the telephone network phone raw PCM data that obtains through telephone network telephonic voice transmission protocol code, obtain telephone network phone coded data, put into the transmission frame queue of telephone network telephonic voice transmission agreement.
Further, described data transmission unit, by described data transmission channel transmitting audio data between calling party and callee, comprising:
After the telephone network phone coded data receiving telephone network telephone subscriber transmission, decoding obtains telephone network phone raw PCM data, put into the received frame list of telephone network telephonic voice transmission agreement, when judge according to the networking telephone sample rate data volume in list can resampling go out a frame network phone raw PCM data time, telephone network phone raw PCM data is taken out from the received frame list of described telephone network telephonic voice transmission agreement, according to networking telephone sample rate, resampling is carried out to the telephone network phone raw PCM data taken out, obtain networking telephone raw PCM data, the networking telephone raw PCM data obtained is encoded through networking telephone voice transfer protocol, obtain networking telephone coded data, stored in the transmission frame queue of networking telephone voice transfer protocol.
Further, the resource information of described voice room service device is iphone user described calling party, when callee is telephone network telephone subscriber, that described Path Setup unit obtains from the call request that described channel manage server sends, described channel manage server is after calling party makes a call, for callee distributes Virtual User ID, and ask voice room service device to distribute voice channel for callee, the resource information that voice room service device returns after distributing voice channel for callee is carried in call request and sends to described receiving element, or,
The resource information of described voice room service device is telephone network telephone subscriber described calling party, when callee is iphone user, that described Path Setup unit obtains from the return messages that described channel manage server sends, described receiving element is after receiving described call request, send to described channel manage server and join request, voice channel is distributed for calling party to make described channel manage server request voice room service device, and the resource information that voice room service device returns after distributing voice channel for callee is carried in return messages sends to described receiving element.
Although the execution mode disclosed by the present invention is as above, the execution mode that described content only adopts for ease of understanding the present invention, and be not used to limit the present invention.Those of skill in the art belonging to any the present invention; under the prerequisite not departing from the spirit and scope disclosed by the present invention; any amendment and change can be carried out in the form implemented and details; but scope of patent protection of the present invention, the scope that still must define with appending claims is as the criterion.

Claims (10)

1. a method for the networking telephone and telephone network telephone communication, is characterized in that, comprising:
The telephone service server that lands receives the call request that calling party initiates, and when described calling party is iphone user, callee is then telephone network telephone subscriber; When described calling party is telephone network telephone subscriber, callee is then iphone user;
The described telephone service server that lands is after receiving described call request, resource information according to voice room service device creates the data transmission channel being used for transmitting audio data between calling party and callee, the resource information of described voice room service device is that described voice room service device is returning to channel manage server after distributing voice channel as the telephone network telephone subscriber of calling party or callee, lands telephone service server described in described channel manage server sends to;
The described telephone service server that lands is by described data transmission channel transmitting audio data between calling party and callee.
2. method according to claim 1, is characterized in that:
The resource information of described voice room service device comprises the address of voice room service device, control command port and speech data port;
The described resource information according to voice room service device creates the data transmission channel being used for transmitting audio data between calling party and callee, comprise: described in land telephone service server and set up control link with the control command port of voice room service device and be connected, the operating state of monitoring voice room service device, and set up data link with the speech data port of voice room service device and be connected, monitor the speech data of voice room service device, and foundation provides the data link of the call server of call service to be connected with for telephone network phone, the speech data of monitored call server.
3. method according to claim 1 and 2, is characterized in that, described in land telephone service server by described data transmission channel transmitting audio data between calling party and callee, comprising:
The described telephone service server that lands is after the networking telephone coded data receiving iphone user's transmission, decoding obtains networking telephone raw PCM data, put into the received frame list of networking telephone voice transfer protocol, and take out resampling can go out the networking telephone raw PCM data of a frame call net phone raw PCM data according to telephone network phone sample rate, according to telephone network phone sample rate, resampling is carried out to the networking telephone raw PCM data taken out, obtain telephone network phone raw PCM data, by the telephone network phone raw PCM data that obtains through telephone network telephonic voice transmission protocol code, obtain telephone network phone coded data, put into the transmission frame queue of telephone network telephonic voice transmission agreement.
4. method according to claim 1 and 2, is characterized in that, described in land telephone service server by described data transmission channel transmitting audio data between calling party and callee, comprising:
The described telephone service server that lands is after the telephone network phone coded data receiving telephone network telephone subscriber transmission, decoding obtains telephone network phone raw PCM data, put into the received frame list of telephone network telephonic voice transmission agreement, when judge according to the networking telephone sample rate data volume in list can resampling go out a frame network phone raw PCM data time, telephone network phone raw PCM data is taken out from the received frame list of described telephone network telephonic voice transmission agreement, according to networking telephone sample rate, resampling is carried out to the telephone network phone raw PCM data taken out, obtain networking telephone raw PCM data, the networking telephone raw PCM data obtained is encoded through networking telephone voice transfer protocol, obtain networking telephone coded data, stored in the transmission frame queue of networking telephone voice transfer protocol.
5. method according to claim 1 and 2, is characterized in that:
The resource information of described voice room service device is iphone user described calling party, when callee is telephone network telephone subscriber, the telephone service server that lands described in being obtains from the call request that described channel manage server sends, described channel manage server is after calling party makes a call, for callee distributes Virtual User ID, and ask voice room service device to distribute voice channel for callee, the resource information that voice room service device returns after distributing voice channel for callee is carried in call request and described in sending to, lands telephone service server, or,
The resource information of described voice room service device is telephone network telephone subscriber described calling party, when callee is iphone user, the telephone service server that lands described in being obtains from the return messages that described channel manage server sends, the described telephone service server that lands is after receiving described call request, send to described channel manage server and join request, voice channel is distributed for calling party to make described channel manage server request voice room service device, and the resource information that voice room service device returns after distributing voice channel for callee is carried in return messages send to described in land telephone service server.
6. land a telephone service server, it is characterized in that, comprising: receiving element, Path Setup unit and data transmission unit, wherein:
Described receiving element, for receiving the call request that calling party initiates, when described calling party is iphone user, callee is then telephone network telephone subscriber; When described calling party is telephone network telephone subscriber, callee is then iphone user;
Described Path Setup unit, for after described message reception units receives described call request, resource information according to voice room service device creates the data transmission channel being used for transmitting audio data between calling party and callee, the resource information of described voice room service device is that described voice room service device is returning to channel manage server after distributing voice channel as the telephone network telephone subscriber of calling party or callee, lands telephone service server described in described channel manage server sends to;
Described data transmission unit, for passing through described data transmission channel transmitting audio data between calling party and callee.
7. the telephone service server that lands according to claim 6, is characterized in that:
The resource information of described voice room service device comprises the address of voice room service device, control command port and speech data port;
Described Path Setup unit creates the data transmission channel being used for transmitting audio data between calling party and callee according to the resource information of voice room service device, comprise: set up control link with the control command port of voice room service device and be connected, the operating state of monitoring voice room service device, and set up data link with the speech data port of voice room service device and be connected, monitor the speech data of voice room service device, and foundation provides the data link of the call server of call service to be connected with for telephone network phone, the speech data of monitored call server.
8. according to claim 6 or 7, land telephone service server, it is characterized in that, described data transmission unit, by described data transmission channel transmitting audio data between calling party and callee, comprising:
After the networking telephone coded data receiving iphone user's transmission, decoding obtains networking telephone raw PCM data, put into the received frame list of networking telephone voice transfer protocol, and take out resampling can go out the networking telephone raw PCM data of a frame call net phone raw PCM data according to telephone network phone sample rate, according to telephone network phone sample rate, resampling is carried out to the networking telephone raw PCM data taken out, obtain telephone network phone raw PCM data, by the telephone network phone raw PCM data that obtains through telephone network telephonic voice transmission protocol code, obtain telephone network phone coded data, put into the transmission frame queue of telephone network telephonic voice transmission agreement.
9. according to claim 6 or 7, land telephone service server, it is characterized in that, described data transmission unit, by described data transmission channel transmitting audio data between calling party and callee, comprising:
After the telephone network phone coded data receiving telephone network telephone subscriber transmission, decoding obtains telephone network phone raw PCM data, put into the received frame list of telephone network telephonic voice transmission agreement, when judge according to the networking telephone sample rate data volume in list can resampling go out a frame network phone raw PCM data time, telephone network phone raw PCM data is taken out from the received frame list of described telephone network telephonic voice transmission agreement, according to networking telephone sample rate, resampling is carried out to the telephone network phone raw PCM data taken out, obtain networking telephone raw PCM data, the networking telephone raw PCM data obtained is encoded through networking telephone voice transfer protocol, obtain networking telephone coded data, stored in the transmission frame queue of networking telephone voice transfer protocol.
10. according to claim 6 or 7, land telephone service server, it is characterized in that:
The resource information of described voice room service device is iphone user described calling party, when callee is telephone network telephone subscriber, that described Path Setup unit obtains from the call request that described channel manage server sends, described channel manage server is after calling party makes a call, for callee distributes Virtual User ID, and ask voice room service device to distribute voice channel for callee, the resource information that voice room service device returns after distributing voice channel for callee is carried in call request and sends to described receiving element; Or,
The resource information of described voice room service device is telephone network telephone subscriber described calling party, when callee is iphone user, that described Path Setup unit obtains from the return messages that described channel manage server sends, described receiving element is after receiving described call request, send to described channel manage server and join request, voice channel is distributed for calling party to make described channel manage server request voice room service device, and the resource information that voice room service device returns after distributing voice channel for callee is carried in return messages sends to described receiving element.
CN201510883129.6A 2015-12-07 2015-12-07 The method and landing telephone service server of the networking telephone and telephone network telephone communication Active CN105516123B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510883129.6A CN105516123B (en) 2015-12-07 2015-12-07 The method and landing telephone service server of the networking telephone and telephone network telephone communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510883129.6A CN105516123B (en) 2015-12-07 2015-12-07 The method and landing telephone service server of the networking telephone and telephone network telephone communication

Publications (2)

Publication Number Publication Date
CN105516123A true CN105516123A (en) 2016-04-20
CN105516123B CN105516123B (en) 2019-10-25

Family

ID=55723760

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510883129.6A Active CN105516123B (en) 2015-12-07 2015-12-07 The method and landing telephone service server of the networking telephone and telephone network telephone communication

Country Status (1)

Country Link
CN (1) CN105516123B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117560358A (en) * 2023-11-30 2024-02-13 北京流金岁月科技有限公司 Method, device and system for universal live broadcast voice intercom

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1411245A (en) * 2001-09-29 2003-04-16 华为技术有限公司 Identification and charging method in ONLY: one number link you
CN1433209A (en) * 2003-02-26 2003-07-30 北京艾尼通科技有限公司 Access method of fixed phone/mobile phone/IP phone to IP video conference system
CN1571464A (en) * 2003-07-17 2005-01-26 联想(北京)有限公司 A seamless communication method for IP telephone and telephone network
US7257217B1 (en) * 1999-12-27 2007-08-14 Nortel Networks Limited Call features for automatic call distribution system
CN103580878A (en) * 2012-07-19 2014-02-12 鸿富锦精密工业(深圳)有限公司 Multi-party conference call establishing system and multi-party conference call establishing method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7257217B1 (en) * 1999-12-27 2007-08-14 Nortel Networks Limited Call features for automatic call distribution system
US20110096918A1 (en) * 1999-12-27 2011-04-28 Lee Michael C G Call features for automatic call distribution system
CN1411245A (en) * 2001-09-29 2003-04-16 华为技术有限公司 Identification and charging method in ONLY: one number link you
CN1433209A (en) * 2003-02-26 2003-07-30 北京艾尼通科技有限公司 Access method of fixed phone/mobile phone/IP phone to IP video conference system
CN1571464A (en) * 2003-07-17 2005-01-26 联想(北京)有限公司 A seamless communication method for IP telephone and telephone network
CN103580878A (en) * 2012-07-19 2014-02-12 鸿富锦精密工业(深圳)有限公司 Multi-party conference call establishing system and multi-party conference call establishing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117560358A (en) * 2023-11-30 2024-02-13 北京流金岁月科技有限公司 Method, device and system for universal live broadcast voice intercom

Also Published As

Publication number Publication date
CN105516123B (en) 2019-10-25

Similar Documents

Publication Publication Date Title
CN102082884B (en) Audio/video cooperation method and system based on 3G
JP5059004B2 (en) Method for associating a telephone call with a dialog based on a computer protocol such as SIP and a computer-readable recording medium
WO2008116408A1 (en) System, equipment and method for implementing special calling services
WO2013143310A1 (en) Call processing method, call control device, automatic call distribution device and agent terminal
CN109802913B (en) Fusion conference implementation method and device, electronic equipment and readable storage medium
CN101895569A (en) Implementation method of video browsing, IMS video monitoring system and front monitoring front-end
CN101909192A (en) Television terminal and communication method thereof
CA2600133A1 (en) Connecting a packet-based call to multiple devices
US9071690B2 (en) Call transfer processing in SIP mode
CN113301025B (en) IMS audio and video transcoding and transmission control system and implementation method
KR100941306B1 (en) System and method for processing call in SIP network
CN109218542B (en) Method, apparatus and computer-readable storage medium for call management
CN109889405B (en) Communication method of network telephone, related device and system
US20080317004A1 (en) SIP ENDPOINT CONFIGURATION IN VoIP NETWORKS
AU2003200825B2 (en) Apparatus and method for compulsively receiving multi-calls over internet protocol phones in internet protocol telephony system
CN107770175B (en) Soft switch calling method and system
US8483206B2 (en) Method and system for providing a multimedia call model
CN105516123A (en) Method for communication between VOIP (Voice over Internet Protocol) and telephone network telephone and PCLS
US8923796B2 (en) Expedited call setup
US7283624B1 (en) Idle detection for answer supervision
CN108881180B (en) Recording method and recording system
CN108616496A (en) Implementation method, device, mostly logical terminal and the network side equipment of multi-party call
CN106921615A (en) System, method and the mobile terminal of fixed network number communication are realized in the terminal
CN101820429A (en) Multimedia meeting system in NGN network and realizing method thereof
CN102185828B (en) Method for binding and controlling personal computer (PC) software and session initiation protocol user agent (SIP UA)

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