技术领域technical field
本发明涉及无线移动通信领域,尤其涉及一种注册方法、呼叫方法、应用服务器及网络域设备。The invention relates to the field of wireless mobile communication, in particular to a registration method, a calling method, an application server and network domain equipment.
背景技术Background technique
目前,用户在使用移动终端如手机进行通话、上网的过程中,都需要在移动终端中插入用户识别模块(SIM,SubscriberIdentityModule),并控制SIM卡注册到无线移动通信网络,每一个SIM卡会对应一个用户识别码,如果需要在其他设备或软件上使用该用户识别码的话,就必须同时使用对应的SIM卡。At present, when using a mobile terminal such as a mobile phone to make a call or surf the Internet, the user needs to insert a Subscriber Identity Module (SIM, Subscriber Identity Module) into the mobile terminal, and control the registration of the SIM card to the wireless mobile communication network. Each SIM card will correspond to A subscriber identification code, if the subscriber identification code needs to be used on other devices or software, the corresponding SIM card must be used at the same time.
所以,现有技术中就存在用户识别码与SIM卡强制绑定的技术问题。Therefore, there is a technical problem in the prior art that the user identification code is bound to the SIM card forcibly.
发明内容Contents of the invention
有鉴于此,为解决现有技术存在的技术问题,本发明实施例期望提供一种注册方法、呼叫方法、应用服务器及网络域设备。In view of this, in order to solve the technical problems existing in the prior art, the embodiment of the present invention expects to provide a registration method, a calling method, an application server and a network domain device.
为达到上述目的,本发明的技术方案是这样实现的:In order to achieve the above object, technical solution of the present invention is achieved in that way:
第一方面,本发明实施例提供一种注册方法,应用于应用服务器,所述应用服务器设置于第一网络域设备与第二网络域设备之间,所述方法包括:在第一终端使用用户识别码在第一网络域上注册后,收到来自第二网络域的第二终端的第一注册请求时,向所述第一网络域设备发送注销请求,所述注册请求中携带有所述用户识别码;确认注销成功后,向所述第二网络域设备发送第二注册请求,所述第二注册请求用于请求所述第二终端使用所述用户识别码在所述第二网络域上注册。In the first aspect, the embodiment of the present invention provides a registration method, which is applied to an application server, and the application server is set between the first network domain device and the second network domain device, and the method includes: using the user After the identification code is registered on the first network domain, when receiving the first registration request from the second terminal in the second network domain, send a deregistration request to the device in the first network domain, and the registration request carries the User identification code; after confirming that the logout is successful, send a second registration request to the second network domain device, the second registration request is used to request the second terminal to use the user identification code in the second network domain Register on .
进一步地,所述向所述第一网络域设备发送注销请求,包括:对所述用户识别码进行验证,并在验证通过后,向所述第一网络域设备发送所述注销请求。Further, the sending the logout request to the first network domain device includes: verifying the user identification code, and sending the logout request to the first network domain device after the verification is passed.
进一步地,在所述第一终端使用用户识别码在第一网络域上注册之前,所述方法还包括:存储所述用户识别码对应的用户信息;其中,所述用户信息用于第一终端使用所述用户识别码在所述第一网络域上注册;和/或,用于所述第二终端使用所述用户识别码在所述第二网络域上注册。Further, before the first terminal uses the user identification code to register on the first network domain, the method further includes: storing user information corresponding to the user identification code; wherein the user information is used by the first terminal Registering on the first network domain by using the user identification code; and/or used by the second terminal to register on the second network domain by using the user identification code.
进一步地,所述确认注销成功,包括:接收所述第一网络域设备发送的第一鉴权挑战;基于所述用户信息,生成第一鉴权响应,并发送所述第一鉴权响应给所述第一网络域设备,所述第一鉴权响应用于所述第一网络域设备对所述用户识别码进行鉴权;当所述用户识别码鉴权通过时,接收来自所述第一网络域设备的注销成功响应,确认注销成功。Further, the confirming that the logout is successful includes: receiving a first authentication challenge sent by the first network domain device; generating a first authentication response based on the user information, and sending the first authentication response to For the first network domain device, the first authentication response is used for the first network domain device to authenticate the user identification code; when the user identification code passes the authentication, receiving the A successful logout response of the network domain device, confirming that the logout is successful.
进一步地,在所述向所述第二网络域设备发送第二注册请求之后,所述方法还包括:接收来自所述第二网络域设备的第二鉴权挑战;基于所述用户信息,生成第二鉴权响应,并发送所述第二鉴权响应给所述第二网络域设备,所述第二鉴权响应用于所述第二网络域设备对所述用户识别码进行鉴权;当所述用户识别码鉴权通过时,接收来自所述第二网络域设备的注册成功响应,确定所述第二终端在所述第二网络域上注册成功。Further, after sending the second registration request to the second network domain device, the method further includes: receiving a second authentication challenge from the second network domain device; based on the user information, generating A second authentication response, and sending the second authentication response to the second network domain device, where the second authentication response is used by the second network domain device to authenticate the user identification code; When the authentication of the user identification code passes, a registration success response from the second network domain device is received, and it is determined that the second terminal successfully registers on the second network domain.
进一步地,在所述向所述第二网络域设备发送所述第二注册请求之后,所述方法还包括:接收来自所述第二网络域设备的注册成功响应,确定所述第二终端在所述第二网络域上注册成功。Further, after sending the second registration request to the second network domain device, the method further includes: receiving a registration success response from the second network domain device, and determining that the second terminal is in The registration on the second network domain is successful.
第二方面,本发明实施例提供一种注册方法,应用于第一网络域设备,所述第一网络域设备与应用服务器连接;所述方法包括:在第一终端使用用户识别码在第一网络域上注册后,接收所述应用服务器发送的注销请求,在所述第一网络域上注销所述第一终端;注销成功后,发送成功注销响应给所述应用服务器。In the second aspect, the embodiment of the present invention provides a registration method, which is applied to a first network domain device, and the first network domain device is connected to an application server; After registering on the network domain, receiving a deregistration request sent by the application server, deregistering the first terminal on the first network domain; after successful deregistration, sending a successful deregistration response to the application server.
进一步地,所述第一网络域上注销所述第一终端,包括:向所述应用服务器发送第一鉴权挑战;接收来自所述应用服务器的第一鉴权响应,并基于所述第一鉴权响应,对所述用户识别码进行鉴权;当所述用户识别码鉴权通过时,向所述第一终端发送强制下线消息,并将所述第一终端的注册状态修改为注销。Further, deregistering the first terminal on the first network domain includes: sending a first authentication challenge to the application server; receiving a first authentication response from the application server, and based on the first An authentication response, authenticating the user identification code; when the user identification code is authenticated, sending a forced offline message to the first terminal, and modifying the registration status of the first terminal to logout .
第三方面,本发明实施例提供一种注册方法,应用于第二网络域设备,所述第二网络域设备与应用服务器连接;所述方法包括:在第一终端使用用户识别码在第一网络域上注册后,接收所述第二网络域中的第二终端发送的第一注册请求,所述第一注册请求中携带有所述用户识别码;发送所述注册请求给所述应用服务器,使所述应用服务器对所述用户识别码进行鉴权;接收所述应用服务器发送的第二注册请求,对所述第二终端使用所述用户识别码进行注册。In the third aspect, the embodiment of the present invention provides a registration method, which is applied to a second network domain device, and the second network domain device is connected to an application server; After registering on the network domain, receiving a first registration request sent by the second terminal in the second network domain, the first registration request carrying the user identification code; sending the registration request to the application server , enabling the application server to authenticate the user identification code; receiving a second registration request sent by the application server, and registering the second terminal using the user identification code.
进一步地,所述对所述第二终端使用所述用户识别码进行注册,包括:向所述应用服务器发送第二鉴权挑战;接收所述应用服务器发送的第二鉴权响应,并根据存储的所述用户识别码对应的第二用户识别信息对所述第二鉴权响应进行验证;验证通过后,将所述第二用户识别信息与所述第二终端的地址信息关联,并向所述应用服务器发送注册成功响应。Further, the registering the second terminal using the user identification code includes: sending a second authentication challenge to the application server; receiving a second authentication response sent by the application server, and according to the stored Verify the second authentication response with the second user identification information corresponding to the user identification code; after the verification is passed, associate the second user identification information with the address information of the second terminal, and report to the The application server sends a registration success response.
第四方面,本发明实施例提供一种呼叫方法,应用于应用服务器,所述应用服务器设置于第一网络域设备与第二网络域设备之间,与所述第一网络域设备连接的第一终端能够使用用户识别码在第一网络域上注册,与所述第二网络域设备连接的第二终端能够使用所述用户识别码在第二网络域上注册;所述方法包括:通过所述第一网络域设备接收来自所述第一终端的第一呼叫请求,所述第一呼叫请求中携带有被叫用户识别码;根据所述被叫用户识别码,确定所述被叫用户识别码对应的被叫终端已注册的网络域;当所述被叫终端已在第一网络域上注册时,向所述第一网络域设备发送所述第一呼叫请求,使所述第一网络域设备将所述第一呼叫请求发送给所述被叫终端。In a fourth aspect, an embodiment of the present invention provides a call method, which is applied to an application server, the application server is set between a first network domain device and a second network domain device, and the first network domain device connected to the first network domain device A terminal can use the user identification code to register on the first network domain, and a second terminal connected to the second network domain device can use the user identification code to register on the second network domain; the method includes: through the The first network domain device receives a first call request from the first terminal, the first call request carries a called user identification code; according to the called user identification code, determine the called user identification code corresponding to the network domain where the called terminal has registered; when the called terminal has registered on the first network domain, send the first call request to the first network domain device, so that the first network The domain device sends the first call request to the called terminal.
进一步地,在所述确定所述被叫用户识别码对应的被叫终端已注册的网络域之后,所述方法还包括:当所述被叫终端已在第二网络域上注册时,转换所述被叫用户识别码的类型,以更新所述第一呼叫请求;向所述第一网络域设备发送更新后的第一呼叫请求,使所述第一网络域设备将所述更新后的第一呼叫请求发送给所述被叫终端。Further, after the determination of the network domain in which the called terminal corresponding to the called user identification code has been registered, the method further includes: when the called terminal has registered in the second network domain, converting the The type of the called user identification code to update the first call request; send the updated first call request to the first network domain device, so that the first network domain device will use the updated first call request A call request is sent to the called terminal.
进一步地,所述根据所述被叫用户识别码,确定所述被叫用户识别码对应的被叫终端已注册的网络域,包括:对所述第一呼叫请求中携带的所述用户识别码进行鉴权;鉴权通过后,根据所述被叫用户识别码,确定所述被叫终端已注册的网络域。Further, the determining the registered network domain of the called terminal corresponding to the called user identification code according to the called user identification code includes: the user identification code carried in the first call request Perform authentication; after the authentication is passed, determine the registered network domain of the called terminal according to the called user identification code.
进一步地,所述方法还包括:通过所述第二网络域设备接收来自主叫终端的第二呼叫请求,其中,所述第二呼叫请求用于请求呼叫所述用户识别码对应的终端,所述主叫终端使用主叫识别码在所述第二网络域上注册;删除所述第二呼叫请求中所述主叫用户识别码的前缀码;确定所述用户识别码对应的终端在所述第一网络域上注册后,转换所述第二呼叫请求中所述用户识别码的类型,以更新所述第二呼叫请求;向所述第一网络域设备发送更新后的第二呼叫请求,使所述第一网络域设备将所述更新后的第二呼叫请求发送给所述第一终端。Further, the method further includes: receiving a second call request from the calling terminal through the second network domain device, wherein the second call request is used to request to call the terminal corresponding to the user identification code, and the The calling terminal uses the calling party identification code to register on the second network domain; deletes the prefix code of the calling party identification code in the second call request; determines that the terminal corresponding to the user identification code is in the After registering on the first network domain, converting the type of the user identification code in the second call request to update the second call request; sending the updated second call request to the device in the first network domain, enabling the first network domain device to send the updated second call request to the first terminal.
进一步地,在所述删除所述第二呼叫请求中所述主叫用户识别码的前缀码之后,所述方法还包括:确定所述用户识别码对应的终端未在所述第一网络域上注册时,向所述第二网络域设备发送呼叫失败响应。Further, after the deletion of the prefix code of the calling user identification code in the second call request, the method further includes: determining that the terminal corresponding to the user identification code is not on the first network domain When registering, send a call failure response to the second network domain device.
进一步地,所述方法还包括:通过所述第一网络域设备接收来自主叫终端的第三呼叫请求,所述第三呼叫请求用于请求呼叫所述用户识别码对应的终端;确定所述用户识别码对应的终端未在所述第一网络域上注册后,转换所述第三呼叫请求中所述用户识别码的类型,并在转换后的用户识别码前添加前缀码,以更新所述第三呼叫请求;将更新后的第三呼叫请求发送给所述第一网络域设备,使所述第一网络域设备将所述更新后的第三呼叫请求通过所述第二网络域设备发送给所述第二终端。Further, the method further includes: receiving a third call request from the calling terminal through the first network domain device, where the third call request is used to request to call the terminal corresponding to the user identification code; After the terminal corresponding to the user identification code is not registered on the first network domain, convert the type of the user identification code in the third call request, and add a prefix code before the converted user identification code to update all the third call request; sending the updated third call request to the first network domain device, so that the first network domain device passes the updated third call request through the second network domain device sent to the second terminal.
进一步地,在所述将更新后的第三呼叫请求发送给所述第一网络域设备之后,所述方法还包括:接收来自所述第二网络域设备的呼叫失败响应,并将所述呼叫失败响应转发给所述第一网络域设备。Further, after sending the updated third call request to the first network domain device, the method further includes: receiving a call failure response from the second network domain device, and sending the call The failure response is forwarded to the first network domain device.
第五方面,本发明实施例提供一种应用服务器,设置于第一网络域设备与第二网络域设备之间,所述应用服务器包括:第一收发机和第一处理器;其中,所述第一收发机,用于在第一终端使用用户识别码在第一网络域上注册后,收到来自所述第二网络域的第二终端的第一注册请求时,向所述第一网络域设备发送第一注销请求,所述第一注册请求中携带有所述用户识别码;确认注销成功后,向所述第二网络域设备发送第二注册请求,所述第二注册请求用于请求所述第二终端使用所述用户识别码在所述第二网络域上注册。In a fifth aspect, an embodiment of the present invention provides an application server, which is arranged between a first network domain device and a second network domain device, and the application server includes: a first transceiver and a first processor; wherein, the The first transceiver is configured to send the first registration request to the first network when the first terminal receives a first registration request from the second terminal in the second network domain after the first terminal registers on the first network domain using the user identification code. The domain device sends a first deregistration request, the first registration request carries the user identification code; after confirming that the deregistration is successful, it sends a second registration request to the second network domain device, and the second registration request is used for requesting the second terminal to register on the second network domain using the user identification code.
进一步地,所述第一收发机,用于在向所述第二网络域设备发送第二注册请求之后,接收来自所述第二网络域设备的第二鉴权挑战;还用于发送第二鉴权响应给所述第二网络域设备,所述第二鉴权响应用于所述第二网络域设备对所述用户识别码进行鉴权;还用于当所述用户识别码鉴权通过时,接收来自所述第二网络域设备的注册成功响应,确定所述第二终端在所述第二网络域上注册成功;所述第一处理器,还用于基于所述用户信息,生成所述第二鉴权响应。Further, the first transceiver is configured to receive a second authentication challenge from the second network domain device after sending the second registration request to the second network domain device; An authentication response is sent to the second network domain device, and the second authentication response is used for the second network domain device to authenticate the user identification code; it is also used for when the user identification code passes the authentication , receiving a successful registration response from the device in the second network domain, and determining that the second terminal has successfully registered in the second network domain; the first processor is further configured to, based on the user information, generate The second authentication response.
进一步地,所述第一收发机,还用于在向所述第二网络域设备发送所述第二注册请求之后,接收来自所述第二网络域设备的注册成功响应;所述第一处理器,用于确定所述第二终端在所述第二网络域上注册成功。Further, the first transceiver is further configured to receive a registration success response from the second network domain device after sending the second registration request to the second network domain device; the first processing A device, configured to determine that the second terminal has successfully registered on the second network domain.
进一步地,所述应用服务器还包括:存储器,用于在所述第一终端使用用户识别码在第一网络域上注册之前,存储所述用户识别码对应的用户信息;其中,所述用户信息用于第一终端使用所述用户识别码在所述第一网络域上注册;和/或,用于所述第二终端使用所述用户识别码在所述第二网络域上注册。Further, the application server further includes: a memory, configured to store user information corresponding to the user identification code before the first terminal uses the user identification code to register on the first network domain; wherein, the user information Used for the first terminal to use the user identification code to register on the first network domain; and/or used for the second terminal to use the user identification code to register on the second network domain.
第六方面,本发明实施例提供一种应用处理器,设置于第一网络域设备与第二网络域设备之间,与所述第一网络域设备连接的第一终端能够使用用户识别码在第一网络域上注册,与所述第二网络域设备连接的第二终端能够使用所述用户识别码在第二网络域上注册;所述应用服务器包括:第二收发机和第二处理器;其中,所述第二收发机,用于通过所述第一网络域设备接收来自所述第一终端的第一呼叫请求,所述第一呼叫请求中携带有被叫用户识别码;还用于当所述被叫用户识别码对应的被叫终端已在第一网络域上注册时,向所述第一网络域设备发送所述第一呼叫请求,使所述第一网络域设备将所述第一呼叫请求发送给所述被叫终端;所述第二处理器,用于根据所述被叫用户识别码,确定所述被叫终端已注册的网络域。In the sixth aspect, the embodiment of the present invention provides an application processor, which is set between the first network domain device and the second network domain device, and the first terminal connected to the first network domain device can use the user identification code to Register on the first network domain, and the second terminal connected to the second network domain device can use the user identification code to register on the second network domain; the application server includes: a second transceiver and a second processor ; Wherein, the second transceiver is configured to receive a first call request from the first terminal through the first network domain device, and the first call request carries a called user identification code; When the called terminal corresponding to the called user identification code has been registered in the first network domain, sending the first call request to the first network domain device, so that the first network domain device transfers the The first call request is sent to the called terminal; the second processor is configured to determine the registered network domain of the called terminal according to the called user identification code.
进一步地,所述第二处理器,用于当所述被叫终端已在第二网络域上注册时,转换所述被叫用户识别码的类型,以更新所述第一呼叫请求;所述第二收发机,用于向所述第一网络域设备发送更新后的第一呼叫请求,使所述第一网络域设备将所述更新后的第一呼叫请求发送给所述被叫终端。Further, the second processor is configured to convert the type of the called user identification code to update the first call request when the called terminal has registered on the second network domain; The second transceiver is configured to send the updated first call request to the first network domain device, so that the first network domain device sends the updated first call request to the called terminal.
进一步地,所述第二处理器,用于对所述第一呼叫请求中携带的所述用户识别码进行鉴权;鉴权通过后,根据所述被叫用户识别码,确定所述被叫终端已注册的网络域。Further, the second processor is configured to authenticate the user identification code carried in the first call request; after the authentication is passed, determine the called party according to the called user identification code. The network domain where the endpoint is registered.
进一步地,所述第二收发机,用于通过所述第二网络域设备接收来自主叫终端的第二呼叫请求,其中,所述第二呼叫请求用于请求呼叫所述用户识别码对应的终端,所述主叫终端使用主叫识别码在所述第二网络域上注册;还用于向所述第一网络域设备发送更新后的第二呼叫请求,使所述第一网络域设备将所述更新后的第二呼叫请求发送给所述第一终端;所述第二处理器,用于删除所述第二呼叫请求中所述主叫用户识别码的前缀码;确定所述用户识别码对应的终端在所述第一网络域上注册后,转换所述第二呼叫请求中所述用户识别码的类型,以更新所述第二呼叫请求。Further, the second transceiver is configured to receive a second call request from the calling terminal through the second network domain device, where the second call request is used to request to call the user ID corresponding to the user identification code. terminal, the calling terminal registers on the second network domain by using the caller identification code; it is also used to send an updated second call request to the first network domain device, so that the first network domain device sending the updated second call request to the first terminal; the second processor is configured to delete the prefix code of the calling party identification code in the second call request; determine the user After the terminal corresponding to the identification code is registered on the first network domain, convert the type of the user identification code in the second call request, so as to update the second call request.
进一步地,所述第二收发机,还用于所述第二处理器删除所述第二呼叫请求中所述主叫用户识别码的前缀码之后,确定所述用户识别码对应的终端未在所述第一网络域上注册时,向所述第二网络域设备发送呼叫失败响应。Further, the second transceiver is also used for the second processor to determine that the terminal corresponding to the user identification code is not in the When registering in the first network domain, send a call failure response to the device in the second network domain.
进一步地,所述第二收发机,还用于通过所述第一网络域设备接收来自主叫终端的第三呼叫请求,所述第三呼叫请求用于请求呼叫所述用户识别码对应的终端;还用于将更新后的第三呼叫请求发送给所述第一网络域设备,使所述第一网络域设备将所述更新后的第三呼叫请求通过所述第二网络域设备发送给所述第二终端;所述第二处理器,还用于确定所述用户识别码对应的终端未在所述第一网络域上注册后,转换所述第三呼叫请求中所述用户识别码的类型,并在转换后的用户识别码前添加前缀码,以更新所述第三呼叫请求。Further, the second transceiver is also configured to receive a third call request from the calling terminal through the first network domain device, and the third call request is used to request to call the terminal corresponding to the user identification code ; Also used to send the updated third call request to the first network domain device, so that the first network domain device sends the updated third call request to the second network domain device through the second network domain device The second terminal; the second processor is further configured to convert the user identification code in the third call request after determining that the terminal corresponding to the user identification code is not registered on the first network domain type, and add a prefix code before the converted user identification code to update the third call request.
进一步地,所述第二收发机,还用于在将所述更新后的第三呼叫请求发送给所述第一网络域设备之后,接收来自所述第二网络域设备的呼叫失败响应,并将所述呼叫失败响应转发给所述第一网络域设备。Further, the second transceiver is further configured to receive a call failure response from the second network domain device after sending the updated third call request to the first network domain device, and Forwarding the call failure response to the first network domain device.
第七方面,本发明实施例提供一种网络域设备,与应用服务器以及第一终端连接;所述网络域设备包括:第三收发机和第三处理器;其中,所述第三收发机,用于在所述第一终端使用用户识别码在第一网络域上注册后,接收所述应用服务器发送的注销请求;注销成功后,发送成功注销响应给所述应用服务器;所述第三处理器,用于在所述第一网络域上注销所述第一终端。In a seventh aspect, an embodiment of the present invention provides a network domain device connected to an application server and a first terminal; the network domain device includes: a third transceiver and a third processor; wherein, the third transceiver, After the first terminal registers on the first network domain using the user identification code, receive the logout request sent by the application server; after the logout is successful, send a successful logout response to the application server; the third processing A device, configured to log off the first terminal on the first network domain.
第八方面,本发明实施例提供一种网络域设备,与应用服务器以及第二终端连接;所述网络域设备包括:第四收发机和第四处理器;其中,所述第四收发机,用于在第一终端使用用户识别码在第一网络域上注册后,接收所述第二网络域中的第二终端发送的第一注册请求,所述第一注册请求中包括用户识别码;发送所述第一注册请求给所述应用服务器,使所述应用服务器对所述用户识别码进行鉴权;接收所述应用服务器发送的第二注册请求;所述第四处理器,用于对所述第二终端使用所述用户识别码进行注册。In an eighth aspect, an embodiment of the present invention provides a network domain device connected to an application server and a second terminal; the network domain device includes: a fourth transceiver and a fourth processor; wherein, the fourth transceiver, After the first terminal registers on the first network domain using the user identification code, receive a first registration request sent by the second terminal in the second network domain, where the first registration request includes the user identification code; Send the first registration request to the application server, so that the application server authenticates the user identification code; receive the second registration request sent by the application server; the fourth processor is configured to The second terminal uses the user identification code to register.
本发明实施例所提供的注册方法、呼叫方法、应用服务器及网络域设备,在第一终端使用用户识别码在第一网络域上注册后,收到来自第二网络域的第二终端的第一注册请求时,应用服务器向第一网络域设备发送注销请求,第一注册请求中携带有用户识别码;确认注销成功后,向第二网络域设备发送第二注册请求,第二注册请求用于请求第二终端使用用户识别码在第二网络域上注册。也就是说,当第二终端上线时,应用服务器会与第一网络域设备及第二网络域设备协同将第一终端强制下线,而无需通过插拔SIM卡的方式来实现终端的上下线,如此,第一终端与第二终端可以不基于SIM卡就能够实现异域同号替换,解决了现有技术中存在的、用户识别码与SIM卡强制绑定的技术问题,实现了用户识别码与SIM卡硬件解耦。The registration method, calling method, application server, and network domain equipment provided by the embodiments of the present invention receive a second message from a second terminal in a second network domain after the first terminal registers on the first network domain using a user identification code. When a registration request is made, the application server sends a logout request to the first network domain device, and the first registration request carries a user identification code; after confirming that the logout is successful, the application server sends a second registration request to the second network domain device, and the second registration request uses To request the second terminal to register on the second network domain by using the user identification code. That is to say, when the second terminal goes online, the application server will cooperate with the first network domain device and the second network domain device to forcibly log the first terminal offline without inserting or unplugging the SIM card to realize the terminal's offline and offline In this way, the first terminal and the second terminal can realize the replacement of the same number in different regions without using the SIM card, which solves the technical problem of the mandatory binding of the user identification code and the SIM card in the prior art, and realizes the user identification code Decoupled from SIM card hardware.
附图说明Description of drawings
图1为本发明实施例中的网络架构的示意图;FIG. 1 is a schematic diagram of a network architecture in an embodiment of the present invention;
图2为本发明实施例中的应用服务器侧的注册方法的流程示意图;FIG. 2 is a schematic flowchart of a registration method on the application server side in an embodiment of the present invention;
图3为本发明实施例中的第一网络域设备侧的注册方法的流程示意图;FIG. 3 is a schematic flowchart of a registration method on the device side of the first network domain in an embodiment of the present invention;
图4为本发明实施例中的第二网络域设备侧的注册方法的流程示意图;FIG. 4 is a schematic flowchart of a registration method on the device side of the second network domain in an embodiment of the present invention;
图5为本发明实施例中的主叫方法的流程示意图;FIG. 5 is a schematic flow diagram of a calling method in an embodiment of the present invention;
图6为本发明实施例中的一种被叫方法的流程示意图;FIG. 6 is a schematic flow diagram of a called method in an embodiment of the present invention;
图7为本发明实施例中的另一种被叫方法的流程示意图;FIG. 7 is a schematic flow diagram of another called method in an embodiment of the present invention;
图8为本发明实施例中的一种应用服务器的结构示意图;FIG. 8 is a schematic structural diagram of an application server in an embodiment of the present invention;
图9为本发明实施例中的另一种应用服务器的结构示意图;FIG. 9 is a schematic structural diagram of another application server in an embodiment of the present invention;
图10为本发明实施例中的一种网络域设备的结构示意图;FIG. 10 is a schematic structural diagram of a network domain device in an embodiment of the present invention;
图11为本发明实施例中的另一种网络域设备的结构示意图。FIG. 11 is a schematic structural diagram of another network domain device in an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention.
本发明实施例提供一种网络,图1为本发明实施例中的网络架构的示意图,参考图1所示,所述网络包括第一网络域设备10、第二网络域设备20、应用服务器30以及第一终端11、第二终端21;其中,应用服务器30设置于第一网络域设备10和第二网络域设备20之间;第一网络域设备10与第一终端11通过无线接入网连接,第二网络域设备20与第二终端21通过无线接入网连接,第一终端11可使用用户识别码在第一网络域上注册,第二终端21也可使用该用户识别码在第二网络域上注册。An embodiment of the present invention provides a network. FIG. 1 is a schematic diagram of a network architecture in an embodiment of the present invention. Referring to FIG. 1 , the network includes a first network domain device 10, a second network domain device 20, and an application server 30 And the first terminal 11, the second terminal 21; wherein, the application server 30 is set between the first network domain device 10 and the second network domain device 20; the first network domain device 10 and the first terminal 11 through the wireless access network connection, the second network domain device 20 is connected to the second terminal 21 through the wireless access network, the first terminal 11 can use the user identification code to register on the first network domain, and the second terminal 21 can also use the user identification code in the first network domain Register on the second network domain.
结合本发明实施例,在上述网络中,应用服务器30,用于在第一终端11使用用户识别码在第一网络域上注册后,收到来自第二网络域设备20的第二终端21的第一注册请求时,向第一网络域设备10发送注销请求,第一注册请求中携带有用户识别码;确认注销成功后,向第二网络域设备20发送第二注册请求,第二注册请求用于请求第二终端21使用用户识别码在第二网络域上注册。In combination with the embodiment of the present invention, in the above-mentioned network, the application server 30 is configured to receive a message from the second terminal 21 of the second network domain device 20 after the first terminal 11 registers on the first network domain using the user identification code. During the first registration request, send a deregistration request to the first network domain device 10, and the first registration request carries a user identification code; after confirming that the deregistration is successful, send a second registration request to the second network domain device 20, and the second registration request It is used to request the second terminal 21 to use the user identification code to register on the second network domain.
第一网络域设备10,用于在第一终端11使用用户识别码在第一网络域上注册后,接收应用服务器30发送的注销请求,在第一网络域上注销第一终端11;注销成功后,发送成功注销响应给应用服务器30。The first network domain device 10 is configured to receive the logout request sent by the application server 30 after the first terminal 11 registers on the first network domain using the user identification code, and log off the first terminal 11 on the first network domain; the logout is successful Afterwards, a successful logout response is sent to the application server 30.
第二网络域设备20,用于在第一终端11使用用户识别码在第一网络域上注册后,接收第二网络域中的第二终端21发送的第一注册请求,第一注册请求中携带有用户识别码;发送第一注册请求给应用服务器30,使应用服务器30对用户识别码进行鉴权;接收应用服务器30发送的第二注册请求,对第二终端21使用用户识别码进行注册。The second network domain device 20 is configured to receive the first registration request sent by the second terminal 21 in the second network domain after the first terminal 11 registers on the first network domain using the user identification code, in the first registration request carry the user identification code; send the first registration request to the application server 30, so that the application server 30 authenticates the user identification code; receive the second registration request sent by the application server 30, and register the second terminal 21 using the user identification code .
在实际应用中,上述第一网络域可以为电路交换(CS,CircuitSwitched)域还可以为网络协议多媒体子系统(IMS,InternetProtocolMultimediaSubsystem)域;第二网络域也可以为上述CS域或者IMS域,本申请不做具体限定。In practical applications, the above-mentioned first network domain may be a circuit switched (CS, CircuitSwitched) domain or an Internet Protocol Multimedia Subsystem (IMS, Internet Protocol Multimedia Subsystem) domain; the second network domain may also be the above-mentioned CS domain or IMS domain. Applications are not specifically limited.
相应地,当第一网络域为CS域时,第一网络域设备10可以为移动交换中心(MSC,MobileSwitchingCenter),第一终端11可以为智能手机;当第一网络域为IMS域时,第一网络域设备10可以为服务呼叫会话控制功能(SCSCF,ServingCallSessionControlFunction),第一终端11可以为个人电脑(PC,PersonalComputer)上安装的软件客户端;当第二网络域为CS域时,第二网络域设备20可以为MSC,第二终端21可以为智能手机;当第二网络域为IMS域时,第二网络域设备20可以为SCSCF,第二终端21可以为PC上安装的软件客户端。Correspondingly, when the first network domain is a CS domain, the first network domain device 10 may be a mobile switching center (MSC, MobileSwitchingCenter), and the first terminal 11 may be a smart phone; when the first network domain is an IMS domain, the second A network domain device 10 can be a Serving Call Session Control Function (SCSCF, ServingCallSessionControlFunction), and the first terminal 11 can be a software client installed on a personal computer (PC, Personal Computer); when the second network domain is a CS domain, the second The network domain device 20 can be an MSC, and the second terminal 21 can be a smart phone; when the second network domain is an IMS domain, the second network domain device 20 can be a SCSCF, and the second terminal 21 can be a software client installed on a PC .
需要说明的是,用户将用户识别码如手机号码通过移动营业厅开通软终端共号业务之后,CS域中的归属位置寄存器(HLR,HomeLocationRegister)将存储的E.164格式的手机号码以及对应的国际移动用户识别码(IMSI:InternationalMobileSubscriberIdentificationNumber)、手机鉴权密钥概述(Ki,Keyidentifier)等用户信息发送给应用服务器30,应用服务器30保存这些用户信息,以供后续第一终端11在第一网络域上注册,和/或第二终端21在第二网络域上注册;IMS域中的归属用户服务器(HSS,HomeSubscriberServer)中同时保存此E.164格式的手机号码、IMSI导出的网络协议多媒体公共标识(IMPU,InternetProtocolMultimediaPublicIdentity)、网络协议多媒体私有标识(IMPI,IPMultimediaPrivateIdentity)、Ki,并在MSC和SCSCF上签约该业务,同时生成提供IMS应用软终端注册时的注册密码。It should be noted that after the user activates the soft terminal shared number service through the mobile business hall with a user identification code such as a mobile phone number, the home location register (HLR, HomeLocationRegister) in the CS domain will store the mobile phone number in E.164 format and the corresponding User information such as International Mobile Subscriber Identification Number (IMSI: InternationalMobileSubscriberIdentificationNumber), mobile phone authentication key overview (Ki, Keyidentifier) is sent to the application server 30, and the application server 30 saves these user information for the subsequent first terminal 11 in the first network. Register on the domain, and/or the second terminal 21 registers on the second network domain; the home subscriber server (HSS, HomeSubscriberServer) in the IMS domain simultaneously saves the mobile phone number of this E.164 format, the network protocol multimedia public information that IMSI derives Identity (IMPU, InternetProtocolMultimediaPublicIdentity), Internet Protocol Multimedia Private Identity (IMPI, IPMultimediaPrivateIdentity), Ki, and sign the service on MSC and SCSCF, and generate and provide the registration password when registering the IMS application soft terminal.
下面站在单侧网元的角度对上述网络的工作流程进行说明。The following describes the workflow of the above network from the perspective of a single-side network element.
本发明实施例提供一种注册方法,应用于应用服务器。图2为本发明实施例中的应用服务器侧的注册方法的流程示意图,参考图2所示,该方法包括:An embodiment of the present invention provides a registration method, which is applied to an application server. FIG. 2 is a schematic flowchart of a registration method on the application server side in an embodiment of the present invention. Referring to FIG. 2, the method includes:
S201:在第一终端使用用户识别码在第一网络域上注册后,收到来自第二网络域设备的第一注册请求时,向第一网络域设备发送注销请求;S201: After the first terminal registers on the first network domain using the user identification code, when receiving the first registration request from the second network domain device, send a logout request to the first network domain device;
其中,在第一注册请求中携带有用户识别码。Wherein, the user identification code is carried in the first registration request.
在具体实施过程中,向第一网络域设备发送注销请求的步骤可以为:对用户识别码进行验证,并在验证通过后,向第一网络域设备发送注销请求。In a specific implementation process, the step of sending the logout request to the first network domain device may include: verifying the user identification code, and sending the logout request to the first network domain device after the verification is passed.
具体来说,第一终端使用用户识别码,在第一网络域上注册了之后,此时,第二终端同样使用该用户识别码要在第二网络域上注册,首先,第二终端向第二网络域设备发送第一注册请求,第一注册请求中包括用户识别码,第二网络域设备转发第一注册请求给应用服务器,当应用服务器接收到第一注册请求后,首先对用户识别码进行验证,在验证通过后向第一网络域设备发送注销请求,请求注销第一终端。Specifically, after the first terminal registers on the first network domain using the user identification code, at this time, the second terminal also uses the user identification code to register on the second network domain. First, the second terminal registers on the second network domain. The second network domain device sends the first registration request. The first registration request includes the user identification code. The second network domain device forwards the first registration request to the application server. Verification is performed, and after the verification is passed, a logout request is sent to the first network domain device to request the logout of the first terminal.
然后,第一网络域设备接收到注销请求后,向应用服务器发送第一鉴权挑战,应用服务器接收第一鉴权挑战,并基于存储的用户信息,如与手机号码对应的IMSI及Ki,生成第一鉴权响应,并发送第一鉴权响应给第一网络域设备,使得第一网络域设备根据第一鉴权响应对用户识别码进行鉴权;用户识别码鉴权通过时,第一网络域设备向第一终端发送强制下线消息,将第一终端的注册状态修改为注销,并向应用服务器发送注销成功响应,应用服务接收该注销成功响应,确认注销成功。Then, after the first network domain device receives the logout request, it sends the first authentication challenge to the application server, and the application server receives the first authentication challenge, and based on the stored user information, such as the IMSI and Ki corresponding to the mobile phone number, generates The first authentication response, and send the first authentication response to the first network domain device, so that the first network domain device authenticates the user identification code according to the first authentication response; when the user identification code is authenticated, the first The network domain device sends a forced logout message to the first terminal, changes the registration status of the first terminal to logout, and sends a logout success response to the application server, and the application server receives the logout success response and confirms that the logout is successful.
S202:确认注销成功后,向第二网络域设备发送第二注册请求。S202: After confirming that the deregistration is successful, send a second registration request to the second network domain device.
其中,第二注册请求用于请求第二终端使用用户识别码在第二网络域上注册。Wherein, the second registration request is used to request the second terminal to register on the second network domain by using the user identification code.
具体来说,应用服务器接收到该注销成功响应,确认注销成功后,向第二网络域设备发送第二注册请求,并接收来自第二网络域设备的第二鉴权挑战,应用服务器基于存储的用户信息,如与手机号码对应的IMPI及Ki,生成第二鉴权响应,并发送第二鉴权响应给第二网络域设备,第二网络域设备根据第二鉴权响应对用户识别码进行鉴权,当用户识别码鉴权通过时,第二网络域设备发送注册成功响应,应用服务器接收该注册成功响应,确定第二终端在第二网络域上注册成功。Specifically, the application server receives the logout success response, and after confirming that the logout is successful, sends a second registration request to the second network domain device, and receives a second authentication challenge from the second network domain device, and the application server based on the stored User information, such as IMPI and Ki corresponding to the mobile phone number, generates a second authentication response, and sends the second authentication response to the second network domain device, and the second network domain device performs the user identification code according to the second authentication response. Authentication, when the authentication of the user identification code passes, the second network domain device sends a registration success response, and the application server receives the registration success response, and determines that the second terminal has successfully registered on the second network domain.
在另一实施例中,应用服务器接收到该注销成功响应后,向第二网络域设备发送第二注册请求,第二网络域设备直接根据第二注册请求,将第二终端的注册状态改为注册,并向应用服务请发送注册成功响应。应用服务器在接收该注册成功响应后,确定第二终端在第二网络域上注册成功。In another embodiment, after receiving the successful deregistration response, the application server sends a second registration request to the second network domain device, and the second network domain device directly changes the registration status of the second terminal to Register, and send a registration success response to App Service. After receiving the registration success response, the application server determines that the second terminal has successfully registered on the second network domain.
至此,就完成了第二终端替换第一终端的注册过程。So far, the registration process of the second terminal replacing the first terminal is completed.
下面以具体的实例来对上述一个或者多个实施例进行说明。One or more of the above-mentioned embodiments will be described below with specific examples.
实施例一:Embodiment one:
假设第一网络域为CS域,第二网络域为IMS域。It is assumed that the first network domain is a CS domain, and the second network domain is an IMS domain.
首先,软件客户端登陆,用户输入手机号码及注册密码,通过代理呼叫会话控制功能(PCSCF,ProxyCallSessionControlFunction)将携带上述手机号码及注册密码的注册请求发送到SCSCF,SCSCF查询该号码是否开通软终端共号业务,若在查询到该手机号码开通了该业务之后,根据初始过滤准则(iFC,initialFilterCriteria)的要求,将业务消息以及注册请求发送到应用服务器。First, the software client logs in, the user enters the mobile phone number and registration password, and sends the registration request carrying the above mobile phone number and registration password to the SCSCF through the Proxy Call Session Control Function (PCSCF, ProxyCallSessionControlFunction), and the SSCCF inquires whether the number is enabled for soft terminal sharing. Number service, if the mobile phone number is opened after the service is inquired, the service message and the registration request are sent to the application server according to the requirements of the initial filter criterion (iFC, initialFilterCriteria).
接下来,应用服务器在确认手机号码开通上述业务之后,对注册请求中的手机号码和注册密码进行校验,以确认软件客户端用户的合法性,那么,在校验成功后,向MSC发送注销请求。MSC转发该注销请求,HLR在收到后通过MSC向应用服务器发送第一鉴权挑战,应用服务器根据存储的IMSI、Ki计算一个响应数,即第一鉴权响应,并将该响应数通过MSC发送给HLR。HLR基于该响应数对手机号码进行鉴权,当鉴权通过后,MSC向手机用户发送强制下线消息,并将该号码的注册状态改为注销,然后,向应用服务器发送成功注销响应。那么,应用服务器收到来自CS域的成功注销响应后,通过SCSCF向HSS发送注册请求,该请求中携带有与手机号码对应的IMPU、IMPI。HSS收到应用服务器发来的注册请求后,向应用服务器发送第二鉴权挑战,应用服务器根据存储的IMPI、Ki计算一个响应数,即第二鉴权响应,并将该响应数发送给HSS。HSS根据该响应数对手机号码进行鉴权,当鉴权通过后,通过SCSCF向应用服务器发送注册成功响应,并将IMPU与软件客户端的IP地址进行关联。Next, after confirming that the mobile phone number has activated the above services, the application server checks the mobile phone number and registration password in the registration request to confirm the legitimacy of the software client user, then, after the verification is successful, it sends a logout message to the MSC. ask. The MSC forwards the logout request, and the HLR sends the first authentication challenge to the application server through the MSC after receiving it, and the application server calculates a response number according to the stored IMSI and Ki, that is, the first authentication response, and sends the response number through the MSC Sent to HLR. The HLR authenticates the mobile phone number based on the number of responses. When the authentication is passed, the MSC sends a forced logout message to the mobile phone user, changes the registration status of the number to cancel, and then sends a successful cancellation response to the application server. Then, after receiving the successful deregistration response from the CS domain, the application server sends a registration request to the HSS through the SCSCF, and the request carries the IMPU and IMPI corresponding to the mobile phone number. After receiving the registration request from the application server, the HSS sends the second authentication challenge to the application server, and the application server calculates a response number based on the stored IMPI and Ki, which is the second authentication response, and sends the response number to the HSS . The HSS authenticates the mobile phone number according to the number of responses. When the authentication is passed, the HSS sends a registration success response to the application server through the SCSCF, and associates the IMPU with the IP address of the software client.
最后,应用服务器收到注册成功响应后,向软件客户端发送注册成功消息。Finally, after receiving the registration success response, the application server sends a registration success message to the software client.
实施例二:Embodiment two:
假设,第一网络域为IMS域,第二网络域为CS域。Assume that the first network domain is an IMS domain, and the second network domain is a CS domain.
首先,CS域的手机发起注册请求,MSC获取手机号码的签约业务,当查询到该号码开通了软终端共号业务时,触发该业务到业务控制点(SCP,ServiceControlPoint),SCP向应用服务器发送注销请求;应用服务器接到该请求后,将该请求发送给HSS,HSS向应用服务器发起第二鉴权挑战,应用服务器在成功接受第二鉴权挑战后,接收HSS发送的成功注销响应,并向SCP返回该成功注销响应。First, the mobile phone in the CS domain initiates a registration request, and the MSC obtains the subscription service of the mobile phone number. When it is found that the number has opened the soft terminal shared number service, it triggers the service to the service control point (SCP, ServiceControlPoint), and the SCP sends a message to the application server. A logout request; after receiving the request, the application server sends the request to the HSS, and the HSS initiates a second authentication challenge to the application server. After successfully accepting the second authentication challenge, the application server receives the successful logout response sent by the HSS, and This successful logout response is returned to the SCP.
接下来,SCP继续转发手机的注册请求至HLR,HLR对手机进行注册。Next, the SCP continues to forward the registration request of the mobile phone to the HLR, and the HLR registers the mobile phone.
综上所述,当第二终端上线时,应用服务器和第一网络域设备及第二网络域设备协同将与第一终端强制下线,这样,第一终端与第二终端可以不基于SIM卡来实现异域同号替换,实现了手机号码与SIM卡硬件的解耦。而且仅在网络中添加了应用服务器这一个网元,对网络的改动小。To sum up, when the second terminal goes online, the application server and the first network domain device and the second network domain device will cooperate to force the first terminal to go offline. In this way, the first terminal and the second terminal may not be based on the SIM card. To realize the replacement of the same number in different regions, and realize the decoupling of the mobile phone number and the SIM card hardware. Moreover, only the network element of the application server is added in the network, and the changes to the network are small.
基于同一发明构思,本发明实施例提供一种注册方法,应用于第一网络域设备,第一网络域设备与应用服务器连接。图3为本发明实施例中的第一网络域设备侧的注册方法的流程示意图,参考图3所示,该方法包括:Based on the same inventive concept, an embodiment of the present invention provides a registration method, which is applied to a first network domain device, and the first network domain device is connected to an application server. FIG. 3 is a schematic flowchart of a registration method on the device side of the first network domain in an embodiment of the present invention. Referring to FIG. 3 , the method includes:
S301:在第一终端使用用户识别码在第一网络域上注册后,接收应用服务器发送的注销请求,在第一网络域上注销第一终端;S301: After the first terminal registers on the first network domain using the user identification code, receive a deregistration request sent by the application server, and deregister the first terminal on the first network domain;
具体来说,S301可以为:向应用服务器发送第一鉴权挑战;接收来自应用服务器的第一鉴权响应,并基于第一鉴权响应,对用户识别码进行鉴权;当用户识别码鉴权通过时,向第一终端发送强制下线消息,并将第一终端的注册状态修改为注销。Specifically, S301 may be: sending the first authentication challenge to the application server; receiving the first authentication response from the application server, and authenticating the user identification code based on the first authentication response; When the authorization is passed, a forced logout message is sent to the first terminal, and the registration status of the first terminal is changed to logout.
S302:注销成功后,发送成功注销响应给应用服务器。S302: After successful logout, send a successful logout response to the application server.
基于同一发明构思,本发明实施例提供一种注册方法,应用于第二网络域设备,第二网络域设备与应用服务器连接。图4为本发明实施例中的第二网络域设备侧的注册方法的流程示意图,参考图4所示,该方法包括:Based on the same inventive concept, an embodiment of the present invention provides a registration method, which is applied to a second network domain device, and the second network domain device is connected to an application server. FIG. 4 is a schematic flowchart of a registration method on the device side of the second network domain in an embodiment of the present invention. Referring to FIG. 4, the method includes:
S401:接收第二网络域中的第二终端发送的第一注册请求,第一注册请求中包括用户识别码;S401: Receive a first registration request sent by a second terminal in the second network domain, where the first registration request includes a user identification code;
S402:对用户识别码的业务进行查询,并将业务消息发送给应用服务器,使第一网络域设备注销第一终端;S402: Query the service of the user identification code, and send the service message to the application server, so that the first network domain device logs out of the first terminal;
S403:接收应用服务器发送的第二注册请求,对第二终端使用用户识别码进行注册。S403: Receive the second registration request sent by the application server, and register the second terminal using the user identification code.
具体地,接收应用服务器发送的注册请求之后,S403可以为:向应用服务器发送第二鉴权挑战;接收应用服务器发送的第二鉴权响应,并根据存储的用户识别码对应的第二用户识别信息对第二鉴权响应进行验证;验证通过后,将第二用户识别信息与第二终端的地址信息关联,并向应用服务器发送注册成功响应。Specifically, after receiving the registration request sent by the application server, S403 may be: send the second authentication challenge to the application server; receive the second authentication response sent by the application server, and identify the second user according to the stored user identification code The information is verified for the second authentication response; after the verification is passed, the second user identification information is associated with the address information of the second terminal, and a registration success response is sent to the application server.
至此,第二终端就替换了第一终端,完成成了注册流程。So far, the second terminal has replaced the first terminal, completing the registration process.
基于同一发明构思,本发明实施例提供一种呼叫方法,该方法应用于应用服务器,应用服务器设置于第一网络域设备与第二网络域设备之间。Based on the same inventive concept, an embodiment of the present invention provides a calling method, the method is applied to an application server, and the application server is set between a first network domain device and a second network domain device.
在本实施例中,第一网络域设备与上述一个或者多个实施例中的第一网络域设备一致,第二网络域设备与上述一个或者多个实施例中的第二网络域设备一致。与第一网络域设备连接的第一终端能够使用用户识别码在第一网络域上注册,与第二网络域设备连接的第二终端能够使用用户识别码在第二网络域上注册。In this embodiment, the first network domain device is consistent with the first network domain device in the foregoing one or more embodiments, and the second network domain device is consistent with the second network domain device in the foregoing one or more embodiments. The first terminal connected to the device in the first network domain can use the user identification code to register in the first network domain, and the second terminal connected to the device in the second network domain can use the user identification code to register in the second network domain.
首先介绍开通软终端共号业务的用户识别码作为主叫用户识别码的主叫流程。图5为本发明实施例中的主叫方法的流程示意图,参见图5所示,该方法包括:Firstly, it introduces the calling procedure in which the subscriber identification code of the soft terminal shared number service is used as the calling subscriber identification code. Fig. 5 is a schematic flow chart of the calling method in the embodiment of the present invention, as shown in Fig. 5, the method includes:
S501:通过第一网络域设备接收来自第一终端的第一呼叫请求,第一呼叫请求中携带有被叫用户识别码;S501: Receive a first call request from a first terminal through a first network domain device, where the first call request carries a called user identification code;
具体来说,当开通软终端共号业务的用户识别码作为主叫用户识别码时,第一终端发送第一呼叫请求,该请求中可以包括被叫用户识别码,第一网络域设备接收第一呼叫请求,并发送给应用服务器,应用服务器接收该请求。Specifically, when the user identification code of the soft terminal shared number service is used as the calling user identification code, the first terminal sends a first call request, which may include the called user identification code, and the first network domain device receives the first call request. A call request is sent to the application server, and the application server receives the request.
S502:根据被叫用户识别码,确定被叫用户识别码对应的被叫终端已注册的网络域;S502: According to the called user identification code, determine the network domain where the called terminal corresponding to the called user identification code has been registered;
也就是说,确定被叫用户识别码对应的终端是注册到在第一网络域上还是第二网络域上。That is to say, it is determined whether the terminal corresponding to the called user identification code is registered on the first network domain or the second network domain.
在具体实施过程中,第一呼叫请求中还可以携带有开通软终端共号业务的用户识别码,也就是主叫用户识别码,那么,S502可以为:对第一呼叫请求中携带的用户识别码进行鉴权;鉴权通过后,根据被叫用户识别码,确定终端已注册的网络域。In the specific implementation process, the first call request can also carry the user identification code for opening the soft terminal shared number service, that is, the calling user identification code, then, S502 can be: the user identification code carried in the first call request After the authentication is passed, the network domain where the terminal is registered is determined according to the called user identification code.
具体来说,应用服务器接收到第一呼叫请求后,根据第一呼叫请求中携带的主叫用户识别码,先对该用户识别码进行鉴权,确定该号码是否开通软终端共号业务,并对主叫用户识别码对应的终端,即第一终端的用户的身份进行验证。在鉴权通过后,根据被叫用户识别码,确定被叫用户识别码对应的终端已注册的网络域。Specifically, after receiving the first call request, the application server first authenticates the user identification code according to the calling user identification code carried in the first call request, determines whether the number has opened the soft terminal shared number service, and The identity of the terminal corresponding to the calling user identification code, that is, the user of the first terminal is verified. After passing the authentication, according to the called user identification code, determine the registered network domain of the terminal corresponding to the called user identification code.
S503a:当被叫用户识别码对应的被叫终端已在第一网络域上注册时,向第一网络域设备发送第一呼叫请求,使第一网络域设备将第一呼叫请求发送给被叫终端。S503a: When the called terminal corresponding to the called user identification code has been registered in the first network domain, send the first call request to the first network domain device, so that the first network domain device sends the first call request to the called party terminal.
具体来说,通过S502确定被叫用户识别码对应的被叫终端注册在第一网络域时,应用服务器向第一网络域设备发送第一呼叫请求,使得第一网络域设备将第一呼叫请求转发给被叫终端。Specifically, when it is determined through S502 that the called terminal corresponding to the called user identification code is registered in the first network domain, the application server sends the first call request to the first network domain device, so that the first network domain device sends the first call request forwarded to the called terminal.
举例来说,假设开通叫软终端共号业务的用户识别码为主叫用户识别码,第一终端使用该主叫用户识别码在IMS域上注册,被叫用户识别码对应的被叫终端也在IMS域上注册。For example, assuming that the user identification code for enabling the soft terminal shared number service is the calling user identification code, the first terminal uses the calling user identification code to register on the IMS domain, and the called terminal corresponding to the called user identification code also Register on the IMS domain.
首先,IMS域上的软件客户端,也就是第一终端,发起第一呼叫请求,第一呼叫请求中携带有被叫用户识别码,SCSCF通过PCSCF接收第一呼叫请求,并根据iFC要求,将业务消息发送给应用服务器。First, the software client on the IMS domain, that is, the first terminal, initiates a first call request. The first call request carries the called user ID. The SSCCF receives the first call request through the PCSCF, and according to the requirements of iFC, sends The business message is sent to the application server.
接着,应用服务器接收有HSS发来的鉴权挑战,并根据存储的IMPI及Ki计算出一个响应数,并把该响应数发送给HSS,来对主叫用户识别码进行鉴权,当鉴权通过时,应用服务器重新发送第一呼叫请求给SCSCF。Next, the application server receives the authentication challenge sent by the HSS, calculates a response number based on the stored IMPI and Ki, and sends the response number to the HSS to authenticate the calling party ID. When passing, the application server resends the first call request to the SCSCF.
最后,SCSCF将第一呼叫请求转发至被叫用户识别码归属的网络域设备,也就是IMS域中被叫用户识别对应用户归属的查询呼叫会话控制功能(ICSCF,InterrogatingCallSessionControlFunction)。第一呼叫请求被ICSCF路由到被叫用户识别码对应的被叫终端。Finally, the SCSCF forwards the first call request to the network domain device to which the called user ID belongs, that is, the called user ID corresponds to the interrogating call session control function (ICSCF, InterrogatingCallSessionControlFunction) to which the user belongs in the IMS domain. The first call request is routed by the ICSCF to the called terminal corresponding to the called user identification code.
在另一实施例中,在S502之后,该方法可以包括:In another embodiment, after S502, the method may include:
S503b:当被叫用户识别码对应的被叫终端已在第二网络域上注册时,转换被叫用户识别码的类型,以更新第一呼叫请求;S503b: When the called terminal corresponding to the called user identification code has been registered on the second network domain, convert the type of the called user identification code to update the first call request;
S504b:向第一网络域设备发送更新后的第一呼叫请求,使第一网络域设备将更新后的第一呼叫请求发送给被叫终端。S504b: Send the updated first call request to the first network domain device, so that the first network domain device sends the updated first call request to the called terminal.
具体来说,通过S502确定被叫用户识别码对应的被叫终端注册在第二网络域时,应用服务器将被叫用户识别码转换成第二网络域设备能够识别的类型,并以此来更新第一呼叫请求,然后,将更新后的第一呼叫请求发送给第一网络域设备,使得第一网络域设备将更新后的第一呼叫请求转发给第二网络域设备,进而由第二网络域识别路由到被叫终端。Specifically, when it is determined through S502 that the called terminal corresponding to the called user identification code is registered in the second network domain, the application server converts the called user identification code into a type that can be recognized by the second network domain device, and updates the The first call request, and then, send the updated first call request to the first network domain device, so that the first network domain device forwards the updated first call request to the second network domain device, and then the second network domain device The domain identifies the route to the called terminal.
举例来说,假设开通叫软终端共号业务的用户识别码为主叫用户识别码,第一终端使用该主叫用户识别码在IMS域上注册,被叫用户识别码对应的终端在CS域上注册。For example, assuming that the user identification code for enabling the soft terminal shared number service is the calling user identification code, the first terminal uses the calling user identification code to register on the IMS domain, and the terminal corresponding to the called user identification code is in the CS domain Register on .
首先,IMS域上的软件客户端,也就是第一终端,发起第一呼叫请求,第一呼叫请求中携带有被叫用户识别码,SCSCF通过PCSCF接收第一呼叫请求,并根据iFC要求,将业务消息发送给应用服务器。First, the software client on the IMS domain, that is, the first terminal, initiates a first call request. The first call request carries the called user ID. The SSCCF receives the first call request through the PCSCF, and according to the requirements of iFC, sends The business message is sent to the application server.
接着,应用服务器接收由HSS发来的鉴权挑战,并根据存储的IMPI及Ki计算出一个响应数,并把该响应数发送给HSS,来对主叫用户识别码进行鉴权,当鉴权通过时,应用服务器转换第一呼叫请求中被叫用户识别码的类型,以更新第一呼叫请求,并重新发送给SCSCF。Next, the application server receives the authentication challenge sent by the HSS, calculates a response number based on the stored IMPI and Ki, and sends the response number to the HSS to authenticate the calling party ID. When passing, the application server converts the type of the called user identification code in the first call request to update the first call request, and resends to the SSCCF.
最后,SCSCF将第一呼叫请求转发至被叫用户识别码归属的网络域设备,也就是IMS域中被叫用户识别对应用户归属的ICSCF。第一呼叫请求被ICSCF过媒体网关控制功能(MGCF,MediaGatewayControlFunction)路由到CS域的MSC,然后再由MSC路由到被叫终端。Finally, the SCSCF forwards the first call request to the network domain device to which the called user ID belongs, that is, the ICSCF to which the called user ID corresponds to in the IMS domain. The first call request is routed by the ICSCF to the MSC in the CS domain through a media gateway control function (MGCF, MediaGatewayControlFunction), and then routed by the MSC to the called terminal.
下面介绍开通软终端共号业务的用户识别码作为被叫用户识别码的被叫流程。The following describes the calling process of using the user identification code of the soft terminal shared number service as the called user identification code.
图6为本发明实施例中的一种被叫方法的流程示意图。请参考图6所示,该方法包括:Fig. 6 is a schematic flowchart of a calling method in an embodiment of the present invention. Please refer to Figure 6, the method includes:
S601:通过第二网络域设备接收来自主叫终端的第二呼叫请求,其中,第二呼叫请求用于请求呼叫用户识别码对应的终端,主叫终端使用主叫识别码在第二网络域上注册;S601: Receive a second call request from the calling terminal through the second network domain device, where the second call request is used to request to call the terminal corresponding to the user identification code, and the calling terminal uses the calling party identification code on the second network domain register;
具体来说,当第二网络域中的主叫终端呼叫开通了软终端共号业务的用户识别码时,第二网络域设备会将第二呼叫请求经由第一网络域设备发送给应用服务器。Specifically, when the calling terminal in the second network domain calls the user identification code of the soft terminal shared number service, the second network domain device will send the second call request to the application server via the first network domain device.
S602:删除第二呼叫请求中主叫用户识别码的前缀码;S602: Delete the prefix code of the calling party identification code in the second call request;
也就是说,应用服务器将主叫用户识别码的前缀码删除。That is to say, the application server deletes the prefix code of the calling party identification code.
S603:确定用户识别码对应的终端在第一网络域上注册后,转换第二呼叫请求中被叫用户识别码的类型,以更新第二呼叫请求;S603: After determining that the terminal corresponding to the user identification code is registered on the first network domain, convert the type of the called user identification code in the second call request to update the second call request;
具体来说,应用服务器根据删除了前缀码的用户识别码,确定该用户识别码在第一网络域上注册,即确定被叫用户识别码对应的终端为第一终端时,应用服务器将用户识别码的类型转换为第一网络设备能够识别的类型,以此更新第二呼叫请求。Specifically, the application server determines that the user identification code is registered on the first network domain according to the user identification code with the prefix code deleted, that is, when it is determined that the terminal corresponding to the called user identification code is the first terminal, the application server identifies the user The code type is converted into a type recognizable by the first network device, so as to update the second call request.
S604a:向第一网络域设备发送更新后的第二呼叫请求,使第一网络域设备将更新后的第二呼叫请求发送给第一终端。S604a: Send the updated second call request to the first network domain device, so that the first network domain device sends the updated second call request to the first terminal.
在实际应用中,如果确定用户识别码未在第一网络域上注册,也就是用户识别码在第一网络域和第二网络域上都没有注册时,在S603之后,该方法还可以包括:In practical applications, if it is determined that the user identification code is not registered on the first network domain, that is, when the user identification code is not registered on both the first network domain and the second network domain, after S603, the method may further include:
S604b:在确定用户识别码对应的终端未在第一网络域上注册后,向第二网络域设备发送呼叫失败响应。S604b: After determining that the terminal corresponding to the user identification code is not registered in the first network domain, send a call failure response to the device in the second network domain.
具体来说,应用服务器根据删除了前缀码的用户识别码,确定该用户识别码未在第一网络域上注册,即确定用户识别码既没有在第一网络域注册也没有在第二网络域注册时,应用服务器向第二网络域设备发送呼叫失败响应,以告知呼叫失败。Specifically, the application server determines that the user identification code is not registered in the first network domain based on the user identification code with the prefix code deleted, that is, determines that the user identification code is neither registered in the first network domain nor in the second network domain. During registration, the application server sends a call failure response to the device in the second network domain to inform the call failure.
举例来说,主叫手机用户在CS域发起呼叫,被叫用户识别码为开通了软终端共号业务的E.164格式的手机号码。首先,CS域的MSC根据主叫手机号码对应的终端发送的第二呼叫请求,查询到被叫手机号码在CS域的注册状态为未注册态,并获得被叫手机号码的签约信息,MSC触发业务消息到SCP,SCP在被叫手机号码前增加特定前缀码,在主叫手机号码前也增加防止回呼的前缀码,然后,将添加后的被叫手机号码及主叫手机号码路由至MGCF。For example, when the calling mobile phone user initiates a call in the CS domain, the called user identification code is a mobile phone number in E.164 format that has enabled the soft terminal shared number service. First, according to the second call request sent by the terminal corresponding to the calling mobile phone number, the MSC in the CS domain inquires that the registration status of the called mobile phone number in the CS domain is unregistered, and obtains the subscription information of the called mobile phone number, and the MSC triggers The service message is sent to the SCP, and the SCP adds a specific prefix code before the called mobile phone number, and also adds a prefix code to prevent callback before the calling mobile phone number, and then routes the added called mobile phone number and calling mobile phone number to MGCF .
然后,MGCF收到后去掉被叫手机号码前的特定前缀码,将呼叫请求转发至被叫手机号码归属的SCSCF,该SCSCF根据iFC要求,将呼叫请求转发到应用服务器,应用服务器发现主叫手机号码前有前缀码,删除主叫前缀码,并判断被叫手机号码已在IMS域注册成功,将E.164格式的手机号码转换为SCSCF能够识别的格式,即被叫手机号码对应的软件客户端注册的通讯地址,并以此更新第二呼叫请求,然后向SCSCF发送更新后的第二呼叫请求,经过PCSCF转发到该软件客户端,建立呼叫;如果应用服务器判断被叫手机号码在IMS域也未注册,那么,应用服务器经由SCSCF和MGCF回复注册失败响应给主叫用户的MSC,表明用户未注册。After receiving it, the MGCF removes the specific prefix code before the called mobile phone number, and forwards the call request to the SSCCF to which the called mobile phone number belongs. The SSCCF forwards the call request to the application server according to the requirements of iFC, and the application server finds the calling mobile phone There is a prefix code before the number, delete the calling prefix code, and judge that the called mobile phone number has been successfully registered in the IMS domain, and convert the mobile phone number in E.164 format to a format that can be recognized by SCSCF, that is, the software client corresponding to the called mobile phone number The communication address registered by the terminal, and update the second call request, and then send the updated second call request to the SCSCF, and forward it to the software client through the PCSCF to establish a call; if the application server judges that the called mobile phone number is in the IMS domain If the user is not registered, then the application server sends a registration failure response to the MSC of the calling user via SCSCF and MGCF, indicating that the user is not registered.
图7为本发明实施例中的另一种被叫方法的流程示意图。请参考图7所示,该方法包括:Fig. 7 is a schematic flowchart of another calling method in the embodiment of the present invention. Please refer to Figure 7, the method includes:
S701:通过第一网络域设备接收来自主叫终端的第三呼叫请求,第三呼叫请求用于请求呼叫用户识别码对应的终端;S701: Receive a third call request from the calling terminal through the first network domain device, where the third call request is used to request to call the terminal corresponding to the user identification code;
举例来说,由IMS域用户呼叫开通了软终端共号业务的用户识别码,即手机号码时,发送的第三呼叫请求中的被叫手机号码为软件客户端的电话资源标识符(TelURI,TelephoneUniformResourceIdentifier),主叫手机号码归属的SCSCF经过查询后将第三呼叫请求中的TelURI转变成会话发起协议(SIP,SessionInitiationProtocol)URI格式,并将第三呼叫请求发送给被叫手机号码归属的ICSCF,ICSCF找到被叫手机号码归属的SCSCF,该SCSCF根据IFC要求将第三呼叫请求发送给应用服务器,应用服务器接收第三呼叫请求。For example, when the user in the IMS domain calls the user identification code that has opened the soft terminal shared number service, that is, the mobile phone number, the called mobile phone number in the third call request sent is the telephone resource identifier (TelURI, TelephoneUniformResourceIdentifier) of the software client. ), the SSCCF to which the calling mobile phone number belongs converts the TelURI in the third call request into a session initiation protocol (SIP, SessionInitiationProtocol) URI format after querying, and sends the third call request to the ICSCF to which the called mobile phone number belongs, ICSCF The SSCCF to which the called mobile phone number belongs is found, and the SSCCF sends the third call request to the application server according to the requirements of the IFC, and the application server receives the third call request.
S702:确定用户识别码对应的终端未在第一网络域上注册后,转换第三呼叫请求中被叫用户识别码的类型,并在转换后的用户识别码前添加前缀码,以更新第三呼叫请求;S702: After determining that the terminal corresponding to the user identification code is not registered on the first network domain, convert the type of the called user identification code in the third call request, and add a prefix code before the converted user identification code to update the third call request;
例如,应用服务器根据第三呼叫请求,确定被叫手机号码未在IMS域上注册时,将被叫用户识别码由SIPURI格式转换为E.164格式,并在E.164格式的被叫用户识别码前添加前缀码,以此来更新第三呼叫请求。For example, when the application server determines that the called mobile phone number is not registered on the IMS domain according to the third call request, it converts the called user identification code from the SIPURI format to the E.164 format, and converts the called user identification code in the E.164 format Add a prefix code before the code to update the third call request.
S703a:将更新后的第三呼叫请求发送给第一网络域设备,使第一网络域设备将更新后的第三呼叫请求通过第二网络域设备发送给第二终端。S703a: Send the updated third call request to the first network domain device, so that the first network domain device sends the updated third call request to the second terminal through the second network domain device.
例如,应用服务器将更新后的第三呼叫请求发送给SCSCF发送第三呼叫请求,使得SCSCF将更新后的第三呼叫请求路由至MGCF,MGCF在主叫手机号码前加防止回呼的前缀码。MGCF收到更新后的第三呼叫请求后,去掉被叫手机号码的前缀码,将该呼叫请求路由至MSC。MSC转发到SCP,SCP发现主叫手机号码前有前缀码,删除主叫手机号码的前缀码,接下来,MSC确定被叫用户识别码在CS域已注册,则下发连接消息,建立呼叫。For example, the application server sends the updated third call request to the SCSCF to send the third call request, so that the SCSCF routes the updated third call request to the MGCF, and the MGCF adds a prefix code to prevent calling back before the calling mobile phone number. After receiving the updated third call request, the MGCF removes the prefix code of the called mobile phone number, and routes the call request to the MSC. The MSC forwards the call to the SCP, and the SCP finds that there is a prefix code before the calling mobile phone number, and deletes the prefix code of the calling mobile phone number. Next, the MSC determines that the called user ID has been registered in the CS domain, and sends a connection message to establish a call.
在实际应用中,被叫用户识别码可能在CS域没有注册,那么,该方法还包括:In practical applications, the called user identification code may not be registered in the CS domain, so the method also includes:
S703b:接收来自第二网络域设备的呼叫失败响应,并将呼叫失败响应转发给第一网络域设备。S703b: Receive a call failure response from the second network domain device, and forward the call failure response to the first network domain device.
例如,MSC在确定被叫用户识别码在CS域未注册时,向应用服务器返回呼叫失败响应。For example, when the MSC determines that the called user ID is not registered in the CS domain, it returns a call failure response to the application server.
基于同一发明构思,本发明实施例提供一种应用服务器,设置于第一网络域设备与第二网络域设备之间;图8为本发明实施例中的一种应用服务器的结构示意图,参考图8所示,应用服务器包括:第一收发机81和第一处理器82;其中,第一收发机81,用于在第一终端使用用户识别码在第一网络域上注册后,收到来自第二网络域的第二终端的第一注册请求时,向第一网络域设备发送注销请求,第一注册请求中携带有用户识别码;确认注销成功后,向第二网络域设备发送第二注册请求,注册请求用于请求第二终端使用用户识别码在第二网络域上注册。Based on the same inventive concept, an embodiment of the present invention provides an application server, which is set between the first network domain device and the second network domain device; FIG. 8 is a schematic structural diagram of an application server in the embodiment of the present invention, refer to FIG. As shown in 8, the application server includes: a first transceiver 81 and a first processor 82; wherein, the first transceiver 81 is configured to receive a message from When the first registration request of the second terminal in the second network domain is requested, a logout request is sent to the first network domain device, and the first registration request carries a user identification code; after confirming that the logout is successful, a second logout request is sent to the second network domain device A registration request, where the registration request is used to request the second terminal to register on the second network domain by using the user identification code.
进一步地,第一收发机81,用于在向第二网络域设备发送第二注册请求之后,接收来自第二网络域设备的第二鉴权挑战;还用于发送第二鉴权响应给第二网络域设备,第二鉴权响应用于第二网络域设备对用户识别码进行鉴权;还用于当用户识别码鉴权通过时,接收来自第二网络域设备的注册成功响应,确定第二终端在第二网络域上注册成功;第一处理器82,还用于基于用户信息,生成第二鉴权响应。Further, the first transceiver 81 is configured to receive a second authentication challenge from the second network domain device after sending the second registration request to the second network domain device; and to send a second authentication response to the second network domain device. Two network domain devices, the second authentication response is used for the second network domain device to authenticate the user identification code; it is also used to receive a registration success response from the second network domain device when the user identification code authentication passes, and determine The second terminal successfully registers on the second network domain; the first processor 82 is further configured to generate a second authentication response based on the user information.
进一步地,第一收发机81,还用于在向第二网络域设备发送第二注册请求之后,接收来自第二网络域设备的注册成功响应;第一处理器82,用于确定第二终端在第二网络域上注册成功。Further, the first transceiver 81 is also configured to receive a registration success response from the second network domain device after sending the second registration request to the second network domain device; the first processor 82 is configured to determine that the second terminal Successful registration on the second network domain.
进一步地,应用服务器还包括:存储器,用于在第一终端使用用户识别码在第一网络域上注册之前,存储用户识别码对应的用户信息;其中,用户信息用于第一终端使用用户识别码在第一网络域上注册;和/或,用于第二终端使用用户识别码在第二网络域上注册。Further, the application server further includes: a memory, used for storing user information corresponding to the user identification code before the first terminal uses the user identification code to register on the first network domain; wherein, the user information is used for the first terminal to use the user identification code The code is used to register on the first network domain; and/or, the second terminal uses the user identification code to register on the second network domain.
基于同一发明构思,本发明实施例提供一种应用服务器,设置于第一网络域设备与第二网络域设备之间;与第一网络域设备连接的第一终端能够使用用户识别码在第一网络域上注册,与第二网络域设备连接的第二终端能够使用用户识别码在第二网络域上注册;第一网络域设备与上述一个或者多个实施例中的第一网络域设备一致,第二网络域设备与上述一个或者多个实施例中的第二网络域设备一致。图9为本发明实施例中的另一种应用服务器的结构示意图,参考图9所示,应用服务器包括:第二收发机91和第二处理器92第二收发机91,用于通过第一网络域设备接收来自第一终端的第一呼叫请求,第一呼叫请求中携带有被叫用户识别码;还用于当被叫用户识别码对应的被叫终端已在第一网络域上注册时,向第一网络域设备发送第一呼叫请求,使第一网络域设备将第一呼叫请求发送给被叫终端;第二处理器92,用于根据被叫用户识别码,确定被叫终端已注册的网络域。Based on the same inventive concept, an embodiment of the present invention provides an application server, which is set between the first network domain device and the second network domain device; the first terminal connected to the first network domain device can use the user identification code to Registration on the network domain, the second terminal connected to the second network domain device can use the user identification code to register on the second network domain; the first network domain device is consistent with the first network domain device in one or more embodiments above , the second network domain device is consistent with the second network domain device in the foregoing one or more embodiments. FIG. 9 is a schematic structural diagram of another application server in the embodiment of the present invention. With reference to FIG. 9, the application server includes: a second transceiver 91 and a second processor 92. The second transceiver 91 is used to The network domain device receives the first call request from the first terminal, and the first call request carries the called user identification code; it is also used when the called terminal corresponding to the called user identification code has registered on the first network domain , to send the first call request to the first network domain device, so that the first network domain device sends the first call request to the called terminal; the second processor 92 is configured to determine, according to the called user identification code, that the called terminal has Registered web domain.
进一步地,第二处理器92,用于当被叫终端已在第二网络域上注册时,转换被叫用户识别码的类型,更新第一呼叫请求;第二收发机91,用于向第一网络域设备发送更新后的第一呼叫请求,使第一网络域设备将更新后的第一呼叫请求发送给被叫终端。Further, the second processor 92 is configured to convert the type of the called user identification code and update the first call request when the called terminal has registered on the second network domain; the second transceiver 91 is configured to send the first call request A network domain device sends the updated first call request, so that the first network domain device sends the updated first call request to the called terminal.
进一步地,第二处理器92,用于对第一呼叫请求中携带的用户识别码进行鉴权;鉴权通过后,根据被叫用户识别码,确定被叫终端已注册的网络域。Further, the second processor 92 is configured to authenticate the user identification code carried in the first call request; after the authentication is passed, determine the registered network domain of the called terminal according to the called user identification code.
进一步地,第二收发机91,用于通过第二网络域设备接收来自主叫终端的第二呼叫请求,其中,第二呼叫请求用于请求呼叫用户识别码对应的终端,主叫终端使用主叫识别码在第二网络域上注册;还用于向第一网络域设备发送更新后的第二呼叫请求,使第一网络域设备将更新后的第二呼叫请求发送给第一终端;第二处理器92,用于删除第二呼叫请求中主叫用户识别码的前缀码;确定用户识别码对应的终端在第一网络域上注册后,转换第二呼叫请求中用户识别码的类型,以更新第二呼叫请求。Further, the second transceiver 91 is configured to receive a second call request from the calling terminal through the second network domain device, wherein the second call request is used to request to call the terminal corresponding to the user identification code, and the calling terminal uses the calling terminal The call identification code is registered on the second network domain; it is also used to send an updated second call request to the first network domain device, so that the first network domain device sends the updated second call request to the first terminal; the second The second processor 92 is configured to delete the prefix code of the calling party identification code in the second call request; after determining that the terminal corresponding to the user identification code is registered on the first network domain, convert the type of the user identification code in the second call request, to update the second call request.
进一步地,第二收发机91,还用于在第一处理器删除第二呼叫请求中主叫用户识别码的前缀码之后,确定用户识别码对应的终端未在第一网络域上注册时,向第二网络域设备发送呼叫失败响应。Further, the second transceiver 91 is also configured to determine that the terminal corresponding to the user identification code is not registered on the first network domain after the first processor deletes the prefix code of the calling party identification code in the second call request, A call failure response is sent to the second network domain device.
进一步地,第二收发机91,还用于通过第一网络域设备接收来自主叫终端的第三呼叫请求,第三呼叫请求用于请求呼叫被叫用户识别码对应的终端;还用于将更新后的第三呼叫请求发送给第一网络域设备,使第一网络域设备将更新后的第三呼叫请求通过第二网络域设备发送给第二终端;第二处理器92,还用于确定用户识别码对应的终端未在第一网络域上注册后,转换第三呼叫请求中用户识别码的类型,并在转换后的用户识别码前添加前缀码,以更新第三呼叫请求。Further, the second transceiver 91 is also used to receive a third call request from the calling terminal through the first network domain device, and the third call request is used to request to call the terminal corresponding to the called user identification code; The updated third call request is sent to the first network domain device, so that the first network domain device sends the updated third call request to the second terminal through the second network domain device; the second processor 92 is also used to After determining that the terminal corresponding to the user identification code is not registered on the first network domain, convert the type of the user identification code in the third call request, and add a prefix code before the converted user identification code to update the third call request.
进一步地,第二收发机91,还用于在将更新后的第三呼叫请求发送给第一网络域设备之后,接收来自第二网络域设备的呼叫失败响应,并将呼叫失败响应转发给第一网络域设备。Further, the second transceiver 91 is also configured to receive the call failure response from the second network domain device after sending the updated third call request to the first network domain device, and forward the call failure response to the first network domain device. A network domain device.
需要说明的是,上述图8中所述的应用服务器的功能与图9中所述的应用服务器的功能可以由同一应用服务器实现,也可以由单独的两个应用服务器实现,本发明不做具体限定。It should be noted that the functions of the application server described in FIG. 8 and the functions of the application server described in FIG. 9 may be implemented by the same application server, or by two separate application servers, which are not described in detail in the present invention. limited.
基于同一发明构思,本发明实施例提供一种网络域设备,与上述一个或者多个实施例中所述的第一网络域设备一致,与应用服务器以及第一终端连接;图10为本发明实施例中的一种网络域设备的结构示意图,参考图10所示,该网络域设备包括:第二收发机101和第二处理器102;其中,第二收发机101,用于在第一终端使用用户识别码在第一网络域上注册后,接收应用服务器发送的注销请求;注销成功后,发送成功注销响应给应用服务器;第二处理器102,用于在第一网络域上注销第一终端。Based on the same inventive concept, an embodiment of the present invention provides a network domain device, which is consistent with the first network domain device described in one or more of the above embodiments, and is connected to the application server and the first terminal; FIG. 10 is an implementation of the present invention A schematic structural diagram of a network domain device in an example, as shown in FIG. 10 , the network domain device includes: a second transceiver 101 and a second processor 102; After using the user identification code to register on the first network domain, receive the logout request sent by the application server; after the logout is successful, send a successful logout response to the application server; the second processor 102 is used to log out the first network domain on the first network domain terminal.
基于同一发明构思,本发明实施例提供一种网络域设备,与上述一个或者多个实施例中所述的第二网络域设备一致,与应用服务器以及第二终端连接;图11为本发明实施例中的另一种网络域设备的结构示意图,参考图11所示,Based on the same inventive concept, an embodiment of the present invention provides a network domain device, which is consistent with the second network domain device described in one or more of the above embodiments, and is connected to an application server and a second terminal; FIG. 11 shows the implementation of the present invention A schematic structural diagram of another network domain device in the example, as shown in FIG. 11 ,
该网络域设备包括:第三收发机111和第三处理器112;其中,第三收发机111,用于在接收第二网络域中的第二终端发送的注册请求,注册请求中包括用户识别码;将业务消息发送给应用服务器,使第一网络域设备注销第一终端;接收应用服务器发送的注册请求;第三处理器112,用于对用户识别码的业务进行查询;对第二终端使用用户识别码进行注册。The network domain device includes: a third transceiver 111 and a third processor 112; wherein, the third transceiver 111 is configured to receive a registration request sent by a second terminal in the second network domain, and the registration request includes a user identification code; send the service message to the application server, so that the first network domain device cancels the first terminal; receive the registration request sent by the application server; the third processor 112 is used to query the service of the user identification code; Register with your user ID.
上述多个网络域设备的功能可以集成在一个物理实体中,也可以分别设置在不同的物理实体中,本发明不做具体限定。The functions of the above multiple network domain devices may be integrated in one physical entity, or may be respectively set in different physical entities, which is not specifically limited in the present invention.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present invention may be provided as methods, systems, or computer program products. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) having computer-usable program code embodied therein.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410347865.5ACN105307144B (en) | 2014-07-21 | 2014-07-21 | A kind of register method, method of calling, application server and network domain arrangement |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410347865.5ACN105307144B (en) | 2014-07-21 | 2014-07-21 | A kind of register method, method of calling, application server and network domain arrangement |
| Publication Number | Publication Date |
|---|---|
| CN105307144Atrue CN105307144A (en) | 2016-02-03 |
| CN105307144B CN105307144B (en) | 2019-08-13 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201410347865.5AActiveCN105307144B (en) | 2014-07-21 | 2014-07-21 | A kind of register method, method of calling, application server and network domain arrangement |
| Country | Link |
|---|---|
| CN (1) | CN105307144B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106255099A (en)* | 2016-07-26 | 2016-12-21 | 努比亚技术有限公司 | A kind of communication management method and mobile terminal |
| CN107547489A (en)* | 2016-06-29 | 2018-01-05 | 北京信威通信技术股份有限公司 | A kind of method, apparatus and system re-registered |
| CN107819871A (en)* | 2017-11-22 | 2018-03-20 | 北京小米移动软件有限公司 | Application state determines method and device |
| CN108307445A (en)* | 2016-08-19 | 2018-07-20 | 索尼公司 | System and method for sharing cellular network for call routing |
| CN109474926A (en)* | 2019-01-04 | 2019-03-15 | 中国联合网络通信集团有限公司 | Blockchain-based number portability method and device, and storage medium |
| CN111770122A (en)* | 2019-04-02 | 2020-10-13 | 中国移动通信有限公司研究院 | Service communication agent SCP registration method, service invocation method and network device |
| CN112423375A (en)* | 2020-11-18 | 2021-02-26 | Oppo广东移动通信有限公司 | Network access method, terminal equipment and storage medium |
| CN115987950A (en)* | 2022-12-16 | 2023-04-18 | 展讯半导体(成都)有限公司 | Communication method, device and equipment |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101252770A (en)* | 2007-12-27 | 2008-08-27 | 华为技术有限公司 | IMS terminal access authentication method, communication system and related equipment |
| US20100099389A1 (en)* | 2008-10-22 | 2010-04-22 | Telefonaktiebolaget Lm Ericsson (Publ) | Methods, Presence Server, User Equipment (UE), and Presence Message for User Identity Update |
| CN101820674A (en)* | 2010-05-10 | 2010-09-01 | 中兴通讯股份有限公司 | Method and system for logging off users |
| CN102075501A (en)* | 2009-11-25 | 2011-05-25 | 中国移动通信集团公司 | Method for using Internet protocol (IP) multimedia subsystem (IMS), equipment and system |
| CN103037501A (en)* | 2011-09-30 | 2013-04-10 | 中国移动通信集团河南有限公司 | Registration method, device and system of internet protocol multimedia subsystem terminal |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101252770A (en)* | 2007-12-27 | 2008-08-27 | 华为技术有限公司 | IMS terminal access authentication method, communication system and related equipment |
| US20100099389A1 (en)* | 2008-10-22 | 2010-04-22 | Telefonaktiebolaget Lm Ericsson (Publ) | Methods, Presence Server, User Equipment (UE), and Presence Message for User Identity Update |
| CN102075501A (en)* | 2009-11-25 | 2011-05-25 | 中国移动通信集团公司 | Method for using Internet protocol (IP) multimedia subsystem (IMS), equipment and system |
| CN101820674A (en)* | 2010-05-10 | 2010-09-01 | 中兴通讯股份有限公司 | Method and system for logging off users |
| CN103037501A (en)* | 2011-09-30 | 2013-04-10 | 中国移动通信集团河南有限公司 | Registration method, device and system of internet protocol multimedia subsystem terminal |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107547489A (en)* | 2016-06-29 | 2018-01-05 | 北京信威通信技术股份有限公司 | A kind of method, apparatus and system re-registered |
| CN106255099A (en)* | 2016-07-26 | 2016-12-21 | 努比亚技术有限公司 | A kind of communication management method and mobile terminal |
| CN108307445A (en)* | 2016-08-19 | 2018-07-20 | 索尼公司 | System and method for sharing cellular network for call routing |
| CN107819871A (en)* | 2017-11-22 | 2018-03-20 | 北京小米移动软件有限公司 | Application state determines method and device |
| CN109474926A (en)* | 2019-01-04 | 2019-03-15 | 中国联合网络通信集团有限公司 | Blockchain-based number portability method and device, and storage medium |
| CN109474926B (en)* | 2019-01-04 | 2021-09-21 | 中国联合网络通信集团有限公司 | Block chain-based number portability method and device and storage medium |
| CN111770122A (en)* | 2019-04-02 | 2020-10-13 | 中国移动通信有限公司研究院 | Service communication agent SCP registration method, service invocation method and network device |
| CN111770122B (en)* | 2019-04-02 | 2023-09-08 | 中国移动通信有限公司研究院 | Service communication proxy SCP registration method, service calling method and network equipment |
| CN112423375A (en)* | 2020-11-18 | 2021-02-26 | Oppo广东移动通信有限公司 | Network access method, terminal equipment and storage medium |
| CN112423375B (en)* | 2020-11-18 | 2024-04-05 | Oppo广东移动通信有限公司 | A network access method, terminal device and storage medium |
| CN115987950A (en)* | 2022-12-16 | 2023-04-18 | 展讯半导体(成都)有限公司 | Communication method, device and equipment |
| Publication number | Publication date |
|---|---|
| CN105307144B (en) | 2019-08-13 |
| Publication | Publication Date | Title |
|---|---|---|
| CN105307144B (en) | A kind of register method, method of calling, application server and network domain arrangement | |
| CN101523858B (en) | Method for routing of multimedia communication-related signaling in a communication system | |
| US7574735B2 (en) | Method and network element for providing secure access to a packet data network | |
| JP4938674B2 (en) | Method and apparatus for accessing an IP multimedia subsystem | |
| CN101151869B (en) | Internet protocol multimedia subsystem authorization method | |
| CN100379315C (en) | Method for authenticating a user terminal | |
| CN102474523B (en) | Method and apparatus for initiating pre-configuration of subscriber data in an HSS of an IP Multimedia Subsystem network | |
| JP6330916B2 (en) | System and method for webRTC | |
| US8036659B2 (en) | Method for requesting an unregistered UE to perform registration in the IMS | |
| WO2017116896A1 (en) | Method and apparatus for binding of a user-based public identity to a shared device in an internet protocol multimedia subsystem (ims)-based communication system | |
| CN102150412A (en) | Method and apparatus for instance identifier based on unique device identifier | |
| CN104202786B (en) | A kind of method and device for calling routing | |
| KR20130024953A (en) | Transmitting authentication information | |
| CN102244845A (en) | Method for accessing storage server of IM (Instant Message) service system and IM (Instant Message) service system | |
| US20110173687A1 (en) | Methods and Arrangements for an Internet Multimedia Subsystem (IMS) | |
| CN114667751A (en) | A method for supporting authentication of user equipment | |
| CN101127769B (en) | User registration method, system, terminal and server based on session initiation protocol | |
| WO2009024076A1 (en) | Method for configuring service and entity for storing service configuration | |
| CN104283681A (en) | A method, device and system for verifying user's legitimacy | |
| CN101800945A (en) | Method and device for distinguishing user equipment sharing identical public user identifier | |
| CN101026870A (en) | Method and system for realizing called service | |
| CN100403692C (en) | Method for processing registration initial filtering rules in IMS network | |
| JP4627506B2 (en) | Proxy connection method, proxy server, and program for connecting HTTP compatible terminal to SIP compatible server | |
| CN101155336B (en) | Method and system for implementing message system user roaming | |
| CN104243422A (en) | Login implement method for user terminal to have access to IMS network and IMS |
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |