WO2012151858A1 - Call connection method and application server - Google Patents

Call connection method and application server Download PDF

Info

Publication number
WO2012151858A1
WO2012151858A1 PCT/CN2011/081181 CN2011081181W WO2012151858A1 WO 2012151858 A1 WO2012151858 A1 WO 2012151858A1 CN 2011081181 W CN2011081181 W CN 2011081181W WO 2012151858 A1 WO2012151858 A1 WO 2012151858A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
call
public network
application server
current
Prior art date
Application number
PCT/CN2011/081181
Other languages
French (fr)
Chinese (zh)
Inventor
屈天喜
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2012151858A1 publication Critical patent/WO2012151858A1/en

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
    • 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/1096Supplementary features, e.g. call forwarding or call holding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/58Arrangements for transferring received calls from one subscriber to another; Arrangements affording interim conversations between either the calling or the called party and a third party

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a call continuation method and an application server. Background technique
  • the unified CENTRalized EXchange service is a group of services. It is one of the important components of the current telecommunication service. It is favored by operators with diverse services, "zero hardware" investment, no change to existing networks, and easy planning.
  • the users in the group can be traditional users such as PSTN (Public Switched Telephone Network), GSM (Global System for Mobile communication), CDMA (Code Division Multiple Access). Users such as users can also be new users such as soft terminals, IAD (Integrated Access Device), IP (Internet Protocol) phones, video terminals, and so on.
  • PSTN Public Switched Telephone Network
  • GSM Global System for Mobile communication
  • CDMA Code Division Multiple Access
  • users can also be new users such as soft terminals, IAD (Integrated Access Device), IP (Internet Protocol) phones, video terminals, and so on.
  • the call forwarding service in the existing unified Centrex service is implemented by call forwarding.
  • the existing call forwarding method includes the following processes:
  • Terminal A and terminal B are in the process of conversation, and the application server of terminal A and the application server of terminal B participate in the call process to provide services for their respective service objects;
  • the terminal B initiates a call hold request to set the terminal A to the call hold state, that is, the service message can be intercommunicated, but the media stream is temporarily interrupted;
  • Terminal B sends a transfer request to terminal A by using a refer message
  • terminal B After terminal A accepts the transfer request, terminal B sends an on-hook request to terminal A to disconnect the call channel between the two;
  • the terminal A sends an invitation request to the terminal C, and establishes a call between the terminal A and the terminal C.
  • the terminal of the call transfer operator is required to support the call hold function. Can and support the sending of the refer message, the call holding function and the terminal that does not support the sending of the refer message cannot be used as the call transfer operator to switch the service after the call. Summary of the invention
  • the embodiment of the present invention provides a call continuation method and an application server, which are used to solve the problem that the existing call handover service needs to support the call hold function of the terminal as the call transfer operator and to support the sending of the refer message.
  • the embodiment of the invention provides a call renewal method, including:
  • the application server receives the call request initiated by the first terminal, where the call request carries the call renewal service code and the communication number of the second terminal;
  • the application server Determining, by the application server, whether the first terminal has the right to continue the current call of the second terminal according to the first public network number of the first terminal and the communication number of the second terminal; When the terminal has the right to continue the current call of the second terminal, the application server establishes a call connection between the current party of the second terminal and the first terminal;
  • the application server controls the second terminal to disconnect from the current party.
  • the communication number of the second terminal is a second public network number of the second terminal;
  • the application server determines, according to the first public network number of the first terminal and the communication number of the second terminal, whether the first terminal has the right to continue the current call of the second terminal, which is:
  • the application server determines, according to the first public network number and the public network number of all the continuation authorized users of the second terminal, whether the first terminal has the right to continue the current call of the second terminal.
  • the communication number of the second terminal is a short number within the group of the second terminal;
  • the application server determines, according to the first public network number of the first terminal and the communication number of the second terminal, whether the first terminal has the right to continue the current call of the second terminal, specifically:
  • the application server determines, according to the group number of the group to which the first terminal belongs, the group short number of the second terminal, and all the public network numbers stored in advance and the third corresponding relationship between the group number and the group short number. a second public network number of the second terminal;
  • the application server determines, according to the first public network number and the public network number of all the continuation authorized users of the second terminal, whether the first terminal has the right to continue the current call of the second terminal.
  • the application server When the first terminal has the right to continue the current call of the second terminal, the application server establishes a call connection between the current party of the second terminal and the first terminal, specifically :
  • the application server acquires first media information of the first terminal
  • the application server completes a media association between the first terminal and the current party
  • the quotient forms a call channel between the first terminal and the current party.
  • the application server controls the second terminal to disconnect from the current party, the application server further includes:
  • the second terminal initiates a call hold request, so that the current party is in a call hold state; or the second terminal keeps a call with the current party.
  • the application server determines, according to the first public network number of the first terminal and the communication number of the second terminal, whether the first terminal has the right to continue the current call of the second terminal, the application server further includes:
  • the application server sends a no-renew prompt message to the first terminal.
  • An embodiment of the present invention provides an application server, including:
  • a receiving module configured to receive a call request initiated by the first terminal, where the call request carries a call renewal service code and a communication number of the second terminal;
  • a determining module configured to determine, according to the first public network number of the first terminal, and the communication number of the second terminal, whether the first terminal has the right to continue the current call of the second terminal; And when the first terminal has the right to continue the current call of the second terminal, establishing a call connection between the current party of the second terminal and the first terminal; And configured to control the second terminal to disconnect from the current party.
  • the application server further includes:
  • a first memory configured to save a first correspondence between all public network numbers and a public network number of the continuation authorized user
  • the determining module includes:
  • a first determining submodule configured to determine, according to the second public network number and the first correspondence saved by the first memory, a public network number of all the extended authorized users of the second terminal; a determining submodule, configured to: according to the first public network number and all of the second terminal The public network number of the authorized user is continued, and it is determined whether the first terminal has the right to continue the current call of the second terminal.
  • the application server further includes:
  • a second memory configured to save a second correspondence between all public network numbers and the group number, a third correspondence between all the public network numbers and the group number and the group short number, and all the public network numbers and the continuation authorized users The fourth correspondence of the public network number;
  • the determining module includes:
  • a second determining submodule configured to determine, according to the first public network number and the second corresponding relationship, a group number of the group to which the first terminal belongs;
  • a third determining submodule configured to determine, according to the group number of the group to which the first terminal belongs, the intra-group short number of the second terminal, and the third corresponding relationship, the second public network number of the second terminal a fourth determining submodule, configured to determine, according to the second public network number and the fourth correspondence, a public network number of all the extended authorized users of the second terminal;
  • a second determining sub-module configured to determine, according to the first public network number and a public network number of all the extended authorized users of the second terminal, whether the first terminal has the right to continue the second terminal Current call.
  • the connection establishment module includes:
  • a sending submodule configured to send, to the current party, a re-invitation request carrying the first media information
  • a receiving submodule configured to receive a re-invitation confirmation response returned by the current party that carries the second media information of the current party
  • the quotient forms a call channel between the first terminal and the current party.
  • the application server further includes:
  • a sending module configured to: when the determining module determines that the first terminal does not have the right to continue the current call of the second terminal, send a no-renew prompt message to the first terminal.
  • the application server records the call information of each terminal, and does not need the terminal to support the call hold function and the refer message, and only needs the first terminal authorized by the second terminal to initiate a call request to the application server.
  • the application server can make the first terminal continue the call of the second terminal through some call renewal processing, and complete the current current of the second terminal.
  • the technical solution is applicable to various terminals on the live network, such as supporting a C network or a G network mobile phone, a PSTN terminal, an IMS terminal, etc.; the terminal does not need to support the call holding function and supports sending a refer message.
  • FIG. 1 is a schematic flowchart of a call continuation method according to an embodiment of the present invention.
  • FIG. 2 is a schematic structural diagram of an application server according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of another application server according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of still another application server according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a connection establishment module in an application server according to an embodiment of the present invention. detailed description
  • the technical solution provided by the embodiment of the present invention is applicable to a network system with a call renewal function, including a unified Centrex service network system, a public network system, and the like.
  • the terminal After the call is switched, the terminal is authorized by the terminal B during the call between the terminal A and the terminal B.
  • the terminal C can continue the call of the terminal B by dialing the call renewal service code plus the communication number of the terminal B, and complete the function of the terminal C and the terminal A.
  • the existing post-call handover service is implemented by call forwarding, and the call transfer needs to support the call hold function and support the transmission of the refer message as the terminal of the call transfer operator.
  • the call server continues to record the call information of each terminal, and the terminal does not need to support the call hold function and supports the refer message. Only the terminal C authorized by the terminal B initiates a call request to the application server. Carrying the specific service code and the communication number of the terminal B in the call request, the application server can make the terminal C continue the call of the terminal B through some call continuation processing, and complete the function of the terminal C and the terminal A.
  • Call continuation is a kind of back-to-back call service, which has broad application prospects. Its advantages are: Support various terminals on the live network, such as supporting C network or G network mobile phone, PSTN terminal, IMS ( Interactive Multimedia Service, interactive multimedia) Service) terminal, etc.; does not require the terminal to support the call hold function and supports the sending of the refer message.
  • 3G 3rd Generation, 3rd Generation Digital Communication
  • CS Circuit Switched
  • PS Packet Switched
  • an embodiment of the present invention provides a call continuation method, including: Step 101: An application server receives a call request initiated by a first terminal, where the call request carries a call continuation service code and a communication of the second terminal. number.
  • the first terminal is a terminal that requests a call renewal, and sends a call request to the application server, where the call request carries a call renewal service code, so that the application server can determine that the call renewal service needs to be performed subsequently;
  • the communication number of the two terminals enables the application server to determine the terminal that operates the call renewal.
  • the communication number of the second terminal may be the second public network number of the second terminal (such as a SIM (Subscriber Identity Module) card number, UIM (User Identification) Module, user identification module) card number, etc.) or group short number.
  • SIM Subscriber Identity Module
  • UIM User Identification
  • user identification module user identification module
  • Step 102 The application server determines, according to the first public network number of the first terminal and the communication number of the second terminal, whether the first terminal has the right to continue the current call of the second terminal.
  • step 102 can be specifically implemented as follows:
  • Step A1 The application server determines, according to the second public network number and the first correspondence between all the public network numbers saved in advance and the public network number of the authorized user, the public network number of all the authorized users of the second terminal is determined;
  • the first correspondence may be pre-stored in the application server, and the first correspondence corresponds to the public network number of each public network number and the corresponding continuation authorized user.
  • Step A2 The application server determines, according to the first public network number and the public network number of all the above-mentioned authorized users, whether the first terminal has the right to continue the current call of the second terminal.
  • step 102 may be specifically implemented as the following steps:
  • Step B1 The application server determines, according to the first public network number and the second corresponding relationship between all the public network numbers and the group number that are stored in advance, the group number of the group to which the first terminal belongs;
  • Step B2 The application server determines the second terminal according to the group number of the group to which the first terminal belongs, the group short number of the second terminal, and the third correspondence between all the public network numbers stored in the group and the group number and the group short number. Second public network number;
  • Step B3 The application server determines, according to the second public network number and the fourth correspondence between all the public network numbers saved in advance and the public network number of the authorized user, the public network number of all the authorized users of the second terminal;
  • Step B4 The application server determines, according to the first public network number and the public network number of all the above-mentioned authorized users, whether the first terminal has the right to continue the current call of the second terminal.
  • the first corresponding relationship, the second corresponding relationship, the third corresponding relationship, and the fourth corresponding relationship may be saved in the application server in the form of a table or a database.
  • Step 103 When the first terminal has the right to continue the current call of the second terminal, the application server establishes a call connection between the current party of the second terminal and the first terminal.
  • Step 103 can be specifically implemented as the following steps:
  • Step Cl the application server acquires the first media information of the first terminal
  • the first media information is used for media negotiation of SIP (Session Initiation Protocol, an application layer control protocol) signaling, including an IP address, a port number, an audio and video coding format, and the like;
  • SIP Session Initiation Protocol, an application layer control protocol
  • Step C2 The application server sends a re-invitation request carrying the first media information to the current party.
  • Step C3 The application server receives a re-invitation confirmation response that is returned by the current party and carries the second media information of the current party.
  • Step C4 The application server returns a call confirmation response carrying the second media information to the first terminal.
  • Step C5 The application server completes media negotiation between the first terminal and the current party, so that a call channel is formed between the first terminal and the current party.
  • the application server sends a no-renew prompt message to the first terminal.
  • Step 104 The application server controls the second terminal to disconnect from the current party.
  • the application server may send a disconnection request to the second terminal, and after the second terminal disconnects from the current party, return a disconnect confirmation response to the application server.
  • step 104 the following steps can also be performed:
  • the second terminal initiates a call hold request, so that the current party is in a call hold state; or the second terminal keeps a call with the current party.
  • the second terminal initiates a call hold request before the second terminal disconnects from the current party, so that the current party is in the call hold state, the current party in the call hold state will hear the media server play.
  • a prompt tone at this time, the service message between the second terminal and the current party can be intercommunicated, but the media stream is temporarily interrupted, and the current party can switch from the call with the second terminal to the call with the first terminal. I feel that the call is interrupted and the switch is not seamless.
  • the current party is in the process of switching from the call with the second terminal to the call with the first terminal, There is no interruption in the call, and seamless switching is achieved.
  • the foregoing method for the continuation of the call provided by the embodiment of the present invention is that the application server records the call information of each terminal, does not need the terminal to support the call hold function, and supports the refer message, and only needs to be initiated by the first terminal authorized by the second terminal to the application server.
  • the call request carries the specific service code and the communication number of the second terminal in the call request, and the application server can continue the call of the second terminal by using the call renewal process to complete the current terminal of the second terminal.
  • the function of the party talking to the first terminal is that the application server records the call information of each terminal, does not need the terminal to support the call hold function, and supports the refer message, and only needs to be initiated by the first terminal authorized by the second terminal to the application server.
  • the call request carries the specific service code and the communication number of the second terminal in the call request, and the application server can continue the call of the second terminal by using the call renewal process to complete the current terminal of the second terminal.
  • the function of the party talking to the first terminal is that the application server
  • the call renewal method is applicable to various types of terminals on the live network, such as supporting a C network or a G network mobile phone, a PSTN terminal, an IMS terminal, etc.; the terminal does not need to support the call holding function and supports sending a refer message.
  • the call continuation method provided by the embodiment of the present invention is described below by taking a mobile phone user as an example.
  • User 1 wants to continue the current call of User 2, User 1 is currently talking to User 3, User 1 and User 2 are not group service users:
  • Step D1 the user 1 sends a call request INVITE to the application server, where the INVITE carries the call renewal service code ac and the mobile phone number b of the user 2;
  • Step D2 After receiving the INVITE, the application server determines, according to the call renewal service code ac, that the service type is a call renewal, according to the mobile phone number b of the user 1 and all the mobile phone numbers saved in advance and the user who has the right to continue the mobile phone number of the user. a corresponding relationship, determining that all of User 2 has the right to continue the user's mobile phone number;
  • the application server searches for the mobile phone number b of the user 2 and all corresponding corresponding mobile phone numbers of the user in the first correspondence relationship;
  • Step D3 The application server determines whether there is a mobile phone number of the user 1 in all the user's mobile phone numbers of the user 2, if yes, proceed to step D4; if not, play the user 1 with no right to continue the prompt tone, and exit Process;
  • Step D4 The application server obtains the first media information of the user 1 from the call request obtained in step D2.
  • Step D5 The application server sends a REINVITE carrying the first media information to the user 3 (re-invitation request;);
  • Step D6 The user 3 returns a 200 OK response of the REINVITE to the application server, and carries the second media information of the user 3;
  • Step D7 The application server returns, to the user 1, a 200 OK response of the INVITE carrying the second media information.
  • Step D8 Complete media negotiation between the user 1 and the user 3, so that a call channel is formed between the user 1 and the user 3;
  • Step D9 The application server sends a BYE request to the user 2, instructing the user 2 to disconnect from the user 3;
  • Step D10 User 2 disconnects from user 3, and returns a 200 OK response of BYE to the application server.
  • the user 2 may initiate a call hold request to keep the user 3 in a call hold state; or, the user 2 may keep a call with the user 3 to implement seamless handover.
  • the specific embodiment 1 is applicable to the public network system, and the call renewal method provided by the embodiment of the present invention enables the first terminal to continue to access the current call of the second terminal.
  • User 1 wants to continue the current call of User 2, User 1 is currently in a call with User 3, User 1 and User 2 are unified Centrex service users belonging to the same group:
  • Step E1 The user 1 sends a call request INVITE to the unified Centrex service application server, where the INVITE carries the call renewed service code ac and the intra-group short number of the user 2;
  • Step E2 After receiving the INVITE, the unified Centrex service application server determines, according to the call renewal service code ac, that the service type is a call renewal, according to the second correspondence between the mobile phone number of the user 1 and the pre-saved mobile phone number and the group number. , determining the group number of the group to which the user 1 belongs;
  • Step E3 The unified Centrex service application server determines the mobile phone of the user 2 according to the group number of the group to which the user 1 belongs, the short number d of the group 2 of the user 2, and the third correspondence between the pre-saved mobile phone number and the group number and the short number within the group. number;
  • Step E4 The unified Centrex service application server determines, according to the mobile phone number of the user 2 and all the mobile phone numbers saved in advance and the fourth correspondence corresponding to the mobile phone number of the user, determining that all the user 2 has the right to continue the mobile phone number of the user;
  • the unified Centrex service application server searches for the mobile phone number of the user 2 and all corresponding mobile phone numbers of the user who are authorized to continue in the fourth correspondence relationship;
  • Step E5 The unified Centrex service application server determines whether the mobile phone number of the user 1 exists in all the user's mobile phone numbers of the user 2, and if yes, proceeds to step E6; if not, the user 1 does not have the right to continue the prompt. Tone, exit the process;
  • Step E6 The unified Centrex service application server obtains the first media information of the user 1 from the call request obtained in step E2;
  • Step E7 The unified Centrex service application server sends a REINVITE carrying the first media information to the user 3 (re-invitation request;); Step E8: The user 3 returns a 200 OK response of the REINVITE to the unified Centrex service application server, and carries the second media information of the user 3;
  • Step E9 The unified Centrex service application server returns a 200 OK response of the INVITE carrying the second media information to the user 1;
  • Step E10 Complete media negotiation between the user 1 and the user 3, so that a call channel is formed between the user 1 and the user 3;
  • Step Ell The unified Centrex service application server sends a BYE request to the user 2, indicating that the user 2 disconnects from the user 3;
  • Step E12 User 2 disconnects from user 3, and returns a BYE 200 OK response to the unified Centrex service application server.
  • the user 2 Before performing step E12, the user 2 can initiate a call hold request to keep the user 3 in a call hold state; or, the user 2 can keep a call with the user 3 to achieve seamless handover.
  • the second embodiment is applicable to the unified Centrex service network system.
  • the first terminal and the second terminal belong to the same group, and the call termination method provided by the embodiment of the present invention enables the first terminal to continue to access the current call of the second terminal.
  • an embodiment of the present invention further provides an application server, including: a receiving module, configured to receive a call request initiated by a first terminal, where the call request carries a call renewal service code and a communication number of the second terminal. ;
  • a determining module configured to determine, according to the first public network number of the first terminal and the communication number of the second terminal, whether the first terminal has the right to continue the current call of the second terminal;
  • connection establishing module configured to establish a call connection between the current party of the second terminal and the first terminal when the first terminal has the right to continue the current call of the second terminal
  • the disconnection module is configured to control the second terminal to disconnect from the current party.
  • the application server shown in FIG. 2 may further include:
  • the first memory is used to save all public network numbers and the number of the public network number of the authorized user a correspondence relationship
  • the determining module further includes:
  • a first determining submodule configured to determine, according to the second public network number and the first corresponding relationship saved by the first memory, a public network number of all the extended authorized users of the second terminal;
  • the first determining sub-module is configured to determine, according to the first public network number and the public network number of all the authorized users, whether the first terminal has the right to continue the current call of the second terminal.
  • the application server shown in FIG. 2 may further include:
  • a second memory configured to save a second correspondence between all public network numbers and the group number, a third correspondence between all the public network numbers and the group number and the group short number, and all the public network numbers and the continuation authorized users The fourth correspondence of the public network number;
  • the determining module further includes:
  • a second determining submodule configured to determine, according to the first public network number and the second correspondence, a group number of the group to which the first terminal belongs;
  • a third determining submodule configured to determine a second public network number of the second terminal according to the group number of the group to which the first terminal belongs, the intra-group short number of the second terminal, and the third correspondence relationship;
  • a fourth determining submodule configured to determine, according to the second public network number and the fourth correspondence, the public network number of all the extended authorized users of the second terminal;
  • the second determining sub-module is configured to determine, according to the first public network number and the public network number of all the continuation authorized users of the second terminal, whether the first terminal has the right to continue the current call of the second terminal.
  • connection establishment module shown in FIG. 2 may further include: an acquisition submodule, configured to acquire first media information of the first terminal;
  • a sending submodule configured to send, to the current party, a re-invitation request carrying the first media information
  • a receiving submodule configured to receive a re-invitation confirmation response that is returned by the current party and carries the second media information of the current party; Returning to the submodule, configured to return, to the first terminal, a call confirmation response that carries the second media information;
  • the above application server may further include:
  • the sending module is configured to send, when the determining module determines that the first terminal does not have the right to continue the current call of the second terminal, send the unrestricted prompt message to the first terminal.
  • the application server provided by the embodiment of the present invention records the call information of each terminal, does not need the terminal to support the call hold function, and supports the refer message.
  • the first terminal authorized by the second terminal only needs to initiate a call request to the application server, and carries the call request in the call request.
  • the specific call renews the service code and the communication number of the second terminal, and the application server can make the first terminal continue the call of the second terminal through some call renewal processing, and complete the current party and the first terminal of the second terminal.
  • the function of the terminal call is not be used to the application server, and supports the refer message.
  • the above storage medium may be a ROM/RAM, a magnetic disk, an optical disk or the like.

Landscapes

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

Abstract

Provided are a call connection method and application server, for solving the existing problem that the terminal, the switching service of which has to be the call transfer operator after calling, supports the call hold function and supports the sending of refer messages. The method includes: an application server receiving a call request initiated by a first terminal, with the call request carrying a call connection service code and a communication number of a second terminal; the application server judging whether or not the first terminal has the right to connect the current session of the second terminal according to a first public network number of the first terminal and the communication number of the second terminal; when the first terminal has the right to connect the current session of the second terminal, the application server establishing a session connection between the current session party of the second terminal and the first terminal; and the application server controlling the second terminal to disconnect from the current session party. The technical solution is applied in various terminals in the existing network and the terminal need not support the call hold function or support the sending of refer messages.

Description

一种呼叫续接方法和应用服务器 技术领域  Call renewal method and application server
本发明涉及通信技术领域, 特别涉及一种呼叫续接方法和应用服务器。 背景技术  The present invention relates to the field of communications technologies, and in particular, to a call continuation method and an application server. Background technique
统一 Centrex ( CENTRalized EXchange,虚拟总机 )业务是一种群业务, 为当前电信业务的重要组成部分之一, 以业务多样, "零硬件" 投资, 不改 变现有网络, 便于规划等优势被运营商青睐, 其群内用户可以是传统用户 如 PSTN ( Public Switched Telephone Network, 公共交换电话网)、 GSM ( Global System for Mobile communication, 全球移动通信系统)、 CDMA ( Code Division Multiple Access, 码分多址接入 )等用户, 也可以是新型用 户如软终端、 IAD ( Integrated Access Device, 集成接入设备)、 IP ( Internet Protocol, 因特网协议)话机、 视频终端等用户。  The unified CENTRalized EXchange service is a group of services. It is one of the important components of the current telecommunication service. It is favored by operators with diverse services, "zero hardware" investment, no change to existing networks, and easy planning. The users in the group can be traditional users such as PSTN (Public Switched Telephone Network), GSM (Global System for Mobile communication), CDMA (Code Division Multiple Access). Users such as users can also be new users such as soft terminals, IAD (Integrated Access Device), IP (Internet Protocol) phones, video terminals, and so on.
现有统一 Centrex业务中的通话后切换业务是通过呼叫转接来实现的, 现有呼叫转接方法包括如下流程:  The call forwarding service in the existing unified Centrex service is implemented by call forwarding. The existing call forwarding method includes the following processes:
终端 A与终端 B处于通话过程中 ,终端 A的应用服务器和终端 B的应 用服务器均参与此通话过程, 为各自的服务对象提供业务;  Terminal A and terminal B are in the process of conversation, and the application server of terminal A and the application server of terminal B participate in the call process to provide services for their respective service objects;
由终端 B发起呼叫保持请求将终端 A置为呼叫保持状态, 即业务消息 可以互通, 但媒体流暂时中断;  The terminal B initiates a call hold request to set the terminal A to the call hold state, that is, the service message can be intercommunicated, but the media stream is temporarily interrupted;
终端 B采用 refer消息向终端 A发送转接请求;  Terminal B sends a transfer request to terminal A by using a refer message;
终端 A接受转接请求后, 终端 B向终端 A发送挂机请求, 断开两者之 间的通话话路;  After terminal A accepts the transfer request, terminal B sends an on-hook request to terminal A to disconnect the call channel between the two;
终端 A向终端 C发送邀请请求, 在终端 A与终端 C之间建立通话。 在现有呼叫转接方法中, 需要呼叫转接操作方的终端支持呼叫保持功 能以及支持发送 refer消息,不支持呼叫保持功能和不支持发送 refer消息的 终端无法作为呼叫转接操作方进行通话后切换业务。 发明内容 The terminal A sends an invitation request to the terminal C, and establishes a call between the terminal A and the terminal C. In the existing call transfer method, the terminal of the call transfer operator is required to support the call hold function. Can and support the sending of the refer message, the call holding function and the terminal that does not support the sending of the refer message cannot be used as the call transfer operator to switch the service after the call. Summary of the invention
本发明实施例提供了一种呼叫续接方法和应用服务器, 用以解决现有 通话后切换业务需要作为呼叫转接操作方的终端支持呼叫保持功能以及支 持发送 refer消息的问题。  The embodiment of the present invention provides a call continuation method and an application server, which are used to solve the problem that the existing call handover service needs to support the call hold function of the terminal as the call transfer operator and to support the sending of the refer message.
本发明实施例提供一种呼叫续接方法, 包括:  The embodiment of the invention provides a call renewal method, including:
应用服务器接收第一终端发起的呼叫请求, 所述呼叫请求中携带呼叫 续接业务码和第二终端的通信号码;  The application server receives the call request initiated by the first terminal, where the call request carries the call renewal service code and the communication number of the second terminal;
所述应用服务器根据所述第一终端的第一公网号码和所述第二终端的 通信号码, 判断所述第一终端是否有权续接所述第二终端的当前通话; 当所述第一终端有权续接所述第二终端的当前通话时, 所述应用服务 器在所述第二终端的当前通话方与所述第一终端之间建立通话连接;  Determining, by the application server, whether the first terminal has the right to continue the current call of the second terminal according to the first public network number of the first terminal and the communication number of the second terminal; When the terminal has the right to continue the current call of the second terminal, the application server establishes a call connection between the current party of the second terminal and the first terminal;
所述应用服务器控制所述第二终端断开与所述当前通话方的连接。 所述第二终端的通信号码为所述第二终端的第二公网号码;  The application server controls the second terminal to disconnect from the current party. The communication number of the second terminal is a second public network number of the second terminal;
所述应用服务器根据所述第一终端的第一公网号码和所述第二终端的 通信号码, 判断所述第一终端是否有权续接所述第二终端的当前通话, 具 体为:  The application server determines, according to the first public network number of the first terminal and the communication number of the second terminal, whether the first terminal has the right to continue the current call of the second terminal, which is:
所述应用服务器根据所述第二公网号码和预先保存的所有公网号码与 续接授权用户的公网号码的第一对应关系, 确定所述第二终端的所有续接 授权用户的公网号码;  Determining, by the application server, the public network of all the continuation authorized users of the second terminal according to the second public network number and the first correspondence between all the public network numbers saved in advance and the public network number of the continuation authorized user Number
所述应用服务器根据所述第一公网号码和所述第二终端的所有续接授 权用户的公网号码, 判断所述第一终端是否有权续接所述第二终端的当前 通话。  The application server determines, according to the first public network number and the public network number of all the continuation authorized users of the second terminal, whether the first terminal has the right to continue the current call of the second terminal.
所述第二终端的通信号码为所述第二终端的群内短号; 所述应用服务器根据所述第一终端的第一公网号码和所述第二终端的 通信号码, 判断所述第一终端是否有权续接所述第二终端的当前通话, 具 体为: The communication number of the second terminal is a short number within the group of the second terminal; The application server determines, according to the first public network number of the first terminal and the communication number of the second terminal, whether the first terminal has the right to continue the current call of the second terminal, specifically:
所述应用服务器根据所述第一公网号码和预先保存的所有公网号码与 所属群号的第二对应关系, 确定所述第一终端所属群的群号;  Determining, by the application server, the group number of the group to which the first terminal belongs according to the first public network number and the second correspondence between all the public network numbers and the group number that are stored in advance;
所述应用服务器根据所述第一终端所属群的群号、 所述第二终端的群 内短号和预先保存的所有公网号码与所属群号及群内短号的第三对应关 系, 确定所述第二终端的第二公网号码;  The application server determines, according to the group number of the group to which the first terminal belongs, the group short number of the second terminal, and all the public network numbers stored in advance and the third corresponding relationship between the group number and the group short number. a second public network number of the second terminal;
所述应用服务器根据所述第二公网号码和预先保存的所有公网号码与 续接授权用户的公网号码的第四对应关系, 确定所述第二终端的所有续接 授权用户的公网号码;  Determining, by the application server, the public network of all the continuation authorized users of the second terminal according to the second public network number and the fourth correspondence between all the public network numbers saved in advance and the public network number of the continuation authorized user Number
所述应用服务器根据所述第一公网号码和所述第二终端的所有续接授 权用户的公网号码, 判断所述第一终端是否有权续接所述第二终端的当前 通话。  The application server determines, according to the first public network number and the public network number of all the continuation authorized users of the second terminal, whether the first terminal has the right to continue the current call of the second terminal.
所述当所述第一终端有权续接所述第二终端的当前通话时, 所述应用 服务器在所述第二终端的当前通话方与所述第一终端之间建立通话连接, 具体为:  When the first terminal has the right to continue the current call of the second terminal, the application server establishes a call connection between the current party of the second terminal and the first terminal, specifically :
所述应用服务器获取所述第一终端的第一媒体信息;  The application server acquires first media information of the first terminal;
所述应用服务器向所述当前通话方发送携带有所述第一媒体信息的再 邀请请求;  Sending, by the application server, a re-invitation request carrying the first media information to the current party;
所述应用服务器接收所述当前通话方返回的携带有所述当前通话方的 第二媒体信息的再邀请确认响应;  Receiving, by the application server, a re-invitation confirmation response returned by the current party that carries the second media information of the current party;
所述应用服务器向所述第一终端返回携带有所述第二媒体信息的呼叫 确认响应;  Returning, by the application server, a call confirmation response carrying the second media information to the first terminal;
所述应用服务器完成所述第一终端与所述当前通话方之间的媒体协 商, 使所述第一终端与当前通话方之间形成通话话路。 The application server completes a media association between the first terminal and the current party The quotient forms a call channel between the first terminal and the current party.
所述应用服务器控制所述第二终端断开与所述当前通话方的连接之 前, 还包括:  Before the application server controls the second terminal to disconnect from the current party, the application server further includes:
所述第二终端发起呼叫保持请求, 使所述当前通话方处于呼叫保持状 态; 或者, 所述第二终端与所述当前通话方保持通话。  And the second terminal initiates a call hold request, so that the current party is in a call hold state; or the second terminal keeps a call with the current party.
所述应用服务器根据所述第一终端的第一公网号码和所述第二终端的 通信号码, 判断所述第一终端是否有权续接所述第二终端的当前通话之后, 还包括:  After the application server determines, according to the first public network number of the first terminal and the communication number of the second terminal, whether the first terminal has the right to continue the current call of the second terminal, the application server further includes:
当所述第一终端无权续接所述第二终端的当前通话时, 所述应用服务 器向所述第一终端发送无权续接提示消息。  When the first terminal does not have the right to continue the current call of the second terminal, the application server sends a no-renew prompt message to the first terminal.
本发明实施例提供一种应用服务器, 包括:  An embodiment of the present invention provides an application server, including:
接收模块, 用于接收第一终端发起的呼叫请求, 所述呼叫请求中携带 呼叫续接业务码和第二终端的通信号码;  a receiving module, configured to receive a call request initiated by the first terminal, where the call request carries a call renewal service code and a communication number of the second terminal;
判断模块, 用于根据所述第一终端的第一公网号码和所述第二终端的 通信号码, 判断所述第一终端是否有权续接所述第二终端的当前通话; 连接建立模块, 用于当所述第一终端有权续接所述第二终端的当前通 话时, 在所述第二终端的当前通话方与所述第一终端之间建立通话连接; 连接断开模块, 用于控制所述第二终端断开与所述当前通话方的连接。 所述的应用服务器, 还包括:  a determining module, configured to determine, according to the first public network number of the first terminal, and the communication number of the second terminal, whether the first terminal has the right to continue the current call of the second terminal; And when the first terminal has the right to continue the current call of the second terminal, establishing a call connection between the current party of the second terminal and the first terminal; And configured to control the second terminal to disconnect from the current party. The application server further includes:
第一存储器, 用于保存所有公网号码与续接授权用户的公网号码的第 一对应关系;  a first memory, configured to save a first correspondence between all public network numbers and a public network number of the continuation authorized user;
所述判断模块包括:  The determining module includes:
第一确定子模块, 用于根据所述第二公网号码和所述第一存储器保存 的所述第一对应关系, 确定所述第二终端的所有续接授权用户的公网号码; 第一判断子模块, 用于根据所述第一公网号码和所述第二终端的所有 续接授权用户的公网号码, 判断所述第一终端是否有权续接所述第二终端 的当前通话。 a first determining submodule, configured to determine, according to the second public network number and the first correspondence saved by the first memory, a public network number of all the extended authorized users of the second terminal; a determining submodule, configured to: according to the first public network number and all of the second terminal The public network number of the authorized user is continued, and it is determined whether the first terminal has the right to continue the current call of the second terminal.
所述的应用服务器, 还包括:  The application server further includes:
第二存储器, 用于保存所有公网号码与所属群号的第二对应关系、 所 有公网号码与所属群号及群内短号的第三对应关系以及所有公网号码与续 接授权用户的公网号码的第四对应关系;  a second memory, configured to save a second correspondence between all public network numbers and the group number, a third correspondence between all the public network numbers and the group number and the group short number, and all the public network numbers and the continuation authorized users The fourth correspondence of the public network number;
所述判断模块包括:  The determining module includes:
第二确定子模块, 用于根据所述第一公网号码和所述第二对应关系, 确定所述第一终端所属群的群号;  a second determining submodule, configured to determine, according to the first public network number and the second corresponding relationship, a group number of the group to which the first terminal belongs;
第三确定子模块, 用于根据所述第一终端所属群的群号、 所述第二终 端的群内短号和所述第三对应关系, 确定所述第二终端的第二公网号码; 第四确定子模块, 用于根据所述第二公网号码和所述第四对应关系, 确定所述第二终端的所有续接授权用户的公网号码;  a third determining submodule, configured to determine, according to the group number of the group to which the first terminal belongs, the intra-group short number of the second terminal, and the third corresponding relationship, the second public network number of the second terminal a fourth determining submodule, configured to determine, according to the second public network number and the fourth correspondence, a public network number of all the extended authorized users of the second terminal;
第二判断子模块, 用于根据所述第一公网号码和所述第二终端的所有 续接授权用户的公网号码, 判断所述第一终端是否有权续接所述第二终端 的当前通话。  a second determining sub-module, configured to determine, according to the first public network number and a public network number of all the extended authorized users of the second terminal, whether the first terminal has the right to continue the second terminal Current call.
所述连接建立模块包括:  The connection establishment module includes:
获取子模块, 用于获取所述第一终端的第一媒体信息;  Obtaining a submodule, configured to acquire first media information of the first terminal;
发送子模块, 用于向所述当前通话方发送携带有所述第一媒体信息的 再邀请请求;  a sending submodule, configured to send, to the current party, a re-invitation request carrying the first media information;
接收子模块, 用于接收所述当前通话方返回的携带有所述当前通话方 的第二媒体信息的再邀请确认响应;  a receiving submodule, configured to receive a re-invitation confirmation response returned by the current party that carries the second media information of the current party;
返回子模块, 用于向所述第一终端返回携带有所述第二媒体信息的呼 叫确认响应;  Returning to the submodule, configured to return, to the first terminal, a call confirmation response that carries the second media information;
建立子模块, 用于完成所述第一终端与所述当前通话方之间的媒体协 商, 使所述第一终端与当前通话方之间形成通话话路。 Establishing a submodule, configured to complete a media association between the first terminal and the current party The quotient forms a call channel between the first terminal and the current party.
所述的应用服务器, 还包括:  The application server further includes:
发送模块, 用于当所述判断模块判断出所述第一终端无权续接所述第 二终端的当前通话时, 向所述第一终端发送无权续接提示消息。  And a sending module, configured to: when the determining module determines that the first terminal does not have the right to continue the current call of the second terminal, send a no-renew prompt message to the first terminal.
本发明实施例提供的技术方案中, 由应用服务器记录各终端的通话信 息, 不需要终端支持呼叫保持功能以及支持 refer消息, 只需要经过第二终 端授权的第一终端向应用服务器发起呼叫请求, 在呼叫请求中携带特定的 呼叫续接业务码和第二终端的通信号码, 应用服务器通过一些呼叫续接处 理就可以使第一终端将第二终端的通话续接过来, 完成第二终端的当前通 话方与第一终端通话的功能。 该技术方案适用于现网各类终端, 如支持 C 网或 G网手机、 PSTN终端、 IMS终端等; 不需要终端支持呼叫保持功能 以及支持发送 refer消息。 附图说明  In the technical solution provided by the embodiment of the present invention, the application server records the call information of each terminal, and does not need the terminal to support the call hold function and the refer message, and only needs the first terminal authorized by the second terminal to initiate a call request to the application server. Carrying the specific call renewal service code and the communication number of the second terminal in the call request, the application server can make the first terminal continue the call of the second terminal through some call renewal processing, and complete the current current of the second terminal. The function of the party talking to the first terminal. The technical solution is applicable to various terminals on the live network, such as supporting a C network or a G network mobile phone, a PSTN terminal, an IMS terminal, etc.; the terminal does not need to support the call holding function and supports sending a refer message. DRAWINGS
图 1为本发明实施例中呼叫续接方法的流程示意图;  1 is a schematic flowchart of a call continuation method according to an embodiment of the present invention;
图 2为本发明实施例中一种应用服务器的结构示意图;  2 is a schematic structural diagram of an application server according to an embodiment of the present invention;
图 3为本发明实施例中另一种应用服务器的结构示意图;  3 is a schematic structural diagram of another application server according to an embodiment of the present invention;
图 4为本发明实施例中再一种应用服务器的结构示意图;  4 is a schematic structural diagram of still another application server according to an embodiment of the present invention;
图 5为本发明实施例应用服务器中的连接建立模块的结构示意图。 具体实施方式  FIG. 5 is a schematic structural diagram of a connection establishment module in an application server according to an embodiment of the present invention. detailed description
为使本发明实施例要解决的技术问题、 技术方案和优点更加清楚, 下 面将结合附图及具体实施例进行详细描述。  The technical problems, the technical solutions, and the advantages of the embodiments of the present invention will be more clearly described in the following description.
本发明实施例提供的技术方案适用于具有呼叫续接功能的网络系统, 包括统一 Centrex业务网络系统、 公网系统等。  The technical solution provided by the embodiment of the present invention is applicable to a network system with a call renewal function, including a unified Centrex service network system, a public network system, and the like.
通话后切换业务是指当终端 A与终端 B通话过程中, 经过终端 B授权 的终端 C通过拨打呼叫续接业务码加终端 B的通信号码, 即可将终端 B的 通话续接过来, 完成终端 C与终端 A通话的功能。 After the call is switched, the terminal is authorized by the terminal B during the call between the terminal A and the terminal B. The terminal C can continue the call of the terminal B by dialing the call renewal service code plus the communication number of the terminal B, and complete the function of the terminal C and the terminal A.
现有的通话后切换业务是通过呼叫转接实现的, 呼叫转接需要作为呼 叫转接操作方的终端支持呼叫保持功能以及支持发送 refer消息。  The existing post-call handover service is implemented by call forwarding, and the call transfer needs to support the call hold function and support the transmission of the refer message as the terminal of the call transfer operator.
而本发明实施例中的呼叫续接, 则是由应用服务器记录各终端的通话 信息, 不需要终端支持呼叫保持功能以及支持 refer消息, 只需要经过终端 B授权的终端 C向应用服务器发起呼叫请求, 在呼叫请求中携带特定的业 务码和终端 B的通信号码, 应用服务器通过一些呼叫续接处理就可以使终 端 C将终端 B的通话续接过来, 完成终端 C与终端 A通话的功能。  In the embodiment of the present invention, the call server continues to record the call information of each terminal, and the terminal does not need to support the call hold function and supports the refer message. Only the terminal C authorized by the terminal B initiates a call request to the application server. Carrying the specific service code and the communication number of the terminal B in the call request, the application server can make the terminal C continue the call of the terminal B through some call continuation processing, and complete the function of the terminal C and the terminal A.
呼叫续接属于一种背靠背式呼叫类服务, 有着广阔的应用前景, 其优 点有: 支持现网各类终端, 如支持 C 网或 G 网手机、 PSTN 终端、 IMS ( Interactive Multimedia Service , 交互式多媒体服务 )终端等; 不需要终端 支持呼叫保持功能以及支持发送 refer消息。 而且随着 3G ( 3rd Generation, 第三代数字通信)网络的崛起, CS( Circuit Switched,电路交换)与 PS( Packet Switched, 分组交换)网络的融合, 使得呼叫续接有非常广阔的发展和使用 空间。  Call continuation is a kind of back-to-back call service, which has broad application prospects. Its advantages are: Support various terminals on the live network, such as supporting C network or G network mobile phone, PSTN terminal, IMS ( Interactive Multimedia Service, interactive multimedia) Service) terminal, etc.; does not require the terminal to support the call hold function and supports the sending of the refer message. With the rise of 3G (3rd Generation, 3rd Generation Digital Communication) networks, the convergence of CS (Circuit Switched) and PS (Packet Switched) networks has made the call renewal a very broad development and use. space.
如图 1所示, 本发明实施例提供了一种呼叫续接方法, 包括: 步驟 101、应用服务器接收第一终端发起的呼叫请求,呼叫请求中携带 呼叫续接业务码和第二终端的通信号码。  As shown in FIG. 1 , an embodiment of the present invention provides a call continuation method, including: Step 101: An application server receives a call request initiated by a first terminal, where the call request carries a call continuation service code and a communication of the second terminal. number.
第一终端是请求呼叫续接的终端, 它向应用服务器发送呼叫请求, 在 呼叫请求中携带呼叫续接业务码, 使应用服务器可确定后续需进行呼叫续 接业务; 在呼叫请求中还携带第二终端的通信号码, 使应用服务器可确定 操作呼叫续接的终端。  The first terminal is a terminal that requests a call renewal, and sends a call request to the application server, where the call request carries a call renewal service code, so that the application server can determine that the call renewal service needs to be performed subsequently; The communication number of the two terminals enables the application server to determine the terminal that operates the call renewal.
其中, 第二终端的通信号码可是第二终端的第二公网号码 (如 SIM ( Subscriber Identity Module,用户识别模块)卡号、 UIM ( User Identification Module, 用户识别模块)卡号等)或者群内短号。 当第二终端的通信号码 是第二公网号码时, 第一终端与第二终端可是公网内的任何终端; 当第二 终端的通信号码是群内短号时, 第一终端与第二终端必须是属于同一个群 的群业务用户。 The communication number of the second terminal may be the second public network number of the second terminal (such as a SIM (Subscriber Identity Module) card number, UIM (User Identification) Module, user identification module) card number, etc.) or group short number. When the communication number of the second terminal is the second public network number, the first terminal and the second terminal may be any terminal in the public network; when the communication number of the second terminal is the short number in the group, the first terminal and the second terminal The terminal must be a group of business users belonging to the same group.
步驟 102、应用服务器根据第一终端的第一公网号码和第二终端的通信 号码, 判断第一终端是否有权续接第二终端的当前通话。  Step 102: The application server determines, according to the first public network number of the first terminal and the communication number of the second terminal, whether the first terminal has the right to continue the current call of the second terminal.
当第二终端的通信号码为第二终端的第二公网号码时, 步驟 102可具 体实施为以下步驟:  When the communication number of the second terminal is the second public network number of the second terminal, step 102 can be specifically implemented as follows:
步驟 A1、 应用服务器根据第二公网号码和预先保存的所有公网号码与 续接授权用户的公网号码的第一对应关系, 确定第二终端的所有续接授权 用户的公网号码;  Step A1: The application server determines, according to the second public network number and the first correspondence between all the public network numbers saved in advance and the public network number of the authorized user, the public network number of all the authorized users of the second terminal is determined;
第一对应关系可预先保存于应用服务器内, 第一对应关系对应保存有 每个公网号码和对应的续接授权用户的公网号码。  The first correspondence may be pre-stored in the application server, and the first correspondence corresponds to the public network number of each public network number and the corresponding continuation authorized user.
步驟 A2、 应用服务器根据第一公网号码和上述所有续接授权用户的公 网号码, 判断第一终端是否有权续接第二终端的当前通话。  Step A2: The application server determines, according to the first public network number and the public network number of all the above-mentioned authorized users, whether the first terminal has the right to continue the current call of the second terminal.
当第二终端的通信号码为第二终端的群内短号时, 步驟 102可具体实 施为以下步驟:  When the communication number of the second terminal is the intra-group short number of the second terminal, step 102 may be specifically implemented as the following steps:
步驟 B1、 应用服务器根据第一公网号码和预先保存的所有公网号码与 所属群号的第二对应关系, 确定第一终端所属群的群号;  Step B1: The application server determines, according to the first public network number and the second corresponding relationship between all the public network numbers and the group number that are stored in advance, the group number of the group to which the first terminal belongs;
步驟 B2、 应用服务器根据第一终端所属群的群号、 第二终端的群内短 号和预先保存的所有公网号码与所属群号及群内短号的第三对应关系, 确 定第二终端的第二公网号码;  Step B2: The application server determines the second terminal according to the group number of the group to which the first terminal belongs, the group short number of the second terminal, and the third correspondence between all the public network numbers stored in the group and the group number and the group short number. Second public network number;
步驟 B3、 应用服务器根据第二公网号码和预先保存的所有公网号码与 续接授权用户的公网号码的第四对应关系, 确定第二终端的所有续接授权 用户的公网号码; 步驟 B4、 应用服务器根据第一公网号码和上述所有续接授权用户的公 网号码, 判断第一终端是否有权续接第二终端的当前通话。 Step B3: The application server determines, according to the second public network number and the fourth correspondence between all the public network numbers saved in advance and the public network number of the authorized user, the public network number of all the authorized users of the second terminal; Step B4: The application server determines, according to the first public network number and the public network number of all the above-mentioned authorized users, whether the first terminal has the right to continue the current call of the second terminal.
上述第一对应关系、 第二对应关系、 第三对应关系和第四对应关系可 以表格或数据库的形式保存于应用服务器中。  The first corresponding relationship, the second corresponding relationship, the third corresponding relationship, and the fourth corresponding relationship may be saved in the application server in the form of a table or a database.
步驟 103、 当第一终端有权续接第二终端的当前通话时,应用服务器在 第二终端的当前通话方与第一终端之间建立通话连接。  Step 103: When the first terminal has the right to continue the current call of the second terminal, the application server establishes a call connection between the current party of the second terminal and the first terminal.
步驟 103可具体实施为以下步驟:  Step 103 can be specifically implemented as the following steps:
步驟 Cl、 应用服务器获取第一终端的第一媒体信息;  Step Cl, the application server acquires the first media information of the first terminal;
第一媒体信息用于 SIP ( Session Initiation Protocol, 会话初始协议, 一 种应用层控制协议)信令的媒体协商, 包括 IP地址、 端口号、 音视频编码 格式等;  The first media information is used for media negotiation of SIP (Session Initiation Protocol, an application layer control protocol) signaling, including an IP address, a port number, an audio and video coding format, and the like;
步驟 C2、 应用服务器向当前通话方发送携带有第一媒体信息的再邀请 请求;  Step C2: The application server sends a re-invitation request carrying the first media information to the current party.
步驟 C3、 应用服务器接收当前通话方返回的携带有当前通话方的第二 媒体信息的再邀请确认响应;  Step C3: The application server receives a re-invitation confirmation response that is returned by the current party and carries the second media information of the current party.
步驟 C4、 应用服务器向第一终端返回携带有第二媒体信息的呼叫确认 响应;  Step C4: The application server returns a call confirmation response carrying the second media information to the first terminal.
步驟 C5、 应用服务器完成第一终端与当前通话方之间的媒体协商, 使 第一终端与当前通话方之间形成通话话路。  Step C5: The application server completes media negotiation between the first terminal and the current party, so that a call channel is formed between the first terminal and the current party.
另外, 当第一终端无权续接第二终端的当前通话时, 应用服务器向第 一终端发送无权续接提示消息。  In addition, when the first terminal does not have the right to continue the current call of the second terminal, the application server sends a no-renew prompt message to the first terminal.
步驟 104、 应用服务器控制第二终端断开与当前通话方的连接。  Step 104: The application server controls the second terminal to disconnect from the current party.
具体地, 应用服务器可向第二终端发送断开连接请求, 第二终端断开 与当前通话方的连接后, 向应用服务器返回断开确认响应。  Specifically, the application server may send a disconnection request to the second terminal, and after the second terminal disconnects from the current party, return a disconnect confirmation response to the application server.
另外, 在执行步驟 104之前, 还可执行以下步驟: 第二终端发起呼叫保持请求, 使当前通话方处于呼叫保持状态; 或者, 第二终端与当前通话方保持通话。 In addition, before performing step 104, the following steps can also be performed: The second terminal initiates a call hold request, so that the current party is in a call hold state; or the second terminal keeps a call with the current party.
如果在控制第二终端断开与当前通话方的连接之前, 第二终端发起呼 叫保持请求, 使当前通话方处于呼叫保持状态, 则处于呼叫保持状态的当 前通话方会听到媒体服务器播放的保持提示音, 此时, 第二终端与当前通 话方之间的业务消息可以互通, 但媒体流暂时中断, 当前通话方在从与第 二终端的通话切换到与第一终端的通话过程中, 能感觉到通话有中断, 该 切换不是无缝切换。  If the second terminal initiates a call hold request before the second terminal disconnects from the current party, so that the current party is in the call hold state, the current party in the call hold state will hear the media server play. a prompt tone, at this time, the service message between the second terminal and the current party can be intercommunicated, but the media stream is temporarily interrupted, and the current party can switch from the call with the second terminal to the call with the first terminal. I feel that the call is interrupted and the switch is not seamless.
如果在控制第二终端断开与当前通话方的连接之前, 第二终端与当前 通话方保持通话, 则当前通话方在从与第二终端的通话切换到与第一终端 的通话过程中, 感觉不到通话有中断, 实现了无缝切换。  If the second terminal keeps talking with the current party before controlling the second terminal to disconnect from the current party, the current party is in the process of switching from the call with the second terminal to the call with the first terminal, There is no interruption in the call, and seamless switching is achieved.
本发明实施例提供的上述呼叫续接方法, 是由应用服务器记录各终端 的通话信息, 不需要终端支持呼叫保持功能以及支持 refer消息, 只需要经 过第二终端授权的第一终端向应用服务器发起呼叫请求, 在呼叫请求中携 带特定的业务码和第二终端的通信号码, 应用服务器通过一些呼叫续接处 理就可以使第一终端将第二终端的通话续接过来, 完成第二终端的当前通 话方与第一终端通话的功能。 该呼叫续接方法适用于现网各类终端, 如支 持 C网或 G网手机、 PSTN终端、 IMS终端等; 不需要终端支持呼叫保持 功能以及支持发送 refer消息。  The foregoing method for the continuation of the call provided by the embodiment of the present invention is that the application server records the call information of each terminal, does not need the terminal to support the call hold function, and supports the refer message, and only needs to be initiated by the first terminal authorized by the second terminal to the application server. The call request carries the specific service code and the communication number of the second terminal in the call request, and the application server can continue the call of the second terminal by using the call renewal process to complete the current terminal of the second terminal. The function of the party talking to the first terminal. The call renewal method is applicable to various types of terminals on the live network, such as supporting a C network or a G network mobile phone, a PSTN terminal, an IMS terminal, etc.; the terminal does not need to support the call holding function and supports sending a refer message.
下面以手机用户为例说明本发明实施例提供的呼叫续接方法。  The call continuation method provided by the embodiment of the present invention is described below by taking a mobile phone user as an example.
具体实施例一  Specific embodiment 1
用户 1想续接用户 2的当前通话, 用户 1 当前正与用户 3在通话, 用 户 1与用户 2不是群业务用户:  User 1 wants to continue the current call of User 2, User 1 is currently talking to User 3, User 1 and User 2 are not group service users:
步驟 Dl、 用户 1向应用服务器发送呼叫请求 INVITE, INVITE中携带 呼叫续接业务码 ac和用户 2的手机号 b; 步驟 D2、应用服务器接收到 INVITE后, 根据呼叫续接业务码 ac判断 出业务类型为呼叫续接, 根据用户 1的手机号 b和预先保存的所有手机号 与有权续接用户手机号的第一对应关系, 确定用户 2 的所有有权续接用户 手机号; Step D1, the user 1 sends a call request INVITE to the application server, where the INVITE carries the call renewal service code ac and the mobile phone number b of the user 2; Step D2: After receiving the INVITE, the application server determines, according to the call renewal service code ac, that the service type is a call renewal, according to the mobile phone number b of the user 1 and all the mobile phone numbers saved in advance and the user who has the right to continue the mobile phone number of the user. a corresponding relationship, determining that all of User 2 has the right to continue the user's mobile phone number;
具体地, 应用服务器在第一对应关系中查找用户 2的手机号 b及其对 应的所有有权续接用户手机号;  Specifically, the application server searches for the mobile phone number b of the user 2 and all corresponding corresponding mobile phone numbers of the user in the first correspondence relationship;
步驟 D3、 应用服务器判断在用户 2的所有有权续接用户手机号中是否 存在用户 1的手机号, 如果存在则继续步驟 D4; 如果不存在则向用户 1播 放无权续接提示音, 退出流程;  Step D3: The application server determines whether there is a mobile phone number of the user 1 in all the user's mobile phone numbers of the user 2, if yes, proceed to step D4; if not, play the user 1 with no right to continue the prompt tone, and exit Process;
步驟 D4、 应用服务器从步驟 D2获取的呼叫请求中获取用户 1的第一 媒体信息;  Step D4: The application server obtains the first media information of the user 1 from the call request obtained in step D2.
步驟 D5、 应用服务器向用户 3发送携带有第一媒体信息的 REINVITE (再邀请请求;);  Step D5: The application server sends a REINVITE carrying the first media information to the user 3 (re-invitation request;);
步驟 D6、 用户 3向应用服务器返回 REINVITE的 200 OK响应, 携带 用户 3的第二媒体信息;  Step D6: The user 3 returns a 200 OK response of the REINVITE to the application server, and carries the second media information of the user 3;
步驟 D7、 应用服务器向用户 1返回携带有第二媒体信息的 INVITE的 200 OK响应;  Step D7: The application server returns, to the user 1, a 200 OK response of the INVITE carrying the second media information.
步驟 D8、 完成用户 1与用户 3之间的媒体协商, 使用户 1与用户 3之 间形成通话话路;  Step D8: Complete media negotiation between the user 1 and the user 3, so that a call channel is formed between the user 1 and the user 3;
步驟 D9、 应用服务器向用户 2发送 BYE请求, 指示用户 2断开与用 户 3的连接;  Step D9: The application server sends a BYE request to the user 2, instructing the user 2 to disconnect from the user 3;
步驟 D10、用户 2断开与用户 3的连接,向应用服务器返回 BYE的 200 OK响应。  Step D10: User 2 disconnects from user 3, and returns a 200 OK response of BYE to the application server.
其中, 在执行步驟 D10之前, 用户 2可发起呼叫保持请求, 使用户 3 处于呼叫保持状态; 或者, 用户 2可与用户 3保持通话, 实现无缝切换。 本具体实施例一适用于公网系统, 利用本发明实施例提供的呼叫续接 方法使第一终端续接入第二终端的当前通话。 Before performing step D10, the user 2 may initiate a call hold request to keep the user 3 in a call hold state; or, the user 2 may keep a call with the user 3 to implement seamless handover. The specific embodiment 1 is applicable to the public network system, and the call renewal method provided by the embodiment of the present invention enables the first terminal to continue to access the current call of the second terminal.
具体实施例二  Specific embodiment 2
用户 1想续接用户 2的当前通话, 用户 1 当前正与用户 3在通话, 用 户 1与用户 2是属于同一个群的统一 Centrex业务用户:  User 1 wants to continue the current call of User 2, User 1 is currently in a call with User 3, User 1 and User 2 are unified Centrex service users belonging to the same group:
步驟 E1、用户 1向统一 Centrex业务应用服务器发送呼叫请求 INVITE, INVITE中携带呼叫续接业务码 ac和用户 2的群内短号;  Step E1: The user 1 sends a call request INVITE to the unified Centrex service application server, where the INVITE carries the call renewed service code ac and the intra-group short number of the user 2;
步驟 E2、统一 Centrex业务应用服务器接收到 INVITE后,根据呼叫续 接业务码 ac判断出业务类型为呼叫续接, 根据用户 1的手机号和预先保存 的手机号与所属群号的第二对应关系, 确定用户 1所属群的群号;  Step E2: After receiving the INVITE, the unified Centrex service application server determines, according to the call renewal service code ac, that the service type is a call renewal, according to the second correspondence between the mobile phone number of the user 1 and the pre-saved mobile phone number and the group number. , determining the group number of the group to which the user 1 belongs;
步驟 E3、 统一 Centrex业务应用服务器根据用户 1所属群的群号、 用 户 2的群内短号 d和预先保存的手机号与群号及群内短号的第三对应关系, 确定用户 2的手机号;  Step E3: The unified Centrex service application server determines the mobile phone of the user 2 according to the group number of the group to which the user 1 belongs, the short number d of the group 2 of the user 2, and the third correspondence between the pre-saved mobile phone number and the group number and the short number within the group. number;
步驟 E4、 统一 Centrex业务应用服务器根据用户 2的手机号和预先保 存的所有手机号与有权续接用户手机号的第四对应关系, 确定用户 2 的所 有有权续接用户手机号;  Step E4: The unified Centrex service application server determines, according to the mobile phone number of the user 2 and all the mobile phone numbers saved in advance and the fourth correspondence corresponding to the mobile phone number of the user, determining that all the user 2 has the right to continue the mobile phone number of the user;
步驟具体地,统一 Centrex业务应用服务器在第四对应关系中查找用户 2的手机号及其对应的所有有权续接用户手机号;  Specifically, the unified Centrex service application server searches for the mobile phone number of the user 2 and all corresponding mobile phone numbers of the user who are authorized to continue in the fourth correspondence relationship;
步驟 E5、 统一 Centrex业务应用服务器判断在用户 2的所有有权续接 用户手机号中是否存在用户 1的手机号, 如果存在则继续步驟 E6; 如果不 存在则向用户 1播放无权续接提示音, 退出流程;  Step E5: The unified Centrex service application server determines whether the mobile phone number of the user 1 exists in all the user's mobile phone numbers of the user 2, and if yes, proceeds to step E6; if not, the user 1 does not have the right to continue the prompt. Tone, exit the process;
步驟 E6、统一 Centrex业务应用服务器从步驟 E2获取的呼叫请求中获 取用户 1的第一媒体信息;  Step E6: The unified Centrex service application server obtains the first media information of the user 1 from the call request obtained in step E2;
步驟 E7、 统一 Centrex业务应用服务器向用户 3发送携带有第一媒体 信息的 REINVITE (再邀请请求;); 步驟 E8、用户 3向统一 Centrex业务应用服务器返回 REINVITE的 200 OK响应, 携带用户 3的第二媒体信息; Step E7: The unified Centrex service application server sends a REINVITE carrying the first media information to the user 3 (re-invitation request;); Step E8: The user 3 returns a 200 OK response of the REINVITE to the unified Centrex service application server, and carries the second media information of the user 3;
步驟 E9、 统一 Centrex业务应用服务器向用户 1返回携带有第二媒体 信息的 INVITE的 200 OK响应;  Step E9: The unified Centrex service application server returns a 200 OK response of the INVITE carrying the second media information to the user 1;
步驟 E10、 完成用户 1与用户 3之间的媒体协商, 使用户 1与用户 3 之间形成通话话路;  Step E10: Complete media negotiation between the user 1 and the user 3, so that a call channel is formed between the user 1 and the user 3;
步驟 Ell、 统一 Centrex业务应用服务器向用户 2发送 BYE请求, 指 示用户 2断开与用户 3的连接;  Step Ell: The unified Centrex service application server sends a BYE request to the user 2, indicating that the user 2 disconnects from the user 3;
步驟 E12、 用户 2断开与用户 3的连接, 向统一 Centrex业务应用服务 器返回 BYE的 200 OK响应。  Step E12: User 2 disconnects from user 3, and returns a BYE 200 OK response to the unified Centrex service application server.
其中, 在执行步驟 E12之前, 用户 2可发起呼叫保持请求, 使用户 3 处于呼叫保持状态; 或者, 用户 2可与用户 3保持通话, 实现无缝切换。  Before performing step E12, the user 2 can initiate a call hold request to keep the user 3 in a call hold state; or, the user 2 can keep a call with the user 3 to achieve seamless handover.
本具体实施例二适用于统一 Centrex业务网络系统,第一终端与第二终 端属于同一群, 利用本发明实施例提供的呼叫续接方法使第一终端续接入 第二终端的当前通话。  The second embodiment is applicable to the unified Centrex service network system. The first terminal and the second terminal belong to the same group, and the call termination method provided by the embodiment of the present invention enables the first terminal to continue to access the current call of the second terminal.
如图 2所示, 本发明实施例还提供了一种应用服务器, 包括: 接收模块, 用于接收第一终端发起的呼叫请求, 呼叫请求中携带呼叫 续接业务码和第二终端的通信号码;  As shown in FIG. 2, an embodiment of the present invention further provides an application server, including: a receiving module, configured to receive a call request initiated by a first terminal, where the call request carries a call renewal service code and a communication number of the second terminal. ;
判断模块, 用于根据第一终端的第一公网号码和第二终端的通信号码, 判断第一终端是否有权续接第二终端的当前通话;  a determining module, configured to determine, according to the first public network number of the first terminal and the communication number of the second terminal, whether the first terminal has the right to continue the current call of the second terminal;
连接建立模块, 用于当第一终端有权续接第二终端的当前通话时, 在 第二终端的当前通话方与第一终端之间建立通话连接;  a connection establishing module, configured to establish a call connection between the current party of the second terminal and the first terminal when the first terminal has the right to continue the current call of the second terminal;
连接断开模块, 用于控制第二终端断开与当前通话方的连接。  The disconnection module is configured to control the second terminal to disconnect from the current party.
如图 3所示, 图 2所示的应用服务器还可包括:  As shown in FIG. 3, the application server shown in FIG. 2 may further include:
第一存储器, 用于保存所有公网号码与续接授权用户的公网号码的第 一对应关系; The first memory is used to save all public network numbers and the number of the public network number of the authorized user a correspondence relationship;
此时, 判断模块进一步包括:  At this time, the determining module further includes:
第一确定子模块, 用于根据第二公网号码和第一存储器保存的第一对 应关系, 确定第二终端的所有续接授权用户的公网号码;  a first determining submodule, configured to determine, according to the second public network number and the first corresponding relationship saved by the first memory, a public network number of all the extended authorized users of the second terminal;
第一判断子模块, 用于根据第一公网号码和所有续接授权用户的公网 号码, 判断第一终端是否有权续接第二终端的当前通话。  The first determining sub-module is configured to determine, according to the first public network number and the public network number of all the authorized users, whether the first terminal has the right to continue the current call of the second terminal.
如图 4所示, 图 2所示的应用服务器还可包括:  As shown in FIG. 4, the application server shown in FIG. 2 may further include:
第二存储器, 用于保存所有公网号码与所属群号的第二对应关系、 所 有公网号码与所属群号及群内短号的第三对应关系以及所有公网号码与续 接授权用户的公网号码的第四对应关系;  a second memory, configured to save a second correspondence between all public network numbers and the group number, a third correspondence between all the public network numbers and the group number and the group short number, and all the public network numbers and the continuation authorized users The fourth correspondence of the public network number;
此时, 判断模块进一步包括:  At this time, the determining module further includes:
第二确定子模块, 用于根据第一公网号码和第二对应关系, 确定第一 终端所属群的群号;  a second determining submodule, configured to determine, according to the first public network number and the second correspondence, a group number of the group to which the first terminal belongs;
第三确定子模块, 用于根据第一终端所属群的群号、 第二终端的群内 短号和第三对应关系, 确定第二终端的第二公网号码;  a third determining submodule, configured to determine a second public network number of the second terminal according to the group number of the group to which the first terminal belongs, the intra-group short number of the second terminal, and the third correspondence relationship;
第四确定子模块, 用于根据第二公网号码和第四对应关系, 确定第二 终端的所有续接授权用户的公网号码;  a fourth determining submodule, configured to determine, according to the second public network number and the fourth correspondence, the public network number of all the extended authorized users of the second terminal;
第二判断子模块, 用于根据第一公网号码和第二终端的所有续接授权 用户的公网号码, 判断第一终端是否有权续接第二终端的当前通话。  The second determining sub-module is configured to determine, according to the first public network number and the public network number of all the continuation authorized users of the second terminal, whether the first terminal has the right to continue the current call of the second terminal.
如图 5所示, 图 2 (或图 3、 图 4 )所示的连接建立模块可进一步包括: 获取子模块, 用于获取第一终端的第一媒体信息;  As shown in FIG. 5, the connection establishment module shown in FIG. 2 (or FIG. 3, FIG. 4) may further include: an acquisition submodule, configured to acquire first media information of the first terminal;
发送子模块, 用于向当前通话方发送携带有第一媒体信息的再邀请请 求;  a sending submodule, configured to send, to the current party, a re-invitation request carrying the first media information;
接收子模块, 用于接收当前通话方返回的携带有当前通话方的第二媒 体信息的再邀请确认响应; 返回子模块, 用于向第一终端返回携带有第二媒体信息的呼叫确认响 应; a receiving submodule, configured to receive a re-invitation confirmation response that is returned by the current party and carries the second media information of the current party; Returning to the submodule, configured to return, to the first terminal, a call confirmation response that carries the second media information;
建立子模块, 用于完成第一终端与当前通话方之间的媒体协商, 使第 一终端与当前通话方之间形成通话话路。  And establishing a sub-module, configured to complete media negotiation between the first terminal and the current party, so that a call channel is formed between the first terminal and the current party.
另外, 上述应用服务器还可包括:  In addition, the above application server may further include:
发送模块, 用于当判断模块判断出第一终端无权续接第二终端的当前 通话时, 向第一终端发送无权续接提示消息。  The sending module is configured to send, when the determining module determines that the first terminal does not have the right to continue the current call of the second terminal, send the unrestricted prompt message to the first terminal.
本发明实施例提供的应用服务器记录各终端的通话信息, 不需要终端 支持呼叫保持功能以及支持 refer消息, 只需要经过第二终端授权的第一终 端向应用服务器发起呼叫请求, 在呼叫请求中携带特定的呼叫续接业务码 和第二终端的通信号码, 应用服务器通过一些呼叫续接处理就可以使第一 终端将第二终端的通话续接过来, 完成第二终端的当前通话方与第一终端 通话的功能。  The application server provided by the embodiment of the present invention records the call information of each terminal, does not need the terminal to support the call hold function, and supports the refer message. The first terminal authorized by the second terminal only needs to initiate a call request to the application server, and carries the call request in the call request. The specific call renews the service code and the communication number of the second terminal, and the application server can make the first terminal continue the call of the second terminal through some call renewal processing, and complete the current party and the first terminal of the second terminal. The function of the terminal call.
本领域普通技术人员可以理解, 实现上述事实的方法中的全部或部分 步驟是可以通过程序来指令相关的硬件来完成, 上述的程序可以存储于一 计算机所可读取的存储介质中, 该程序在执行时, 包括上述的步驟。 上述 的存储介质, 可以是 ROM/RAM、 磁盘、 光盘等。  It will be understood by those skilled in the art that all or part of the steps of the method for realizing the above facts may be completed by a program instructing related hardware, and the above program may be stored in a storage medium readable by a computer, the program When executed, the above steps are included. The above storage medium may be a ROM/RAM, a magnetic disk, an optical disk or the like.
以上所述是本发明的优选实施方式, 应当指出, 对于本技术领域的普 通技术人员来说, 在不脱离本发明所述原理的前提下, 还可以作出若干改 进和润饰, 这些改进和润饰也应视为本发明的保护范围。  The above is a preferred embodiment of the present invention, and it should be noted that those skilled in the art can also make several improvements and retouchings without departing from the principles of the present invention. It should be considered as the scope of protection of the present invention.

Claims

权利要求书 Claim
1、 一种呼叫续接方法, 其特征在于, 包括:  A call renewal method, characterized in that:
应用服务器接收第一终端发起的呼叫请求, 所述呼叫请求中携带呼叫 续接业务码和第二终端的通信号码;  The application server receives the call request initiated by the first terminal, where the call request carries the call renewal service code and the communication number of the second terminal;
所述应用服务器根据所述第一终端的第一公网号码和所述第二终端的 通信号码, 判断所述第一终端是否有权续接所述第二终端的当前通话; 当所述第一终端有权续接所述第二终端的当前通话时, 所述应用服务 器在所述第二终端的当前通话方与所述第一终端之间建立通话连接;  Determining, by the application server, whether the first terminal has the right to continue the current call of the second terminal according to the first public network number of the first terminal and the communication number of the second terminal; When the terminal has the right to continue the current call of the second terminal, the application server establishes a call connection between the current party of the second terminal and the first terminal;
所述应用服务器控制所述第二终端断开与所述当前通话方的连接。 The application server controls the second terminal to disconnect from the current party.
2、 如权利要求 1所述的呼叫续接方法, 其特征在于, 2. The call continuation method according to claim 1, wherein:
所述第二终端的通信号码为所述第二终端的第二公网号码;  The communication number of the second terminal is a second public network number of the second terminal;
所述应用服务器根据所述第一终端的第一公网号码和所述第二终端的 通信号码, 判断所述第一终端是否有权续接所述第二终端的当前通话, 具 体为:  The application server determines, according to the first public network number of the first terminal and the communication number of the second terminal, whether the first terminal has the right to continue the current call of the second terminal, which is:
所述应用服务器根据所述第二公网号码和预先保存的所有公网号码与 续接授权用户的公网号码的第一对应关系, 确定所述第二终端的所有续接 授权用户的公网号码;  Determining, by the application server, the public network of all the continuation authorized users of the second terminal according to the second public network number and the first correspondence between all the public network numbers saved in advance and the public network number of the continuation authorized user Number
所述应用服务器根据所述第一公网号码和所述第二终端的所有续接授 权用户的公网号码, 判断所述第一终端是否有权续接所述第二终端的当前 通话。  The application server determines, according to the first public network number and the public network number of all the continuation authorized users of the second terminal, whether the first terminal has the right to continue the current call of the second terminal.
3、 如权利要求 1所述的呼叫续接方法, 其特征在于,  3. The call continuation method according to claim 1, wherein:
所述第二终端的通信号码为所述第二终端的群内短号;  The communication number of the second terminal is a short number within the group of the second terminal;
所述应用服务器根据所述第一终端的第一公网号码和所述第二终端的 通信号码, 判断所述第一终端是否有权续接所述第二终端的当前通话, 具 体为: 所述应用服务器根据所述第一公网号码和预先保存的所有公网号码与 所属群号的第二对应关系, 确定所述第一终端所属群的群号; The application server determines, according to the first public network number of the first terminal and the communication number of the second terminal, whether the first terminal has the right to continue the current call of the second terminal, specifically: Determining, by the application server, the group number of the group to which the first terminal belongs according to the first public network number and the second correspondence between all the public network numbers and the group number that are saved in advance;
所述应用服务器根据所述第一终端所属群的群号、 所述第二终端的群 内短号和预先保存的所有公网号码与所属群号及群内短号的第三对应关 系, 确定所述第二终端的第二公网号码;  The application server determines, according to the group number of the group to which the first terminal belongs, the group short number of the second terminal, and all the public network numbers stored in advance and the third corresponding relationship between the group number and the group short number. a second public network number of the second terminal;
所述应用服务器根据所述第二公网号码和预先保存的所有公网号码与 续接授权用户的公网号码的第四对应关系, 确定所述第二终端的所有续接 授权用户的公网号码;  Determining, by the application server, the public network of all the continuation authorized users of the second terminal according to the second public network number and the fourth correspondence between all the public network numbers saved in advance and the public network number of the continuation authorized user Number
所述应用服务器根据所述第一公网号码和所述第二终端的所有续接授 权用户的公网号码, 判断所述第一终端是否有权续接所述第二终端的当前 通话。  The application server determines, according to the first public network number and the public network number of all the continuation authorized users of the second terminal, whether the first terminal has the right to continue the current call of the second terminal.
4、 如权利要求 1所述的呼叫续接方法, 其特征在于, 所述当所述第一 终端有权续接所述第二终端的当前通话时, 所述应用服务器在所述第二终 端的当前通话方与所述第一终端之间建立通话连接, 具体为:  The call continuation method according to claim 1, wherein the application server is in the second terminal when the first terminal has the right to continue the current call of the second terminal. Establish a call connection between the current party and the first terminal, specifically:
所述应用服务器获取所述第一终端的第一媒体信息;  The application server acquires first media information of the first terminal;
所述应用服务器向所述当前通话方发送携带有所述第一媒体信息的再 邀请请求;  Sending, by the application server, a re-invitation request carrying the first media information to the current party;
所述应用服务器接收所述当前通话方返回的携带有所述当前通话方的 第二媒体信息的再邀请确认响应;  Receiving, by the application server, a re-invitation confirmation response returned by the current party that carries the second media information of the current party;
所述应用服务器向所述第一终端返回携带有所述第二媒体信息的呼叫 确认响应;  Returning, by the application server, a call confirmation response carrying the second media information to the first terminal;
所述应用服务器完成所述第一终端与所述当前通话方之间的媒体协 商, 使所述第一终端与当前通话方之间形成通话话路。  The application server completes media negotiation between the first terminal and the current party, so that a call channel is formed between the first terminal and the current party.
5、 如权利要求 1至 4任一所述的呼叫续接方法, 其特征在于, 所述应 用服务器控制所述第二终端断开与所述当前通话方的连接之前, 还包括: 所述第二终端发起呼叫保持请求, 使所述当前通话方处于呼叫保持状 态; 或者, 所述第二终端与所述当前通话方保持通话。 The call continuation method according to any one of claims 1 to 4, wherein before the application server controls the second terminal to disconnect from the current party, the method further includes: The second terminal initiates a call hold request, so that the current party is in a call hold state; or the second terminal keeps a call with the current party.
6、 如权利要求 1至 4任一所述的呼叫续接方法, 其特征在于, 所述应 用服务器根据所述第一终端的第一公网号码和所述第二终端的通信号码, 判断所述第一终端是否有权续接所述第二终端的当前通话之后, 还包括: 当所述第一终端无权续接所述第二终端的当前通话时, 所述应用服务 器向所述第一终端发送无权续接提示消息。  The call continuation method according to any one of claims 1 to 4, wherein the application server determines the location according to the first public network number of the first terminal and the communication number of the second terminal. After the first terminal has the right to continue the current call of the second terminal, the method further includes: when the first terminal does not have the right to continue the current call of the second terminal, the application server is to the A terminal sends a no-return prompt message.
7、 一种应用服务器, 其特征在于, 包括:  7. An application server, comprising:
接收模块, 用于接收第一终端发起的呼叫请求, 所述呼叫请求中携带 呼叫续接业务码和第二终端的通信号码;  a receiving module, configured to receive a call request initiated by the first terminal, where the call request carries a call renewal service code and a communication number of the second terminal;
判断模块, 用于根据所述第一终端的第一公网号码和所述第二终端的 通信号码, 判断所述第一终端是否有权续接所述第二终端的当前通话; 连接建立模块, 用于当所述第一终端有权续接所述第二终端的当前通 话时, 在所述第二终端的当前通话方与所述第一终端之间建立通话连接; 连接断开模块, 用于控制所述第二终端断开与所述当前通话方的连接。 a determining module, configured to determine, according to the first public network number of the first terminal, and the communication number of the second terminal, whether the first terminal has the right to continue the current call of the second terminal; And when the first terminal has the right to continue the current call of the second terminal, establishing a call connection between the current party of the second terminal and the first terminal; And configured to control the second terminal to disconnect from the current party.
8、 如权利要求 7所述的应用服务器, 其特征在于, 还包括: 8. The application server of claim 7, further comprising:
第一存储器, 用于保存所有公网号码与续接授权用户的公网号码的第 一对应关系;  a first memory, configured to save a first correspondence between all public network numbers and a public network number of the continuation authorized user;
所述判断模块包括:  The determining module includes:
第一确定子模块, 用于根据所述第二公网号码和所述第一存储器保存 的所述第一对应关系, 确定所述第二终端的所有续接授权用户的公网号码; 第一判断子模块, 用于根据所述第一公网号码和所述第二终端的所有 续接授权用户的公网号码, 判断所述第一终端是否有权续接所述第二终端 的当前通话。  a first determining submodule, configured to determine, according to the second public network number and the first correspondence saved by the first memory, a public network number of all the extended authorized users of the second terminal; a determining sub-module, configured to determine, according to the first public network number and a public network number of all the extended authorized users of the second terminal, whether the first terminal has the right to continue the current call of the second terminal .
9、 如权利要求 7所述的应用服务器, 其特征在于, 还包括: 第二存储器, 用于保存所有公网号码与所属群号的第二对应关系、 所 有公网号码与所属群号及群内短号的第三对应关系以及所有公网号码与续 接授权用户的公网号码的第四对应关系; 9. The application server of claim 7, further comprising: a second memory, configured to save a second correspondence between all public network numbers and the group number, a third correspondence between all the public network numbers and the group number and the group short number, and all the public network numbers and the continuation authorized users The fourth correspondence of the public network number;
所述判断模块包括:  The determining module includes:
第二确定子模块, 用于根据所述第一公网号码和所述第二对应关系, 确定所述第一终端所属群的群号;  a second determining submodule, configured to determine, according to the first public network number and the second corresponding relationship, a group number of the group to which the first terminal belongs;
第三确定子模块, 用于根据所述第一终端所属群的群号、 所述第二终 端的群内短号和所述第三对应关系, 确定所述第二终端的第二公网号码; 第四确定子模块, 用于根据所述第二公网号码和所述第四对应关系, 确定所述第二终端的所有续接授权用户的公网号码;  a third determining submodule, configured to determine, according to the group number of the group to which the first terminal belongs, the intra-group short number of the second terminal, and the third corresponding relationship, the second public network number of the second terminal a fourth determining submodule, configured to determine, according to the second public network number and the fourth correspondence, a public network number of all the extended authorized users of the second terminal;
第二判断子模块, 用于根据所述第一公网号码和所述第二终端的所有 续接授权用户的公网号码, 判断所述第一终端是否有权续接所述第二终端 的当前通话。  a second determining sub-module, configured to determine, according to the first public network number and a public network number of all the extended authorized users of the second terminal, whether the first terminal has the right to continue the second terminal Current call.
10、 如权利要求 7、 8或 9所述的应用服务器, 其特征在于, 所述连接 建立模块包括:  The application server according to claim 7, 8 or 9, wherein the connection establishing module comprises:
获取子模块, 用于获取所述第一终端的第一媒体信息;  Obtaining a submodule, configured to acquire first media information of the first terminal;
发送子模块, 用于向所述当前通话方发送携带有所述第一媒体信息的 再邀请请求;  a sending submodule, configured to send, to the current party, a re-invitation request carrying the first media information;
接收子模块, 用于接收所述当前通话方返回的携带有所述当前通话方 的第二媒体信息的再邀请确认响应;  a receiving submodule, configured to receive a re-invitation confirmation response returned by the current party that carries the second media information of the current party;
返回子模块, 用于向所述第一终端返回携带有所述第二媒体信息的呼 叫确认响应;  Returning to the submodule, configured to return, to the first terminal, a call confirmation response that carries the second media information;
建立子模块, 用于完成所述第一终端与所述当前通话方之间的媒体协 商, 使所述第一终端与当前通话方之间形成通话话路。  And establishing a sub-module, configured to complete media negotiation between the first terminal and the current party, so that a call channel is formed between the first terminal and the current party.
11、 如权利要求 7、 8或 9所述的应用服务器, 其特征在于, 还包括: 发送模块, 用于当所述判断模块判断出所述第一终端无权续接所述第 二终端的当前通话时, 向所述第一终端发送无权续接提示消息。 The application server according to claim 7, 8 or 9, further comprising: And a sending module, configured to: when the determining module determines that the first terminal does not have the right to continue the current call of the second terminal, send a no-renew prompt message to the first terminal.
PCT/CN2011/081181 2011-05-10 2011-10-24 Call connection method and application server WO2012151858A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2011101200020A CN102780986A (en) 2011-05-10 2011-05-10 Call reconnection method and application server
CN201110120002.0 2011-05-10

Publications (1)

Publication Number Publication Date
WO2012151858A1 true WO2012151858A1 (en) 2012-11-15

Family

ID=47125717

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/081181 WO2012151858A1 (en) 2011-05-10 2011-10-24 Call connection method and application server

Country Status (2)

Country Link
CN (1) CN102780986A (en)
WO (1) WO2012151858A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105682066A (en) * 2016-03-30 2016-06-15 中国联合网络通信集团有限公司 Terminal call forwarding method, device and system
CN109413284B (en) * 2017-08-15 2021-10-22 中国移动通信有限公司研究院 Call switching method and device
CN112866215B (en) * 2021-01-04 2023-04-07 厦门亿联网络技术股份有限公司 Music playing method and equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1949889A (en) * 2006-11-01 2007-04-18 华为技术有限公司 Method and apparatus for implementing call service
CN101080083A (en) * 2006-05-26 2007-11-28 华为技术有限公司 A call forward method and system
CN101917436A (en) * 2010-08-19 2010-12-15 中兴通讯股份有限公司 Method for realizing inter-dialing of group data storage in IMS network, server and system
JP2011024006A (en) * 2009-07-16 2011-02-03 Nec Infrontia Corp Telephone exchange system and telephone set switching method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6363142B1 (en) * 1998-08-25 2002-03-26 Siemens Information And Communication Networks, Inc. Network directed call pickup service

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101080083A (en) * 2006-05-26 2007-11-28 华为技术有限公司 A call forward method and system
CN1949889A (en) * 2006-11-01 2007-04-18 华为技术有限公司 Method and apparatus for implementing call service
JP2011024006A (en) * 2009-07-16 2011-02-03 Nec Infrontia Corp Telephone exchange system and telephone set switching method
CN101917436A (en) * 2010-08-19 2010-12-15 中兴通讯股份有限公司 Method for realizing inter-dialing of group data storage in IMS network, server and system

Also Published As

Publication number Publication date
CN102780986A (en) 2012-11-14

Similar Documents

Publication Publication Date Title
US9614905B2 (en) Determination of persona information availability and delivery on peer-to-peer networks
US7570631B2 (en) Cable telephony network supporting roaming VoIP terminals
US8437337B2 (en) Method and apparatus for enabling peer-to-peer communication between endpoints on a per call basis
WO2009082966A1 (en) A call control method, communication system and relative device
WO2010045812A1 (en) Method, apparatus and system for call switching
CN101217600A (en) A method and device of inquiring transferring operations
CN101453524A (en) Multimedia service implementing method
US9071690B2 (en) Call transfer processing in SIP mode
CN111431866B (en) Service authority control method and system based on voice call
WO2009052750A1 (en) Method, device and system for initiating two party call
WO2012151858A1 (en) Call connection method and application server
WO2010108425A1 (en) Method and apparatus for providing ip voice exchanger service
CN102664863B (en) Method, device, and system for realizing call waiting by user equipment
TW201325188A (en) Personal communication code multiple-number simultaneously-ringing system and method
CN109547491B (en) Group user number portability communication method and system
CN102833715B (en) Inquisition switching implementation method, application server, business terminal and system
CN101742447A (en) Core network system supporting different field general terminal and calling method
WO2007056936A1 (en) Method and network equipment for multimedia backspacing in communication network and communication network thereof
US7826832B1 (en) Call storage in removable memory
WO2005107230A1 (en) A call charging method for voip calls
US20110216737A1 (en) Systems, methods, and media for implementing call handoff between networks
CN101247441B (en) Method and system for implementing call pickup service under call condition in communication system
WO2013067795A1 (en) Debit card service call method and system communicating with identity of called party, and as
US8279826B1 (en) Presence based routing in an IP multimedia subsystem network
CN103475648A (en) Blind call forwarding method based on SIP (System In Package) protocol and blind call forwarding system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11865209

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11865209

Country of ref document: EP

Kind code of ref document: A1