[go: up one dir, main page]

CN106941669B - Wireless communication method and P-CSCF device - Google Patents

Wireless communication method and P-CSCF device Download PDF

Info

Publication number
CN106941669B
CN106941669B CN201710113369.7A CN201710113369A CN106941669B CN 106941669 B CN106941669 B CN 106941669B CN 201710113369 A CN201710113369 A CN 201710113369A CN 106941669 B CN106941669 B CN 106941669B
Authority
CN
China
Prior art keywords
ims network
mobile terminal
cscf device
enterprise
cscf
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710113369.7A
Other languages
Chinese (zh)
Other versions
CN106941669A (en
Inventor
王国伟
杨晟
孙永勤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201710113369.7A priority Critical patent/CN106941669B/en
Publication of CN106941669A publication Critical patent/CN106941669A/en
Application granted granted Critical
Publication of CN106941669B publication Critical patent/CN106941669B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/16Communication-related supplementary services, e.g. call-transfer or call-hold
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/02Processing of mobility data, e.g. registration information at HLR [Home Location Register] or VLR [Visitor Location Register]; Transfer of mobility data, e.g. between HLR, VLR or external networks
    • H04W8/08Mobility data transfer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/26Network addressing or numbering for mobility support
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W80/00Wireless network protocols or protocol adaptations to wireless operation
    • H04W80/08Upper layer protocols
    • H04W80/10Upper layer protocols adapted for application session management, e.g. SIP [Session Initiation Protocol]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application provides a wireless communication method and a P-CSCF device, the method comprises the steps that a P-CSCF device in an enterprise IMS network receives a INVITE message sent by a mobile terminal, the INVITE message contains an identification of a called second mobile terminal, the P-CSCF device routes a call to the second mobile terminal through an S-CSCF device in the enterprise IMS network under the condition that the identification of the second mobile terminal belongs to an internal identification in the enterprise IMS network, and the P-CSCF device routes the call to the second mobile terminal through the S-CSCF device in the operator IMS network under the condition that the identification of the second mobile terminal does not belong to the internal identification in the enterprise IMS network.

Description

无线通信方法和P-CSCF设备Wireless communication method and P-CSCF device

技术领域technical field

本申请涉及无线通信领域,并且更具体地,涉及一种无线通信方法和代理呼叫会话控制功能(proxy call session control function,P-CSCF)设备。The present application relates to the field of wireless communication, and more particularly, to a wireless communication method and a proxy call session control function (proxy call session control function, P-CSCF) device.

背景技术Background technique

专用分支交换机(private branch exchange,PBX)也可称为用户级交换机,一般用于完成企业内部之间以及企业内部与公共电信网络之间的电话交换。随着网际协议(internet protocol,IP)技术的发展,在传统PBX系统的基础上引入了IP PBX系统。IP PBX系统可以将语音通信集成到公司的数据网络中,从而能够建立企业内部统一的语音和数据网络。A private branch exchange (private branch exchange, PBX) may also be referred to as a user-level exchange, and is generally used to complete telephone exchanges between enterprises and between the enterprise and the public telecommunication network. With the development of Internet Protocol (IP) technology, an IP PBX system is introduced on the basis of the traditional PBX system. The IP PBX system can integrate the voice communication into the company's data network, so as to establish a unified voice and data network within the enterprise.

PBX/IP-PBX方案主要优势在于企业内部通话无需经过运营商提供的公共电信网络,即运营商不感知企业内部的通话,对这类通话不收取任何费用。但是,传统的PBX/IP-PBX系统是针对企业内部的固定终端(如座机)而设计的,仅能解决企业内部的固定终端的通信需求。随着技术的发展,在企业内部使用移动终端进行语音通信的需求越来越强烈,传统的PBX/IP-PBX系统无法支持移动终端的语音通信需求。The main advantage of the PBX/IP-PBX solution is that the intra-enterprise calls do not need to go through the public telecommunication network provided by the operator, that is, the operator does not perceive the intra-enterprise calls and does not charge any fees for such calls. However, the traditional PBX/IP-PBX system is designed for fixed terminals (such as landlines) within the enterprise, and can only meet the communication requirements of the fixed terminals within the enterprise. With the development of technology, the demand for using mobile terminals for voice communication in enterprises is becoming stronger and stronger, and the traditional PBX/IP-PBX system cannot support the voice communication requirements of mobile terminals.

发明内容SUMMARY OF THE INVENTION

本申请提供一种无线通信方法和P-CSCF设备,能够基于无线网络实现与IP-PBX类似的功能。The present application provides a wireless communication method and a P-CSCF device, which can implement functions similar to IP-PBX based on a wireless network.

第一方面,提供一种无线通信方法,包括:企业IMS网络中的第一P-CSCF设备接收第一移动终端发送的第一INVITE消息,所述第一移动终端为所述企业IMS网络和运营商IMS网络的注册终端,所述第一INVITE消息包含被呼叫的第二移动终端的标识;在所述第二移动终端的标识属于所述企业IMS网络中的内部标识的情况下,所述第一P-CSCF设备根据所述第一INVITE消息,通过所述企业IMS网络中的服务呼叫会话控制功能S-CSCF设备将呼叫路由至所述第二移动终端;在所述第二移动终端的标识不属于所述企业IMS网络中的内部标识的情况下,所述第一P-CSCF设备根据所述第一INVITE消息,通过所述运营商IMS网络的S-CSCF设备将呼叫路由至所述第二移动终端。A first aspect provides a wireless communication method, comprising: a first P-CSCF device in an enterprise IMS network receiving a first INVITE message sent by a first mobile terminal, where the first mobile terminal is the enterprise IMS network and operates The registered terminal of the enterprise IMS network, the first INVITE message contains the identifier of the called second mobile terminal; in the case that the identifier of the second mobile terminal belongs to the internal identifier in the enterprise IMS network, the first INVITE message contains the identifier of the called second mobile terminal. A P-CSCF device routes the call to the second mobile terminal through the serving call session control function S-CSCF device in the enterprise IMS network according to the first INVITE message; in the identification of the second mobile terminal In the case of not belonging to the internal identity in the enterprise IMS network, the first P-CSCF device routes the call to the first INVITE through the S-CSCF device of the operator's IMS network according to the first INVITE message. 2. Mobile terminals.

本技术方案对应用于企业IMS网络的P-CSCF设备(如上文中的第一P-CSCF设备)的功能进行了改造,使其具有“呼叫代理功能”。具体而言,企业IMS网络中的P-CSCF设备如果识别出被叫终端(即第二移动终端)的号码为企业IMS网络的内部标识,则由企业IMS网络中的S-CSCF设备将呼叫路由至被叫终端,整个呼叫过程在企业IMS网络内部进行,不会经过运营商IMS网络。换句话说,运营商IMS网络对企业IMS网络内部的呼叫过程不感知,也就不会收取相应的费用。进一步地,如果被叫终端的号码为IMPU,则由运营商IMS网络中的S-CSCF设备将呼叫路由至被叫终端,从而实现了企业IMS网络中的移动终端与运营商IMS网络中的移动终端之间的通信,当然,这种情况需要使用运营商IMS网络,运营商可以按照一定的规则收取相应的费用。从上述过程可以看出,移动终端在企业IMS网络内部,以及企业IMS网络与运营商IMS网络之间的呼叫过程与传统的IP-PBX系统的呼叫过程类似,因此,本发明实施例相当于提供了一种基于IMS网络的无线IP/PBX系统。This technical solution modifies the function of the P-CSCF device (such as the first P-CSCF device above) applied to the enterprise IMS network, so that it has a "call proxy function". Specifically, if the P-CSCF device in the enterprise IMS network recognizes that the number of the called terminal (that is, the second mobile terminal) is the internal identification of the enterprise IMS network, the S-CSCF device in the enterprise IMS network routes the call to To the called terminal, the entire call process is carried out within the enterprise IMS network and will not pass through the operator's IMS network. In other words, the operator's IMS network is not aware of the call process within the enterprise IMS network, and thus will not charge corresponding fees. Further, if the number of the called terminal is IMPU, the S-CSCF device in the operator's IMS network routes the call to the called terminal, thereby realizing the mobile terminal in the enterprise IMS network and the mobile terminal in the operator's IMS network. For communication between terminals, of course, in this case, the operator's IMS network needs to be used, and the operator can charge corresponding fees according to certain rules. It can be seen from the above process that the call process between the mobile terminal inside the enterprise IMS network and between the enterprise IMS network and the operator IMS network is similar to the call process of the traditional IP-PBX system. Therefore, the embodiments of the present invention are equivalent to providing A wireless IP/PBX system based on IMS network is presented.

结合第一方面,在第一方面的某些实现方式中,在所述第一P-CSCF设备接收第一移动终端发送的第一INVITE消息之前,所述方法还包括:所述第一P-CSCF设备接收所述第一移动终端发送的第一REGISTER消息;所述第一P-CSCF设备根据所述第一REGISTER消息,将所述第一移动终端注册至所述运营商IMS网络和所述企业IMS网络。With reference to the first aspect, in some implementations of the first aspect, before the first P-CSCF device receives the first INVITE message sent by the first mobile terminal, the method further includes: the first P-CSCF device The CSCF device receives the first REGISTER message sent by the first mobile terminal; the first P-CSCF device registers the first mobile terminal with the operator's IMS network and the Enterprise IMS network.

本技术方案对应用于企业IMS网络的P-CSCF设备(如上文中的第一P-CSCF设备)的功能进行了改造,使其具有“代理注册功能”。具体而言,企业IMS网络中的P-CSCF设备在接收到移动终端的REGISTER消息(也可称为注册消息或注册请求)之后,不但将移动终端注册至运营商IMS网络,还将移动终端注册至企业IMS网络,使得移动终端能够同时使用运营商IMS网络和企业IMS网络,并且能够在企业IMS网络与运营商IMS网络之间漫游。This technical solution modifies the function of the P-CSCF device (such as the first P-CSCF device above) applied to the enterprise IMS network, so that it has a "proxy registration function". Specifically, after receiving the REGISTER message (also referred to as a registration message or a registration request) from the mobile terminal, the P-CSCF device in the enterprise IMS network not only registers the mobile terminal to the operator's IMS network, but also registers the mobile terminal to the operator's IMS network. To the enterprise IMS network, the mobile terminal can use the operator IMS network and the enterprise IMS network at the same time, and can roam between the enterprise IMS network and the operator IMS network.

结合第一方面,在第一方面的某些实现方式中,所述第一REGISTER消息用于在所述运营商IMS网络进行注册,所述第一P-CSCF设备根据所述第一REGISTER消息,将所述第一移动终端注册至所述运营商IMS网络和所述企业IMS网络,包括:所述第一P-CSCF设备将所述第一REGISTER消息转发至所述运营商IMS网络的S-CSCF设备;所述第一P-CSCF设备接收所述运营商IMS网络发送的第一响应消息,所述第一响应消息用于指示所述第一移动终端在所述运营商IMS网络注册成功;所述第一P-CSCF设备将所述第一响应消息转发至所述第一移动终端;所述第一移动终端在所述运营商IMS网络注册成功之后,所述第一P-CSCF设备向所述企业IMS网络的S-CSCF设备发送第二REGISTER消息;所述第一P-CSCF设备接收所述企业IMS网络的S-CSCF设备发送的第二响应消息,所述第二响应消息用于指示所述第一移动终端在所述企业IMS网络注册成功。With reference to the first aspect, in some implementations of the first aspect, the first REGISTER message is used to register with the operator's IMS network, and the first P-CSCF device, according to the first REGISTER message, Registering the first mobile terminal with the operator IMS network and the enterprise IMS network includes: the first P-CSCF device forwarding the first REGISTER message to the S- CSCF device; the first P-CSCF device receives a first response message sent by the operator's IMS network, where the first response message is used to indicate that the first mobile terminal is successfully registered in the operator's IMS network; The first P-CSCF device forwards the first response message to the first mobile terminal; after the first mobile terminal is successfully registered with the operator's IMS network, the first P-CSCF device sends the message to the first mobile terminal. The S-CSCF device of the enterprise IMS network sends a second REGISTER message; the first P-CSCF device receives a second response message sent by the S-CSCF device of the enterprise IMS network, and the second response message is used for Indicates that the first mobile terminal is successfully registered in the enterprise IMS network.

企业IMS网络中的移动终端(即第一移动终端)发起运营商IMS网络的注册流程之后,企业IMS网络中的P-CSCF设备(即第一P-CSCF设备)首先将该移动终端注册至运营商IMS网络,然后,该P-CSCF设备触发“代理注册功能”,自动发起移动终端到企业IMS网络的注册流程,将移动终端注册至企业IMS网络中,企业IMS网络的注册流程无需移动终端参与,简化了移动终端的操作。After the mobile terminal (ie the first mobile terminal) in the enterprise IMS network initiates the registration process of the operator's IMS network, the P-CSCF device (ie the first P-CSCF device) in the enterprise IMS network first registers the mobile terminal to the operator Then, the P-CSCF device triggers the "agent registration function", automatically initiates the registration process of the mobile terminal to the enterprise IMS network, and registers the mobile terminal to the enterprise IMS network. The registration process of the enterprise IMS network does not require the participation of the mobile terminal. , which simplifies the operation of the mobile terminal.

结合第一方面,在第一方面的某些实现方式中,所述第二REGISTER消息中携带的IMPU与所述第一响应消息中携带的IMPU相同。With reference to the first aspect, in some implementations of the first aspect, the IMPU carried in the second REGISTER message is the same as the IMPU carried in the first response message.

结合第一方面,在第一方面的某些实现方式中,所述第一响应消息中携带的IMPU包括会话初始协议SIP格式的IMPU,所述第二REGISTER消息中携带的IMPI包含所述SIP格式的IMPU中的除去目标字符之外的剩余字符,所述目标字符为sip:+。With reference to the first aspect, in some implementations of the first aspect, the IMPU carried in the first response message includes an IMPU in the SIP format, and the IMPI carried in the second REGISTER message includes the SIP format The remaining characters in the IMPU except the target character, the target character is sip:+.

直接基于第一响应消息中携带的IMPU生成第二REGISTER消息对应的IMPI和IMPU,这种实现方式简单,无需基于IMSI重新生成IMPI和IMPU。The IMPI and IMPU corresponding to the second REGISTER message are directly generated based on the IMPU carried in the first response message. This implementation is simple, and there is no need to regenerate the IMPI and IMPU based on the IMSI.

结合第一方面,在第一方面的某些实现方式中,所述企业的IMS网络包括第一IMS网络和第二IMS网络,所述企业IMS网络的S-CSCF设备位于所述第一IMS网络中,所述第一IMS网络的P-CSCF设备和所述第二IMS网络的P-CSCF设备均与所述第一IMS网络中的S-CSCF设备相连,所述第一P-CSCF设备为所述第一IMS网络和所述第二IMS网络中的任一P-CSCF设备,且所述第一P-CSCF设备与所述第一移动终端位于所述第一IMS网络和所述第二IMS网络中的同一IMS网络。With reference to the first aspect, in some implementations of the first aspect, the IMS network of the enterprise includes a first IMS network and a second IMS network, and the S-CSCF device of the enterprise IMS network is located in the first IMS network , the P-CSCF device of the first IMS network and the P-CSCF device of the second IMS network are both connected to the S-CSCF device in the first IMS network, and the first P-CSCF device is any P-CSCF device in the first IMS network and the second IMS network, and the first P-CSCF device and the first mobile terminal are located in the first IMS network and the second IMS network The same IMS network in the IMS network.

结合第一方面,在第一方面的某些实现方式中,所述第一移动终端与所述第二移动终端位于所述第一IMS网络和所述第二IMS网络中的同一IMS网络中,所述第一P-CSCF设备根据所述第一INVITE消息,通过所述企业IMS网络中的S-CSCF设备将呼叫路由至所述第二移动终端,包括:所述第一P-CSCF设备向所述企业IMS网络中的S-CSCF设备转发所述第一INVITE消息;所述第一P-CSCF设备接收所述企业IMS网络的S-CSCF设备发送的第二INVITE消息,所述第二INVITE消息包含所述第二移动终端的IMPU;所述第一P-CSCF设备根据所述第二移动终端的IMPU,将呼叫路由至所述第二移动终端。With reference to the first aspect, in some implementations of the first aspect, the first mobile terminal and the second mobile terminal are located in the same IMS network of the first IMS network and the second IMS network, The first P-CSCF device routes the call to the second mobile terminal through the S-CSCF device in the enterprise IMS network according to the first INVITE message, including: the first P-CSCF device to the second mobile terminal. The S-CSCF device in the enterprise IMS network forwards the first INVITE message; the first P-CSCF device receives the second INVITE message sent by the S-CSCF device of the enterprise IMS network, the second INVITE message The message contains the IMPU of the second mobile terminal; the first P-CSCF device routes the call to the second mobile terminal according to the IMPU of the second mobile terminal.

结合第一方面,在第一方面的某些实现方式中,所述第一移动终端位于所述第二IMS网络中,所述第一P-CSCF设备为所述第二IMS网络的P-CSCF设备,所述方法还包括:所述第一P-CSCF设备接收所述第一IMS网络中的S-CSCF设备发送的第三INVITE消息,所述第三INVITE消息为所述第一IMS网络中的第三移动终端发起的呼叫对应的INVITE消息,所述第三INVITE消息包含所述第一移动终端的IMPU;所述第一P-CSCF设备根据所述第一移动终端的IMPU,将所述第三移动终端发起的呼叫路由至所述第一移动终端。With reference to the first aspect, in some implementations of the first aspect, the first mobile terminal is located in the second IMS network, and the first P-CSCF device is the P-CSCF of the second IMS network device, the method further includes: receiving, by the first P-CSCF device, a third INVITE message sent by an S-CSCF device in the first IMS network, where the third INVITE message is in the first IMS network The INVITE message corresponding to the call initiated by the third mobile terminal, the third INVITE message contains the IMPU of the first mobile terminal; the first P-CSCF device according to the IMPU of the first mobile The call initiated by the third mobile terminal is routed to the first mobile terminal.

第二方面,提供一种无线通信方法,包括:第一P-CSCF设备接收第一移动终端发送的第一REGISTER消息,所述第一P-CSCF设备为企业IMS网络的第一P-CSCF设备;所述第一P-CSCF设备根据所述第一REGISTER消息,将所述第一移动终端注册至运营商IMS网络和所述企业IMS网络。In a second aspect, a wireless communication method is provided, including: a first P-CSCF device receiving a first REGISTER message sent by a first mobile terminal, where the first P-CSCF device is a first P-CSCF device of an enterprise IMS network ; the first P-CSCF device registers the first mobile terminal with the operator IMS network and the enterprise IMS network according to the first REGISTER message.

本技术方案对应用于企业IMS网络的P-CSCF设备(如上文中的第一P-CSCF设备)的功能进行了改造,使其具有“代理注册功能”。具体而言,企业IMS网络中的P-CSCF设备在接收到移动终端的REGISTER消息(也可称为注册消息或注册请求)之后,不但将移动终端注册至运营商IMS网络,还将移动终端注册至企业IMS网络,使得移动终端能够同时使用运营商IMS网络和企业IMS网络,并且能够在企业IMS网络与运营商IMS网络之间漫游。This technical solution modifies the function of the P-CSCF device (such as the first P-CSCF device above) applied to the enterprise IMS network, so that it has a "proxy registration function". Specifically, after receiving the REGISTER message (also referred to as a registration message or a registration request) from the mobile terminal, the P-CSCF device in the enterprise IMS network not only registers the mobile terminal to the operator's IMS network, but also registers the mobile terminal to the operator's IMS network. To the enterprise IMS network, the mobile terminal can use the operator IMS network and the enterprise IMS network at the same time, and can roam between the enterprise IMS network and the operator IMS network.

结合第二方面,在第二方面的某些实现方式中,所述第一REGISTER消息用于在运营商IMS网络进行注册,所述第一P-CSCF设备根据所述第一REGISTER消息,将所述第一移动终端注册至运营商IMS网络和企业IMS网络,包括:所述第一P-CSCF设备将所述第一REGISTER消息转发至运营商IMS网络的S-CSCF设备;所述第一P-CSCF设备接收所述运营商IMS网络发送的第一响应消息,所述第一响应消息用于指示所述第一移动终端在所述运营商IMS网络注册成功;所述第一P-CSCF设备将所述第一响应消息转发至所述第一移动终端;所述第一移动终端在所述运营商IMS网络注册成功之后,所述第一P-CSCF设备向所述企业IMS网络的S-CSCF设备发送第二REGISTER消息;所述第一P-CSCF设备接收所述企业IMS网络的S-CSCF设备发送的第二响应消息,所述第二响应消息用于指示所述第一移动终端在所述企业IMS网络注册成功。With reference to the second aspect, in some implementations of the second aspect, the first REGISTER message is used to register in the operator's IMS network, and the first P-CSCF device, according to the first REGISTER message, The registration of the first mobile terminal to the operator IMS network and the enterprise IMS network includes: the first P-CSCF device forwarding the first REGISTER message to the S-CSCF device of the operator IMS network; the first P-CSCF device forwards the first REGISTER message to the S-CSCF device of the operator IMS network; - The CSCF device receives a first response message sent by the operator's IMS network, where the first response message is used to indicate that the first mobile terminal is successfully registered in the operator's IMS network; the first P-CSCF device forwarding the first response message to the first mobile terminal; after the first mobile terminal is successfully registered in the operator IMS network, the first P-CSCF device sends the S-CSCF device to the enterprise IMS network The CSCF device sends a second REGISTER message; the first P-CSCF device receives a second response message sent by the S-CSCF device of the enterprise IMS network, where the second response message is used to indicate that the first mobile terminal is in The enterprise IMS network is successfully registered.

企业IMS网络中的移动终端(即第一移动终端)发起运营商IMS网络的注册流程之后,企业IMS网络中的P-CSCF设备(即第一P-CSCF设备)首先将该移动终端注册至运营商IMS网络,然后,该P-CSCF设备触发“代理注册功能”,自动发起移动终端到企业IMS网络的注册流程,将移动终端注册至企业IMS网络中,企业IMS网络的注册流程无需移动终端参与,简化了移动终端的操作。After the mobile terminal (ie the first mobile terminal) in the enterprise IMS network initiates the registration process of the operator's IMS network, the P-CSCF device (ie the first P-CSCF device) in the enterprise IMS network first registers the mobile terminal to the operator Then, the P-CSCF device triggers the "agent registration function", automatically initiates the registration process of the mobile terminal to the enterprise IMS network, and registers the mobile terminal to the enterprise IMS network. The registration process of the enterprise IMS network does not require the participation of the mobile terminal. , which simplifies the operation of the mobile terminal.

结合第二方面,在第二方面的某些实现方式中,所述第二REGISTER消息中携带的IMPU与所述第一响应消息中携带的IMPU相同。With reference to the second aspect, in some implementations of the second aspect, the IMPU carried in the second REGISTER message is the same as the IMPU carried in the first response message.

结合第二方面,在第二方面的某些实现方式中,所述第一响应消息中携带的IMPU包括会话初始协议SIP格式的IMPU,所述第二REGISTER消息中携带的IMPI包含所述SIP格式的IMPU中的除去目标字符之外的剩余字符,所述目标字符为sip:+。With reference to the second aspect, in some implementations of the second aspect, the IMPU carried in the first response message includes an IMPU in the SIP format, and the IMPI carried in the second REGISTER message includes the SIP format The remaining characters in the IMPU except the target character, the target character is sip:+.

直接基于第一响应消息中携带的IMPU生成第二REGISTER消息对应的IMPI和IMPU,这种实现方式简单,无需基于IMSI重新生成IMPI和IMPU。The IMPI and IMPU corresponding to the second REGISTER message are directly generated based on the IMPU carried in the first response message. This implementation is simple, and there is no need to regenerate the IMPI and IMPU based on the IMSI.

结合第二方面,在第二方面的某些实现方式中,所述企业的IMS网络包括第一IMS网络和第二IMS网络,所述企业IMS网络的S-CSCF设备位于所述第一IMS网络中,所述第一IMS网络的P-CSCF设备和所述第二IMS网络的P-CSCF设备均与所述第一IMS网络中的S-CSCF设备相连,所述第一P-CSCF设备为所述第一IMS网络和所述第二IMS网络中的任一P-CSCF设备,且所述第一P-CSCF设备与所述第一移动终端属于所述第一IMS网络和所述第二IMS网络中的同一IMS网络。With reference to the second aspect, in some implementations of the second aspect, the IMS network of the enterprise includes a first IMS network and a second IMS network, and the S-CSCF device of the enterprise IMS network is located in the first IMS network , the P-CSCF device of the first IMS network and the P-CSCF device of the second IMS network are both connected to the S-CSCF device in the first IMS network, and the first P-CSCF device is any P-CSCF device in the first IMS network and the second IMS network, and the first P-CSCF device and the first mobile terminal belong to the first IMS network and the second IMS network The same IMS network in the IMS network.

第三方面,提供一种P-CSCF设备,包括用于执行上述各方面所述的方法的模块。In a third aspect, a P-CSCF device is provided, including modules for performing the methods described in the above aspects.

第四方面,提供一种P-CSCF设备,包括存储器和处理器,所述存储器用于存储指令,所述处理器用于执行所述存储器中存储的指令,以执行上述各方面所述的方法。In a fourth aspect, a P-CSCF device is provided, including a memory and a processor, where the memory is used for storing instructions, and the processor is used for executing the instructions stored in the memory, so as to perform the methods described in the above aspects.

第五方面,提供一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述各方面所述的方法。In a fifth aspect, a computer-readable storage medium is provided, and instructions are stored in the computer-readable storage medium, which, when executed on a computer, cause the computer to perform the methods described in the above aspects.

第六方面,提供一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述各方面所述的方法。In a sixth aspect, there is provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform the methods of the above aspects.

在上述某些实现方式中,移动终端为UE,例如,可以是VoLTE终端。In some implementation manners above, the mobile terminal is a UE, for example, a VoLTE terminal.

在上述某些实现方式中,第二REGISTER消息中携带的IMPI和IMPU是基于第一移动终端的IMSI生成的。In some implementation manners above, the IMPI and IMPU carried in the second REGISTER message are generated based on the IMSI of the first mobile terminal.

在上述某些实现方式中,第一IMS网络和第二IMS网络位于不同国家。In some of the above implementations, the first IMS network and the second IMS network are located in different countries.

附图说明Description of drawings

图1是IMS网络的网络结构示意图。FIG. 1 is a schematic diagram of a network structure of an IMS network.

图2是本发明一个实施例提供的企业IMS网络的组网方式的示意图。FIG. 2 is a schematic diagram of a networking manner of an enterprise IMS network provided by an embodiment of the present invention.

图3是本发明一个实施例提供的企业IMS网络的组网方式的示意图。FIG. 3 is a schematic diagram of a networking manner of an enterprise IMS network provided by an embodiment of the present invention.

图4是本发明实施例提供的移动终端在运营商IMS网络的HSS中的开户模型的示例图。FIG. 4 is an exemplary diagram of an account opening model of a mobile terminal in an HSS of an operator's IMS network according to an embodiment of the present invention.

图5是本发明实施例提供的移动终端在企业IMS网络的HSS中的开户模型的示例图。FIG. 5 is an exemplary diagram of an account opening model of a mobile terminal in an HSS of an enterprise IMS network according to an embodiment of the present invention.

图6是本发明实施例提供的无线通信方法的示意性流程图。FIG. 6 is a schematic flowchart of a wireless communication method provided by an embodiment of the present invention.

图7是图6中的步骤620的详细流程的示意图。FIG. 7 is a schematic diagram of a detailed flow of step 620 in FIG. 6 .

图8是本发明一个实施例提供的注册流程示意图。FIG. 8 is a schematic diagram of a registration process provided by an embodiment of the present invention.

图9是本发明另一实施例提供的注册流程示意图。FIG. 9 is a schematic diagram of a registration process provided by another embodiment of the present invention.

图10是本发明又一实施例提供的注册流程示意图。FIG. 10 is a schematic diagram of a registration process provided by another embodiment of the present invention.

图11是本发明实施例提供的无线通信方法的示意性流程图。FIG. 11 is a schematic flowchart of a wireless communication method provided by an embodiment of the present invention.

图12是本发明一个实施例提供的呼叫流程的示意图。FIG. 12 is a schematic diagram of a call flow provided by an embodiment of the present invention.

图13是本发明另一实施例提供的呼叫流程的示意图。FIG. 13 is a schematic diagram of a call flow provided by another embodiment of the present invention.

图14是本发明又一实施例提供的呼叫流程的示意图。FIG. 14 is a schematic diagram of a call flow provided by another embodiment of the present invention.

图15是本发明又一实施例提供的呼叫流程的示意图。FIG. 15 is a schematic diagram of a call flow provided by another embodiment of the present invention.

图16是本发明又一实施例提供的呼叫流程的示意图。FIG. 16 is a schematic diagram of a call flow provided by another embodiment of the present invention.

图17是本发明又一实施例提供的呼叫流程的示意图。FIG. 17 is a schematic diagram of a call flow provided by another embodiment of the present invention.

图18是本发明一个实施例提供的P-CSCF设备的示意性结构图。FIG. 18 is a schematic structural diagram of a P-CSCF device provided by an embodiment of the present invention.

图19是本发明另一实施例提供的P-CSCF设备的示意性结构图。FIG. 19 is a schematic structural diagram of a P-CSCF device according to another embodiment of the present invention.

图20是本发明又一实施例提供的P-CSCF设备的示意性结构图。FIG. 20 is a schematic structural diagram of a P-CSCF device according to another embodiment of the present invention.

图21是本发明又一实施例提供的P-CSCF设备的示意性结构图。FIG. 21 is a schematic structural diagram of a P-CSCF device according to another embodiment of the present invention.

具体实施方式Detailed ways

本发明实施例在IP多媒体子系统(IP multimedia subsystem,IMS)网络基础上提出一种适用于企业内部的移动网络语音通信技术。为了便于理解,先对IMS网络进行详细介绍。The embodiment of the present invention proposes a mobile network voice communication technology suitable for an enterprise based on an IP multimedia subsystem (IP multimedia subsystem, IMS) network. For ease of understanding, the IMS network is first introduced in detail.

IMS网络是第三代合作伙伴组织(3rd generation partnership project,3GPP)定义的下一代网络的标准。IMS网络是在会话初始协议(session initiation protocol,SIP)基础上构建的网络。IMS网络可以具备以下能力中的一种或多种:多媒体业务的控制功能与承载功能相分离,呼叫与会话分离,应用与服务分离,业务与网络分离,以及移动网业务与因特网业务融合。The IMS network is the standard of the next generation network defined by the 3rd Generation Partnership Project (3rd Partnership Generation Project, 3GPP). An IMS network is a network constructed on the basis of a session initiation protocol (Session Initiation Protocol, SIP). An IMS network may have one or more of the following capabilities: separation of multimedia service control functions and bearer functions, separation of calls and sessions, separation of applications and services, separation of services and networks, and integration of mobile network services and Internet services.

图1示出了IMS网络中的主要网元。如图1所示,IMS网络大致可以分为拜访网络(或称拜访域(visited domain))和归属网络(或称归属域(home domian)),主要包括以下网元中的一种或多种:移动终端(例如可以是用户设备(user equipment,UE))、会话边界控制器(session border controller,SBC)、代理呼叫会话控制功能(proxy call sessioncontrol function,P-CSCF)设备、查询呼叫会话控制功能(interrogating call sessioncontrol function,I-CSCF)设备、服务呼叫会话控制功能(serving call sessioncontrol function,S-CSCF)设备、归属用户服务器(home subscriber server,HSS),以及应用服务器(application server,AS)。为了便于理解,下面对上述网元的功能进行简单介绍。Figure 1 shows the main network elements in an IMS network. As shown in Figure 1, an IMS network can be roughly divided into a visited network (or called a visited domain) and a home network (or called a home domian), mainly including one or more of the following network elements : mobile terminal (for example, user equipment (UE)), session border controller (SBC), proxy call session control function (P-CSCF) device, query call session control Function (interrogating call session control function, I-CSCF) equipment, serving call session control function (serving call session control function, S-CSCF) equipment, home subscriber server (home subscriber server, HSS), and application server (application server, AS) . For ease of understanding, the functions of the above network elements are briefly introduced below.

P-CSCF设备为移动终端连接IMS网络的接口点,其主要用于移动终端的SIP消息转发以及SIP信令消息的压缩和解压缩等功能。P-CSCF设备可以是独立的网元,也可以集成在SBC上。SBC可以提供接入网与IMS核心网之间的地址网络转换(network addresstranslation,NAT)穿越、接入控制、服务质量(quality of service,QoS)控制等功能。The P-CSCF device is the interface point for the mobile terminal to connect to the IMS network, and is mainly used for functions such as SIP message forwarding of the mobile terminal and compression and decompression of SIP signaling messages. The P-CSCF equipment can be an independent network element, or can be integrated on the SBC. The SBC can provide functions such as network address translation (NAT) traversal, access control, and quality of service (QoS) control between the access network and the IMS core network.

I-CSCF设备主要用于实现路由和分配S-CSCF设备的功能,其在接收到移动终端发送的业务请求后,可以将业务请求路由到不同的S-CSCF设备。The I-CSCF device is mainly used to implement the functions of routing and distributing the S-CSCF device. After receiving the service request sent by the mobile terminal, the I-CSCF device can route the service request to different S-CSCF devices.

S-CSCF设备在IMS网络中处于核心的控制地位,主要负责对移动终端的注册进行鉴权和会话控制,执行主叫终端和被叫终端之间的呼叫路由功能。The S-CSCF device is in the core control position in the IMS network. It is mainly responsible for the authentication and session control of the registration of the mobile terminal, and performs the call routing function between the calling terminal and the called terminal.

AS可以为移动终端提供IMS中的业务,例如会议电话业务等。The AS can provide mobile terminals with services in the IMS, such as conference calling services.

HSS是归属网络中的用于保存移动终端的签约信息的网元。移动终端的签约信息主要包括移动终端的标识,移动终端的安全上下文,移动终端的路由信息,移动终端业务签约信息等。The HSS is a network element in the home network for storing subscription information of the mobile terminal. The subscription information of the mobile terminal mainly includes the identity of the mobile terminal, the security context of the mobile terminal, the routing information of the mobile terminal, the service subscription information of the mobile terminal, and the like.

IMS网络能够基于LTE网络提供语音业务,该语音业务也可称为VoLTE(voice overLTE)。VoLTE可以将语音业务承载在LTE网络上,无需回落到2G/3G网络。使用VoLTE的移动终端可以称为VoLTE终端,VoLTE终端可以通过LTE网络接入到IMS网络,从而通过LTE网络实现移动终端之间的通话功能。The IMS network can provide voice services based on the LTE network, and the voice services may also be called VoLTE (voice over LTE). VoLTE can carry voice services on LTE networks without falling back to 2G/3G networks. A mobile terminal using VoLTE can be called a VoLTE terminal, and the VoLTE terminal can access the IMS network through the LTE network, so as to realize the call function between the mobile terminals through the LTE network.

上文对IMS网络相关概念进行了详细描述,IMS网络一般由运营商提供,本文将这种类型的IMS网络称为运营商IMS网络。为了能够实现企业内部的基于移动终端的语音通信,本发明实施例首先引入企业IMS网络的概念。企业IMS网络可以理解为专门为某个企业搭建的IMS网络,使得该企业员工能够使用移动终端,通过该企业IMS网络进行语音通信。The concepts related to the IMS network are described in detail above. The IMS network is generally provided by an operator. This type of IMS network is referred to as an operator IMS network in this document. In order to implement the mobile terminal-based voice communication within the enterprise, the embodiment of the present invention first introduces the concept of the enterprise IMS network. An enterprise IMS network can be understood as an IMS network specially built for a certain enterprise, so that employees of the enterprise can use mobile terminals to perform voice communication through the enterprise IMS network.

本发明实施例对企业IMS网络的应用场景不做具体限定。例如,有些企业的企业园区距离市区较远,没有运营商IMS网络的覆盖,比如矿山、油田、物流仓储等企业园区。为了满足这类企业园区内的员工的数据和语音通信需求,企业可以与当地运营商合作,租用运营商的部分无线频段,在企业园区内部署企业IMS网络。当然,在有运营商IMS网络覆盖的场景中也可以部署企业IMS网络,以提高企业内部员工之间通信的便利性和安全性。The embodiment of the present invention does not specifically limit the application scenario of the enterprise IMS network. For example, the enterprise parks of some enterprises are far away from the urban area and are not covered by the operator's IMS network, such as enterprise parks such as mines, oil fields, logistics and warehousing. In order to meet the data and voice communication needs of employees in such enterprise campuses, enterprises can cooperate with local operators, lease part of the operators' wireless frequency bands, and deploy enterprise IMS networks in the enterprise campuses. Of course, an enterprise IMS network can also be deployed in a scenario covered by an operator's IMS network, so as to improve the convenience and security of communication between employees within the enterprise.

图2是本发明一个实施例提供的企业IMS网络的组网方式的示意图。如图2所示,可以在企业园区内部署LTE网络,如部署演进型节点B(evolved node B,eNB)和演进分组核心(evolved packet core,EPC)设备等。进一步地,可以在LTE网络的基础上部署IMS网络,如部署P-CSCF设备、I/S-CSCF设备、HSS、AS等网元。图2中的P-CSCF设备是一个独立的网元,可替换地,图2中的P-CSCF设备也可以是支持P-CSCF功能的SBC,这样的SBC也可称为SBC/P-CSCF合一设备。在部署了企业IMS网络之后,企业内部的移动终端(VoLTE终端)可以基于企业IMS网络进行语音通信,无需经过运营商IMS网络。换句话说,运营商IMS网络对企业IMS网络内部的语音通信不感知,不会收取相应的费用。FIG. 2 is a schematic diagram of a networking manner of an enterprise IMS network provided by an embodiment of the present invention. As shown in FIG. 2 , an LTE network may be deployed in an enterprise campus, for example, an evolved node B (evolved node B, eNB) and an evolved packet core (evolved packet core, EPC) device and the like may be deployed. Further, the IMS network can be deployed on the basis of the LTE network, for example, network elements such as P-CSCF equipment, I/S-CSCF equipment, HSS, and AS can be deployed. The P-CSCF device in FIG. 2 is an independent network element. Alternatively, the P-CSCF device in FIG. 2 may also be an SBC supporting the P-CSCF function, and such an SBC may also be called an SBC/P-CSCF All-in-one device. After the enterprise IMS network is deployed, mobile terminals (VoLTE terminals) within the enterprise can perform voice communication based on the enterprise IMS network without going through the operator's IMS network. In other words, the operator's IMS network does not perceive the voice communication inside the enterprise IMS network and will not charge corresponding fees.

进一步地,企业IMS网络的P-CSCF设备可以与运营商IMS网络的I/S-CSCF设备相连(例如可以通过IP专线相连),以实现企业IMS网络中的移动终端与运营商IMS网络中的移动终端之间的相互通信。企业IMS网络与运营商IMS网络之间的通信会被运营商IMS网络感知,运营商可以根据预定的策略收取相应的费用。Further, the P-CSCF device of the enterprise IMS network can be connected to the I/S-CSCF device of the operator's IMS network (for example, it can be connected through an IP dedicated line), so as to realize the connection between the mobile terminal in the enterprise IMS network and the operator's IMS network. Intercommunication between mobile terminals. The communication between the enterprise IMS network and the operator's IMS network will be perceived by the operator's IMS network, and the operator can charge corresponding fees according to a predetermined policy.

假设图2所示的企业IMS网络是企业总部的IMS网络,如果企业总部位于A国,图2所示的运营商IMS网络可以是A国运营商提供的IMS网络。进一步地,在一些实施例中,假设该企业在B国也具有企业园区,同样需要在B国建立企业级的IMS网络,那么可以按照如图3所示的组网方式在企业的A国园区和B国园区建立跨国IMS网络。为了保证企业内部可以自由通信,可以B国园区的IMS网络部署P-CSCF设备,并将该P-CSCF设备与A国园区的I/S-CSCF设备相连。此外,在一些实施例中,可以无需在B国部署I/S-CSCF设备,HSS、AS等网元,复用A国园区的IMS网络中的I/S-CSCF设备,HSS、AS等网元即可,以节省成本,并方便企业内部移动终端的签约/注册等信息的统一管理。进一步地,在一些实施例中,B国园区的IMS网络的P-CSCF设备可以与B国运营商的IMS网络的I/S-CSCF设备相连,使得移动终端可以在B国园区IMS网络和B国运营商的IMS网络之间漫游。应理解,上文是以企业包括两个园区,且两个园区分别位于两个不同国家为例进行举例说明的,但本发明实施例不限于此,实际上,企业可以根据实际需要部署3个或3个以上的IMS网络,且这些IMS网络可以位于同一国家,也可以位于不同国家。进一步地,假设企业在一个国家部署了多个IMS网络,该多个IMS网络可以与该国的同一运营商IMS网络相连,也可以与该国的不同运营商IMS网路相连。Assuming that the enterprise IMS network shown in FIG. 2 is the IMS network of the enterprise headquarters, if the enterprise headquarters is located in country A, the operator IMS network shown in FIG. 2 may be the IMS network provided by the operator of country A. Further, in some embodiments, it is assumed that the enterprise also has an enterprise campus in country B, and an enterprise-level IMS network needs to be established in country B as well. Establish a transnational IMS network with the park in Country B. To ensure free communication within the enterprise, a P-CSCF device can be deployed on the IMS network of the campus in country B, and the P-CSCF device can be connected to the I/S-CSCF device in the campus in country A. In addition, in some embodiments, it is not necessary to deploy I/S-CSCF equipment, HSS, AS and other network elements in country B, and reuse the I/S-CSCF equipment, HSS, AS and other networks in the IMS network of the campus in country A. It is enough to save costs and facilitate the unified management of information such as contracting/registration of mobile terminals within the enterprise. Further, in some embodiments, the P-CSCF device of the IMS network in the campus of country B can be connected to the I/S-CSCF device of the IMS network of the operator in country B, so that the mobile terminal can connect to the IMS network of the campus of country B and the I/S-CSCF device of the operator in country B. roaming between the IMS networks of Chinese operators. It should be understood that the above is an example of an enterprise including two parks, and the two parks are located in two different countries, but the embodiment of the present invention is not limited to this. In fact, an enterprise can deploy three parks according to actual needs. Or more than 3 IMS networks, and these IMS networks can be located in the same country or in different countries. Further, it is assumed that an enterprise deploys multiple IMS networks in a country, and the multiple IMS networks may be connected to the IMS network of the same operator in the country, or may be connected to the IMS networks of different operators in the country.

从图2和图3相关的描述可以看出,本发明实施例为企业用户提供一种基于IMS网络的通信机制,这种通信机制实现的功能与IP-PBX类似,不同之处在于传统的IP-PBX仅能针对固定终端,本发明实施例可以针对无线网络中的移动终端,因此,可以将本发明实施例提供的技术方案理解为一种新型的无线IP-PBX方案。It can be seen from the related descriptions in FIG. 2 and FIG. 3 that the embodiment of the present invention provides an IMS network-based communication mechanism for enterprise users. The functions implemented by this communication mechanism are similar to IP-PBX, except that the traditional IP - The PBX can only be aimed at fixed terminals, and the embodiments of the present invention can be aimed at mobile terminals in a wireless network. Therefore, the technical solutions provided in the embodiments of the present invention can be understood as a new wireless IP-PBX solution.

上文结合图2和图3,详细描述了企业IMS网络的可能的组网方式。在使用企业IMS网络和运营商IMS网络之前,企业员工需要为移动终端在运营商IMS网络和企业IMS网络上进行开户。开户之后,企业员工可以通过移动终端执行IMS注册,IMS注册过程的目的主要是为了将移动终端的IP地址与移动终端的IMPU的绑定关系存储至IMS网络中,使得IMS网络能够基于该绑定关系定位到相应的移动终端,从而将IMS业务(如呼叫业务)转发至该移动终端。注册成功之后,企业员工即可使用移动终端在企业IMS网络内部以及企业IMS网络和运营商IMS网络之间进行语音通信。The possible networking modes of the enterprise IMS network are described in detail above with reference to FIG. 2 and FIG. 3 . Before using the enterprise IMS network and the operator IMS network, the employees of the enterprise need to open an account for the mobile terminal on the operator IMS network and the enterprise IMS network. After the account is opened, enterprise employees can perform IMS registration through the mobile terminal. The purpose of the IMS registration process is to store the binding relationship between the IP address of the mobile terminal and the IMPU of the mobile terminal in the IMS network, so that the IMS network can be based on the binding relationship. The relationship is located to the corresponding mobile terminal, thereby forwarding IMS traffic (eg, call traffic) to the mobile terminal. After successful registration, enterprise employees can use mobile terminals to perform voice communication within the enterprise IMS network and between the enterprise IMS network and the operator's IMS network.

开户和注册过程均与移动终端的标识(或称身份标识)密切相关,为了便于理解,先对移动终端的标识的类型进行说明。The process of opening an account and registering is closely related to the identification (or identity identification) of the mobile terminal. For ease of understanding, the type of identification of the mobile terminal will be described first.

移动终端的标识包括国际移动用户识别码(international mobile subscriberidentification number,IMSI),移动用户ISDN/PSTN号码(mobile subscriberinternational ISDN/PSTN number,MSISDN),IP多媒体私有标识(IP multimedia privateidentity,IMPI),IP多媒体公共标识(IP multimedia public identity,IMPU),临时IMPU(temporary IMPU,T-IMPU)。上文中的ISDN表示integrated service digital network,即国际综合业务数字网络,PSTN表示public switched telephone network,即公共交换电话网络。下面结合表一描述对移动终端的上述标识进行说明。The identification of the mobile terminal includes an international mobile subscriber identification number (IMSI), a mobile subscriber ISDN/PSTN number (mobile subscriberinternational ISDN/PSTN number, MSISDN), an IP multimedia private identity (IMPI), and an IP multimedia private identity (IMPI). Public identity (IP multimedia public identity, IMPU), temporary IMPU (temporary IMPU, T-IMPU). The above ISDN stands for integrated service digital network, that is, international integrated services digital network, and PSTN stands for public switched telephone network, that is, public switched telephone network. The above identifier of the mobile terminal will be described below with reference to the description in Table 1.

表一Table I

Figure BDA0001234982010000071
Figure BDA0001234982010000071

上文指出,当企业员工希望使用企业IMS网络,并希望能够在企业IMS网络和运营商IMS网络之间漫游时,企业员工可以分别在运营商IMS网络和企业IMS网络为移动终端开户。As mentioned above, when an enterprise employee wishes to use the enterprise IMS network and wish to roam between the enterprise IMS network and the operator IMS network, the enterprise employee can open an account for the mobile terminal in the operator IMS network and the enterprise IMS network respectively.

图4为移动终端在运营商IMS网络的HSS中的开户模型的一个示例。该开户模型记录了移动终端(VoLTE用户)的T-IMPU、IMPI、SIP格式的IMPU以及TEL格式的IMPU。移动终端可以使用T-IMPU发起IMS注册,并在注册消息中携带IMPI,用于IMS网络对移动终端进行鉴权。鉴权过程可以采用鉴权与密钥协商(authentication and key agreement,AKA)方式进行。注册完成之后,移动终端可以从IMS网络获取到Alias(别名),即SIP格式的IMPU和TEL格式的IMPU,可用于IMS呼叫流程和号码显示。FIG. 4 is an example of an account opening model of a mobile terminal in the HSS of the operator's IMS network. The account opening model records the T-IMPU, IMPI, IMPU in SIP format and IMPU in TEL format of the mobile terminal (VoLTE user). The mobile terminal can use the T-IMPU to initiate IMS registration, and carry the IMPI in the registration message for the IMS network to authenticate the mobile terminal. The authentication process may be performed in an authentication and key agreement (authentication and key agreement, AKA) manner. After the registration is completed, the mobile terminal can obtain Alias (alias) from the IMS network, that is, the IMPU in SIP format and the IMPU in TEL format, which can be used for IMS call flow and number display.

图5为移动终端在企业IMS网络的HSS中的开户模型的一个示例。该开户模型记录了移动终端的IMPI、SIP格式的IMPU以及TEL格式的IMPU。移动终端在企业IMS网络开户模型中的IMPU与移动终端在运营商IMS网络开户模型中的IMPU取值相同,移动终端在企业IMS网络开户模型中的IMPI为该移动终端的SIP格式的IMPU去掉“sip:+”字符。当然,移动终端在企业IMS网络中的IMPI也可以与该移动终端在运营商IMS网络中的IMPI相同。FIG. 5 is an example of an account opening model of a mobile terminal in an HSS of an enterprise IMS network. The account opening model records the IMPI of the mobile terminal, the IMPU in SIP format and the IMPU in TEL format. The IMPU of the mobile terminal in the enterprise IMS network account opening model is the same as the IMPU value of the mobile terminal in the operator's IMS network account opening model. The IMPI of the mobile terminal in the enterprise IMS network account opening model is the IMPU in the SIP format of the mobile terminal. sip:+" character. Certainly, the IMPI of the mobile terminal in the enterprise IMS network may also be the same as the IMPI of the mobile terminal in the operator's IMS network.

图6是本发明实施例提供的无线通信方法的示意性流程图。图6的方法主要关注的IMS注册过程。图6的方法包括:FIG. 6 is a schematic flowchart of a wireless communication method provided by an embodiment of the present invention. The method of Figure 6 is primarily concerned with the IMS registration process. The method of Figure 6 includes:

610、第一P-CSCF设备接收第一移动终端发送的第一REGISTER消息,第一P-CSCF设备为企业IMS网络的P-CSCF设备。610. The first P-CSCF device receives the first REGISTER message sent by the first mobile terminal, where the first P-CSCF device is a P-CSCF device of the enterprise IMS network.

本文中的移动终端例如可以是用户设备(user equipment,UE)。进一步地,在一些实施例中,本文中的移动终端可以指VoLTE终端,即支持VoLTE的终端。The mobile terminal herein may be, for example, user equipment (user equipment, UE). Further, in some embodiments, the mobile terminal herein may refer to a VoLTE terminal, that is, a terminal supporting VoLTE.

本文中的第一P-CSCF设备可以是独立的设备,也可以是支持P-CSCF功能的SBC,即SBC/P-CSCF合一设备。The first P-CSCF device in this document may be an independent device, or may be an SBC supporting the P-CSCF function, that is, an SBC/P-CSCF integrated device.

在进行IMS注册之前,可以在运营商IMS网络和企业IMS网络为第一移动终端开户,将第一移动终端的用户签约信息存储至运营商IMS网络和企业IMS网络的HSS中。换句话说,在进行IMS注册之前,可以在运营商IMS网络和企业IMS网络为第一移动终端开户,使得第一移动终端成为运营商IMS网络和企业IMS网络的签约用户。具体的开户方式参见上文的描述。Before performing IMS registration, an account can be opened for the first mobile terminal in the operator IMS network and the enterprise IMS network, and the user subscription information of the first mobile terminal is stored in the HSS of the operator IMS network and the enterprise IMS network. In other words, before performing IMS registration, an account can be opened for the first mobile terminal in the operator IMS network and the enterprise IMS network, so that the first mobile terminal becomes a subscriber of the operator IMS network and the enterprise IMS network. For the specific account opening method, please refer to the above description.

在一些实施例中,第一REGISTER消息可用于触发第一移动终端在运营商IMS网络的注册过程。In some embodiments, the first REGISTER message may be used to trigger a registration process of the first mobile terminal in the operator's IMS network.

620、第一P-CSCF设备根据第一REGISTER消息,将第一移动终端注册至运营商IMS网络和企业IMS网络。620. The first P-CSCF device registers the first mobile terminal with the operator IMS network and the enterprise IMS network according to the first REGISTER message.

本发明实施例对应用于企业IMS网络的P-CSCF设备(如上文中的第一P-CSCF设备)的功能进行了改造,使其具有“代理注册功能”。具体而言,企业IMS网络中的P-CSCF设备在接收到移动终端的REGISTER消息(也可称为注册消息或注册请求)之后,不但将移动终端注册至运营商IMS网络,还将移动终端注册至企业IMS网络,使得移动终端能够同时使用运营商IMS网络和企业IMS网络,并且能够在企业IMS网络与运营商IMS网络之间漫游。The embodiment of the present invention modifies the function of the P-CSCF device (such as the first P-CSCF device above) applied to the enterprise IMS network, so that it has a "proxy registration function". Specifically, after receiving the REGISTER message (also referred to as a registration message or a registration request) from the mobile terminal, the P-CSCF device in the enterprise IMS network not only registers the mobile terminal to the operator's IMS network, but also registers the mobile terminal to the operator's IMS network. To the enterprise IMS network, the mobile terminal can use the operator IMS network and the enterprise IMS network at the same time, and can roam between the enterprise IMS network and the operator IMS network.

可替换地,在一些实施例中,步骤620包括:响应于第一REGISTER消息,将第一移动终端注册至运营商IMS网络和企业IMS网络。Alternatively, in some embodiments, step 620 includes registering the first mobile terminal with the operator IMS network and the enterprise IMS network in response to the first REGISTER message.

本发明实施例对步骤620的实现方式不做具体限定,例如,可以先将第一移动终端注册至企业IMS网络,再将第一移动终端注册至运营商IMS网络;又如,可以同时发起第一移动终端到企业IMS网络和运营商IMS网络的注册;又如,可以先按照标准的注册流程将第一移动终端注册至运营商IMS网络,注册成功之后,再触发代理注册功能,将第一移动终端注册至企业IMS网络,下面结合图7,对这种实现方式进行详细描述。This embodiment of the present invention does not specifically limit the implementation of step 620. For example, the first mobile terminal may be registered to the enterprise IMS network first, and then the first mobile terminal may be registered to the operator IMS network; for another example, the first mobile terminal may be simultaneously initiated. 1. Registration of the mobile terminal to the enterprise IMS network and the operator's IMS network; for another example, the first mobile terminal can be registered to the operator's IMS network according to the standard registration process. The mobile terminal registers with the enterprise IMS network, and this implementation is described in detail below with reference to FIG. 7 .

可选地,在一些实施例中,如图7所示,步骤620可包括:Optionally, in some embodiments, as shown in FIG. 7 , step 620 may include:

710、第一P-CSCF设备将第一REGISTER消息转发至运营商IMS网络的S-CSCF设备。710. The first P-CSCF device forwards the first REGISTER message to the S-CSCF device of the operator's IMS network.

具体地,第一REGISTER消息可以携带第一移动终端在运营商IMS网络的IMPI和T-IMPU。例如,可以在第一REGISTER消息的From/To头域携带第一移动终端的T-IMPU,在第一REGISTER消息的Authorization头域携带第一移动终端的IMPI。该IMPI和T-IMPU均可以基于第一移动终端的IMSI生成,例如,T-IMPU可以是:sip:<IMSI>@ims.mnc<mnc>.mcc<mcc>.3gppnetwork.org;IMPI可以是:<IMSI>@ims.mnc<mnc>.mcc<mcc>.3gppnetwork.org。Specifically, the first REGISTER message may carry the IMPI and T-IMPU of the first mobile terminal in the operator's IMS network. For example, the T-IMPU of the first mobile terminal may be carried in the From/To header field of the first REGISTER message, and the IMPI of the first mobile terminal may be carried in the Authorization header field of the first REGISTER message. Both the IMPI and the T-IMPU can be generated based on the IMSI of the first mobile terminal. For example, the T-IMPU can be: sip:<IMSI>@ims.mnc<mnc>.mcc<mcc>.3gppnetwork.org; the IMPI can be : <IMSI>@ims.mnc<mnc>.mcc<mcc>.3gppnetwork.org.

720、第一P-CSCF设备接收运营商IMS网络发送的第一响应消息,第一响应消息用于指示第一移动终端在运营商IMS网络注册成功。720. The first P-CSCF device receives a first response message sent by the operator's IMS network, where the first response message is used to indicate that the first mobile terminal is successfully registered in the operator's IMS network.

第一REGISTER消息的响应消息例如可以是200OK消息。The response message of the first REGISTER message may be, for example, a 200 OK message.

第一REGISTER消息的响应消息可以包括第一移动终端的IMPU,包括SIP格式的IMPU和TEL格式的IMPU。例如,SIP格式的IMPU为:sip:+<MSISDN>@ims.mnc<mnc>.mcc<mcc>.3gppnetwork.org;TEL格式的IMPU可以为:tel:+<MSISDN>。The response message of the first REGISTER message may include the IMPU of the first mobile terminal, including the IMPU in SIP format and the IMPU in TEL format. For example, the IMPU in SIP format is: sip:+<MSISDN>@ims.mnc<mnc>.mcc<mcc>.3gppnetwork.org; the IMPU in TEL format can be: tel:+<MSISDN>.

在一些实施例中,步骤710与步骤720之间,还可执行运营商IMS网络对第一移动终端的鉴权流程。具体地,在步骤710之后,第一P-CSCF设备可以先将第一REGISTER消息转发至运营商IMS网络的S-CSCF设备;接着,第一P-CSCF设备可以从运营商IMS网络的S-CSCF设备接收401响应消息,并将401响应消息转发至第一移动终端,401响应消息用于指示运营商IMS网络对第一移动终端发起鉴权挑战;然后,第一移动终端可以进行鉴权处理,并再次向第一P-CSCF设备发送REGISTER消息,该REGISTER消息可以包含鉴权响应信息;第一P-CSCF设备接收到该REGISTER消息之后,将其转发至运营商IMS网络的S-CSCF设备;运营商IMS网络完成第一移动终端的鉴权和注册流程,接着执行上述步骤720。In some embodiments, between step 710 and step 720, an authentication process of the first mobile terminal by the operator's IMS network may also be performed. Specifically, after step 710, the first P-CSCF device may first forward the first REGISTER message to the S-CSCF device of the operator's IMS network; The CSCF device receives the 401 response message and forwards the 401 response message to the first mobile terminal. The 401 response message is used to instruct the operator IMS network to initiate an authentication challenge to the first mobile terminal; then, the first mobile terminal can perform authentication processing , and send a REGISTER message to the first P-CSCF device again, the REGISTER message may contain authentication response information; after receiving the REGISTER message, the first P-CSCF device forwards it to the S-CSCF device of the operator's IMS network ; The operator's IMS network completes the authentication and registration process of the first mobile terminal, and then executes the above step 720.

730、第一P-CSCF设备将第一响应消息转发至第一移动终端,通知第一移动终端运营商IMS网络注册成功。730. The first P-CSCF device forwards the first response message to the first mobile terminal to notify the operator of the first mobile terminal that the IMS network registration is successful.

740、第一移动终端在运营商IMS网络注册成功之后,第一P-CSCF设备向企业IMS网络的S-CSCF设备发送第二REGISTER消息。740. After the first mobile terminal successfully registers with the operator's IMS network, the first P-CSCF device sends a second REGISTER message to the S-CSCF device of the enterprise IMS network.

可选地,在一些实施例中,第二REGISTER消息中携带的IMPI和/或IMPU的获取方式可以与第一REGISTER消息中携带的IMPI和/或IMPU的获取方式类似,即可以基于第一移动终端的IMSI获取。Optionally, in some embodiments, the acquisition method of the IMPI and/or IMPU carried in the second REGISTER message may be similar to the acquisition method of the IMPI and/or IMPU carried in the first REGISTER message, that is, it may be based on the first movement Obtain the IMSI of the terminal.

可选地,在另一些实施例中,第一P-CSCF设备从第一响应消息中已经获得了第一移动终端的IMPU,因此,可以将该IMPU直接携带至第二REGISTER消息中。此外,考虑到IMPI与SIP格式的IMPU类似,因此,第二REGISTER消息中的IMPI也可以基于SIP格式的IMPU获得。具体地,第二REGISTER消息中携带的IMPI包含SIP格式的IMPU中的除去“sip:+”之外的剩余字符。例如,第二REGISTER消息中携带的IMPI可以为:<MSISDN>@ims.mnc<mnc>.mcc<mcc>.3gppnetwork.org。本发明实施例直接基于第一响应消息中携带的IMPU生成第二REGISTER消息对应的IMPI和IMPU,这种实现方式简单,无需基于IMSI重新生成IMPI和IMPU。Optionally, in other embodiments, the first P-CSCF device has obtained the IMPU of the first mobile terminal from the first response message, so the IMPU can be directly carried into the second REGISTER message. In addition, considering that the IMPI is similar to the IMPU in the SIP format, the IMPI in the second REGISTER message can also be obtained based on the IMPU in the SIP format. Specifically, the IMPI carried in the second REGISTER message includes the remaining characters except "sip:+" in the IMPU in the SIP format. For example, the IMPI carried in the second REGISTER message may be: <MSISDN>@ims.mnc<mnc>.mcc<mcc>.3gppnetwork.org. The embodiment of the present invention directly generates the IMPI and IMPU corresponding to the second REGISTER message based on the IMPU carried in the first response message. This implementation is simple and does not need to regenerate the IMPI and IMPU based on the IMSI.

750、第一P-CSCF设备接收企业IMS网络的S-CSCF设备发送的第二响应消息,第二响应消息用于指示第一移动终端在企业IMS网络注册成功。750. The first P-CSCF device receives a second response message sent by the S-CSCF device of the enterprise IMS network, where the second response message is used to indicate that the first mobile terminal is successfully registered in the enterprise IMS network.

第二REGISTER消息的响应消息例如可以是200OK消息。The response message of the second REGISTER message may be, for example, a 200 OK message.

本发明实施例中,企业IMS网络中的移动终端(即第一移动终端)发起运营商IMS网络的注册流程之后,企业IMS网络中的P-CSCF设备(即第一P-CSCF设备)首先将该移动终端注册至运营商IMS网络,然后,该P-CSCF设备触发“代理注册功能”,自动发起移动终端到企业IMS网络的注册流程,将移动终端注册至企业IMS网络中,企业IMS网络的注册流程无需移动终端参与,简化了移动终端的操作。In the embodiment of the present invention, after the mobile terminal (ie the first mobile terminal) in the enterprise IMS network initiates the registration process of the operator's IMS network, the P-CSCF device (ie the first P-CSCF device) in the enterprise IMS network first registers the The mobile terminal is registered with the operator's IMS network, and then the P-CSCF device triggers the "agent registration function", automatically initiates the registration process of the mobile terminal to the enterprise IMS network, and registers the mobile terminal in the enterprise IMS network. The registration process does not require the participation of the mobile terminal, which simplifies the operation of the mobile terminal.

可选地,在一些实施例中,企业IMS网络包括第一IMS网络和第二IMS网络,企业IMS网络的S-CSCF设备位于第一IMS网络中,第一IMS网络的P-CSCF设备和第二IMS网络的P-CSCF设备均与第一IMS网络中的S-CSCF设备相连。Optionally, in some embodiments, the enterprise IMS network includes a first IMS network and a second IMS network, the S-CSCF device of the enterprise IMS network is located in the first IMS network, and the P-CSCF device of the first IMS network and the second IMS network are located. The P-CSCF devices in the two IMS networks are all connected to the S-CSCF devices in the first IMS network.

具体地,参见图3,第一IMS网络可以对应于图3中的A国园区的IMS网络,第二IMS网络可以对应于图3中的B国园区的IMS网络,企业的两个IMS网络共用同一I/S-CSCF设备。Specifically, referring to FIG. 3 , the first IMS network may correspond to the IMS network of the campus in country A in FIG. 3 , the second IMS network may correspond to the IMS network of the campus of country B in FIG. 3 , and the two IMS networks of the enterprise share the same The same I/S-CSCF device.

进一步地,第一P-CSCF设备为第一IMS网络和第二IMS网络中的任一P-CSCF设备,且第一P-CSCF设备与第一移动终端属于第一IMS网络和第二IMS网络中的同一IMS网络。Further, the first P-CSCF device is any P-CSCF device in the first IMS network and the second IMS network, and the first P-CSCF device and the first mobile terminal belong to the first IMS network and the second IMS network in the same IMS network.

第一移动终端所属的IMS网络为第一移动终端的归属地的IMS网络,即第一移动终端开户时所选的IMS网络。第一P-CSCF设备与第一移动终端属于同一IMS网络表明即使第一移动终端移动至拜访地,第一移动终端的注册流程仍会在其归属地IMS网络进行。以图3为例,假设第一移动终端属于A国园区的IMS网络,如果第一移动终端当前位于B国园区的IMS网络(即B国园区IMS网络为拜访地的IMS网络),并在B国园区的IMS网络发起注册流程,则B国园区的移动性管理实体(mobility management entity,MME)会在第一移动终端附着(attach)到EPC时,根据漫游规则为第一移动终端选择归属地的分组数据网网关(packetdata network gateway,P-GW)作为边界网关,因此,第一移动终端就会附着到归属地的EPC,进而获取到归属地IMS网络的P-CSCF设备。第一移动终端附着到EPC之后,开始发起注册流程,后续的注册流程与第一移动终端处于归属地时的注册流程相同,这样一来,即使第一移动终端漫游至同一企业的其他IMS网络,也可以获得与其在归属地一样的注册体验,换句话说,本发明实施例将同一企业的拜访地的IMS网络看成是归属地IMS网络的延伸。The IMS network to which the first mobile terminal belongs is the IMS network at the home of the first mobile terminal, that is, the IMS network selected when the first mobile terminal opens an account. The fact that the first P-CSCF device and the first mobile terminal belong to the same IMS network indicates that even if the first mobile terminal moves to the visited place, the registration process of the first mobile terminal will still be performed in the IMS network of its home place. Taking Figure 3 as an example, it is assumed that the first mobile terminal belongs to the IMS network of the campus of country A. If the first mobile terminal is currently located in the IMS network of the campus of country B (that is, the IMS network of the campus of country B is the IMS network of the visited place), and the first mobile terminal is located in the IMS network of the campus of country B, When the IMS network in the country park initiates the registration process, the mobility management entity (MME) in the country park area will select the home location for the first mobile terminal according to the roaming rules when the first mobile terminal is attached to the EPC. The packet data network gateway (P-GW) is used as a border gateway. Therefore, the first mobile terminal will attach to the home EPC, and then obtain the P-CSCF device of the home IMS network. After the first mobile terminal is attached to the EPC, it starts to initiate a registration process, and the subsequent registration process is the same as the registration process when the first mobile terminal is at the home location. In this way, even if the first mobile terminal roams to other IMS networks of the same enterprise, The same registration experience as in the home place can also be obtained. In other words, in the embodiment of the present invention, the IMS network of the visited place of the same enterprise is regarded as an extension of the IMS network of the home place.

下面以图3所示的组网方式为例,结合图8至图10,详细描述本发明实施例提供的注册流程。图8至图10是以移动终端为UE(例如可以是VoLTE终端),P-CSCF设备为SBC/P-CSCF合一设备为例进行举例说明的。应注意,图8至图10的例子仅仅是为了帮助本领域技术人员理解本发明实施例,而非要将本发明实施例限于所例示的具体数值或具体场景。本领域技术人员根据所给出的图8至图10的例子,显然可以进行各种等价的修改或变化,这样的修改或变化也落入本发明实施例的范围内。The following takes the networking mode shown in FIG. 3 as an example, and with reference to FIGS. 8 to 10 , the registration process provided by the embodiment of the present invention is described in detail. FIG. 8 to FIG. 10 illustrate that the mobile terminal is a UE (for example, a VoLTE terminal), and the P-CSCF device is an SBC/P-CSCF integrated device. It should be noted that the examples in FIG. 8 to FIG. 10 are only for helping those skilled in the art to understand the embodiments of the present invention, and are not intended to limit the embodiments of the present invention to specific numerical values or specific scenarios exemplified. According to the examples shown in FIGS. 8 to 10 , those skilled in the art can obviously make various equivalent modifications or changes, and such modifications or changes also fall within the scope of the embodiments of the present invention.

图8是本发明一个实施例提供的注册流程示意图。在图8的实施例中,UE属于A国园区IMS网络,即A国园区IMS网络为UE的归属地,且UE当前位于A国园区IMS网络,并在A国园区IMS网络中发起注册流程。FIG. 8 is a schematic diagram of a registration process provided by an embodiment of the present invention. In the embodiment of FIG. 8 , the UE belongs to the IMS network in the campus of country A, that is, the IMS network of the campus of country A is the home of the UE, and the UE is currently located in the IMS network of the campus of country A, and initiates a registration process in the IMS network of the campus of country A.

图8的方法包括:The method of Figure 8 includes:

802、UE接入A国园区的LTE网络,并向A国园区IMS网络中的SBC/P-CSCF设备发送REGISTER消息,以发起A国运营商IMS网络的注册流程。802. The UE accesses the LTE network of the country A's campus, and sends a REGISTER message to the SBC/P-CSCF device in the IMS network of the country A's campus, so as to initiate the registration process of the operator's IMS network of the A country.

具体地,REGISTER消息可以携带UE的IMPI和T-IMPU。例如,可以在该REGISTER消息的From/To头域携带UE的T-IMPU,在REGISTER消息的Authorization头域携带UE在A国运营商IMS网络的IMPI。该IMPI和T-IMPU均可以基于UE的IMSI生成,例如,T-IMPU可以是:sip:<IMSI>@ims.mnc<mnc>.mcc<mcc>.3gppnetwork.org;IMPI可以是:<IMSI>@ims.mnc<mnc>.mcc<mcc>.3gppnetwork.org。Specifically, the REGISTER message may carry the IMPI and T-IMPU of the UE. For example, the From/To header field of the REGISTER message may carry the T-IMPU of the UE, and the Authorization header field of the REGISTER message may carry the IMPI of the UE's IMS network of the operator in country A. Both the IMPI and the T-IMPU can be generated based on the IMSI of the UE. For example, the T-IMPU can be: sip:<IMSI>@ims.mnc<mnc>.mcc<mcc>.3gppnetwork.org; the IMPI can be: <IMSI> >@ims.mnc<mnc>.mcc<mcc>.3gppnetwork.org.

804、A国园区IMS网络中的SBC/P-CSCF设备将REGISTER消息转发至A国运营商IMS网络的I/S-CSCF设备。804. The SBC/P-CSCF device in the IMS network of the campus in country A forwards the REGISTER message to the I/S-CSCF device in the IMS network of the operator in country A.

806-808、A国园区IMS网络中的SBC/P-CSCF设备从A国运营商IMS网络的I/S-CSCF设备接收401响应消息,并将该401响应消息转发至UE。806-808, the SBC/P-CSCF device in the campus IMS network of country A receives a 401 response message from the I/S-CSCF device of the operator's IMS network in country A, and forwards the 401 response message to the UE.

需要说明的是,401响应消息用于指示A国运营商网络向UE发起了鉴权挑战。It should be noted that the 401 response message is used to indicate that the operator network of country A has initiated an authentication challenge to the UE.

810-812、UE进行鉴权处理之后,再次向A国园区IMS网络中的SBC/P-CSCF设备发送REGISTER消息,并在该REGISTER消息中携带鉴权响应信息,A国园区IMS网络中的SBC/P-CSCF设备将该REGISTER消息转发至A国运营商IMS网络的I/S-CSCF设备。810-812. After the UE performs the authentication process, it sends a REGISTER message to the SBC/P-CSCF device in the IMS network of the campus of country A again, and carries the authentication response information in the REGISTER message. The SBC in the IMS network of the campus of country A The /P-CSCF device forwards the REGISTER message to the I/S-CSCF device of the operator's IMS network in country A.

814、A国运营商IMS网络完成鉴权和注册流程,并通过A国运营商IMS网络的I/S-CSCF设备向A国园区IMS网络中的SBC/P-CSCF设备发送200OK消息。814. The country A operator's IMS network completes the authentication and registration process, and sends a 200 OK message to the SBC/P-CSCF device in the country A's campus IMS network through the I/S-CSCF device of the country A operator's IMS network.

该200OK消息中可以携带UE的SIP格式的IMPU和TEL格式的IMPU,SIP格式的IMPU和TEL格式的IMPU例如可以采用如下形式:The 200OK message can carry the IMPU in SIP format and the IMPU in TEL format of the UE. For example, the IMPU in SIP format and the IMPU in TEL format can take the following forms:

SIP格式IMPU:sip:+<MSISDN>@ims.mnc<mnc>.mcc<mcc>.3gppnetwork.org;SIP format IMPU: sip:+<MSISDN>@ims.mnc<mnc>.mcc<mcc>.3gppnetwork.org;

TEL格式IMPU:tel:+<MSISDN>。TEL format IMPU: tel:+<MSISDN>.

816、A国园区IMS网络中的SBC/P-CSCF设备将200OK消息转发至UE,以通知UE在A国运营商IMS网络注册成功。816. The SBC/P-CSCF device in the IMS network of the campus in country A forwards the 200 OK message to the UE to notify the UE that the registration in the IMS network of the operator in country A is successful.

818、A国园区IMS网络中的SBC/P-CSCF设备触发代理注册功能,向A国园区IMS网络中的I/S-CSCF设备发送REGISTER消息,以启动UE到A国园区IMS网络的注册流程。818. The SBC/P-CSCF device in the IMS network of the campus in country A triggers the proxy registration function, and sends a REGISTER message to the I/S-CSCF device in the IMS network in the campus in country A to start the registration process of the UE to the IMS network in the campus in country A .

该REGISTER消息中携带的IMPU可以与步骤814中获取到的IMPU相同;该REGISTER消息中携带的IMPI可以为步骤814中获取到的SIP格式的IMPU去掉“sip:+”之后的剩余部分,仍以步骤814中获取到的SIP格式的IMPU是sip:+<MSISDN>@ims.mnc<mnc>.mcc<mcc>.3gppnetwork.org为例,步骤818中携带的IMPI可以为<MSISDN>@ims.mnc<mnc>.mcc<mcc>.3gppnetwork.org。The IMPU carried in the REGISTER message may be the same as the IMPU obtained in step 814; the IMPI carried in the REGISTER message may be the IMPU in the SIP format obtained in step 814 after removing "sip:+", and still use The IMPU in SIP format obtained in step 814 is sip:+<MSISDN>@ims.mnc<mnc>.mcc<mcc>.3gppnetwork.org as an example, the IMPI carried in step 818 can be <MSISDN>@ims. mnc<mnc>.mcc<mcc>.3gppnetwork.org.

820、A国园区IMS网络中的I/S-CSCF设备向A国园区IMS网络中的SBC/P-CSCF设备发送200OK消息。820. The I/S-CSCF device in the IMS network of the campus in country A sends a 200 OK message to the SBC/P-CSCF device in the IMS network in the campus of country A.

该200OK消息指示UE在A国园区IMS网络注册成功。接收到该200OK消息之后,A国园区IMS网络中的SBC/P-CSCF设备完成了代理注册功能,将UE注册到了A国运营商IMS网络和A国园区IMS网络。进一步地,A国园区IMS网络中的SBC/P-CSCF设备可以保存UE的注册信息,包括UE在A国运营商IMS网络注册的S-CSCF设备的地址、在A国园区IMS网络注册的S-CSCF设备地址、SIP格式的IMPU和TEL格式的IMPU等。以上信息可以从步骤814和步骤820接收到的200OK消息中获得。进一步地,在一些实施例中,在步骤820之后,A国园区IMS网络中的SBC/P-CSCF设备可以不再向UE转发200OK消息,从而向UE屏蔽A国园区IMS网络的代理注册过程,UE根据步骤816接收到的200OK消息即可判断其已注册成功,这样一来,UE的注册过程与现有的注册过程类似,无需对UE的实现方式进行修改,兼容了现有协议。The 200OK message indicates that the UE has successfully registered in the IMS network of the country A campus. After receiving the 200OK message, the SBC/P-CSCF device in the IMS network of the country A campus completes the proxy registration function, and registers the UE to the IMS network of the country A operator and the IMS network of the country A campus. Further, the SBC/P-CSCF device in the IMS network of the campus in country A can save the registration information of the UE, including the address of the S-CSCF device registered by the UE in the IMS network of the operator in the country A, the S-CSCF device registered in the IMS network of the campus in the country A. - CSCF device address, IMPU in SIP format and IMPU in TEL format, etc. The above information can be obtained from the 200 OK messages received in steps 814 and 820. Further, in some embodiments, after step 820, the SBC/P-CSCF device in the IMS network of the country A campus may no longer forward the 200OK message to the UE, thereby shielding the UE from the proxy registration process of the IMS network of the country A campus, The UE can determine that it has successfully registered according to the 200OK message received in step 816. In this way, the registration process of the UE is similar to the existing registration process, and the implementation of the UE does not need to be modified, and is compatible with the existing protocol.

图9是本发明另一实施例提供的注册流程示意图。图9实施例中,UE属于A国园区IMS网络,即A国园区IMS网络为UE的归属地,UE当前位于B国园区IMS网络,即B国园区IMS网络为UE的拜访地,且UE在B国园区的IMS网络发起注册流程。UE在B国园区的IMS网络发起注册流程时,B国园区的MME会在UE附着(attach)到EPC时,根据漫游规则为UE选择归属地的分组数据网网关(packet data network gateway,P-GW)作为边界网关,因此,UE就会附着到归属地的EPC,进而获取到归属地IMS网络的P-CSCF设备。UE附着到EPC之后,开始发起注册流程,后续的注册流程与UE处于归属地时的注册流程相同(即与图8流程相同,此处不再详述),这样一来,即使UE漫游至同一企业的其他园区的IMS网络,也可以获得与其在归属地一样的注册体验,换句话说,本发明实施例将同一企业的拜访地的IMS网络看成是归属地IMS网络的延伸。FIG. 9 is a schematic diagram of a registration process provided by another embodiment of the present invention. In the embodiment of FIG. 9 , the UE belongs to the IMS network in the campus of country A, that is, the IMS network of the campus of country A is the home location of the UE, and the UE is currently located in the IMS network of the campus of country B, that is, the IMS network of the campus of country B is the visiting place of the UE, and the UE is in the The IMS network in the campus of Country B initiates the registration process. When the UE initiates the registration process on the IMS network in the campus of country B, the MME in the campus of country B will select the home packet data network gateway (P- data network gateway, P- GW) as a border gateway, therefore, the UE will attach to the home EPC, and then obtain the P-CSCF device of the home IMS network. After the UE attaches to the EPC, it starts to initiate the registration process. The subsequent registration process is the same as the registration process when the UE is in the home location (that is, it is the same as the process in Figure 8 and will not be described in detail here). In this way, even if the UE roams to the same location The IMS networks in other campuses of the enterprise can also obtain the same registration experience as in the home area. In other words, in this embodiment of the present invention, the IMS network in the visited area of the same enterprise is regarded as an extension of the home area IMS network.

图10是本发明又一实施例提供的注册流程示意图。图10的实施例中,UE属于B国园区IMS网络,即B国园区IMS网络是UE的归属地,且UE在B国园区IMS网络发起注册流程。图10与图8的过程大致类似,不同之处在于UE的代理注册功能由B国园区IMS网络中的SBC/P-CSCF设备完成,由于B国园区IMS网络并未部署I/S-CSCF设备,B国园区IMS网络中的SBC/P-CSCF设备在执行代理注册功能时,需要与A国园区IMS网络中的I/S-CSCF设备进行通信。FIG. 10 is a schematic diagram of a registration process provided by another embodiment of the present invention. In the embodiment of FIG. 10 , the UE belongs to the IMS network in the campus of country B, that is, the IMS network of the campus of country B is the home location of the UE, and the UE initiates a registration process in the IMS network of the campus of country B. The process in Figure 10 is similar to that in Figure 8, except that the proxy registration function of the UE is performed by the SBC/P-CSCF device in the IMS network of the campus of country B, because the IMS network of the campus of country B does not deploy the I/S-CSCF device , when the SBC/P-CSCF device in the IMS network of the campus in country B performs the proxy registration function, it needs to communicate with the I/S-CSCF device in the IMS network in the campus of the country A.

上文结合图6至图10,详细描述了根据本发明实施例的IMS注册过程,下文结合图11至图17,详细描述根据本发明实施例的呼叫流程。The IMS registration process according to the embodiment of the present invention is described in detail above with reference to FIGS. 6 to 10 , and the call flow according to the embodiment of the present invention is described in detail below with reference to FIGS. 11 to 17 .

图11是本发明实施例提供的无线通信方法的示意性流程图。图11的方法关注的是移动终端的呼叫流程。图11的方法包括:FIG. 11 is a schematic flowchart of a wireless communication method provided by an embodiment of the present invention. The method of FIG. 11 focuses on the call flow of the mobile terminal. The method of Figure 11 includes:

1110、IMS网络中的第一P-CSCF设备接收第一移动终端发送的第一INVITE消息,第一移动终端为企业IMS网络和运营商IMS网络的注册终端,第一INVITE消息包含被呼叫的第二移动终端的标识。1110. The first P-CSCF device in the IMS network receives the first INVITE message sent by the first mobile terminal, where the first mobile terminal is a registered terminal of the enterprise IMS network and the operator IMS network, and the first INVITE message contains the called first INVITE message. 2. The identification of the mobile terminal.

第一移动终端为企业IMS网络和运营商IMS网络的注册终端,但本发明实施例对第一移动终端的注册过程不做具体限定,例如,可以使用如图6至图10中任一实施例描述的注册方式进行注册。The first mobile terminal is a registration terminal of the enterprise IMS network and the operator IMS network, but the embodiment of the present invention does not specifically limit the registration process of the first mobile terminal. For example, any of the embodiments in FIG. 6 to FIG. 10 may be used. Register as described in the registration method.

可选地,在一些实施例中,第二移动终端的标识也可称为第二移动终端的用户标识。Optionally, in some embodiments, the identifier of the second mobile terminal may also be referred to as a user identifier of the second mobile terminal.

1120、在第二移动终端的标识属于企业IMS网络中的内部标识的情况下,第一P-CSCF设备根据第一INVITE消息,通过企业IMS网络中的S-CSCF设备将呼叫路由至第二移动终端。1120. In the case that the identifier of the second mobile terminal belongs to the internal identifier in the enterprise IMS network, the first P-CSCF device routes the call to the second mobile terminal through the S-CSCF device in the enterprise IMS network according to the first INVITE message. terminal.

本发明实施例对第二移动终端获取企业IMS网络内部标识的方式不做具体限定,例如,在第二移动终端注册至企业IMS网络的过程中,企业IMS网络中的AS可以为第二移动终端分配企业的内部标识,并将该内部标识添加到200OK消息,通过企业IMS网络的I/S-CSCF设备发送至第二移动终端。This embodiment of the present invention does not specifically limit the manner in which the second mobile terminal acquires the internal identifier of the enterprise IMS network. For example, in the process of registering the second mobile terminal with the enterprise IMS network, the AS in the enterprise IMS network may be the second mobile terminal. The internal identification of the enterprise is allocated, and the internal identification is added to the 200 OK message, which is sent to the second mobile terminal through the I/S-CSCF device of the enterprise IMS network.

进一步地,本发明实施例对企业IMS网络的内部标识的格式不做具体限定,只要该内部标识能够与运营商IMS网络提供的IMPU区分开即可。具体地,与企业IMS网络相比,运营商IMS网络一般需要为更多的移动终端提供服务,因此,移动终端在运营商IMS网络中的IMPU一般较长,为了与运营商IMS网络提供的IMPU区分开,可以将企业IMS网络的内部标识设计的短一些。在这种情况下,可以将移动终端在运营商IMS网络中的IMPU称为长号码,移动终端在企业IMS网络中的内部标识称为短号码。Further, the embodiment of the present invention does not specifically limit the format of the internal identifier of the enterprise IMS network, as long as the internal identifier can be distinguished from the IMPU provided by the operator's IMS network. Specifically, compared with the enterprise IMS network, the operator's IMS network generally needs to provide services for more mobile terminals. Therefore, the IMPU of the mobile terminal in the operator's IMS network is generally longer. To distinguish, the internal identification of the enterprise IMS network can be designed to be shorter. In this case, the IMPU of the mobile terminal in the operator's IMS network may be called a long number, and the internal identification of the mobile terminal in the enterprise IMS network may be called a short number.

1130、在第二移动终端的标识不属于企业IMS网络中的内部标识的情况下,第一P-CSCF设备根据第一INVITE消息,通过运营商IMS网络的S-CSCF设备将呼叫路由至第二移动终端。1130. In the case that the identity of the second mobile terminal does not belong to the internal identity in the enterprise IMS network, the first P-CSCF device routes the call to the second mobile terminal through the S-CSCF device of the operator's IMS network according to the first INVITE message. mobile terminal.

应理解,如果第二移动终端的标识属于企业IMS网络中的内部标识,表明第一移动终端和第二移动终端之间的呼叫属于企业内部通信,因此,第一P-CSCF设备会通过企业IMS网络中的S-CSCF设备将呼叫路由至第二移动终端。相应地,如果第二移动终端的标识不属于企业IMS网络中的内部标识,表明第一移动终端和第二移动终端之间的呼叫不属于企业内部通信(需要运营商IMS网络的参与),因此,第一P-CSCF设备会通过运营商IMS网络中的S-CSCF设备将呼叫路由至第二移动终端。It should be understood that if the identifier of the second mobile terminal belongs to the internal identifier in the enterprise IMS network, it indicates that the call between the first mobile terminal and the second mobile terminal belongs to the internal communication of the enterprise. Therefore, the first P-CSCF device will pass the enterprise IMS The S-CSCF device in the network routes the call to the second mobile terminal. Correspondingly, if the identity of the second mobile terminal does not belong to the internal identity in the enterprise IMS network, it indicates that the call between the first mobile terminal and the second mobile terminal does not belong to the internal communication of the enterprise (the participation of the operator's IMS network is required), so , the first P-CSCF device will route the call to the second mobile terminal through the S-CSCF device in the operator's IMS network.

本发明实施例对应用于企业IMS网络的P-CSCF设备(如上文中的第一P-CSCF设备)的功能进行了改造,使其具有“呼叫代理功能”。具体而言,企业IMS网络中的P-CSCF设备如果识别出被叫终端(即第二移动终端)的号码为企业IMS网络的内部标识,则由企业IMS网络中的S-CSCF设备将呼叫路由至被叫终端,整个呼叫过程在企业IMS网络内部进行,不会经过运营商IMS网络。换句话说,运营商IMS网络对企业IMS网络内部的呼叫过程不感知,也就不会收取相应的费用。进一步地,如果被叫终端的号码不属于企业IMS网络中的内部标识,则由运营商IMS网络中的S-CSCF设备将呼叫路由至被叫终端,从而实现了企业IMS网络中的移动终端与运营商IMS网络中的移动终端之间的通信,当然,这种情况需要使用运营商IMS网络,运营商可以按照一定的规则收取相应的费用。从上述过程可以看出,移动终端在企业IMS网络内部,以及企业IMS网络与运营商IMS网络之间的呼叫过程与传统的IP-PBX系统的呼叫过程类似,因此,本发明实施例相当于提供了一种基于IMS网络的无线IP/PBX系统。The embodiment of the present invention modifies the function of the P-CSCF device (such as the first P-CSCF device above) applied to the enterprise IMS network, so that it has a "call proxy function". Specifically, if the P-CSCF device in the enterprise IMS network recognizes that the number of the called terminal (that is, the second mobile terminal) is the internal identification of the enterprise IMS network, the S-CSCF device in the enterprise IMS network routes the call to To the called terminal, the entire call process is carried out within the enterprise IMS network and will not pass through the operator's IMS network. In other words, the operator's IMS network is not aware of the call process within the enterprise IMS network, and thus will not charge corresponding fees. Further, if the number of the called terminal does not belong to the internal identification in the enterprise IMS network, the S-CSCF device in the operator's IMS network will route the call to the called terminal, thereby realizing the communication between the mobile terminal in the enterprise IMS network and the enterprise IMS network. For communication between mobile terminals in the operator's IMS network, of course, in this case, the operator's IMS network needs to be used, and the operator can charge corresponding fees according to certain rules. It can be seen from the above process that the call process between the mobile terminal inside the enterprise IMS network and between the enterprise IMS network and the operator IMS network is similar to the call process of the traditional IP-PBX system. Therefore, the embodiments of the present invention are equivalent to providing A wireless IP/PBX system based on IMS network is presented.

可选地,在一些实施例中,企业的IMS网络包括第一IMS网络和第二IMS网络,企业IMS网络的S-CSCF设备位于第一IMS网络中,第一IMS网络的P-CSCF设备和第二IMS网络的P-CSCF设备均与第一IMS网络中的S-CSCF设备相连,第一P-CSCF设备为第一IMS网络和第二IMS网络中的任一P-CSCF设备,且第一P-CSCF设备与第一移动终端位于第一IMS网络和第二IMS网络中的同一IMS网络。Optionally, in some embodiments, the IMS network of the enterprise includes a first IMS network and a second IMS network, the S-CSCF device of the enterprise IMS network is located in the first IMS network, the P-CSCF device of the first IMS network and the The P-CSCF devices of the second IMS network are all connected to the S-CSCF devices in the first IMS network, the first P-CSCF device is any P-CSCF device in the first IMS network and the second IMS network, and the first P-CSCF device A P-CSCF device and the first mobile terminal are located in the same IMS network in the first IMS network and the second IMS network.

以图3为例,第一IMS网络可对应于图3中的A国园区的IMS网络,第二IMS网络可对应于图3中的B国园区的IMS网络,企业IMS网络的S-CSCF设备位于A国园区的IMS网络中,且A国园区的IMS网络的P-CSCF设备和B国园区的IMS网络的P-CSCF设备均与A国园区的IMS网络的S-CSCF设备相连。Taking FIG. 3 as an example, the first IMS network may correspond to the IMS network of the campus of country A in FIG. 3 , the second IMS network may correspond to the IMS network of the campus of country B in FIG. 3 , and the S-CSCF equipment of the enterprise IMS network. The IMS network is located in the campus of country A, and the P-CSCF devices of the IMS network of the campus of country A and the P-CSCF devices of the IMS network of the campus of country B are both connected to the S-CSCF devices of the IMS network of the campus of country A.

上文中的第一P-CSCF设备与第一移动终端位于第一IMS网络和第二IMS网络中的同一IMS网络表示:在呼叫过程中,无论第一移动终端位于第一IMS网络还是第二IMS网络,该第一移动终端均会向该第一移动终端当前所在地的IMS网络的P-CSCF设备发起呼叫。相比而言,在注册过程中,第一移动终端会从向第一移动终端的归属地IMS网络中的P-CSCF设备发起注册。仍以图3为例,假设第一移动终端当前位于A国园区IMS网络,则无论第一移动终端属于A国园区IMS网络还是B国园区IMS网络,第一移动终端均会向A国园区IMS网络中的P-CSCF设备发起呼叫;同理,假设第一移动终端当前位于B国园区IMS网络,则无论第一移动终端属于A国园区IMS网络还是B国园区IMS网络,第一移动终端均会向B国园区IMS网络中的P-CSCF设备发起呼叫。The above-mentioned first P-CSCF device and the first mobile terminal are located in the same IMS network in the first IMS network and the second IMS network means: during the call process, no matter whether the first mobile terminal is located in the first IMS network or the second IMS network network, the first mobile terminal will initiate a call to the P-CSCF device of the IMS network where the first mobile terminal is currently located. In contrast, during the registration process, the first mobile terminal will initiate registration with the P-CSCF device in the home IMS network of the first mobile terminal. Still taking FIG. 3 as an example, assuming that the first mobile terminal is currently located in the IMS network of the park of country A, no matter whether the first mobile terminal belongs to the IMS network of the park of country A or the IMS network of the park of country B, the first mobile terminal will send the IMS network of the park of country A to the IMS network of the park of country A. The P-CSCF device in the network initiates a call; for the same reason, assuming that the first mobile terminal is currently located in the IMS network of the campus of country B, the first mobile terminal will not be in the IMS network of the campus of country A or the IMS network of the campus of country B. It will initiate a call to the P-CSCF device in the IMS network of the country B campus.

可选地,在一些实施例中,第一移动终端与第二移动终端位于第一IMS网络和第二IMS网络中的同一IMS网络中,步骤1120可包括:第一P-CSCF设备向企业IMS网络中的S-CSCF设备转发第一INVITE消息;第一P-CSCF设备接收企业IMS网络的S-CSCF设备发送的第二INVITE消息,第二INVITE消息包含第二移动终端的IMPU;第一P-CSCF设备根据第二移动终端的IMPU,将呼叫路由至第二移动终端。Optionally, in some embodiments, the first mobile terminal and the second mobile terminal are located in the same IMS network in the first IMS network and the second IMS network, and step 1120 may include: the first P-CSCF device reports to the enterprise IMS The S-CSCF device in the network forwards the first INVITE message; the first P-CSCF device receives the second INVITE message sent by the S-CSCF device of the enterprise IMS network, and the second INVITE message contains the IMPU of the second mobile terminal; the first P-CSCF device receives the second INVITE message sent by the S-CSCF device of the enterprise IMS network. - The CSCF device routes the call to the second mobile terminal according to the IMPU of the second mobile terminal.

由于第一移动终端与第二移动终端位于同一IMS网络,第一P-CSCF设备既会负责将第一移动终端发起的呼叫转发至企业IMS网络中的S-CSCF设备,又会负责将第一移动终端发起的呼叫路由至第二移动终端。Since the first mobile terminal and the second mobile terminal are located in the same IMS network, the first P-CSCF device will not only be responsible for forwarding the call initiated by the first mobile terminal to the S-CSCF device in the enterprise IMS network, but also responsible for forwarding the call initiated by the first mobile terminal to the S-CSCF device in the enterprise IMS network. The call initiated by the mobile terminal is routed to the second mobile terminal.

应注意,第二INVITE消息包含的是第二移动终端的IMPU,也就是说,本发明实施例中,企业IMS网络对第一INVITE消息包含的第二移动终端的标识进行了转换,将其从企业IMS网络的内部标识转换IMPU,从而可以将第二INVITE消息按照现有的方式路由至第二移动终端。It should be noted that the second INVITE message contains the IMPU of the second mobile terminal, that is to say, in this embodiment of the present invention, the enterprise IMS network converts the identifier of the second mobile terminal contained in the first INVITE message from the The internal identity of the enterprise IMS network translates the IMPU so that the second INVITE message can be routed to the second mobile terminal in the existing manner.

以图3为例,假设第一移动终端和第二移动终端均位于A国园区IMS网络,则A国园区IMS网络中的P-CSCF设备首先会收到第一移动终端发出的INVITE消息,在将该INVITE消息转发至A国园区IMS网络的I/S-CSCF设备之后,A国园区IMS网络中的P-CSCF设备会接收到A国园区IMS网络的I/S-CSCF设备返回的INVITE消息,此时,A国园区IMS网络中的P-CSCF设备需要将该INVITE消息路由至第二移动终端。假设第一移动终端和第二移动终端均位于B国园区IMS网络,则B国园区IMS网络中的P-CSCF设备首先会收到第一移动终端发出的INVITE消息,在将该INVITE消息转发至A国园区IMS网络的I/S-CSCF设备之后,B国园区IMS网络中的P-CSCF设备会接收到A国园区IMS网络的I/S-CSCF设备返回的INVITE消息,此时,B国园区IMS网络中的P-CSCF设备需要将该INVITE消息路由至第二移动终端。Taking Figure 3 as an example, assuming that both the first mobile terminal and the second mobile terminal are located in the IMS network of the campus of country A, the P-CSCF device in the IMS network of the campus of country A will first receive the INVITE message sent by the first mobile terminal, and then After the INVITE message is forwarded to the I/S-CSCF device of the IMS network in the campus of Country A, the P-CSCF device in the IMS network of the campus of Country A will receive the INVITE message returned by the I/S-CSCF device of the IMS network of the campus of Country A , at this time, the P-CSCF device in the IMS network of the campus in country A needs to route the INVITE message to the second mobile terminal. Assuming that both the first mobile terminal and the second mobile terminal are located in the IMS network of the campus of country B, the P-CSCF device in the IMS network of the campus of country B will first receive the INVITE message sent by the first mobile terminal, and then forward the INVITE message to After the I/S-CSCF device of the IMS network in the campus of country A, the P-CSCF device in the IMS network of the campus of country B will receive the INVITE message returned by the I/S-CSCF device of the IMS network of the campus of country A. The P-CSCF device in the campus IMS network needs to route the INVITE message to the second mobile terminal.

可选地,在一些实施例中,第一移动终端位于第二IMS网络中,第一P-CSCF设备为第二IMS网络的P-CSCF设备,图11的方法还可包括:第一P-CSCF设备接收第一IMS网络中的S-CSCF设备发送的第三INVITE消息,第三INVITE消息为第一IMS网络中的第三移动终端发起的呼叫对应的INVITE消息,第三INVITE消息包含第一移动终端的IMPU;第一P-CSCF设备根据第一移动终端的IMPU,将第三移动终端发起的呼叫路由至第一移动终端。Optionally, in some embodiments, the first mobile terminal is located in the second IMS network, the first P-CSCF device is a P-CSCF device of the second IMS network, and the method in FIG. 11 may further include: the first P-CSCF device The CSCF device receives the third INVITE message sent by the S-CSCF device in the first IMS network, the third INVITE message is the INVITE message corresponding to the call initiated by the third mobile terminal in the first IMS network, and the third INVITE message contains the first INVITE message. The IMPU of the mobile terminal; the first P-CSCF device routes the call initiated by the third mobile terminal to the first mobile terminal according to the IMPU of the first mobile terminal.

以图3为例,第一IMS网络可对应于图3中的A国园区IMS网络,第二IMS网络可对应于图3中的B国园区IMS网络。在该实施例中,第一P-CSCF设备为B国园区IMS网络中的P-CSCF设备。第三移动终端位于A国园区IMS网络,第一移动终端位于B国园区IMS网络,即A国园区IMS网络中的移动终端呼叫B国园区IMS网络中的移动终端,整个呼叫过程是在A国园区IMS网络与B国园区IMS网络中的网元的配合下完成的,不会有运营商IMS网络中的网元的参与,这样一来,运营商也不会感知企业的多个IMS网络之间的通信过程,也就不会收取相应费用。Taking FIG. 3 as an example, the first IMS network may correspond to the IMS network in the campus of country A in FIG. 3 , and the second IMS network may correspond to the IMS network in the campus of country B in FIG. 3 . In this embodiment, the first P-CSCF device is a P-CSCF device in the IMS network of the campus in country B. The third mobile terminal is located in the IMS network of the campus of country A, and the first mobile terminal is located in the IMS network of the campus of country B, that is, the mobile terminal in the IMS network of the campus of country A calls the mobile terminal in the IMS network of the campus of country B, and the whole call process is in country A. The campus IMS network is completed with the cooperation of the network elements in the campus IMS network of country B, without the participation of the network elements in the operator's IMS network. In this way, the operator will not perceive any of the multiple IMS networks of the enterprise. There will be no corresponding charges for the communication process between them.

下面以图3所示的组网方式为例,结合图12至图17,详细描述本发明实施例提供的呼叫流程。图12至图17是以移动终端为UE(例如可以是VoLTE终端),P-CSCF设备为SBC/P-CSCF合一设备(简称SBC/P-CSCF设备)为例进行举例说明的,且在图12至图17的实施例中,为了便于描述,将企业IMS网络提供的内部标识称为短号码,UE的IMPU称为长号码。应注意,图12至图17的例子仅仅是为了帮助本领域技术人员理解本发明实施例,而非要将本发明实施例限于所例示的具体数值或具体场景。本领域技术人员根据所给出的图12至图17的例子,显然可以进行各种等价的修改或变化,这样的修改或变化也落入本发明实施例的范围内。The following takes the networking mode shown in FIG. 3 as an example, and in conjunction with FIG. 12 to FIG. 17 , the call flow provided by the embodiment of the present invention is described in detail. FIG. 12 to FIG. 17 take the mobile terminal as a UE (for example, a VoLTE terminal), and the P-CSCF device as an SBC/P-CSCF integrated device (SBC/P-CSCF device for short) as an example for illustration. In the embodiments of FIGS. 12 to 17 , for the convenience of description, the internal identifier provided by the enterprise IMS network is called a short number, and the IMPU of the UE is called a long number. It should be noted that the examples in FIG. 12 to FIG. 17 are only for helping those skilled in the art to understand the embodiments of the present invention, and are not intended to limit the embodiments of the present invention to specific numerical values or specific scenarios exemplified. According to the examples shown in FIGS. 12 to 17 , those skilled in the art can obviously make various equivalent modifications or changes, and such modifications or changes also fall within the scope of the embodiments of the present invention.

图12是本发明一个实施例提供的呼叫流程的示意图。在图12的实施例中,主叫UE和被叫UE均属于A国园区IMS网络,即A国园区IMS网络为主叫UE和被叫UE的归属地,且主叫UE和被叫UE当前均位于A国园区IMS网络。FIG. 12 is a schematic diagram of a call flow provided by an embodiment of the present invention. In the embodiment of FIG. 12 , both the calling UE and the called UE belong to the IMS network in the campus of country A, that is, the IMS network of the campus in country A is the home of the calling UE and the called UE, and the calling UE and the called UE currently All are located in the IMS network of the country A park.

图12的方法包括:The method of Figure 12 includes:

1202、主叫UE在A国园区IMS网络中拨打被叫UE的短号码,发送INVITE消息至A国园区IMS网络中的SBC/P-CSCF设备。1202. The calling UE dials the short number of the called UE in the IMS network of the country A campus, and sends an INVITE message to the SBC/P-CSCF device in the IMS network of the country A campus.

具体地,被叫UE的短号码可以位于INVITE消息的Request-URI字段。该INVITE消息的P-Asserted-Indentify字段和From字段可分别承载主叫UE的TEL格式的IMPU和SIP格式的IMPU。Specifically, the short number of the called UE may be located in the Request-URI field of the INVITE message. The P-Asserted-Indentify field and the From field of the INVITE message can respectively carry the IMPU in TEL format and the IMPU in SIP format of the calling UE.

1204、A国园区IMS网络的SBC/P-CSCF设备触发“呼叫代理功能”,根据INVITE消息中携带的被叫UE的短号码,判断被叫UE为企业内部的UE,并将INVITE消息转发至A国园区IMS网络的S-CSCF设备。1204. The SBC/P-CSCF device of the IMS network in the campus of country A triggers the "call proxy function", determines that the called UE is an internal UE according to the short number of the called UE carried in the INVITE message, and forwards the INVITE message to S-CSCF equipment of the IMS network in the campus of country A.

在将INVITE消息转发至A国园区IMS网络的S-CSCF设备之前,A国园区IMS网络的SBC/P-CSCF设备可以根据主叫UE的注册信息以及接收到的INVITE消息的P-Asserted-Indentify字段和From字段,判断该主叫UE是否为A国园区IMS网络的注册用户,在主叫UE是A国园区IMS网络的注册用户的情况下,将INVITE消息转发至A国园区IMS网络的S-CSCF设备;否则,可以拒绝该INVITE消息。Before forwarding the INVITE message to the S-CSCF device of the IMS network in the campus of Country A, the SBC/P-CSCF device of the IMS network of the campus of Country A can use the registration information of the calling UE and the P-Asserted-Indentify of the received INVITE message. field and From field to determine whether the calling UE is a registered user of the IMS network in the park of country A, and if the calling UE is a registered user of the IMS network of the park of country A, the INVITE message is forwarded to the S of the IMS network of the park of country A. - CSCF device; otherwise, the INVITE message may be rejected.

1206、A国园区IMS网络中的S-CSCF设备将经过A国园区IMS网络更新后的INVITE消息发送至A国园区IMS网络中的SBC/P-CSCF设备。1206. The S-CSCF device in the IMS network of the campus of country A sends the INVITE message updated by the IMS network of the campus of country A to the SBC/P-CSCF device of the IMS network of the campus of country A.

具体地,A国园区IMS网络(具体可以由A国园区IMS网络的AS)对INVITE消息进行更新,将INVITE消息中的被叫UE的短号码转换成UE的长号码(即UE的IMPU)。然后将更新后的INVITE消息通过S-CSCF设备发送至A国园区IMS网络中的SBC/P-CSCF设备。Specifically, the IMS network in the campus of country A (specifically, the AS of the IMS network in the campus of country A) updates the INVITE message, and converts the short number of the called UE in the INVITE message into the long number of the UE (ie, the IMPU of the UE). Then, the updated INVITE message is sent to the SBC/P-CSCF device in the IMS network of the campus in Country A through the S-CSCF device.

1208-1232、A国园区IMS网络中的SBC/P-CSCF设备根据UE的长号码,将呼叫路由至被叫UE,被叫UE振铃后发送180RINGING(即振铃消息),被叫UE摘机后发送200OK消息,主叫UE和被叫UE之间的呼叫建立成功。1208-1232. The SBC/P-CSCF device in the IMS network of the campus in country A routes the call to the called UE according to the long number of the UE. After the called UE rings, it sends 180RINGING (that is, a ringing message), and the called UE picks up A 200OK message is sent after the phone, and the call between the calling UE and the called UE is established successfully.

步骤1208至1232与现有技术类似,具体可以参照现有的IMS呼叫流程,此处不再详述。Steps 1208 to 1232 are similar to those in the prior art. For details, reference may be made to an existing IMS call flow, which will not be described in detail here.

图13是本发明另一实施例提供的呼叫流程的示意图。在图13的实施例中,主叫UE属于A国园区IMS网络,且主叫UE在A国园区IMS网络呼叫B国园区IMS网络的被叫UE。图13的流程与图12的流程大致类似,主要区别在于:由于被叫UE位于B国园区IMS网络,因此,A国园区IMS网络的S-CSCF设备接收到A国园区IMS网络的INVITE消息之后,需要将后续INVITE消息转发至B国园区IMS网络中的SBC/P-CSCF设备,从而通过B国园区IMS网络中的SBC/P-CSCF设备将呼叫路由至被叫UE。FIG. 13 is a schematic diagram of a call flow provided by another embodiment of the present invention. In the embodiment of FIG. 13 , the calling UE belongs to the IMS network of the campus of country A, and the calling UE calls the called UE of the IMS network of the campus of country B in the IMS network of the campus of country A. The process in Figure 13 is similar to the process in Figure 12, the main difference is that since the called UE is located in the IMS network of the campus of country B, the S-CSCF device of the IMS network of the campus of country A receives the INVITE message of the IMS network of the campus of country A after receiving the INVITE message. , the subsequent INVITE message needs to be forwarded to the SBC/P-CSCF device in the IMS network of the campus in country B, so that the call is routed to the called UE through the SBC/P-CSCF device in the IMS network in the campus of the country B.

图14是本发明又一实施例提供的呼叫流程的示意图。在图14的实施例中,主叫UE属于A国园区IMS网络,且主叫UE在A国园区IMS网络呼叫A国运营商IMS网络中的被叫UE。图14的流程与图12的流程大致类似,主要区别在于:主叫UE发送的INVITE消息中的Request-URI为被叫UE的IMPU,A国园区IMS网络中的SBC/P-CSCF设备根据Request-URI为IMPU,将INVITE消息转发至A国运营商IMS网络中的S-CSCF设备,并由A国运营商IMS网络中的SBC/P-CSCF设备将呼叫路由至被叫UE。FIG. 14 is a schematic diagram of a call flow provided by another embodiment of the present invention. In the embodiment of FIG. 14 , the calling UE belongs to the IMS network of the country A campus, and the calling UE calls the called UE in the IMS network of the operator of the country A in the IMS network of the country A campus. The process in Figure 14 is similar to the process in Figure 12, the main difference is that: the Request-URI in the INVITE message sent by the calling UE is the IMPU of the called UE, and the SBC/P-CSCF device in the IMS network of the country A park according to the Request-URI - The URI is the IMPU, which forwards the INVITE message to the S-CSCF device in the operator's IMS network in country A, and the SBC/P-CSCF device in the operator's IMS network in country A routes the call to the called UE.

图15是本发明又一实施例提供的呼叫流程的示意图。在图15的实施例中,主叫UE属于A国运营商IMS网络,且主叫UE在A国运营商IMS网络呼叫A国园区IMS网络中的被叫UE。图15的流程与图12的流程大致类似,主要区别在于:主叫UE通过A国运营商IMS网络的SBC/P-CSCF设备将INVITE消息发送至A国运营商IMS网络中的S-CSCF设备,A国运营商IMS网络中的S-CSCF设备会将INVITE消息转发至A国园区IMS网络的SBC/P-CSCF设备,从而通过A国园区IMS网络的SBC/P-CSCF设备将呼叫路由至被叫UE。FIG. 15 is a schematic diagram of a call flow provided by another embodiment of the present invention. In the embodiment of FIG. 15 , the calling UE belongs to the IMS network of the operator of country A, and the calling UE calls the called UE in the IMS network of the campus of country A in the IMS network of the operator of country A. The process in Figure 15 is similar to the process in Figure 12, the main difference is that the calling UE sends an INVITE message to the S-CSCF device in the operator's IMS network in country A through the SBC/P-CSCF device in the operator's IMS network in country A. , the S-CSCF device in the IMS network of the operator in country A will forward the INVITE message to the SBC/P-CSCF device in the IMS network of the country A campus, so that the call is routed to the SBC/P-CSCF device in the IMS network of the country A campus. The called UE.

图16是本发明又一实施例提供的呼叫流程的示意图。在图16的实施例中,主叫UE属于A国园区IMS网络,且主叫UE在A国运营商IMS网络下呼叫A国运营商IMS网络中的被叫UE。图16的呼叫流程与现有的同一运营商中的两个UE之间的呼叫流程基本相同,此处不再详述。FIG. 16 is a schematic diagram of a call flow provided by another embodiment of the present invention. In the embodiment of FIG. 16 , the calling UE belongs to the campus IMS network of country A, and the calling UE calls the called UE in the IMS network of the operator of country A under the IMS network of the operator of country A. The call flow in FIG. 16 is basically the same as the existing call flow between two UEs in the same operator, and will not be described in detail here.

图17是本发明又一实施例提供的呼叫流程的示意图。在图17的实施例中,主叫UE属于A国园区IMS网络,且主叫UE在B国园区IMS网络下呼叫A国园区IMS网络中的被叫UE。图17的呼叫流程与图13的呼叫流程大致类似,不同之处在于B国园区IMS网络中的SBC/P-CSCF设备接收到INVITE消息之后,需要将该INVITE消息转发至A国园区IMS网络的S-CSCF设备进行处理,最终由A国园区IMS网络中的SBC/P-CSCF设备将呼叫路由至被叫UE。FIG. 17 is a schematic diagram of a call flow provided by another embodiment of the present invention. In the embodiment of FIG. 17 , the calling UE belongs to the campus IMS network of country A, and the calling UE calls the called UE in the campus IMS network of country A under the campus IMS network of country B. The call flow in Figure 17 is similar to the call flow in Figure 13, the difference is that after receiving the INVITE message, the SBC/P-CSCF device in the IMS network of the campus in Country B needs to forward the INVITE message to the IMS network of the campus in Country A. The S-CSCF equipment processes, and finally the SBC/P-CSCF equipment in the IMS network of the country A campus routes the call to the called UE.

下面对本发明的装置实施例进行描述,由于装置实施例可以执行上述方法,因此未详细描述的部分可以参见前面各方法实施例。The apparatus embodiments of the present invention are described below. Since the apparatus embodiments can execute the above methods, reference may be made to the foregoing method embodiments for the parts that are not described in detail.

图18是本发明一个实施例提供的P-CSCF设备的示意性结构图。图18的P-CSCF设备1800为企业IMS网络中的第一P-CSCF设备。所述第一P-CSCF设备包括:第一接收模块1810、第一路由模块1820和第二路由模块1830。第一P-CSCF设备可用于执行图11中描述的方法,例如,第一接收模块1810可用于执行图11中的步骤1110,第一路由模块1820可用于执行图11中的步骤1120,第二路由模块1830可用于执行图11中的步骤1130。下面对第一接收模块1810、第一路由模块1820和第二路由模块1830的功能进行详细描述。FIG. 18 is a schematic structural diagram of a P-CSCF device provided by an embodiment of the present invention. The P-CSCF device 1800 of Figure 18 is the first P-CSCF device in the enterprise IMS network. The first P-CSCF device includes: a first receiving module 1810 , a first routing module 1820 and a second routing module 1830 . The first P-CSCF device can be used to perform the method described in FIG. 11 , for example, the first receiving module 1810 can be used to perform step 1110 in FIG. 11 , the first routing module 1820 can be used to perform step 1120 in FIG. 11 , the second Routing module 1830 may be used to perform step 1130 in FIG. 11 . The functions of the first receiving module 1810, the first routing module 1820 and the second routing module 1830 will be described in detail below.

所述第一接收模块1810用于接收第一移动终端发送的第一INVITE消息,所述第一移动终端为所述企业IMS网络和运营商IMS网络的注册终端,所述第一INVITE消息包含被呼叫的第二移动终端的标识。The first receiving module 1810 is configured to receive a first INVITE message sent by a first mobile terminal, where the first mobile terminal is a registered terminal of the enterprise IMS network and the operator IMS network, and the first INVITE message includes the The identity of the calling second mobile terminal.

所述第一路由模块1820用于在所述第二移动终端的标识属于所述企业IMS网络中的内部标识的情况下,根据所述第一INVITE消息,通过所述企业IMS网络中的S-CSCF设备将呼叫路由至所述第二移动终端。The first routing module 1820 is configured to, in the case that the identifier of the second mobile terminal belongs to the internal identifier in the enterprise IMS network, according to the first INVITE message, pass the S- The CSCF device routes the call to the second mobile terminal.

所述第二路由模块1830用于在所述第二移动终端的标识不属于所述企业IMS网络中的内部标识的情况下,根据所述第一INVITE消息,通过所述运营商IMS网络的S-CSCF设备将呼叫路由至所述第二移动终端。The second routing module 1830 is configured to, in the case that the identifier of the second mobile terminal does not belong to the internal identifier in the enterprise IMS network, according to the first INVITE message, through the S of the operator's IMS network. - The CSCF device routes the call to the second mobile terminal.

本发明实施例对应用于企业IMS网络的P-CSCF设备(如上文中的第一P-CSCF设备)的功能进行了改造,使其具有“呼叫代理功能”。具体而言,企业IMS网络中的P-CSCF设备如果识别出被叫终端(即第二移动终端)的号码为企业IMS网络的内部标识,则由企业IMS网络中的S-CSCF设备将呼叫路由至被叫终端,整个呼叫过程在企业IMS网络内部进行,不会经过运营商IMS网络。换句话说,运营商IMS网络对企业IMS网络内部的呼叫过程不感知,也就不会收取相应的费用。进一步地,如果被叫终端的号码为IMPU,则由运营商IMS网络中的S-CSCF设备将呼叫路由至被叫终端,从而实现了企业IMS网络中的移动终端与运营商IMS网络中的移动终端之间的通信,当然,这种情况需要使用运营商IMS网络,运营商可以按照一定的规则收取相应的费用。从上述过程可以看出,移动终端在企业IMS网络内部,以及企业IMS网络与运营商IMS网络之间的呼叫过程与传统的IP-PBX系统的呼叫过程类似,因此,本发明实施例相当于提供了一种基于IMS网络的无线IP/PBX系统。The embodiment of the present invention modifies the function of the P-CSCF device (such as the first P-CSCF device above) applied to the enterprise IMS network, so that it has a "call proxy function". Specifically, if the P-CSCF device in the enterprise IMS network recognizes that the number of the called terminal (that is, the second mobile terminal) is the internal identification of the enterprise IMS network, the S-CSCF device in the enterprise IMS network routes the call to To the called terminal, the entire call process is carried out within the enterprise IMS network and will not pass through the operator's IMS network. In other words, the operator's IMS network is not aware of the call process within the enterprise IMS network, and thus will not charge corresponding fees. Further, if the number of the called terminal is IMPU, the S-CSCF device in the operator's IMS network routes the call to the called terminal, thereby realizing the mobile terminal in the enterprise IMS network and the mobile terminal in the operator's IMS network. For communication between terminals, of course, in this case, the operator's IMS network needs to be used, and the operator can charge corresponding fees according to certain rules. It can be seen from the above process that the call process between the mobile terminal inside the enterprise IMS network and between the enterprise IMS network and the operator IMS network is similar to the call process of the traditional IP-PBX system. Therefore, the embodiments of the present invention are equivalent to providing A wireless IP/PBX system based on IMS network is presented.

可选地,在一些实施例中,所述第一P-CSCF设备还包括:第二接收模块,用于接收所述第一移动终端发送的第一REGISTER消息;注册模块,用于根据所述第一REGISTER消息,将所述第一移动终端注册至所述运营商IMS网络和所述企业IMS网络。Optionally, in some embodiments, the first P-CSCF device further includes: a second receiving module for receiving the first REGISTER message sent by the first mobile terminal; a registration module for receiving the first REGISTER message according to the The first REGISTER message registers the first mobile terminal with the operator IMS network and the enterprise IMS network.

可选地,在一些实施例中,所述第一REGISTER消息用于在所述运营商IMS网络进行注册,所述注册模块具体用于将所述第一REGISTER消息转发至所述运营商IMS网络的S-CSCF设备;接收所述运营商IMS网络发送的第一响应消息,所述第一响应消息用于指示所述第一移动终端在所述运营商IMS网络注册成功;将所述第一响应消息转发至所述第一移动终端;所述第一移动终端在所述运营商IMS网络注册成功之后,向所述企业IMS网络的S-CSCF设备发送第二REGISTER消息;接收所述企业IMS网络的S-CSCF设备发送的第二响应消息,所述第二响应消息用于指示所述第一移动终端在所述企业IMS网络注册成功。Optionally, in some embodiments, the first REGISTER message is used to register on the operator IMS network, and the registration module is specifically configured to forward the first REGISTER message to the operator IMS network the S-CSCF device; receive a first response message sent by the operator's IMS network, where the first response message is used to indicate that the first mobile terminal is successfully registered in the operator's IMS network; The response message is forwarded to the first mobile terminal; the first mobile terminal sends a second REGISTER message to the S-CSCF device of the enterprise IMS network after the operator's IMS network is successfully registered; receives the enterprise IMS A second response message sent by the S-CSCF device of the network, where the second response message is used to indicate that the first mobile terminal is successfully registered in the enterprise IMS network.

可选地,在一些实施例中,所述第二REGISTER消息中携带的IMPU与所述第一响应消息中携带的IMPU相同。Optionally, in some embodiments, the IMPU carried in the second REGISTER message is the same as the IMPU carried in the first response message.

可选地,在一些实施例中,所述第一响应消息中携带的IMPU包括会话初始协议SIP格式的IMPU,所述第二REGISTER消息中携带的IMPI包含所述SIP格式的IMPU中的除去目标字符之外的剩余字符,所述目标字符为sip:+。Optionally, in some embodiments, the IMPU carried in the first response message includes a session initiation protocol SIP formatted IMPU, and the IMPI carried in the second REGISTER message includes the removal target in the SIP formatted IMPU. The remaining characters other than characters, the target character is sip:+.

可选地,在一些实施例中,所述企业的IMS网络包括第一IMS网络和第二IMS网络,所述企业IMS网络的S-CSCF设备位于所述第一IMS网络中,所述第一IMS网络的P-CSCF设备和所述第二IMS网络的P-CSCF设备均与所述第一IMS网络中的S-CSCF设备相连,所述第一P-CSCF设备为所述第一IMS网络和所述第二IMS网络中的任一P-CSCF设备,且所述第一P-CSCF设备与所述第一移动终端位于所述第一IMS网络和所述第二IMS网络中的同一IMS网络。Optionally, in some embodiments, the IMS network of the enterprise includes a first IMS network and a second IMS network, the S-CSCF device of the enterprise IMS network is located in the first IMS network, and the first IMS network is located in the first IMS network. Both the P-CSCF device of the IMS network and the P-CSCF device of the second IMS network are connected to the S-CSCF device in the first IMS network, and the first P-CSCF device is the first IMS network and any P-CSCF device in the second IMS network, and the first P-CSCF device and the first mobile terminal are located in the same IMS in the first IMS network and the second IMS network network.

可选地,在一些实施例中,所述第一移动终端与所述第二移动终端位于所述第一IMS网络和所述第二IMS网络中的同一IMS网络中,所述第一路由模块1820具体用于向所述企业IMS网络中的S-CSCF设备转发所述第一INVITE消息;接收所述企业IMS网络的S-CSCF设备发送的第二INVITE消息,所述第二INVITE消息包含所述第二移动终端的IMPU;根据所述第二移动终端的IMPU,将呼叫路由至所述第二移动终端。Optionally, in some embodiments, the first mobile terminal and the second mobile terminal are located in the same IMS network of the first IMS network and the second IMS network, and the first routing module 1820 is specifically configured to forward the first INVITE message to the S-CSCF device in the enterprise IMS network; and receive the second INVITE message sent by the S-CSCF device of the enterprise IMS network, where the second INVITE message includes the the IMPU of the second mobile terminal; and routing the call to the second mobile terminal according to the IMPU of the second mobile terminal.

可选地,在一些实施例中,所述第一移动终端位于所述第二IMS网络中,所述第一P-CSCF设备为所述第二IMS网络的P-CSCF设备,所述第一P-CSCF设备还包括:第三接收模块,用于接收所述第一IMS网络中的S-CSCF设备发送的第三INVITE消息,所述第三INVITE消息为所述第一IMS网络中的第三移动终端发起的呼叫对应的INVITE消息,所述第三INVITE消息包含所述第一移动终端的IMPU;第三路由模块,用于根据所述第一移动终端的IMPU,将所述第三移动终端发起的呼叫路由至所述第一移动终端。Optionally, in some embodiments, the first mobile terminal is located in the second IMS network, the first P-CSCF device is a P-CSCF device of the second IMS network, the first The P-CSCF device further includes: a third receiving module, configured to receive a third INVITE message sent by the S-CSCF device in the first IMS network, where the third INVITE message is the third INVITE message in the first IMS network Three INVITE messages corresponding to calls initiated by the mobile terminal, where the third INVITE message includes the IMPU of the first mobile terminal; a third routing module, configured to route the third mobile terminal according to the IMPU of the first mobile terminal The call initiated by the terminal is routed to the first mobile terminal.

图19是本发明另一实施例提供的P-CSCF设备的示意性结构图。图19的P-CSCF设备1900为为企业IMS网络的第一P-CSCF设备。所述第一P-CSCF设备包括:第一接收模块1910和注册模块1920。第一P-CSCF设备可用于执行图6中的方法,例如,第一接收模块1910可用于执行图6中的步骤610,注册模块1920可用于执行图6中的步骤620。下面对第一接收模块1910和注册模块1920的功能进行详细描述。FIG. 19 is a schematic structural diagram of a P-CSCF device according to another embodiment of the present invention. The P-CSCF device 1900 of FIG. 19 is the first P-CSCF device of the enterprise IMS network. The first P-CSCF device includes: a first receiving module 1910 and a registration module 1920. The first P-CSCF device may be configured to perform the method in FIG. 6 , for example, the first receiving module 1910 may be configured to perform step 610 in FIG. 6 , and the registration module 1920 may be configured to perform step 620 in FIG. 6 . The functions of the first receiving module 1910 and the registration module 1920 are described in detail below.

所述第一接收模块1910用于接收第一移动终端发送的第一REGISTER消息,所述第一P-CSCF设备为企业IMS网络的第一P-CSCF设备。The first receiving module 1910 is configured to receive the first REGISTER message sent by the first mobile terminal, where the first P-CSCF device is the first P-CSCF device of the enterprise IMS network.

所述注册模块1920用于根据所述第一REGISTER消息,将所述第一移动终端注册至运营商IMS网络和所述企业IMS网络。The registration module 1920 is configured to register the first mobile terminal with the operator IMS network and the enterprise IMS network according to the first REGISTER message.

本发明实施例对应用于企业IMS网络的P-CSCF设备(如上文中的第一P-CSCF设备)的功能进行了改造,使其具有“代理注册功能”。具体而言,企业IMS网络中的P-CSCF设备在接收到移动终端的REGISTER消息(也可称为注册消息或注册请求)之后,不但将移动终端注册至运营商IMS网络,还将移动终端注册至企业IMS网络,使得移动终端能够同时使用运营商IMS网络和企业IMS网络,并且能够在企业IMS网络与运营商IMS网络之间漫游。The embodiment of the present invention modifies the function of the P-CSCF device (such as the first P-CSCF device above) applied to the enterprise IMS network, so that it has a "proxy registration function". Specifically, after receiving the REGISTER message (also referred to as a registration message or a registration request) from the mobile terminal, the P-CSCF device in the enterprise IMS network not only registers the mobile terminal to the operator's IMS network, but also registers the mobile terminal to the operator's IMS network. To the enterprise IMS network, the mobile terminal can use the operator IMS network and the enterprise IMS network at the same time, and can roam between the enterprise IMS network and the operator IMS network.

可选地,在一些实施例中,所述第一REGISTER消息用于在运营商IMS网络进行注册,所述注册模块1920具体用于将所述第一REGISTER消息转发至运营商IMS网络的S-CSCF设备;接收所述运营商IMS网络发送的第一响应消息,所述第一响应消息用于指示所述第一移动终端在所述运营商IMS网络注册成功;将所述第一响应消息转发至所述第一移动终端;所述第一移动终端在所述运营商IMS网络注册成功之后,向所述企业IMS网络的S-CSCF设备发送第二REGISTER消息;接收所述企业IMS网络的S-CSCF设备发送的第二响应消息,所述第二响应消息用于指示所述第一移动终端在所述企业IMS网络注册成功。Optionally, in some embodiments, the first REGISTER message is used to register in the operator's IMS network, and the registration module 1920 is specifically configured to forward the first REGISTER message to the S- CSCF device; receive a first response message sent by the operator's IMS network, where the first response message is used to indicate that the first mobile terminal is successfully registered in the operator's IMS network; forward the first response message to the first mobile terminal; the first mobile terminal sends a second REGISTER message to the S-CSCF device of the enterprise IMS network after the operator's IMS network is successfully registered; receives the S-CSCF of the enterprise IMS network - A second response message sent by the CSCF device, where the second response message is used to indicate that the first mobile terminal is successfully registered in the enterprise IMS network.

可选地,在一些实施例中,所述第二REGISTER消息中携带的IMPU与所述第一响应消息中携带的IMPU相同。Optionally, in some embodiments, the IMPU carried in the second REGISTER message is the same as the IMPU carried in the first response message.

可选地,在一些实施例中,所述第一响应消息中携带的IMPU包括会话初始协议SIP格式的IMPU,所述第二REGISTER消息中携带的IMPI包含所述SIP格式的IMPU中的除去目标字符之外的剩余字符,所述目标字符为sip:+。Optionally, in some embodiments, the IMPU carried in the first response message includes a session initiation protocol SIP formatted IMPU, and the IMPI carried in the second REGISTER message includes the removal target in the SIP formatted IMPU. The remaining characters other than characters, the target character is sip:+.

可选地,在一些实施例中,所述企业的IMS网络包括第一IMS网络和第二IMS网络,所述企业IMS网络的S-CSCF设备位于所述第一IMS网络中,所述第一IMS网络的P-CSCF设备和所述第二IMS网络的P-CSCF设备均与所述第一IMS网络中的S-CSCF设备相连,所述第一P-CSCF设备为所述第一IMS网络和所述第二IMS网络中的任一P-CSCF设备,且所述第一P-CSCF设备与所述第一移动终端属于所述第一IMS网络和所述第二IMS网络中的同一IMS网络。Optionally, in some embodiments, the IMS network of the enterprise includes a first IMS network and a second IMS network, the S-CSCF device of the enterprise IMS network is located in the first IMS network, and the first IMS network is located in the first IMS network. Both the P-CSCF device of the IMS network and the P-CSCF device of the second IMS network are connected to the S-CSCF device in the first IMS network, and the first P-CSCF device is the first IMS network and any P-CSCF device in the second IMS network, and the first P-CSCF device and the first mobile terminal belong to the same IMS in the first IMS network and the second IMS network network.

图20是本发明又一实施例提供的P-CSCF设备的示意性结构图。图20的P-CSCF设备2000为企业IMS网络中的第一P-CSCF设备。所述第一P-CSCF设备包括存储器2010和处理器2020。存储器2010用于存储指令,处理器2020用于执行所述存储器2010中存储的指令,以执行图11对应的方法中的各个步骤或操作。FIG. 20 is a schematic structural diagram of a P-CSCF device according to another embodiment of the present invention. The P-CSCF device 2000 of FIG. 20 is the first P-CSCF device in the enterprise IMS network. The first P-CSCF device includes a memory 2010 and a processor 2020 . The memory 2010 is used for storing instructions, and the processor 2020 is used for executing the instructions stored in the memory 2010, so as to perform various steps or operations in the method corresponding to FIG. 11 .

具体地,处理器2020用于执行以下操作:Specifically, the processor 2020 is configured to perform the following operations:

接收第一移动终端发送的第一INVITE消息,所述第一移动终端为所述企业IMS网络和运营商IMS网络的注册终端,所述第一INVITE消息包含被呼叫的第二移动终端的标识;receiving a first INVITE message sent by a first mobile terminal, where the first mobile terminal is a registered terminal of the enterprise IMS network and the operator's IMS network, and the first INVITE message includes the identifier of the called second mobile terminal;

在所述第二移动终端的标识属于所述企业IMS网络中的内部标识的情况下,根据所述第一INVITE消息,通过所述企业IMS网络中的S-CSCF设备将呼叫路由至所述第二移动终端;In the case that the identity of the second mobile terminal belongs to the internal identity in the enterprise IMS network, according to the first INVITE message, the call is routed to the first INVITE through the S-CSCF device in the enterprise IMS network 2. mobile terminal;

在所述第二移动终端的标识不属于所述企业IMS网络中的内部标识的情况下,根据所述第一INVITE消息,通过所述运营商IMS网络的S-CSCF设备将呼叫路由至所述第二移动终端。In the case that the identity of the second mobile terminal does not belong to the internal identity in the enterprise IMS network, according to the first INVITE message, the S-CSCF device of the operator's IMS network routes the call to the the second mobile terminal.

本发明实施例对应用于企业IMS网络的P-CSCF设备(如上文中的第一P-CSCF设备)的功能进行了改造,使其具有“呼叫代理功能”。具体而言,企业IMS网络中的P-CSCF设备如果识别出被叫终端(即第二移动终端)的号码为企业IMS网络的内部标识,则由企业IMS网络中的S-CSCF设备将呼叫路由至被叫终端,整个呼叫过程在企业IMS网络内部进行,不会经过运营商IMS网络。换句话说,运营商IMS网络对企业IMS网络内部的呼叫过程不感知,也就不会收取相应的费用。进一步地,如果被叫终端的号码为IMPU,则由运营商IMS网络中的S-CSCF设备将呼叫路由至被叫终端,从而实现了企业IMS网络中的移动终端与运营商IMS网络中的移动终端之间的通信,当然,这种情况需要使用运营商IMS网络,运营商可以按照一定的规则收取相应的费用。从上述过程可以看出,移动终端在企业IMS网络内部,以及企业IMS网络与运营商IMS网络之间的呼叫过程与传统的IP-PBX系统的呼叫过程类似,因此,本发明实施例相当于提供了一种基于IMS网络的无线IP/PBX系统。The embodiment of the present invention modifies the function of the P-CSCF device (such as the first P-CSCF device above) applied to the enterprise IMS network, so that it has a "call proxy function". Specifically, if the P-CSCF device in the enterprise IMS network recognizes that the number of the called terminal (that is, the second mobile terminal) is the internal identification of the enterprise IMS network, the S-CSCF device in the enterprise IMS network routes the call to To the called terminal, the entire call process is carried out within the enterprise IMS network and will not pass through the operator's IMS network. In other words, the operator's IMS network is not aware of the call process within the enterprise IMS network, and thus will not charge corresponding fees. Further, if the number of the called terminal is IMPU, the S-CSCF device in the operator's IMS network routes the call to the called terminal, thereby realizing the mobile terminal in the enterprise IMS network and the mobile terminal in the operator's IMS network. For communication between terminals, of course, in this case, the operator's IMS network needs to be used, and the operator can charge corresponding fees according to certain rules. It can be seen from the above process that the call process between the mobile terminal inside the enterprise IMS network and between the enterprise IMS network and the operator IMS network is similar to the call process of the traditional IP-PBX system. Therefore, the embodiments of the present invention are equivalent to providing A wireless IP/PBX system based on IMS network is presented.

可选地,在一些实施例中,所述处理器2020还用于执行以下操作:接收所述第一移动终端发送的第一REGISTER消息;根据所述第一REGISTER消息,将所述第一移动终端注册至所述运营商IMS网络和所述企业IMS网络。Optionally, in some embodiments, the processor 2020 is further configured to perform the following operations: receive a first REGISTER message sent by the first mobile terminal; The terminal registers with the operator IMS network and the enterprise IMS network.

可选地,在一些实施例中,所述第一REGISTER消息用于在所述运营商IMS网络进行注册,所述根据所述第一REGISTER消息,将所述第一移动终端注册至所述运营商IMS网络和所述企业IMS网络,包括:将所述第一REGISTER消息转发至所述运营商IMS网络的S-CSCF设备;接收所述运营商IMS网络发送的第一响应消息,所述第一响应消息用于指示所述第一移动终端在所述运营商IMS网络注册成功;将所述第一响应消息转发至所述第一移动终端;所述第一移动终端在所述运营商IMS网络注册成功之后,向所述企业IMS网络的S-CSCF设备发送第二REGISTER消息;接收所述企业IMS网络的S-CSCF设备发送的第二响应消息,所述第二响应消息用于指示所述第一移动终端在所述企业IMS网络注册成功。Optionally, in some embodiments, the first REGISTER message is used to register with the operator's IMS network, and the first mobile terminal is registered with the operator according to the first REGISTER message and the enterprise IMS network, including: forwarding the first REGISTER message to the S-CSCF device of the operator IMS network; receiving a first response message sent by the operator IMS network, the first REGISTER message A response message is used to indicate that the first mobile terminal is successfully registered in the operator's IMS network; the first response message is forwarded to the first mobile terminal; the first mobile terminal is in the operator's IMS network After successful network registration, send a second REGISTER message to the S-CSCF device of the enterprise IMS network; receive a second response message sent by the S-CSCF device of the enterprise IMS network, where the second response message is used to indicate the The first mobile terminal is successfully registered in the enterprise IMS network.

可选地,在一些实施例中,所述第二REGISTER消息中携带的IMPU与所述第一响应消息中携带的IMPU相同。Optionally, in some embodiments, the IMPU carried in the second REGISTER message is the same as the IMPU carried in the first response message.

可选地,在一些实施例中,所述第一响应消息中携带的IMPU包括SIP格式的IMPU,所述第二REGISTER消息中携带的IMPI包含所述SIP格式的IMPU中的除去目标字符之外的剩余字符,所述目标字符为sip:+。Optionally, in some embodiments, the IMPU carried in the first response message includes an IMPU in the SIP format, and the IMPI carried in the second REGISTER message includes the IMPU in the SIP format except the target character. The remaining characters of , the target character is sip:+.

可选地,在一些实施例中,所述企业的IMS网络包括第一IMS网络和第二IMS网络,所述企业IMS网络的S-CSCF设备位于所述第一IMS网络中,所述第一IMS网络的P-CSCF设备和所述第二IMS网络的P-CSCF设备均与所述第一IMS网络中的S-CSCF设备相连,所述第一P-CSCF设备为所述第一IMS网络和所述第二IMS网络中的任一P-CSCF设备,且所述第一P-CSCF设备与所述第一移动终端位于所述第一IMS网络和所述第二IMS网络中的同一IMS网络。Optionally, in some embodiments, the IMS network of the enterprise includes a first IMS network and a second IMS network, the S-CSCF device of the enterprise IMS network is located in the first IMS network, and the first IMS network is located in the first IMS network. Both the P-CSCF device of the IMS network and the P-CSCF device of the second IMS network are connected to the S-CSCF device in the first IMS network, and the first P-CSCF device is the first IMS network and any P-CSCF device in the second IMS network, and the first P-CSCF device and the first mobile terminal are located in the same IMS in the first IMS network and the second IMS network network.

可选地,在一些实施例中,所述第一移动终端与所述第二移动终端位于所述第一IMS网络和所述第二IMS网络中的同一IMS网络中,所述根据所述第一INVITE消息,通过所述企业IMS网络中的S-CSCF设备将呼叫路由至所述第二移动终端,包括:向所述企业IMS网络中的S-CSCF设备转发所述第一INVITE消息;接收所述企业IMS网络的S-CSCF设备发送的第二INVITE消息,所述第二INVITE消息包含所述第二移动终端的IMPU;根据所述第二移动终端的IMPU,将呼叫路由至所述第二移动终端。Optionally, in some embodiments, the first mobile terminal and the second mobile terminal are located in the same IMS network of the first IMS network and the second IMS network, and the An INVITE message, routing the call to the second mobile terminal through the S-CSCF device in the enterprise IMS network, comprising: forwarding the first INVITE message to the S-CSCF device in the enterprise IMS network; receiving The second INVITE message sent by the S-CSCF device of the enterprise IMS network, the second INVITE message contains the IMPU of the second mobile terminal; according to the IMPU of the second mobile terminal, the call is routed to the first 2. Mobile terminals.

可选地,在一些实施例中,所述第一移动终端位于所述第二IMS网络中,所述第一P-CSCF设备为所述第二IMS网络的P-CSCF设备,所述处理器2020还用于执行以下操作:接收所述第一IMS网络中的S-CSCF设备发送的第三INVITE消息,所述第三INVITE消息为所述第一IMS网络中的第三移动终端发起的呼叫对应的INVITE消息,所述第三INVITE消息包含所述第一移动终端的IMPU;根据所述第一移动终端的IMPU,将所述第三移动终端发起的呼叫路由至所述第一移动终端。Optionally, in some embodiments, the first mobile terminal is located in the second IMS network, the first P-CSCF device is a P-CSCF device of the second IMS network, and the processor 2020 is further configured to perform the following operations: receive a third INVITE message sent by the S-CSCF device in the first IMS network, where the third INVITE message is a call initiated by a third mobile terminal in the first IMS network The corresponding INVITE message, the third INVITE message includes the IMPU of the first mobile terminal; according to the IMPU of the first mobile terminal, the call initiated by the third mobile terminal is routed to the first mobile terminal.

图21是本发明又一实施例提供的P-CSCF设备的示意性结构图。图21的P-CSCF设备2100为为企业IMS网络的第一P-CSCF设备。所述第一P-CSCF设备包括存储器2110和处理器2120。存储器2110用于存储指令,处理器2120用于执行所述存储器2110中存储的指令,以执行图6对应的方法中的各个步骤或操作。FIG. 21 is a schematic structural diagram of a P-CSCF device according to another embodiment of the present invention. The P-CSCF device 2100 of FIG. 21 is the first P-CSCF device of the enterprise IMS network. The first P-CSCF device includes a memory 2110 and a processor 2120. The memory 2110 is used for storing instructions, and the processor 2120 is used for executing the instructions stored in the memory 2110, so as to perform each step or operation in the method corresponding to FIG. 6 .

具体地,处理器2120用于执行以下操作:Specifically, the processor 2120 is configured to perform the following operations:

接收第一移动终端发送的第一REGISTER消息,所述第一P-CSCF设备为企业IMS网络的第一P-CSCF设备;receiving the first REGISTER message sent by the first mobile terminal, where the first P-CSCF device is the first P-CSCF device of the enterprise IMS network;

根据所述第一REGISTER消息,将所述第一移动终端注册至运营商IMS网络和所述企业IMS网络。According to the first REGISTER message, the first mobile terminal is registered with the operator IMS network and the enterprise IMS network.

本发明实施例对应用于企业IMS网络的P-CSCF设备(如上文中的第一P-CSCF设备)的功能进行了改造,使其具有“代理注册功能”。具体而言,企业IMS网络中的P-CSCF设备在接收到移动终端的REGISTER消息(也可称为注册消息或注册请求)之后,不但将移动终端注册至运营商IMS网络,还将移动终端注册至企业IMS网络,使得移动终端能够同时使用运营商IMS网络和企业IMS网络,并且能够在企业IMS网络与运营商IMS网络之间漫游。The embodiment of the present invention modifies the function of the P-CSCF device (such as the first P-CSCF device above) applied to the enterprise IMS network, so that it has a "proxy registration function". Specifically, after receiving the REGISTER message (also referred to as a registration message or a registration request) from the mobile terminal, the P-CSCF device in the enterprise IMS network not only registers the mobile terminal to the operator's IMS network, but also registers the mobile terminal to the operator's IMS network. To the enterprise IMS network, the mobile terminal can use the operator IMS network and the enterprise IMS network at the same time, and can roam between the enterprise IMS network and the operator IMS network.

可选地,在一些实施例中,所述第一REGISTER消息用于在运营商IMS网络进行注册,所述根据所述第一REGISTER消息,将所述第一移动终端注册至运营商IMS网络和所述企业IMS网络,包括:将所述第一REGISTER消息转发至运营商IMS网络的S-CSCF设备;接收所述运营商IMS网络发送的第一响应消息,所述第一响应消息用于指示所述第一移动终端在所述运营商IMS网络注册成功;将所述第一响应消息转发至所述第一移动终端;所述第一移动终端在所述运营商IMS网络注册成功之后,向所述企业IMS网络的S-CSCF设备发送第二REGISTER消息;接收所述企业IMS网络的S-CSCF设备发送的第二响应消息,所述第二响应消息用于指示所述第一移动终端在所述企业IMS网络注册成功。Optionally, in some embodiments, the first REGISTER message is used to register with the operator's IMS network, and the first mobile terminal is registered with the operator's IMS network and according to the first REGISTER message. The enterprise IMS network includes: forwarding the first REGISTER message to the S-CSCF device of the operator's IMS network; receiving a first response message sent by the operator's IMS network, where the first response message is used to indicate The first mobile terminal is successfully registered in the operator's IMS network; the first response message is forwarded to the first mobile terminal; after the first mobile terminal is successfully registered in the operator's IMS network, the The S-CSCF device of the enterprise IMS network sends a second REGISTER message; receives a second response message sent by the S-CSCF device of the enterprise IMS network, where the second response message is used to indicate that the first mobile terminal is in The enterprise IMS network is successfully registered.

可选地,在一些实施例中,所述第二REGISTER消息中携带的IMPU与所述第一响应消息中携带的IMPU相同。Optionally, in some embodiments, the IMPU carried in the second REGISTER message is the same as the IMPU carried in the first response message.

可选地,在一些实施例中,所述第一响应消息中携带的IMPU包括会话初始协议SIP格式的IMPU,所述第二REGISTER消息中携带的IMPI包含所述SIP格式的IMPU中的除去目标字符之外的剩余字符,所述目标字符为sip:+。Optionally, in some embodiments, the IMPU carried in the first response message includes a session initiation protocol SIP formatted IMPU, and the IMPI carried in the second REGISTER message includes the removal target in the SIP formatted IMPU. The remaining characters other than characters, the target character is sip:+.

可选地,在一些实施例中,所述企业的IMS网络包括第一IMS网络和第二IMS网络,所述企业IMS网络的S-CSCF设备位于所述第一IMS网络中,所述第一IMS网络的P-CSCF设备和所述第二IMS网络的P-CSCF设备均与所述第一IMS网络中的S-CSCF设备相连,所述第一P-CSCF设备为所述第一IMS网络和所述第二IMS网络中的任一P-CSCF设备,且所述第一P-CSCF设备与所述第一移动终端属于所述第一IMS网络和所述第二IMS网络中的同一IMS网络。Optionally, in some embodiments, the IMS network of the enterprise includes a first IMS network and a second IMS network, the S-CSCF device of the enterprise IMS network is located in the first IMS network, and the first IMS network is located in the first IMS network. Both the P-CSCF device of the IMS network and the P-CSCF device of the second IMS network are connected to the S-CSCF device in the first IMS network, and the first P-CSCF device is the first IMS network and any P-CSCF device in the second IMS network, and the first P-CSCF device and the first mobile terminal belong to the same IMS in the first IMS network and the second IMS network network.

在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其他任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本发明实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriber line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带)、光介质(例如数字视频光盘(digital video disc,DVD))、或者半导体介质(例如固态硬盘(solid state disk,SSD))等。In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware or any other combination. When implemented in software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present invention are generated. The computer may be a general purpose computer, special purpose computer, computer network, or other programmable device. The computer instructions may be stored in or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be downloaded from a website site, computer, server or data center Transmission to another website site, computer, server, or data center by wire (eg, coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that includes an integration of one or more available media. The usable media may be magnetic media (eg, floppy disk, hard disk, magnetic tape), optical media (eg, digital video disc (DVD)), or semiconductor media (eg, solid state disk (SSD)), etc. .

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.

在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.

以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above are only specific embodiments of the present application, but the protection scope of the present application is not limited to this. should be covered within the scope of protection of this application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims (22)

1.一种无线通信方法,其特征在于,包括:1. A wireless communication method, comprising: 企业网际协议多媒体子系统IMS网络中的第一代理呼叫会话控制功能P-CSCF设备接收第一移动终端发送的第一INVITE消息,所述第一移动终端为所述企业IMS网络和运营商IMS网络的注册终端,所述第一INVITE消息包含被呼叫的第二移动终端的标识;The first proxy call session control function P-CSCF device in the Enterprise Internet Protocol Multimedia Subsystem IMS network receives the first INVITE message sent by the first mobile terminal, where the first mobile terminal is the enterprise IMS network and the operator IMS network the registered terminal, the first INVITE message contains the identifier of the called second mobile terminal; 在所述第二移动终端的标识属于所述企业IMS网络中的内部标识的情况下,所述第一P-CSCF设备根据所述第一INVITE消息,通过所述企业IMS网络中的服务呼叫会话控制功能S-CSCF设备将呼叫路由至所述第二移动终端;In the case that the identifier of the second mobile terminal belongs to the internal identifier in the enterprise IMS network, the first P-CSCF device passes the service call session in the enterprise IMS network according to the first INVITE message the control function S-CSCF device routes the call to the second mobile terminal; 在所述第二移动终端的标识不属于所述企业IMS网络中的内部标识的情况下,所述第一P-CSCF设备根据所述第一INVITE消息,通过所述运营商IMS网络的S-CSCF设备将呼叫路由至所述第二移动终端。In the case that the identity of the second mobile terminal does not belong to the internal identity in the enterprise IMS network, the first P-CSCF device, according to the first INVITE message, passes the S- The CSCF device routes the call to the second mobile terminal. 2.如权利要求1所述的方法,其特征在于,在所述第一P-CSCF设备接收第一移动终端发送的第一INVITE消息之前,所述方法还包括:2. The method according to claim 1, wherein before the first P-CSCF device receives the first INVITE message sent by the first mobile terminal, the method further comprises: 所述第一P-CSCF设备接收所述第一移动终端发送的第一REGISTER消息;The first P-CSCF device receives the first REGISTER message sent by the first mobile terminal; 所述第一P-CSCF设备根据所述第一REGISTER消息,将所述第一移动终端注册至所述运营商IMS网络和所述企业IMS网络。The first P-CSCF device registers the first mobile terminal with the operator IMS network and the enterprise IMS network according to the first REGISTER message. 3.如权利要求2所述的方法,其特征在于,所述第一REGISTER消息用于在所述运营商IMS网络进行注册,3. The method of claim 2, wherein the first REGISTER message is used to register in the operator's IMS network, 所述第一P-CSCF设备根据所述第一REGISTER消息,将所述第一移动终端注册至所述运营商IMS网络和所述企业IMS网络,包括:The first P-CSCF device registers the first mobile terminal with the operator IMS network and the enterprise IMS network according to the first REGISTER message, including: 所述第一P-CSCF设备将所述第一REGISTER消息转发至所述运营商IMS网络的S-CSCF设备;the first P-CSCF device forwards the first REGISTER message to the S-CSCF device of the operator's IMS network; 所述第一P-CSCF设备接收所述运营商IMS网络发送的第一响应消息,所述第一响应消息用于指示所述第一移动终端在所述运营商IMS网络注册成功;receiving, by the first P-CSCF device, a first response message sent by the operator's IMS network, where the first response message is used to indicate that the first mobile terminal is successfully registered in the operator's IMS network; 所述第一P-CSCF设备将所述第一响应消息转发至所述第一移动终端;the first P-CSCF device forwards the first response message to the first mobile terminal; 所述第一移动终端在所述运营商IMS网络注册成功之后,所述第一P-CSCF设备向所述企业IMS网络的S-CSCF设备发送第二REGISTER消息;After the first mobile terminal is successfully registered in the operator's IMS network, the first P-CSCF device sends a second REGISTER message to the S-CSCF device of the enterprise IMS network; 所述第一P-CSCF设备接收所述企业IMS网络的S-CSCF设备发送的第二响应消息,所述第二响应消息用于指示所述第一移动终端在所述企业IMS网络注册成功。The first P-CSCF device receives a second response message sent by the S-CSCF device of the enterprise IMS network, where the second response message is used to indicate that the first mobile terminal is successfully registered in the enterprise IMS network. 4.如权利要求3所述的方法,其特征在于,所述第二REGISTER消息中携带的网际协议多媒体子系统公共标识IMPU与所述第一响应消息中携带的IMPU相同。4. The method according to claim 3, wherein the Internet Protocol Multimedia Subsystem public identifier IMPU carried in the second REGISTER message is the same as the IMPU carried in the first response message. 5.如权利要求3或4所述的方法,其特征在于,所述第一响应消息中携带的IMPU包括会话初始协议SIP格式的IMPU,所述第二REGISTER消息中携带的IMPI包含所述SIP格式的IMPU中的除去目标字符之外的剩余字符,所述目标字符为sip:+。5. The method according to claim 3 or 4, wherein the IMPU carried in the first response message comprises an IMPU in a session initiation protocol SIP format, and the IMPI carried in the second REGISTER message comprises the SIP The remaining characters in the IMPU of the format except the target character, the target character is sip:+. 6.如权利要求1所述的方法,其特征在于,所述企业的IMS网络包括第一IMS网络和第二IMS网络,所述企业IMS网络的S-CSCF设备位于所述第一IMS网络中,所述第一IMS网络的P-CSCF设备和所述第二IMS网络的P-CSCF设备均与所述第一IMS网络中的S-CSCF设备相连,所述第一P-CSCF设备为所述第一IMS网络和所述第二IMS网络中的任一P-CSCF设备,且所述第一P-CSCF设备与所述第一移动终端位于所述第一IMS网络和所述第二IMS网络中的同一IMS网络。6. The method of claim 1, wherein the IMS network of the enterprise comprises a first IMS network and a second IMS network, and an S-CSCF device of the enterprise IMS network is located in the first IMS network , the P-CSCF device of the first IMS network and the P-CSCF device of the second IMS network are both connected to the S-CSCF device in the first IMS network, and the first P-CSCF device is the any P-CSCF device in the first IMS network and the second IMS network, and the first P-CSCF device and the first mobile terminal are located in the first IMS network and the second IMS The same IMS network in the network. 7.如权利要求6所述的方法,其特征在于,所述第一移动终端与所述第二移动终端位于所述第一IMS网络和所述第二IMS网络中的同一IMS网络中,7. The method of claim 6, wherein the first mobile terminal and the second mobile terminal are located in the same IMS network of the first IMS network and the second IMS network, 所述第一P-CSCF设备根据所述第一INVITE消息,通过所述企业IMS网络中的S-CSCF设备将呼叫路由至所述第二移动终端,包括:The first P-CSCF device routes the call to the second mobile terminal through the S-CSCF device in the enterprise IMS network according to the first INVITE message, including: 所述第一P-CSCF设备向所述企业IMS网络中的S-CSCF设备转发所述第一INVITE消息;the first P-CSCF device forwards the first INVITE message to the S-CSCF device in the enterprise IMS network; 所述第一P-CSCF设备接收所述企业IMS网络的S-CSCF设备发送的第二INVITE消息,所述第二INVITE消息包含所述第二移动终端的IMPU;receiving, by the first P-CSCF device, a second INVITE message sent by the S-CSCF device of the enterprise IMS network, where the second INVITE message includes the IMPU of the second mobile terminal; 所述第一P-CSCF设备根据所述第二移动终端的IMPU,将呼叫路由至所述第二移动终端。The first P-CSCF device routes the call to the second mobile terminal according to the IMPU of the second mobile terminal. 8.如权利要求6所述的方法,其特征在于,所述第一移动终端位于所述第二IMS网络中,所述第一P-CSCF设备为所述第二IMS网络的P-CSCF设备,所述方法还包括:8. The method of claim 6, wherein the first mobile terminal is located in the second IMS network, and the first P-CSCF device is a P-CSCF device of the second IMS network , the method also includes: 所述第一P-CSCF设备接收所述第一IMS网络中的S-CSCF设备发送的第三INVITE消息,所述第三INVITE消息为所述第一IMS网络中的第三移动终端发起的呼叫对应的INVITE消息,所述第三INVITE消息包含所述第一移动终端的IMPU;The first P-CSCF device receives a third INVITE message sent by an S-CSCF device in the first IMS network, where the third INVITE message is a call initiated by a third mobile terminal in the first IMS network a corresponding INVITE message, wherein the third INVITE message includes the IMPU of the first mobile terminal; 所述第一P-CSCF设备根据所述第一移动终端的IMPU,将所述第三移动终端发起的呼叫路由至所述第一移动终端。The first P-CSCF device routes the call initiated by the third mobile terminal to the first mobile terminal according to the IMPU of the first mobile terminal. 9.一种无线通信方法,其特征在于,包括:9. A wireless communication method, comprising: 第一代理呼叫会话控制功能P-CSCF设备接收第一移动终端发送的第一REGISTER消息,所述第一P-CSCF设备为企业网际协议多媒体子系统IMS网络的第一P-CSCF设备;The first proxy call session control function P-CSCF device receives the first REGISTER message sent by the first mobile terminal, where the first P-CSCF device is the first P-CSCF device of the Enterprise Internet Protocol Multimedia Subsystem IMS network; 所述第一P-CSCF设备根据所述第一REGISTER消息,将所述第一移动终端注册至运营商IMS网络和所述企业IMS网络;The first P-CSCF device registers the first mobile terminal with the operator IMS network and the enterprise IMS network according to the first REGISTER message; 所述第一P-CSCF设备将所述第一REGISTER消息转发至运营商IMS网络的S-CSCF设备;The first P-CSCF device forwards the first REGISTER message to the S-CSCF device of the operator's IMS network; 所述第一P-CSCF设备接收所述运营商IMS网络发送的第一响应消息,所述第一响应消息用于指示所述第一移动终端在所述运营商IMS网络注册成功;receiving, by the first P-CSCF device, a first response message sent by the operator's IMS network, where the first response message is used to indicate that the first mobile terminal is successfully registered in the operator's IMS network; 所述第一P-CSCF设备将所述第一响应消息转发至所述第一移动终端;the first P-CSCF device forwards the first response message to the first mobile terminal; 所述第一移动终端在所述运营商IMS网络注册成功之后,所述第一P-CSCF设备向所述企业IMS网络的S-CSCF设备发送第二REGISTER消息;After the first mobile terminal is successfully registered in the operator's IMS network, the first P-CSCF device sends a second REGISTER message to the S-CSCF device of the enterprise IMS network; 所述第一P-CSCF设备接收所述企业IMS网络的S-CSCF设备发送的第二响应消息,所述第二响应消息用于指示所述第一移动终端在所述企业IMS网络注册成功;The first P-CSCF device receives a second response message sent by the S-CSCF device of the enterprise IMS network, where the second response message is used to indicate that the first mobile terminal is successfully registered in the enterprise IMS network; 所述第二REGISTER消息中携带的网际协议多媒体子系统公共标识IMPU与所述第一响应消息中携带的IMPU相同。The Internet Protocol Multimedia Subsystem public identifier IMPU carried in the second REGISTER message is the same as the IMPU carried in the first response message. 10.如权利要求9所述的方法,其特征在于,所述第一响应消息中携带的IMPU包括会话初始协议SIP格式的IMPU,所述第二REGISTER消息中携带的IMPI包含所述SIP格式的IMPU中的除去目标字符之外的剩余字符,所述目标字符为sip:+。10. The method according to claim 9, wherein the IMPU carried in the first response message comprises an IMPU in Session Initiation Protocol (SIP) format, and the IMPI carried in the second REGISTER message comprises an IMPU in the SIP format. The remaining characters in the IMPU except the target character, the target character is sip:+. 11.如权利要求9或10所述的方法,其特征在于,所述企业的IMS网络包括第一IMS网络和第二IMS网络,所述企业IMS网络的S-CSCF设备位于所述第一IMS网络中,所述第一IMS网络的P-CSCF设备和所述第二IMS网络的P-CSCF设备均与所述第一IMS网络中的S-CSCF设备相连,所述第一P-CSCF设备为所述第一IMS网络和所述第二IMS网络中的任一P-CSCF设备,且所述第一P-CSCF设备与所述第一移动终端属于所述第一IMS网络和所述第二IMS网络中的同一IMS网络。The method according to claim 9 or 10, wherein the IMS network of the enterprise comprises a first IMS network and a second IMS network, and an S-CSCF device of the enterprise IMS network is located in the first IMS In the network, the P-CSCF device of the first IMS network and the P-CSCF device of the second IMS network are both connected to the S-CSCF device in the first IMS network, and the first P-CSCF device It is any P-CSCF device in the first IMS network and the second IMS network, and the first P-CSCF device and the first mobile terminal belong to the first IMS network and the second IMS network. The same IMS network in two IMS networks. 12.一种代理呼叫会话控制功能P-CSCF设备,其特征在于,所述P-CSCF设备为企业网际协议多媒体子系统IMS网络中的第一P-CSCF设备,12. A proxy call session control function P-CSCF device, wherein the P-CSCF device is the first P-CSCF device in the Enterprise Internet Protocol Multimedia Subsystem IMS network, 所述第一P-CSCF设备包括:The first P-CSCF device includes: 第一接收模块,用于接收第一移动终端发送的第一INVITE消息,所述第一移动终端为所述企业IMS网络和运营商IMS网络的注册终端,所述第一INVITE消息包含被呼叫的第二移动终端的标识;A first receiving module, configured to receive a first INVITE message sent by a first mobile terminal, where the first mobile terminal is a registered terminal of the enterprise IMS network and the operator IMS network, and the first INVITE message includes the called the identity of the second mobile terminal; 第一路由模块,用于在所述第二移动终端的标识属于所述企业IMS网络中的内部标识的情况下,根据所述第一INVITE消息,通过所述企业IMS网络中的服务呼叫会话控制功能S-CSCF设备将呼叫路由至所述第二移动终端;a first routing module, configured to control a service call session in the enterprise IMS network through the service call session control in the enterprise IMS network according to the first INVITE message when the identifier of the second mobile terminal belongs to the internal identifier in the enterprise IMS network the function S-CSCF device routes the call to the second mobile terminal; 第二路由模块,用于在所述第二移动终端的标识不属于所述企业IMS网络中的内部标识的情况下,根据所述第一INVITE消息,通过所述运营商IMS网络的S-CSCF设备将呼叫路由至所述第二移动终端。A second routing module, configured to pass the S-CSCF of the operator's IMS network according to the first INVITE message when the identifier of the second mobile terminal does not belong to the internal identifier in the enterprise IMS network The device routes the call to the second mobile terminal. 13.如权利要求12所述的P-CSCF设备,其特征在于,所述第一P-CSCF设备还包括:13. The P-CSCF device of claim 12, wherein the first P-CSCF device further comprises: 第二接收模块,用于接收所述第一移动终端发送的第一REGISTER消息;A second receiving module, configured to receive the first REGISTER message sent by the first mobile terminal; 注册模块,用于根据所述第一REGISTER消息,将所述第一移动终端注册至所述运营商IMS网络和所述企业IMS网络。A registration module, configured to register the first mobile terminal with the operator IMS network and the enterprise IMS network according to the first REGISTER message. 14.如权利要求13所述的P-CSCF设备,其特征在于,所述第一REGISTER消息用于在所述运营商IMS网络进行注册,14. The P-CSCF device according to claim 13, wherein the first REGISTER message is used to register in the operator's IMS network, 所述注册模块具体用于将所述第一REGISTER消息转发至所述运营商IMS网络的S-CSCF设备;接收所述运营商IMS网络发送的第一响应消息,所述第一响应消息用于指示所述第一移动终端在所述运营商IMS网络注册成功;将所述第一响应消息转发至所述第一移动终端;所述第一移动终端在所述运营商IMS网络注册成功之后,向所述企业IMS网络的S-CSCF设备发送第二REGISTER消息;接收所述企业IMS网络的S-CSCF设备发送的第二响应消息,所述第二响应消息用于指示所述第一移动终端在所述企业IMS网络注册成功。The registration module is specifically configured to forward the first REGISTER message to the S-CSCF device of the operator's IMS network; receive a first response message sent by the operator's IMS network, where the first response message is used for Instructing the first mobile terminal to successfully register with the operator's IMS network; forwarding the first response message to the first mobile terminal; after the first mobile terminal is successfully registered with the operator's IMS network, sending a second REGISTER message to the S-CSCF device of the enterprise IMS network; receiving a second response message sent by the S-CSCF device of the enterprise IMS network, where the second response message is used to indicate the first mobile terminal Successful registration in the enterprise IMS network. 15.如权利要求14所述的P-CSCF设备,其特征在于,所述第二REGISTER消息中携带的网际协议多媒体子系统公共标识IMPU与所述第一响应消息中携带的IMPU相同。15. The P-CSCF device according to claim 14, wherein the Internet Protocol Multimedia Subsystem public identifier IMPU carried in the second REGISTER message is the same as the IMPU carried in the first response message. 16.如权利要求14或15所述的P-CSCF设备,其特征在于,所述第一响应消息中携带的IMPU包括会话初始协议SIP格式的IMPU,所述第二REGISTER消息中携带的IMPI包含所述SIP格式的IMPU中的除去目标字符之外的剩余字符,所述目标字符为sip:+。16. The P-CSCF device according to claim 14 or 15, wherein the IMPU carried in the first response message comprises an IMPU in a session initiation protocol SIP format, and the IMPI carried in the second REGISTER message comprises The remaining characters in the IMPU in the SIP format except the target character, the target character is sip:+. 17.如权利要求12所述的P-CSCF设备,其特征在于,所述企业的IMS网络包括第一IMS网络和第二IMS网络,所述企业IMS网络的S-CSCF设备位于所述第一IMS网络中,所述第一IMS网络的P-CSCF设备和所述第二IMS网络的P-CSCF设备均与所述第一IMS网络中的S-CSCF设备相连,所述第一P-CSCF设备为所述第一IMS网络和所述第二IMS网络中的任一P-CSCF设备,且所述第一P-CSCF设备与所述第一移动终端位于所述第一IMS网络和所述第二IMS网络中的同一IMS网络。17. The P-CSCF device according to claim 12, wherein the IMS network of the enterprise comprises a first IMS network and a second IMS network, and the S-CSCF device of the enterprise IMS network is located in the first IMS network In the IMS network, both the P-CSCF device of the first IMS network and the P-CSCF device of the second IMS network are connected to the S-CSCF device of the first IMS network, and the first P-CSCF device The device is any P-CSCF device in the first IMS network and the second IMS network, and the first P-CSCF device and the first mobile terminal are located in the first IMS network and the first IMS network The same IMS network in the second IMS network. 18.如权利要求17所述的P-CSCF设备,其特征在于,所述第一移动终端与所述第二移动终端位于所述第一IMS网络和所述第二IMS网络中的同一IMS网络中,18. The P-CSCF device according to claim 17, wherein the first mobile terminal and the second mobile terminal are located in the same IMS network in the first IMS network and the second IMS network middle, 所述第一路由模块具体用于向所述企业IMS网络中的S-CSCF设备转发所述第一INVITE消息;接收所述企业IMS网络的S-CSCF设备发送的第二INVITE消息,所述第二INVITE消息包含所述第二移动终端的IMPU;根据所述第二移动终端的IMPU,将呼叫路由至所述第二移动终端。The first routing module is specifically configured to forward the first INVITE message to the S-CSCF device in the enterprise IMS network; receive the second INVITE message sent by the S-CSCF device of the enterprise IMS network, the first INVITE message The second INVITE message contains the IMPU of the second mobile terminal; according to the IMPU of the second mobile terminal, the call is routed to the second mobile terminal. 19.如权利要求17所述的P-CSCF设备,其特征在于,所述第一移动终端位于所述第二IMS网络中,所述第一P-CSCF设备为所述第二IMS网络的P-CSCF设备,所述第一P-CSCF设备还包括:19. The P-CSCF device according to claim 17, wherein the first mobile terminal is located in the second IMS network, and the first P-CSCF device is a P-CSCF device of the second IMS network -CSCF equipment, the first P-CSCF equipment further includes: 第三接收模块,用于接收所述第一IMS网络中的S-CSCF设备发送的第三INVITE消息,所述第三INVITE消息为所述第一IMS网络中的第三移动终端发起的呼叫对应的INVITE消息,所述第三INVITE消息包含所述第一移动终端的IMPU;A third receiving module, configured to receive a third INVITE message sent by an S-CSCF device in the first IMS network, where the third INVITE message corresponds to a call initiated by a third mobile terminal in the first IMS network the INVITE message, the third INVITE message contains the IMPU of the first mobile terminal; 第三路由模块,用于根据所述第一移动终端的IMPU,将所述第三移动终端发起的呼叫路由至所述第一移动终端。A third routing module, configured to route the call initiated by the third mobile terminal to the first mobile terminal according to the IMPU of the first mobile terminal. 20.一种代理呼叫会话控制功能P-CSCF设备,其特征在于,所述P-CSCF设备为企业网际协议多媒体子系统IMS网络的第一P-CSCF设备,20. A proxy call session control function P-CSCF device, wherein the P-CSCF device is the first P-CSCF device of the Enterprise Internet Protocol Multimedia Subsystem IMS network, 所述第一P-CSCF设备包括:The first P-CSCF device includes: 第一接收模块,用于接收第一移动终端发送的第一REGISTER消息,所述第一P-CSCF设备为企业网际协议多媒体子系统IMS网络的第一P-CSCF设备;a first receiving module, configured to receive the first REGISTER message sent by the first mobile terminal, where the first P-CSCF device is the first P-CSCF device of the Enterprise Internet Protocol Multimedia Subsystem IMS network; 注册模块,用于根据所述第一REGISTER消息,将所述第一移动终端注册至运营商IMS网络和所述企业IMS网络;a registration module, configured to register the first mobile terminal with the operator IMS network and the enterprise IMS network according to the first REGISTER message; 所述注册模块具体用于将所述第一REGISTER消息转发至运营商IMS网络的S-CSCF设备;接收所述运营商IMS网络发送的第一响应消息,所述第一响应消息用于指示所述第一移动终端在所述运营商IMS网络注册成功;将所述第一响应消息转发至所述第一移动终端;所述第一移动终端在所述运营商IMS网络注册成功之后,向所述企业IMS网络的S-CSCF设备发送第二REGISTER消息;接收所述企业IMS网络的S-CSCF设备发送的第二响应消息,所述第二响应消息用于指示所述第一移动终端在所述企业IMS网络注册成功;The registration module is specifically configured to forward the first REGISTER message to the S-CSCF device of the operator's IMS network; receive a first response message sent by the operator's IMS network, where the first response message is used to indicate the The first mobile terminal is successfully registered in the operator's IMS network; the first response message is forwarded to the first mobile terminal; after the first mobile terminal is successfully registered in the operator's IMS network, the The S-CSCF device of the enterprise IMS network sends a second REGISTER message; and receives a second response message sent by the S-CSCF device of the enterprise IMS network, where the second response message is used to indicate that the first mobile terminal is in the The enterprise IMS network registration is successful; 所述第二REGISTER消息中携带的网际协议多媒体子系统公共标识IMPU与所述第一响应消息中携带的IMPU相同。The Internet Protocol Multimedia Subsystem public identifier IMPU carried in the second REGISTER message is the same as the IMPU carried in the first response message. 21.如权利要求20所述的P-CSCF设备,其特征在于,所述第一响应消息中携带的IMPU包括会话初始协议SIP格式的IMPU,所述第二REGISTER消息中携带的IMPI包含所述SIP格式的IMPU中的除去目标字符之外的剩余字符,所述目标字符为sip:+。21. The P-CSCF device according to claim 20, wherein the IMPU carried in the first response message comprises an IMPU in SIP format, and the IMPI carried in the second REGISTER message comprises the The remaining characters in the IMPU in the SIP format except the target character, where the target character is sip:+. 22.如权利要求20或21所述的P-CSCF设备,其特征在于,所述企业的IMS网络包括第一IMS网络和第二IMS网络,所述企业IMS网络的S-CSCF设备位于所述第一IMS网络中,所述第一IMS网络的P-CSCF设备和所述第二IMS网络的P-CSCF设备均与所述第一IMS网络中的S-CSCF设备相连,所述第一P-CSCF设备为所述第一IMS网络和所述第二IMS网络中的任一P-CSCF设备,且所述第一P-CSCF设备与所述第一移动终端属于所述第一IMS网络和所述第二IMS网络中的同一IMS网络。22. The P-CSCF device according to claim 20 or 21, wherein the IMS network of the enterprise comprises a first IMS network and a second IMS network, and the S-CSCF device of the enterprise IMS network is located in the In the first IMS network, both the P-CSCF device of the first IMS network and the P-CSCF device of the second IMS network are connected to the S-CSCF device of the first IMS network, and the first P-CSCF device is connected to the S-CSCF device of the first IMS network. - The CSCF device is any P-CSCF device in the first IMS network and the second IMS network, and the first P-CSCF device and the first mobile terminal belong to the first IMS network and the same IMS network in the second IMS network.
CN201710113369.7A 2017-02-28 2017-02-28 Wireless communication method and P-CSCF device Active CN106941669B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710113369.7A CN106941669B (en) 2017-02-28 2017-02-28 Wireless communication method and P-CSCF device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710113369.7A CN106941669B (en) 2017-02-28 2017-02-28 Wireless communication method and P-CSCF device

Publications (2)

Publication Number Publication Date
CN106941669A CN106941669A (en) 2017-07-11
CN106941669B true CN106941669B (en) 2020-01-31

Family

ID=59469801

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710113369.7A Active CN106941669B (en) 2017-02-28 2017-02-28 Wireless communication method and P-CSCF device

Country Status (1)

Country Link
CN (1) CN106941669B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109982319B (en) * 2017-12-27 2022-05-13 中移(杭州)信息技术有限公司 User authentication method, device, system, node, server and storage medium
CN110661753B (en) * 2018-06-30 2021-10-22 华为技术有限公司 A network registration method, device and system
CN110971583B (en) * 2018-09-30 2021-04-09 华为技术有限公司 A communication method, device and system
CN112654032A (en) * 2020-12-15 2021-04-13 中国联合网络通信集团有限公司 Short number calling method and device and application server
CN118714119B (en) * 2024-01-31 2025-09-02 深圳市大成美艺装修装饰工程有限公司 A cloud terminal call center data intelligent processing system and method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101841801A (en) * 2009-03-16 2010-09-22 中国移动通信集团公司 Methods and systems for registration and communication in IMS network and user terminal
CN103107975A (en) * 2011-11-09 2013-05-15 中国移动通信集团公司 Communication method and voice gateway supporting one-card multi-number mode
US8917720B2 (en) * 2011-01-31 2014-12-23 Avaya Inc. System and method for integrating conventional enterprise communication systems into an IP multimedia subsystem-based services environment
CN104753904A (en) * 2013-12-31 2015-07-01 中国移动通信集团上海有限公司 Voice calling method and device and SIP (session initiation protocol) gateway equipment
WO2015123761A1 (en) * 2014-02-24 2015-08-27 Summit-Tech Ims communication method and system using preconditions
CN105306758A (en) * 2014-07-29 2016-02-03 中国电信股份有限公司 Method for transmitting enterprise network identifier when call is established, IBCF and IMS

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2299649B1 (en) * 2009-09-18 2012-09-05 Koninklijke KPN N.V. Providing enterprise services in a service provisioning network
CN103329499B (en) * 2010-11-30 2017-11-07 皇家Kpn公司 Dynamic allocation method of serving network nodes, server, system and network nodes

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101841801A (en) * 2009-03-16 2010-09-22 中国移动通信集团公司 Methods and systems for registration and communication in IMS network and user terminal
US8917720B2 (en) * 2011-01-31 2014-12-23 Avaya Inc. System and method for integrating conventional enterprise communication systems into an IP multimedia subsystem-based services environment
CN103107975A (en) * 2011-11-09 2013-05-15 中国移动通信集团公司 Communication method and voice gateway supporting one-card multi-number mode
CN104753904A (en) * 2013-12-31 2015-07-01 中国移动通信集团上海有限公司 Voice calling method and device and SIP (session initiation protocol) gateway equipment
WO2015123761A1 (en) * 2014-02-24 2015-08-27 Summit-Tech Ims communication method and system using preconditions
CN105306758A (en) * 2014-07-29 2016-02-03 中国电信股份有限公司 Method for transmitting enterprise network identifier when call is established, IBCF and IMS

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"Operator-independent public user identities for IP multimedia communication services for enterprises";Rogier Noldus et al;《2011 15th International Conference on Intelligence in Next Generation Networks》;20111007;全文 *

Also Published As

Publication number Publication date
CN106941669A (en) 2017-07-11

Similar Documents

Publication Publication Date Title
CN109639717B (en) Communication method for number portability transfer, calling side/called side service control point server
US9294618B2 (en) Call-back to a UE that has made an emergency call via a visited IMS network
Poikselkä et al. The IMS: IP multimedia concepts and services
US8520689B2 (en) Network interoperability between IP communications networks or sub-networks
KR101565626B1 (en) A mobile switching center platform having interfaces with functionalities defined by an architecture that provides packet-switched multimedia subscriber services
CN101971592B (en) Local session controller, ip multimedia subsystem and session registration method
CN106941669B (en) Wireless communication method and P-CSCF device
EP1770949A2 (en) Method and communication system for circuit switch users accessing IP multimedia subsystem
CN104202786B (en) A kind of method and device for calling routing
CA2591614A1 (en) Mobile services control platform providing a converged voice service
CN101931923B (en) Method for user registration of IP multimedia subsystem network and service fulfillment system
US9055397B2 (en) Method for usage of VPLMN infrastructure by an HPLMN to terminate an IMS session set up for a roaming user
JP6734570B2 (en) Communications system
WO2019184717A1 (en) Communication method and related product
EP2119178B1 (en) Method and apparatuses for the provision of network services offered through a set of servers in an ims network
CN104168190B (en) A kind of method and device for calling routing
US10397965B2 (en) System and method of determining real-time location and status of voice-over Wi-Fi (VoWiFi) users in heterogeneous network environment
CN113453174B (en) Roaming place service providing method, IP multimedia system and storage medium
US9173184B2 (en) Mobile communication system supporting service centralization and continuity and method thereof
KR100963961B1 (en) Method and system for providing multimedia chat in IP multimedia subsystem
KR101629815B1 (en) 3G Mobile Communication System supporting Service Centralized and Continuity and Method thereof
CN120640376A (en) Call management and control method and device
CN102572785A (en) User roaming method and ICS enhanced network
CN101932119A (en) Service implementation method and system of IP multimedia subsystem network
HK1144855A (en) Network interoperability between ip communications networks or sub-networks

Legal Events

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