呼叫转移关联方法 技术领域 本发明涉及移动通信领域内呼叫转移的方法, 并且更特别地, 涉及一种 呼叫转移关联方法, 用于双模 /多模终端实现呼叫转移关联。 背景技术 随着第三代移动通信技术的发展, TD-SCDMA. CDMA ( Code Division Multiple Access, 码分多址接入)、 WCDMA (无线 CDMA )等第三代移动技 术逐步进入了实用阶段。 然而,由于第三代移动技术建网之初不可避免的出现网络覆盖等方面的 问题, 因此在第三代通信终端上有支持第二代移动通信技术的需要。 同时, 随着无线局域网等技术的发展, 需要终端同时支持两种或多种模式的通信技 术。 双模和多模终端最近已经被许多设备商生产, 也为一些运营商所选用。 呼叫转移功能可以将呼叫某一终端的来电转移到指定的移动终端或者 固定网络通信设备上。 移动转移功能的实现为移动终端用户不方便利用移动 终端接听来电或无法接听来电的情形提供了一种可行的处理方法,并且目前, 移动网络的呼叫转移技术的使用已经非常普遍和成熟。 目前的呼叫转移功能主要有四类: 无条件的呼叫转移, 忙时呼叫转移, 无法到达时呼叫转移, 无应答时呼叫转移; 这四种呼叫转移功能满足了终端 用户不同的需求。 终端针对呼叫转移的操作主要有: 注册、 激活、 去激活、 删除、 和查询五种, 这五种操作提供了用户 4爹改和查询用户呼叫转移功能的 能力。 随着多模和双模终端的逐渐使用和普及,对呼叫转移功能提出了一些新 的要求。 例如, 在双模终端用户在某一模式下激活了呼叫转移功能, 当用户 拨打该终端另一模式下的用户时也可以启动呼叫转移功能。 但是目前的不同 模式下用户呼叫转移间的关联的实现^ &于不同用户(网络)的 HLR ( Home Location Register, 归属位置寄存器)互通来实现的。 这样不仅需要修改网络 侧的接口协议, 还造成互通用户的呼叫转移设置完全一致, 不能做到在互通 的条件下仍可以保持它们的设置可以相互独立。 终端用户不能够针对不同的
用户设置不同的呼叫转移信息。 因此, 需要一种能够实现多模终端中不同模式下的用户 (或相同模式下 的不同用户) 呼叫转移互相关联但又可以保持不同用户呼叫转移设置相互独 立的技术方案。 发明内容 考虑到上述问题而做出本发明, 为此, 本发明的主要目的在于提供一种 呼叫转移关联方法, 用于实现双模 /多模终端的呼叫转移关联。 根据本发明的实施例, 提供了一种呼叫转移关联方法。 首先需要说明的是,在本发明中所提及的用户是指在移动网络中注册的 信息, 与一个移动号码对应, 由一个用户标识来识别, 而不同于终端的使用 者。 一个物理的人使用的终端可以同时拥有多个不同的用户标识。 而终端^: 用者则是指使用移动终端的物理的人。 才艮据本发明的呼叫转移关联方法包括以下步骤: 第一步骤, 终端接收到 终端使用者输入的针对待机用户改变呼叫转移状态的命令; 第二步骤, 终端 向待机用户所属的归属位置寄存器发送呼叫转移功能消息, 以改变呼叫转移 状态; 第三步骤, 终端检查终端中其他用户的信息; 以及第四步骤, 在存在 其他用户且所述呼叫转移功能状态符合呼叫转移关联策略要求时, 终端向所 述其他用户所属的归属位置寄存器发送所述呼叫转移功能消息, 以改变呼叫 转移状态。 在第一步骤中, 改变呼叫转移状态的命令包括: 注册命令、 激活命令、 去激活命令、擦除命令 .,在第二步骤中,终端发送的呼叫转移功能消息包括: 呼叫转移注册消息、 呼叫转移激活消息、 呼叫转移去激活消息、 呼叫转移撐 除消息。 呼叫关联策略一:第三步骤和第四步骤的操作为仅对第一步骤为启动呼 叫转移功能操作时进行关联, 并要求仅在其他用户的当前状态不为激活态时 进行呼叫转移关联操作。 下面对在呼叫关联策略一下进行呼叫转移关联的方 法进行详细介绍。
针对策略一的呼叫转移关联方法, 当需要启动呼叫转移功能时: 在第一 步骤中, 终端接收到终端使用者输入的针对待机用户启动呼叫转移功能的命 令; 在第二步骤中, 终端向待机用户所属的归属位置寄存器发送呼叫转移功 能注册消息, 以启动呼叫转移功能; 在第三步骤中, 终端检查终端中其他用 户的信息; 在第四步骤中, 在存在其他用户且同一呼叫转移功能未启动的情 况下, 向其他用户所属的归属位置寄存器发送呼叫转移功能消息, 以启动呼 叫转移状态。 因此,为了针对其他同时待机的用户实现呼叫转移关联,进行如下操作: 在第一步骤中,终端接收到终端使用者输入的针对待机用户启动某种呼 叫转移功能的命令; 在第二步骤中, 终端向待机用户所属的归属位置寄存器 发送呼叫转移注册消息, 以启动该呼叫转移功能; 在第三步骤中, 终端查询 其中的其他用户信息, 以判断是否存在处于待机状态的其他用户; 之后, 进 行到以下步骤: 步骤 A: 分别利用待机用户自己的网络查询其他各个待机用 户的同种呼叫转移功能的当前状态; 以及在步骤 A中判断该呼叫转移功能的 状态为未激活状态的情况下, 在第四步骤中, 按照在第二步骤中的呼叫转移 注册消息来设置待机用户的呼叫转移注册消息, 并发送该注册消息到这些其 他用户的归属位置寄存器, 以启动呼叫转移功能。 当需要在自动切换到未待机用户的网络的情况下实现呼叫转移关联时, 进行如下操作: 在第一步骤中 ,终端接收到终端使用者输入的针对待机用户启动某种呼 叫转移功能的命令; 在第二步骤中, 终端向待机用户所属的归属位置寄存器 发送呼叫转移注册消息, 以启动呼叫转移功能; 在第三步骤中, 终端查询终 端中其他用户的信息, 以判断是否存在其他用户; 之后, 进行到以下步骤, 步骤 A: 在存在其他用户的情况下, 分别按照预定顺序切换到其他用户对应 的网络, 切换其他用户的待机状态; 以及步骤 B: 分别利用其他用户自己的 网络查询各个其他用户的同一呼叫转移功能的当前状态; 在步骤 B中判断该 呼叫转移功能的状态为未激活状态的情况下, 在第四步骤中, 按照在第二步 骤中的呼叫转移注册消息来设置其他用户的呼叫转移注册消息, 并发送该消 息到这些其他用户的归属位置寄存器, 以启动呼叫转移功能。
为了使得在启动呼叫转移功能后不影响当时待机网络的通话,终端可以 保存当前呼叫转移的信息, 以便在用户手动或因其他原因自动切换其他网络 用户时, 进行相应的呼叫转移处理。 这样, 在第二步骤之后, 查询当前是否 有呼叫转移信息保存, 在有呼叫转移信息保存的情况下, 删除之前保存的呼 叫转移信息,在没有呼叫转移信息保存的情况下,保存当前的呼叫转移信息, 而不再执行第三步骤和第四步骤。 另外, 当用户手动或因其他原因切换网络时, 执行以下操作以实现未待 机用户的呼叫转移关联: 步骤 A: 终端切换到新的未待机用户进行待机; 步骤 B: 查询终端是否 存储了呼叫转移设置信息, 并且在有呼叫转移设置信息的情况下, 进行到以 下步骤: 步骤 C: 利用当前新待机用户的网络查询新待机用户的与存储的呼 叫转移设置信息中相同的呼叫转移功能的状态; 步骤 D: 在步骤 C中查询的 呼叫转移功能的状态为未激活状态的情况下, 按照存储的呼叫转移设置信息 来设置当前用户的呼叫转移功能, 并发送呼叫转移注册消息到当前用户所属 的归属位置寄存器, 以启动呼叫转移功能。 另外, 针对策略一的上述各个处理, 当查询到呼叫转移状态为激活状态 时, 不执行任何操作, 结束相关处理。 同时当针对待机用户输入其他改变呼 叫转移状态命令时, 进对当前用户的呼叫转移功能进行操作, 对其他用户不 再进行处理。 通过上述技术方案, 本发明实现了以下有益效果: 在不修改网络侧的协 议和 HLR设置的情况下, 实现了双模 /多模终端中不同模式下的用户 (或相 同模式下的不同用户) 的呼叫转移相互关联又保持不同用户呼叫转移设置的 相互独立。 附图说明 此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部 分, 本发明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的 不当限定。 在附图中: 图 1是根据本发明实施例的呼叫转移关联方法的流程图; 图 2是根据本发明第一实施例的呼叫转移关联方法的流程图;
图 3是根据本发明第二实施例的呼叫转移关联方法的流程图; 图 4是根据本发明第三实施例的呼叫转移关联方法的流程图; 图 5是根据本发明第四实施例的呼叫转移关联方法的流程图; 图 6是根据本发明第五实施例的呼叫转移关联方法的流程图; 图 7是根据本发明第六实施例的呼叫转移关联方法的流程图; 图 8是根据本发明第七实施例的呼叫转移关联方法的流程图; 以及 图 9是根据本发明第八实施例的呼叫转移关联方法的流程图。 具体实施方式 下面将参考附图详细说明本发明。 首先需要说明的是,在本发明中所提及的用户是指在移动网络中注册的 信息, 与一个移动号码对应, 由一个用户标识来识别, 而不同于终端的使用 者。 一个物理的人使用的终端可以同时拥有多个不同 /相同的用户标识。 而终 端使用者则是指使用移动终端的物理的人。 本发明的主要发明思想是: 当某一用户在待机情况下, 针对这一用户启 动某种改变呼叫转移状态时, 在终端发送改变呼叫转移功能的消息到该用户 所属的 HLR之后, 终端检测终端中的其他用户的信息; 如果存在其他用户 则利用其他用户的网络向他们所属的 HLR请求这种呼叫转移的状态信息, 并根据当前的呼叫转移状态和呼叫转移关联策略决定是否按照前面用户设置 的呼叫转移设置发送改变呼叫转移功能状态的消息到这些用户的归属位置寄 存器。 如图 1所示, 本发明实施例提供的呼叫转移关联方法包括以下步骤: 步 骤 S102,终端接收到终端使用者发送的针对待机用户改变呼叫转移状态的命 令; 步骤 S104, 终端向待机用户所属的归属位置寄存器发送呼叫转移功能消 息, 以改变呼叫转移状态; 步骤 S106, 终端检查终端中其他用户的信息; 以 及步骤 S108,在存在其他用户且呼叫转移功能状态符合呼叫转移关联策略设 置条件的情况下, 终端向其他用户所属的归属位置寄存器发送呼叫转移功能 消息, 以改变呼叫转移状态。
其中, 在步骤 S102中, 改变呼叫转移状态的命令包括: 注册命令、 激 活命令、 去激活命令、 擦除命令, 在步骤 S104 中, 终端发送的呼叫转移功 能消息包括: 呼叫转移注册消息、 呼叫转移激活消息、 呼叫转移去激活消息、 呼叫转移擦除消息。 为了实现同一双模 /多模终端中不同用户的呼叫转移设置的完全一致, 在步骤 S108中, 终端发送与在步骤 S104中相同的呼叫转移功能消息以实现 相同的呼叫转移功能操作。 为了实现双模 /多模终端不同的呼叫转移关联等级设置,在步骤 S104结 束时按照不同的呼叫转移关联需求来决定是否进行步骤 S106和步骤 S108的 操作。 这里的呼叫转移关联需求可以包括仅对其中的一种或者几种改变呼叫 转移状态的操作进行关联。 为了实现双模 /多模终端不同的呼叫转移关联等级设置,在步骤 S 106中, 按照不同的呼叫转移关联需求来决定是否查询被关联用户的当前呼叫转移状 态, 并在步骤 S108 中按照呼叫转移关联的需求来判断是否对被关联用户进 行相同的改变呼叫转移状态的操作。 这里的呼叫转移关联需求包括对是否只 在其他用户的同一呼叫转移功能状态不为目标状态( HLR接收到该呼叫转移 信息后应该迁移到的状态) 或某一制定状态时发送改变呼叫转移状态信息; 或者不做关联用户的当前呼叫转移状态查询直接发送改变呼叫转移状态信 息。 以下,将结合具体的实施例来描述实现本发明的呼叫转移关联方法的过 程。 第一实施例 首先描述在多模多待机终端的情况下, 按照上文中的策略一, 针对其他 同时待机的用户实现本发明的技术方案的处理。如图 2所示, 包括以下步骤: 步骤 S202: 终端接收到终端使用者输入的针对待机用户启动呼叫转移 状态的命令; 步骤 S204: 终端向待机用户所属的归属位置寄存器发送呼叫转 移注册消息, 以启动呼叫转移状态; 步骤 S206: 终端查询其中的其他用户信 息, 以判断是否存在处于待机状态的用户; 步骤 S208: 分别利用待机用户自 己的网络查询各个待机用户的呼叫转移功能的当前状态; 在步骤 S208 中判 断呼叫转移功能的状态为未激活状态的情况下, 进行到步骤 S210: 终端按照
在步骤 S204 中的呼叫转移注册消息来设置待机用户的呼叫转移注册消息, 并向待机用户所属的归属位置寄存器发送呼叫转移功能消息, 以启动呼叫转 移功能。 另外, 在步骤 S208 中判断呼叫转移状态为激活状态的情况下, 结 束处理。 第二实施例 在第一实施例的同一呼叫关联策略情况下,对于其他未在待机状态下的 用户, 按照本实施例中的操作将网络自动切换到这些用户所属的网络, 并使 这些用户在网络中注册后进行呼叫转移处理。 如图 3所示, 本实施例中的处理包括以下步骤: 步骤 S302: 终端接收到终端使用者输入的针对待机用户启动呼叫转移 状态的命令; 步骤 S304: 终端向待机用户所属的归属位置寄存器发送呼叫转 移注册消息, 以启动呼叫转移状态; 步骤 S306: 终端查询其中的其他用户信 息; 步骤 S308: 在存在其他用户的情况下, 分别按照预定顺序切换到其他用 户对应的网络, 切换其他用户的待机状态; 步骤 S310: 分别利用其他用户自 己的网络查询各个其他用户的呼叫转移功能的当前状态; 步骤 S312: 终端按 照在步骤 S304中的呼叫转移注册消息来设置待机用户的呼叫转移注册消息, 并向待机用户所属的归属位置寄存器发送呼叫转移功能消息, 以启动呼叫转 移功能。 另外, 在步骤 S310 中判断呼叫转移状态为激活状态的情况下, 结 束处理。 第三实施例 在终端用户启动当前待机用户的呼叫转移功能时,执行本实施例中的操 作。 其呼叫关联策略同第一实施例。 如图 4所示, 包^ ·以下处理: 步骤 S402: 终端接收到终端使用者输入的针对某一待机用户启动呼叫 转移功能的命令; 步骤 S402: 终端向该待机用户所属的 HLR发送呼叫转移 注册消息, 以启动呼叫转移功能; 步骤 S406: 查询当前是否有呼叫转移信息 保存; 步骤 S408, 在步骤 S406中判断有呼叫转移信息保存的情况下, 删除 之前保存的呼叫转移信息; 步骤 S410: 保存当前的呼叫转移信息。 另外, 当 在步骤 S406中判断没有保存呼叫转移信息的情况下,直接进行到步骤 S410。
第四实施例 当终端切换待机用户时, 按照图 5中所示的操作进行呼叫转移处理, 其 呼叫关联策略同第一实施例。 如图 5所示: 步骤 S502: 终端切换到新的未待机用户进行待机; 步骤 S504: 查询终端是否存储了呼叫转移设置信息, 并且在有呼叫转移设置信息 的情况下, 进行到以下步骤: 步骤 S506: 利用当前新待机用户的网络查询新 待机用户的与存储的呼叫转移设置信息中相同的呼叫转移功能的状态; 步骤 S508: 在步骤 S506 中查询的呼叫转移功能的状态为未激活状态的情况下, 按照存储的呼叫转移设置信息来设置当前用户的呼叫转移功能, 并发送呼叫 转移注册消息到当前用户所属的归属位置登记器, 以启动呼叫转移功能。 另 夕卜, 在步骤 S506中查询的状态为激活态的情况下, 结束操作。 另外,在某些终端需求的情况下,需要保持同一终端的不同模式用户(也 可以为相同模式不同用户) 的呼叫转移设置完全一致。 为了实现这种功能, 本发明实施例提供的呼叫转移关联方法可以 文进一步的简化和修改, 以实现 同一双模或多模终端的不同用户的呼叫转移设置的完全一致性。 当某一用户在待机情况下,针对这一用户进行的任意可以改变用户呼叫 转移状态的相关操作 (注册、 激活、 去激活、 擦除等), 在终端发送了相关的 呼叫转移消息 (注册、 激活、 去激活、 擦除等)到该用户所属的 HLR之后; 终 端检测终端中的其他用户的信息; 如果存在其他用户则按照前面用户设置的 呼叫转移设置对该用户的呼叫转移功能进行相同操作, 发送相同的信息到该 用户的 HLR。 下面的第五、 第六、 第七、 第八实施例为按照上面描述的同一终端不同 用户的呼叫转移设置完全一致的情况下的实现呼叫转移关联操作的方法。 第五实施例 针对多模多待机的终端情况,针对其他同时待机的用户实现本发明的呼 叫转移关联方法的操作如图 6所示, 包括以下处理: 步骤 S602: 终端接收用户输入的针对某一待机的用户改变某种呼叫转 移功能状态的某一命令; 步骤 S604: 终端向该用户所属的 HLR发送改变此 种呼叫转移功能状态的某一对应消息, 改变呼叫转移的状态; 步骤 S606: 查
询终端当前状态下待机的用户信息, 判断终端中是否由其他用户处于待机状 态; 步骤 S608: 在步骤 S606中判断有其他用户处于待机状态的情况下, 按 照步骤 S602 中用户呼叫转移的设置信息来设置当前用户的此种呼叫转移功 能, 并发送与步骤 S604相同的消息到它们各自所属的 HLR, 改变呼叫此种 转移功能的状态。 另外, 在步骤 S606 中判断没有其他用户处于待机状态的 情况下, 结束处理。 第六实施例 BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of call forwarding in the field of mobile communications, and more particularly to a call forwarding association method for implementing a call transfer association for a dual mode/multimode terminal. BACKGROUND With the development of the third generation mobile communication technology, third generation mobile technologies such as TD-SCDMA. CDMA (Code Division Multiple Access) and WCDMA (Wireless CDMA) have gradually entered a practical stage. However, due to the inevitable problems of network coverage at the beginning of the third generation of mobile technology, there is a need to support second generation mobile communication technologies on the third generation communication terminals. At the same time, with the development of technologies such as wireless local area networks, terminals are required to simultaneously support two or more modes of communication technologies. Dual-mode and multi-mode terminals have recently been produced by many equipment vendors and are also used by some operators. The call forwarding function can transfer an incoming call to a terminal to a designated mobile terminal or a fixed network communication device. The implementation of the mobile transfer function provides a feasible processing method for the mobile terminal user to conveniently use the mobile terminal to answer the incoming call or unable to answer the incoming call. At present, the use of the call forwarding technology of the mobile network has become very popular and mature. There are four main types of call forwarding functions: unconditional call forwarding, busy call forwarding, call forwarding when unreachable, and call forwarding without answering; these four call forwarding functions meet the different needs of end users. The terminal's operations for call forwarding mainly include: registration, activation, deactivation, deletion, and query. These five operations provide the ability for user 4 to tamper with and query the user's call forwarding function. With the gradual use and popularity of multimode and dual mode terminals, some new requirements for call forwarding functions have been proposed. For example, the dual-mode terminal user activates the call forwarding function in a certain mode, and the call forwarding function can also be activated when the user dials the user in another mode of the terminal. However, in the current different modes, the implementation of the association between the call forwarding of the user is implemented by interworking with the HLR (Home Location Register) of different users (networks). In this way, not only the interface protocol on the network side needs to be modified, but also the call forwarding settings of the interworking users are completely consistent. It is not possible to maintain their settings independently of each other under the condition of interworking. End users cannot be targeted at different The user sets different call forwarding information. Therefore, there is a need for a technical solution that enables users in different modes (or different users in the same mode) in a multimode terminal to be associated with each other but can keep the call forwarding settings of different users independent of each other. SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and it is a primary object of the present invention to provide a call forwarding association method for implementing call forwarding association of a dual mode/multimode terminal. According to an embodiment of the present invention, a call transfer association method is provided. First of all, it should be noted that the user referred to in the present invention refers to information registered in the mobile network, corresponding to a mobile number, identified by a user identifier, and different from the user of the terminal. A terminal used by a physical person can have multiple different user IDs at the same time. The terminal ^: user refers to the physical person who uses the mobile terminal. The call forwarding association method according to the present invention includes the following steps: In a first step, the terminal receives a command input by the terminal user for changing a call forwarding state for the standby user; and a second step, the terminal sends the home location register to which the standby user belongs a call forwarding function message to change a call forwarding state; a third step, the terminal checks information of other users in the terminal; and a fourth step, when there are other users and the call forwarding function status meets the call forwarding association policy requirement, the terminal The home location register to which the other user belongs sends the call forwarding function message to change the call forwarding state. In the first step, the command to change the call forwarding state includes: a registration command, an activation command, a deactivation command, an erasure command. In the second step, the call forwarding function message sent by the terminal includes: a call forwarding registration message, a call Transfer activation message, call forwarding deactivation message, call forwarding eviction message. Call Association Policy 1: The operations of the third step and the fourth step are to associate only when the first step is to initiate the call forwarding function operation, and require that the call forwarding association operation be performed only when the current state of the other users is not the active state. The following describes the method of call forwarding association in the call association policy. For the call forwarding association method of policy 1, when the call forwarding function needs to be activated: In the first step, the terminal receives a command input by the terminal user for starting the call forwarding function for the standby user; in the second step, the terminal goes to standby The home location register to which the user belongs sends a call forwarding function registration message to activate the call forwarding function; in the third step, the terminal checks information of other users in the terminal; in the fourth step, there are other users and the same call forwarding function is not In the case of startup, a call forwarding function message is sent to the home location register to which the other user belongs to initiate the call forwarding state. Therefore, in order to implement call forwarding association for other users who are simultaneously on standby, the following operations are performed: In the first step, the terminal receives a command input by the terminal user for starting a certain call forwarding function for the standby user; in the second step, The terminal sends a call forwarding registration message to the home location register to which the standby user belongs to activate the call forwarding function. In the third step, the terminal queries other user information to determine whether there are other users in the standby state; Go to the following steps: Step A: Query the current status of the same call forwarding function of each of the other standby users by using the standby user's own network; and, in step A, determine that the state of the call forwarding function is inactive, In the fourth step, the call forwarding registration message of the standby user is set according to the call forwarding registration message in the second step, and the registration message is sent to the home location registers of these other users to activate the call forwarding function. When the call forwarding association needs to be implemented in the case of automatically switching to the network of the unstandby user, the following operations are performed: In the first step, the terminal receives a command input by the terminal user for starting a certain call forwarding function for the standby user; In the second step, the terminal sends a call transfer registration message to the home location register to which the standby user belongs to activate the call forwarding function. In the third step, the terminal queries information of other users in the terminal to determine whether other users exist; Go to the following steps, Step A: In the case that there are other users, switch to the network corresponding to other users in a predetermined order, switch the standby state of other users; and Step B: Query each other's own network to query each other The current state of the same call forwarding function of the user; in the case where it is judged in step B that the state of the call forwarding function is the inactive state, in the fourth step, the other user is set according to the call forwarding registration message in the second step. Call forwarding registration message, concurrent The message to the other user's home location register, to initiate call forwarding. In order to prevent the call of the standby network at the time after the call forwarding function is activated, the terminal may save the current call forwarding information, so as to perform corresponding call transfer processing when the user automatically switches other network users manually or for other reasons. In this way, after the second step, it is checked whether there is currently call forwarding information saved, and in the case where the call forwarding information is saved, the previously saved call forwarding information is deleted, and the current call forwarding is saved without the call forwarding information being saved. Information, and no longer perform the third and fourth steps. In addition, when the user switches the network manually or for other reasons, the following operations are performed to implement the call forwarding association of the non-standby user: Step A: The terminal switches to the new unstandby user for standby; Step B: Query whether the terminal stores the call transfer Setting information, and in the case of having call forwarding setting information, proceeding to the following steps: Step C: querying the state of the call forwarding function of the new standby user in the stored call forwarding setting information by using the current new standby user's network; Step D: In the case that the state of the call forwarding function inquired in step C is inactive, the call forwarding function of the current user is set according to the stored call forwarding setting information, and the call forwarding registration message is sent to the attribution to which the current user belongs. A location register to initiate the call forwarding feature. In addition, for each of the above-described processes of the policy one, when the call forwarding state is queried to be in an active state, no operation is performed, and the related processing is ended. At the same time, when the call change status command is input to the standby user, the call forwarding function of the current user is operated, and the other users are no longer processed. Through the above technical solutions, the present invention achieves the following beneficial effects: Users in different modes in dual mode/multimode terminals (or different users in the same mode) are implemented without modifying the protocol and HLR settings on the network side. Call forwarding is interrelated and keeps the call forwarding settings of different users independent of each other. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are set to illustrate,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, In the drawings: FIG. 1 is a flowchart of a call transfer association method according to an embodiment of the present invention; FIG. 2 is a flowchart of a call transfer association method according to a first embodiment of the present invention; 3 is a flowchart of a call transfer association method according to a second embodiment of the present invention; FIG. 4 is a flowchart of a call transfer association method according to a third embodiment of the present invention; FIG. 5 is a call according to a fourth embodiment of the present invention. FIG. 6 is a flowchart of a call transfer association method according to a fifth embodiment of the present invention; FIG. 7 is a flowchart of a call transfer association method according to a sixth embodiment of the present invention; A flowchart of a call forwarding association method of a seventh embodiment of the invention; and FIG. 9 is a flowchart of a call forwarding association method according to an eighth embodiment of the present invention. DETAILED DESCRIPTION OF THE INVENTION The present invention will be described in detail below with reference to the accompanying drawings. First of all, it should be noted that the user referred to in the present invention refers to information registered in the mobile network, corresponding to a mobile number, identified by a user identifier, and different from the user of the terminal. A terminal used by a physical person can have multiple different/identical user IDs at the same time. The terminal user refers to the physical person who uses the mobile terminal. The main inventive idea of the present invention is: when a certain user initiates a certain change call forwarding state for the user in a standby situation, after the terminal sends a message for changing the call forwarding function to the HLR to which the user belongs, the terminal detects the terminal. Information of other users in the user; if there are other users, the network of other users is used to request the status information of the call forwarding from the HLR to which they belong, and according to the current call forwarding status and the call forwarding association policy, whether to follow the previous user settings The call forwarding settings send messages that change the state of the call forwarding function to the home location registers of these users. As shown in FIG. 1 , the call forwarding association method provided by the embodiment of the present invention includes the following steps: Step S102: The terminal receives a command sent by a terminal user to change a call forwarding state for a standby user; Step S104, the terminal belongs to a standby user. The home location register sends a call forwarding function message to change the call forwarding state; step S106, the terminal checks information of other users in the terminal; and step S108, if there are other users and the call forwarding function status meets the conditions of the call forwarding association policy setting The terminal sends a call forwarding function message to the home location register to which the other user belongs to change the call forwarding state. The command to change the call forwarding state includes: a registration command, an activation command, a deactivation command, and an erasure command. In step S104, the call forwarding function message sent by the terminal includes: a call forwarding registration message, a call transfer. Activation message, call forwarding deactivation message, call forwarding erasure message. In order to achieve complete consistency of call forwarding settings for different users in the same dual mode/multimode terminal, in step S108, the terminal transmits the same call forwarding function message as in step S104 to implement the same call forwarding function operation. In order to realize different call forwarding association level settings of the dual mode/multimode terminal, whether to perform the operations of step S106 and step S108 is performed according to different call forwarding association requirements at the end of step S104. The call forwarding association requirements herein may include associating only one or several of the operations that change the call forwarding status. In order to implement different call forwarding association level settings of the dual mode/multimode terminal, in step S106, whether to query the current call forwarding status of the associated user according to different call forwarding association requirements, and according to the call transfer in step S108 The associated requirements are used to determine whether to perform the same operation of changing the call forwarding state for the associated user. The call forwarding association requirement here includes sending change call forwarding status information only if the same call forwarding function status of other users is not in the target state (the state to which the HLR should migrate after receiving the call forwarding information) or a certain state is set. Or directly change the call forwarding status information without making the current call forwarding status query of the associated user. Hereinafter, the process of implementing the call transfer association method of the present invention will be described in conjunction with specific embodiments. The first embodiment is first described in the case of a multi-mode multi-standby terminal, in accordance with Strategy 1 above, the processing of the technical solution of the present invention is implemented for other users who are simultaneously on standby. As shown in FIG. 2, the method includes the following steps: Step S202: The terminal receives a command input by the terminal user for starting a call transfer state for the standby user; Step S204: The terminal sends a call transfer registration message to the home location register to which the standby user belongs, to Initiating the call forwarding state; Step S206: The terminal queries other user information to determine whether there is a user in the standby state; Step S208: Query the current state of the call forwarding function of each standby user by using the standby user's own network; If it is determined in S208 that the state of the call forwarding function is inactive, the process proceeds to step S210: the terminal follows the The call forwarding registration message in step S204 is set to set the call forwarding registration message of the standby user, and a call forwarding function message is sent to the home location register to which the standby user belongs to activate the call forwarding function. Further, when it is determined in step S208 that the call forwarding state is the active state, the processing is terminated. In the case of the same call association policy of the first embodiment, the second embodiment automatically switches the network to the network to which the users belong according to the operations in the embodiment, and causes the users to Call forwarding processing is performed after registration in the network. As shown in FIG. 3, the processing in this embodiment includes the following steps: Step S302: The terminal receives a command input by the terminal user for starting a call forwarding state for the standby user; Step S304: The terminal sends the home location register to which the standby user belongs Calling the registration message to start the call forwarding state; Step S306: The terminal queries other user information therein; Step S308: In the case that there are other users, respectively switch to the network corresponding to other users in a predetermined order, and switch the standby of other users a state; step S310: querying the current state of the call forwarding function of each other user by using another user's own network respectively; Step S312: The terminal sets the call forwarding registration message of the standby user according to the call forwarding registration message in step S304, and The home location register to which the standby user belongs sends a call forwarding function message to initiate the call forwarding function. Further, when it is determined in step S310 that the call forwarding state is the active state, the processing is terminated. The third embodiment performs the operations in this embodiment when the terminal user activates the call forwarding function of the current standby user. Its call association strategy is the same as the first embodiment. As shown in FIG. 4, the following processing is performed: Step S402: The terminal receives a command input by the terminal user for starting a call forwarding function for a standby user; Step S402: The terminal sends a call transfer registration to the HLR to which the standby user belongs. a message to activate the call forwarding function; Step S406: Query whether there is currently call forwarding information saved; Step S408, in the case where it is determined in step S406 that the call forwarding information is saved, deleting the previously saved call forwarding information; Step S410: Saving the current Call forwarding information. In addition, when it is determined in step S406 that the call forwarding information is not saved, the process proceeds directly to step S410. Fourth Embodiment When the terminal switches the standby user, call forwarding processing is performed in accordance with the operation shown in Fig. 5, and the call association policy is the same as that of the first embodiment. As shown in FIG. 5: Step S502: The terminal switches to a new unstandby user for standby; Step S504: Query whether the terminal stores call forwarding setting information, and if there is call forwarding setting information, proceed to the following steps: S506: Query, by the network of the current new standby user, the status of the call forwarding function of the new standby user in the stored call forwarding setting information. Step S508: The status of the call forwarding function queried in step S506 is an inactive state. Next, the call forwarding function of the current user is set according to the stored call forwarding setting information, and the call forwarding registration message is sent to the home location register to which the current user belongs to activate the call forwarding function. In addition, in a case where the state queried in step S506 is the active state, the operation is ended. In addition, in the case of certain terminal requirements, it is necessary to maintain the same call forwarding settings of different mode users of the same terminal (which can also be different users of the same mode). In order to achieve such a function, the call forwarding association method provided by the embodiment of the present invention can be further simplified and modified to achieve complete consistency of call forwarding settings of different users of the same dual mode or multimode terminal. When a certain user is in standby, any related operation (registration, activation, deactivation, erasure, etc.) that can be changed for the user's call transfer status is sent to the terminal, and the relevant call transfer message is sent (registration, Activate, deactivate, erase, etc.) to the HLR to which the user belongs; the terminal detects information of other users in the terminal; if there are other users, the same operation is performed on the call forwarding function of the user according to the call forwarding setting set by the previous user , send the same information to the user's HLR. The following fifth, sixth, seventh, and eighth embodiments are methods for implementing a call forwarding association operation in the case where the call forwarding settings of different users of the same terminal described above are completely identical. The fifth embodiment is directed to the multi-mode and multi-standby terminal, and the operation of the call forwarding association method of the present invention is implemented as shown in FIG. 6 for other users who are simultaneously on standby, and includes the following processing: Step S602: The terminal receives the user input for a certain The standby user changes a certain command of the call forwarding function state; Step S604: The terminal sends a corresponding message to the HLR to which the user belongs to change the state of the call forwarding function, and changes the state of the call forwarding; Step S606: Check Querying the user information in the current state of the terminal, and determining whether the other user is in the standby state in the terminal; Step S608: If it is determined in step S606 that another user is in the standby state, according to the setting information of the user call forwarding in step S602 The call forwarding function of the current user is set, and the same message as that of step S604 is sent to the HLR to which they belong, changing the state of calling the transfer function. In addition, when it is determined in step S606 that no other user is in the standby state, the processing is ended. Sixth embodiment
网络自动切换到这些用户所属网络, 并使用这些用户注册后进行呼叫转移处 理。 如图 7所示, 包括以下处理: 步骤 S702: 终端接收用户输入的针对某一待机的用户改变某种呼叫转 移功能状态的某一命令; 步骤 S704: 终端向该用户所属的 HLR发送改变此 种呼叫转移功能状态的某一对应消息, 改变呼叫转移的状态; 步骤 S706: 查 询终端是否有其他未待机用户的信息; 步骤 S708: 在步骤 S706中判断有其 他未待机用户的信息的情况下, 分别按照一定顺序切换到这些用户对应的网 络, 切换这些用户的待机状态; 步骤 S710: 按照步骤 S702用户呼叫转移的 设置信息来设置当前用户的此种呼叫转移功能, 并发送与步骤 S704相同的 消息到它们各自所属的 HLR, 改变呼叫此种转移功能的状态。 另外, 在步 骤 S706中判断没有其他未待机用户的信息的情况下, 结束处理。 第七实施例 为了保证启动呼叫转移功能后终端不影响当时待机网络的通话,也可以 将当前呼叫转移的信息保存在终端中, 在用户手动或者其他原因自动切换其 他网络用户时, 进行呼叫转移的处理。 如图 8所示, 包括以下处理: 步骤 S802: 终端接收用户输入的针对某一待机的用户改变某种呼叫转 移功能状态的某一命令; 步骤 S804: 终端向该用户所属的 HLR发送改变此 种呼叫转移功能状态的某一对应消息, 改变呼叫转移的状态; 步骤 S806: 查 询当前是否有呼叫转移信息保存; 步骤 S808: 在步骤 S806判断保存了呼叫
转移信息的情况下, 删除前面保存的呼叫转移信息; 以及步骤 S810: 保存当 前的呼叫转移信息。 其中, 在在步骤 S806 判断没有保存呼叫转移信息的情 况下, 直接进行到步骤 S810。 第八实施例 当终端切换网络待机用户时, 进行如图 9所示的处理: 步骤 S902: 终端切换到一个新的未待机用户进行待机; 步骤 S904: 查 询终端存储的呼叫转移设置信息; 步骤 S906: 在步骤 S904中的判断结果为 是的情况下, 按照保存的呼叫转移信息来设置当前用户的呼叫转移功能, 并 发送相同的呼叫转移消息到它们各自所属的 HLR, 改变呼叫转移功能的状 态。 以下进一步结合具体实例来描述上述各种处理。 实例 1 双卡槽 GSM/TD-SCDMA双模终端中, 分别插入了一张 GSM SIM 卡 和 TD-SCDMA USIM卡; 这两张卡的 MSISDN号码为别为 139********和 188 当前终端处于 GSM/TD 双待机模式下, 在针对号码为 139********的用户 1 启动了忙时呼叫转移的业务设置呼叫 令移号码为 138******** , 此时终端会向用户 1所属的 HLR发送注册和激活呼叫转移业 务的消息。 同时, 终端会向号码为 188********的用户 2所属 HLR发送呼叫 转移状态查询消息, 获得当前的呼叫转移业务的状态。 发现此时的 188**** **用户的忙时呼叫转移未激活, 终端此时通过 188* ****的网络 向 HLR发送注册和激活信息, 启动用户 2的忙时呼叫转移业务。 当另一终 端用户呼叫号码为 188********的用户时, 系统发现此时 188********用户 正在通话中, 此时系统启动呼叫转移业务, 将呼叫转接到用户的 MSISDN号 码为 138********的终端上。 此时实现了双模(多模) 终端呼叫转移业务不 同模式下互相关联的功能。 实例 2 针对实施例一中的双模终端, 4十对号码为 188********的用户 2启动设 置忙时呼叫 ^舍移业务, 设置呼叫转移的号码为 137********。 jJt时终端会向 用户 2所属的 HLR发送注册和激活呼叫转移业务的消息。 同时, 终端会向
号码为 139********的用户 1所属 HLR发送呼叫转移状态查询消息,获得当 前的呼叫转移业务的状态。 发现此时的 139********用户的忙时呼叫转移为 激活态,终端不在做其他操作继续待机状态。此时当用户 1号码 139******** 正在通话时, 另一终端呼叫用户 1。 系统发现 at匕时 139********用户正在通 话中, 此时系统启动呼叫转移业务, 将呼叫转接到用户的 MSISDN 号码为 138********的终端上。 此时当用户 2号码 188********正在通话时, 另一终 端呼叫用户 2。 系统发现 i¾时 188********用户正在通话中, jJt时系统启动 呼叫转移业务,将呼叫转接到用户的 MSISDN号码为 137********的终端上。 此时, 实现汉模(多模) 终端呼叫转移业务不同模式下互相关联, 又可以独 立操作的功能。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本 领域的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和 原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护 范围之内。
The network automatically switches to the network to which these users belong, and uses these users to register for call forwarding processing. As shown in FIG. 7, the following processing is included: Step S702: The terminal receives a certain command input by the user for changing a certain call forwarding function status for a certain standby user; Step S704: The terminal sends the change to the HLR to which the user belongs. a corresponding message of the call forwarding function state, changing the state of the call forwarding; Step S706: Querying whether the terminal has other information of the non-standby user; Step S708: If it is determined in step S706 that there are other information of the non-standby user, respectively Switching to the network corresponding to the users in a certain order, switching the standby state of the users; Step S710: setting the call forwarding function of the current user according to the setting information of the user call forwarding in step S702, and sending the same message as step S704 to The HLRs to which they belong, change the state of calling this transfer function. In addition, when it is determined in step S706 that there is no other information of the unstandby user, the processing is terminated. In the seventh embodiment, in order to ensure that the terminal does not affect the call of the standby network at the time after the call forwarding function is activated, the current call forwarding information may be saved in the terminal, and when the user automatically switches other network users by manual or other reasons, the call forwarding is performed. deal with. As shown in FIG. 8, the following processing is included: Step S802: The terminal receives a certain command input by the user for changing a certain call forwarding function state for a certain standby user; Step S804: The terminal sends the change to the HLR to which the user belongs. a corresponding message of the call forwarding function state, changing the state of the call forwarding; step S806: querying whether there is currently call forwarding information saved; step S808: determining to save the call in step S806 In the case of transferring information, the previously saved call forwarding information is deleted; and step S810: saving the current call forwarding information. In the case where it is determined in step S806 that the call forwarding information is not saved, the process proceeds directly to step S810. In the eighth embodiment, when the terminal switches the network standby user, the process shown in FIG. 9 is performed: Step S902: The terminal switches to a new unstandby user to perform standby; Step S904: Query the call forwarding setting information stored by the terminal; Step S906 When the result of the determination in step S904 is YES, the call forwarding function of the current user is set according to the saved call forwarding information, and the same call forwarding message is transmitted to the HLR to which they belong, and the state of the call forwarding function is changed. The various processes described above are further described below in conjunction with specific examples. Example 1 In a dual-card slot GSM/TD-SCDMA dual-mode terminal, a GSM SIM card and a TD-SCDMA USIM card are respectively inserted; the MSISDN numbers of the two cards are 139******** and 188 The current terminal is in GSM/TD dual standby mode, and the service setting call number of the busy call forwarding is started for the user 1 with the number 139******** is 138******* *, the terminal will send a message to register and activate the call forwarding service to the HLR to which the user 1 belongs. At the same time, the terminal sends a call forwarding status inquiry message to the HLR of the user 2 whose number is 188********, and obtains the status of the current call forwarding service. It is found that the busy call forwarding of the 188**** ** user at this time is not activated, and the terminal sends the registration and activation information to the HLR through the 188* **** network at this time, and starts the busy call forwarding service of the user 2. When another terminal user calls the user whose number is 188********, the system finds that the user is in a call at this time, and the system starts the call forwarding service, and the call is transferred. Received on the terminal where the user's MSISDN number is 138********. At this time, the dual-mode (multi-mode) terminal call forwarding service is implemented in different modes. Example 2 For the dual-mode terminal in the first embodiment, the user of the ten pairs of the number 188******** initiates the setting of the busy call and the service, and sets the call forwarding number to 137 ****. ****. When jJt, the terminal sends a message for registering and activating the call forwarding service to the HLR to which the user 2 belongs. At the same time, the terminal will The HLR of the user 1 whose number is 139******** sends a call forwarding status inquiry message to obtain the status of the current call forwarding service. It is found that the busy call of the 139******** user at this time is transferred to the active state, and the terminal is not performing other operations to continue the standby state. At this time, when the user 1 number 139******** is talking, the other terminal calls the user 1. When the system finds that at the time of 139******** the user is in a call, the system starts the call forwarding service and transfers the call to the terminal whose MSISDN number is 138********. At this time, when the user 2 number 188******** is on a call, the other terminal calls the user 2. When the system finds i3⁄4, the user is in a call, and the jJt system starts the call forwarding service and transfers the call to the terminal whose MSISDN number is 137********. At this time, the functions of the Han model (multi-mode) terminal call transfer service are related to each other in different modes, and can be operated independently. The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.