WO2014000210A1 - Method, apparatus and system for call forwarding - Google Patents

Method, apparatus and system for call forwarding Download PDF

Info

Publication number
WO2014000210A1
WO2014000210A1 PCT/CN2012/077712 CN2012077712W WO2014000210A1 WO 2014000210 A1 WO2014000210 A1 WO 2014000210A1 CN 2012077712 W CN2012077712 W CN 2012077712W WO 2014000210 A1 WO2014000210 A1 WO 2014000210A1
Authority
WO
WIPO (PCT)
Prior art keywords
smart card
information
server
user terminal
association
Prior art date
Application number
PCT/CN2012/077712
Other languages
French (fr)
Chinese (zh)
Inventor
郑旭
林礼挺
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201280000473.0A priority Critical patent/CN102870440B/en
Priority to PCT/CN2012/077712 priority patent/WO2014000210A1/en
Publication of WO2014000210A1 publication Critical patent/WO2014000210A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/16Communication-related supplementary services, e.g. call-transfer or call-hold
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/4228Systems providing special services or facilities to subscribers in networks
    • H04M3/42306Number translation services, e.g. premium-rate, freephone or vanity number services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/54Arrangements for diverting calls for one subscriber to another predetermined subscriber
    • H04M3/543Call deflection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2207/00Type of exchange or network, i.e. telephonic medium, in which the telephonic communication takes place
    • H04M2207/18Type of exchange or network, i.e. telephonic medium, in which the telephonic communication takes place wireless networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/50Centralised arrangements for answering calls; Centralised arrangements for recording messages for absent or busy subscribers ; Centralised arrangements for recording messages
    • H04M3/51Centralised call answering arrangements requiring operator intervention, e.g. call or contact centers for telemarketing
    • H04M3/52Arrangements for routing dead number calls to operators

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Telephonic Communication Services (AREA)
  • Telephone Function (AREA)

Abstract

The present invention mainly relates to the field of communications, and in particular relates to a method, an apparatus and a system for call forwarding. The present invention proposes a method for call forwarding. The method comprises: receiving a call request for calling to a user terminal of a second smart card; when it is determined that a call channel can not be established to the user terminal of the second smart card, according to the association relationship of the second smart card, looking up a first smart card establishing an association relationship with the second smart card; and forwarding the call request to a user terminal of the first smart card. After the phone number of the called user is replaced, a calling subscriber is enabled to contact to the called user by an original number of the called user.

Description

一种呼叫转接的方法、 装置和系统  Method, device and system for call forwarding
技术领域 Technical field
本发明主要涉及通信领域, 尤其涉及一种呼叫转接的方法、 装置和系统。  The present invention relates to the field of communications, and in particular, to a method, device and system for call forwarding.
背景技术 Background technique
由于工作原因需要到异地生活进而需要换成工作所在城市本地号码、情侣 之间放弃原来使用号码申请情侣号、或者换成更适合自己的套餐的号码等原因, 手机号码的改变在我们的生活中是时常有涉及的。而改变电话号码之后采用什 么方式通知给朋友、 家人以及同事, 常用手段如: 用手机短信逐个发送或者直 接打电话通知等等。但是这些方法中有着共同的不足,对于没有被通知到的主 叫用户则无法通过原有被叫用户使用的电话号码获取到被叫用户更换后的当 前电话号码。  Due to work reasons, it is necessary to change to the local number of the city where the work is done, and the couple will give up the original number to apply for the couple number, or change to the number that is more suitable for their own package. The change of the mobile phone number is in our lives. It is often involved. After changing the phone number, how to notify friends, family and colleagues, such as: use mobile phone text messages to send one by one or directly call to notify and so on. However, there are common shortcomings in these methods. For the calling user who is not notified, the current telephone number after the called user is replaced can not be obtained through the telephone number used by the original called user.
发明内容 Summary of the invention
本发明提出了一种呼叫转接方法,使得被叫用户在更换自己使用电话号码 后, 主叫用户可以通过被叫用户原来使用的号码取得被叫用户的联系。  The present invention proposes a call forwarding method, so that after the called user replaces his or her own telephone number, the calling user can obtain the contact of the called user through the number originally used by the called user.
本发明一方面提供的一种呼叫转接方法, 包括:  A call forwarding method provided by an aspect of the present invention includes:
接收呼叫第二智能卡所在用户终端的呼叫请求;确认无法与所述第二智能 卡所在被用户终端建立呼叫通道时,根据第二智能卡的关联关系查找与所述第 二智能卡建立有关联关系的第一智能卡;将呼叫请求转发给第一智能卡所在用 户端。  Receiving a call request for calling the user terminal where the second smart card is located; and confirming that the call channel cannot be established with the user terminal of the second smart card, searching for the first relationship established with the second smart card according to the association relationship of the second smart card Smart card; forwards the call request to the client where the first smart card is located.
本发明另一方面提供的一种查找关联关系方法, 包括: 服务器接收主叫用 户终端查找第二智能卡关联关系的请求消息;服务器根据请求消息查找与所述 第二智能卡建立有关联关系的一个或多个智能卡,并将查找到的所述一个或多 个智能卡信息返回给主叫用户终端。  A method for finding an association relationship according to another aspect of the present invention includes: receiving, by a server, a request message that a calling user terminal searches for a second smart card association relationship; and the server searches for a relationship that is associated with the second smart card according to the request message. a plurality of smart cards, and returning the one or more smart card information found to the calling user terminal.
本发明另一方面提供的一种查找关联关系方法, 包括: 向服务器发送查询 第二智能卡关联关系的请求消息;接收服务器返回的与所述第二智能卡建立有 关联关系的一个或多个智能卡信息;向服务器返回从所述一个或多个智能卡中 选择第一智能卡的确认消息。  A method for finding an association relationship according to another aspect of the present invention includes: sending a request message for querying a second smart card association relationship to a server; and receiving, by the server, one or more smart card information that is associated with the second smart card. Returning an acknowledgment message to the server to select the first smart card from the one or more smart cards.
本发明另一方面提供的一种呼叫转接的服务器装置, 其特征在于, 包括: 接收模块, 用于接收呼叫第二智能卡所在用户终端的呼叫请求; 分析模块, 用 于确认无法与所述第二智能卡所在被叫用户终端建立呼叫通道时,根据第二智 能卡的关联关系确定转接第一智能卡所在用户终端; 发送模块, 用于将呼叫请 求转发给第一智能卡所在用户终端。 A server device for call forwarding according to another aspect of the present invention includes: a receiving module, configured to receive a call request for calling a user terminal where the second smart card is located; and an analysis module, When it is confirmed that the call channel is not established with the called user terminal where the second smart card is located, determining, according to the association relationship of the second smart card, determining the user terminal where the first smart card is transferred; and the sending module, configured to forward the call request to the first smart card User terminal.
本发明另一方面提供的一种查找关联关系的服务器装置, 其特征在于, 包 括: 第一接收模块,用于接收主叫用户终端查询第二智能卡关联关系的请求消 息; 查找模块, 用于根据请求消息查找与所述第二智能卡建立有关联关系的一 个或多个智能卡; 第一发送模块, 用于将查找到的所述一个或多个智能卡信息 返回给主叫用户终端; 第二接收模块, 用于接收主叫用户在所述一个或多个智 能卡信息中选择第一智能卡作为被叫的确认消息; 第二发送模块, 用于向第一 智能卡所在用户终端发起呼叫请求。  A server device for finding an association relationship according to another aspect of the present invention includes: a first receiving module, configured to receive a request message that a calling user terminal queries a second smart card association relationship; and a searching module, configured to The request message is used to search for one or more smart cards associated with the second smart card; the first sending module is configured to return the found one or more smart card information to the calling user terminal; the second receiving module And an acknowledgment message for the calling user to select the first smart card as the called party in the one or more smart card information; the second sending module is configured to initiate a call request to the user terminal where the first smart card is located.
本发明通过第一智能卡(即被叫用户更换后的 SIM卡 )和第二智能卡(即 被叫用户原来使用的 SIM卡) 的关联关系, 在服务器确认无法与第二智能卡 所在用户终端建立呼叫通道时, 将呼叫请求转发给第一智能卡所在用户终端。 从而使得主叫用户能够通过被叫用户原来使用的 SIM卡联转接到当前使用的 SIM卡。  The invention confirms that the call channel cannot be established with the user terminal where the second smart card is located by the association relationship between the first smart card (ie, the SIM card replaced by the called user) and the second smart card (ie, the SIM card used by the called user). When the call request is forwarded to the user terminal where the first smart card is located. Thereby, the calling user can be transferred to the currently used SIM card through the SIM card originally used by the called user.
附图说明 DRAWINGS
为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例中所 需要使用的附图作筒单地介绍,显而易见地, 下面所描述的附图仅仅是本发明 的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。  In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings to be used in the embodiments of the present invention will be briefly described below. Obviously, the drawings described below are only some embodiments of the present invention. Other drawings may also be obtained from those of ordinary skill in the art in view of the drawings.
图 1本发明提供的一种呼叫转接方法流程图;  1 is a flow chart of a call forwarding method provided by the present invention;
图 2本发明提供的一种建立关联关系方法流程图;  2 is a flow chart of a method for establishing an association relationship provided by the present invention;
图 3本发明提供的一种由用户终端主动查找关联关系的方法流程图; 图 4本发明提供的一种由用户终端发起建立关联关系的方法流程图; 图 5本发明提供的一种由用户终端发起建立关联关系的方法流程图; 图 6本发明提供的一种通过关联关系呼叫被叫用户终端的方法流程图; 图 7本发明提供的一种通过关联关系查找联系人的方法流程图;  FIG. 3 is a flowchart of a method for actively searching for an association relationship by a user terminal according to the present invention; FIG. 4 is a flowchart of a method for initiating an association relationship initiated by a user terminal according to the present invention; FIG. 5 is a user provided by the user. FIG. 6 is a flowchart of a method for calling a called user terminal by using an association relationship according to the present invention; FIG. 7 is a flowchart of a method for searching for a contact by using an association relationship according to the present invention;
图 8本发明提供的一种呼叫转接的服务器装置示意图;  FIG. 8 is a schematic diagram of a server device for call forwarding provided by the present invention; FIG.
图 9本发明提供的一种查找关联关系的服务器装置示意图; 图 10本发明提供的一种查找关联关系的终端装置示意图; FIG. 9 is a schematic diagram of a server device for finding an association relationship according to the present invention; FIG. FIG. 10 is a schematic diagram of a terminal device for finding an association relationship according to the present invention; FIG.
图 11本发明提供的一种查找关联关系的系统示意图。  FIG. 11 is a schematic diagram of a system for finding an association relationship provided by the present invention.
具体实施方式 detailed description
本发明实施例中用户终端可以是手机终端、 平板电脑、 个人电脑、 或者 PDA等, 所述用户终端可以是基于 GSM、 GPRS, CDMA, LET或者 wifi、 有 线网络等连接方式,所述电话簿应用可以嵌入到手机系统并在用户终端中使用, 也可以作为独立的应用软件被安装在用户终端上使用;方案的扩展中所述用户 终端还可以是常规非智能手机, 还包括一些老年人手机。  In the embodiment of the present invention, the user terminal may be a mobile phone terminal, a tablet computer, a personal computer, or a PDA. The user terminal may be a connection mode based on GSM, GPRS, CDMA, LET or wifi, a wired network, etc., the phone book application. It can be embedded in the mobile phone system and used in the user terminal. It can also be installed as a stand-alone application software on the user terminal. In the extension of the solution, the user terminal can also be a conventional non-smart phone, and also includes some elderly mobile phones.
本发明实施例中服务器可以是现有通信运营商已经架构,可以是在 SMSC 服务器、 MMSC服务器、 IMPSC服务器中增设所述服务器功能, 还可以是新 增的独立的服务器; 所述服务器能与现有的服务器完成通信, 实现本发明的能 力及扩展功能, 如与 SMSC服务器通信实现用户通信方式修改的短信下发。  In the embodiment of the present invention, the server may be an existing communication carrier, and the server function may be added to the SMSC server, the MMSC server, or the IMPSC server, or may be a newly added independent server; Some servers complete the communication, and realize the capability and the extended function of the present invention, for example, the short message is transmitted by communicating with the SMSC server to implement the modification of the user communication mode.
本发明以 SIM ( Subscriber Identity Module, SIM )为例, 则其中智能卡也 被称为 SIM卡, 第一智能卡也被称为第一 SIM卡, 第二智能卡也被称为第二 SIM卡; 智能卡信息包括 SIM卡标识(即手机号码)、 用户姓名、 性别、 激活 曰期或注销日期其中一种或者几种组合。  The present invention uses a SIM (Subscriber Identity Module, SIM) as an example, wherein the smart card is also referred to as a SIM card, the first smart card is also referred to as a first SIM card, and the second smart card is also referred to as a second SIM card; smart card information It includes one or several combinations of SIM card identification (ie mobile phone number), user name, gender, activation period or cancellation date.
本发明实施例中发起呼叫的用户终端被称为主叫用户终端,对应的用户称 为主叫用户; 被呼叫的用户终端则被称为被叫用户终端,对应的用户称为被叫 用户; 本发明还涉及第三用户, 所述第三用户是在被叫用户注销第二 SIM卡 后, 重新获得所述第二 SIM卡并激活使用的用户; 本发明还涉及实名制 SIM 卡, 其具体是指通过用户身份证认证后的 SIM卡, 所述认证后的 SIM卡会在 服务器中记录对应用户姓名以及身份证号;电话簿信息包括用户终端自身存储 的电话簿、 存储与 SIM卡上的电话簿和 /或用户终端增设的存储介质上的电话 簿; 服务器上对应着 SIM卡记录所述 SIM所在用户终端的电话簿信息。  A user terminal that initiates a call in the embodiment of the present invention is referred to as a calling user terminal, and a corresponding user is referred to as a calling user; a called user terminal is referred to as a called user terminal, and a corresponding user is referred to as a called user; The present invention also relates to a third user, the third user is a user who re-acquires the second SIM card and activates the use after the called user cancels the second SIM card; the present invention also relates to a real-name SIM card, which is specifically Refers to the SIM card authenticated by the user ID card. The authenticated SIM card records the corresponding user name and ID number in the server; the phone book information includes the phone book stored by the user terminal itself, and the phone stored on the SIM card. a phone book on the storage medium added to the book and/or the user terminal; the server records the phone book information of the user terminal where the SIM is located corresponding to the SIM card.
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清 楚、 完整地描述, 显然, 所描述的实施例是本发明的一部分实施例, 而不是全 部实施例。基于本发明中的实施例, 本领域普通技术人员在没有做出创造性劳 动的前提下所获得的所有其他实施例, 都应属于本发明保护的范围。  BRIEF DESCRIPTION OF THE DRAWINGS The technical solutions in the embodiments of the present invention will be described in detail below with reference to the accompanying drawings. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the scope of the present invention.
实施例一 本发明提供的一种呼叫转接的方法实施例,本实施例描述了服务器根据关 联关系为主叫用户转接呼叫的过程, 其流程如图 1所示, 包括: Embodiment 1 The embodiment of the present invention provides a method for transferring a call according to an association relationship. The process of transferring a call to a calling user according to an association relationship is as follows:
5101、 接收呼叫第二智能卡所在用户终端的呼叫请求。  5101. Receive a call request for calling a user terminal where the second smart card is located.
5102、确认无法与所述第二智能卡所在被叫用户终端建立呼叫通道时,根 据第二智能卡与第一智能卡的关联关系查找与所述第二智能卡建立有关联关 系的第一智能卡。  5102. When it is confirmed that the call channel cannot be established with the called user terminal where the second smart card is located, the first smart card that is associated with the second smart card is found according to the association relationship between the second smart card and the first smart card.
所述确认无法与所述第二智能卡所在被叫用户终端建立呼叫通道的情况, 具体包括: 第二智能卡已经被注销、第二智能卡所在用户终端关机或第二智能 卡被暂停使用。  The confirmation cannot be established with the called user terminal where the second smart card is located, and specifically includes: the second smart card has been logged off, the user terminal where the second smart card is located is shut down, or the second smart card is suspended.
其中第一智能卡和第二智能卡优选的都是以被叫用户信息激活,即所述第 一智能卡和第二智能卡都为实名制 SIM卡; 可选的所述第一智能卡和 /或第二 智能卡还可以是以匿名方式激活并为被叫用户所使用,所述匿名方式即未通过 用户身份认证的 SIM卡; 可选的所述第一智能卡和第二智能卡还可以是被不 同用户所使用。  Preferably, the first smart card and the second smart card are activated by the called user information, that is, the first smart card and the second smart card are both real-name SIM cards; optionally, the first smart card and/or the second smart card are further It may be activated in an anonymous manner and used by the called user, that is, a SIM card that is not authenticated by the user; optionally, the first smart card and the second smart card may also be used by different users.
S103、 将呼叫请求转发给第一智能卡所在用户端。  S103. Forward the call request to the client where the first smart card is located.
可选的,所述转发过程具体为服务器建立自身与第一智能卡所在用户终端 的呼叫通道,向被叫终端播报或以短信方式告知主叫用户的转接请求;可选的, 所述转接请求中携带了主叫用户的信息,使得被叫用户能够根据所述携带的主 叫用户的信息决定是否允许建立呼叫通道;接收被叫用户终端的允许通话的确 认消息, 服务器建立主叫用户和被叫用户之间的呼叫通道。  Optionally, the forwarding process is specifically: the server establishes a call channel between itself and the user terminal where the first smart card is located, broadcasts the message to the called terminal, or informs the calling user of the transfer request by using a short message; optionally, the forwarding The request carries the information of the calling user, so that the called user can decide whether to allow the call channel to be established according to the information of the carried calling user; receive the confirmation message of the called user terminal allowing the call, and the server establishes the calling user and The call channel between the called users.
本实施例提供了一种利用智能卡的关联关系实现在无法与第二智能卡所 在终端建立会话通道时,将呼叫转发给与其有关联关系的第一智能卡所在终端 , 从而保证了在第二智能卡停止使用后, 还能正常联系到被叫用户。  The embodiment provides a relationship between the smart card and the terminal of the first smart card associated with the second smart card when the session channel cannot be established with the second smart card, thereby ensuring that the second smart card is stopped. After that, the called user can be contacted normally.
实施例一是建立在关联关系的基础上的转接呼叫应用,在下面的实施例二 中将对所述第一智能卡和所述第二智能卡如何建立关联关系做进一步描述。  The first embodiment is a transfer call application based on the association relationship. In the following second embodiment, how to establish the association relationship between the first smart card and the second smart card is further described.
实施例二  Embodiment 2
本发明提供的一种建立关联关系方法实施例,本实施例描述了第一智能卡 和第二智能卡建立关联关系过程, 其流程如图 2所示, 包括:  An embodiment of the method for establishing an association relationship is provided by the present invention. This embodiment describes a process for establishing an association relationship between a first smart card and a second smart card. The process is as shown in FIG. 2, and includes:
S201、服务器确认第一智能卡拥有关联信息,根据所述关联信息查找与所 述第一智能卡满足关联条件的第二智能卡。 S201. The server confirms that the first smart card has associated information, and searches for the associated information according to the related information. The second smart card that satisfies the associated condition of the first smart card.
其中所述关联信息是用来查找或建立第一智能卡和第二智能卡关联关系 的信息, 包括: 第一智能卡记录的电话簿信息和 /或第一智能卡对应的实名信 优选的,服务器确认记录有对应所述第一智能卡的实名信息, 则关联信息 具体为对应第一智能卡记录的实名信息;关联条件为第一智能卡和第二智能卡 对应记录有相同的实名信息。服务器查找记录有与第一智能卡的实名信息相同 实名信息的第二智能卡;在用户使用实名信息激活第一智能卡或使用匿名激活 而在后续用实名信息进行更新时, 触发服务器进行所述确认过程。  The association information is used to find or establish information about the association relationship between the first smart card and the second smart card, and includes: the phone book information recorded by the first smart card and/or the real name letter corresponding to the first smart card is preferred, and the server confirms that the record has Corresponding to the real name information of the first smart card, the associated information is specifically the real name information corresponding to the first smart card record; the associated condition is that the first smart card and the second smart card correspond to the same real name information. The server searches for a second smart card recorded with the same real name information as the real name information of the first smart card; when the user activates the first smart card using the real name information or uses anonymous activation to subsequently update with the real name information, the server is triggered to perform the confirmation process.
可选的,服务器确认记录有对应所述第一智能卡的电话簿信息, 则关联信 息具体为对应所述第一智能卡记录的电话簿信息;所述关联条件的第二智能卡 为所述第一智能卡和所述第二智能卡对应记录的电话簿信息的匹配度大于阈 值。服务器查找与所述第一智能卡对应电话簿信息的匹配度大于阈值的第二智 能卡; 该确认过程在用户向服务器上传自身存储的电话簿信息完成时,触发服 务器完成。  Optionally, the server confirms that the phone book information corresponding to the first smart card is recorded, and the association information is specifically the phone book information corresponding to the first smart card; the second smart card of the associated condition is the first smart card. The matching degree of the phone book information corresponding to the second smart card is greater than a threshold. The server searches for a second smart card whose matching degree with the phone book information corresponding to the first smart card is greater than a threshold; the confirmation process triggers the server to complete when the user uploads the phone book information stored by the user to the server.
可选的, 当服务器确认所述第一智能卡没有关联信息时, 结束建立关联关 系的过程。  Optionally, when the server confirms that the first smart card has no associated information, the process of establishing the association relationship ends.
可选的, 触发服务器确认第一智能卡拥有关联信息的方式除上述两种外, 还可以是通过第一智能卡所在用户终端发起搜索关联关系请求,可以是先使用 实名信息查找,在所述使用实名信息查找方法失败时或者有多个与之拥有相同 实名信息的智能卡时, 进一步利用电话簿信息, 具体为:  Optionally, the triggering server confirms that the first smart card has the associated information, in addition to the foregoing two types, the user may initiate a search association request by using the user terminal where the first smart card is located, and may first use the real name information to search, and use the real name in the first real smart card. When the information search method fails or when there are multiple smart cards with the same real name information, the phone book information is further utilized, which is specifically:
确认记录有对应所述第一智能卡的实名信息时,查找记录有相同实名信息 的第二智能卡; 在确认对应所述第一智能卡未记录有实名信息时,确认对应所 述第一智能卡记录有电话簿信息,查找与所述第一智能卡对应电话簿信息的匹 配度大于阈值的第二智能卡。  When the real name information corresponding to the first smart card is recorded, the second smart card recorded with the same real name information is searched; when it is confirmed that the first smart card does not record the real name information, it is confirmed that the first smart card records the phone. The book information is used to find a second smart card whose matching degree with the first smart card corresponds to the phone book information is greater than a threshold.
S202、 服务器向所述第一智能卡所在用户终端发送建立关联关系请求。 所述建立关联关系请求中包含了要求用户终端返回所述满足关联条件的 第二智能卡的用户密码的提示信息,具体方式可以是服务器通过语音播报或者 短信方式通知。 S203、根据所述用户终端返回的确认建立关联关系响应建立所述第一智能 卡与所述第二智能卡的关联关系。 S202. The server sends a request for establishing an association relationship to the user terminal where the first smart card is located. The request for establishing the association relationship includes the prompting information of the user password of the second smart card that is required to be returned by the user terminal, and the specific manner may be that the server notifies by using a voice broadcast or a short message. S203. Establish an association relationship according to the confirmation returned by the user terminal to establish an association relationship between the first smart card and the second smart card.
具体地, 所述确认建立关联关系响应中包含了第二智能卡的用户密码,服 务器核对确认建立关联关系响应中的所述第二智能卡的用户密码和服务器中 存储的第二智能卡的用户密码相同后,建立所述第一智能卡与所述第二智能卡 的关联关系。  Specifically, the confirmation establishment relationship response includes a user password of the second smart card, and the server checks that the user password of the second smart card in the establishment establishment relationship response is the same as the user password of the second smart card stored in the server. Establishing an association relationship between the first smart card and the second smart card.
本实施例充分利用了现有用户的一些操作,如上述用户使用实名信息激活 第一智能卡或使用匿名激活而在后续用实名信息进行更新时,还有用户向服务 器上传自身存储的电话簿信息完成时,并在此操作流程基础上实现了服务器对 于第一智能卡关联关系的自动搜索,最终通过第一智能卡返回的确认建立关联 关系响应建立所述第一智能卡与所述第二智能卡的关联关系。减少了用户主动 操作带来的不便利以及由于用户疏忽而遗漏了关联关系的建立。  This embodiment makes full use of some operations of the existing user. For example, when the user activates the first smart card by using the real name information or uses anonymous activation to update the real name information, the user uploads the stored phone book information to the server. And the automatic search of the first smart card association relationship by the server is implemented on the basis of the operation flow, and finally the association relationship between the first smart card and the second smart card is established by the confirmation relationship established by the first smart card. It reduces the inconvenience caused by the user's active operation and the omission of the establishment of the association due to user negligence.
通过实施例一和实施例二已经建立了自动触发机制,由服务器查找并建立 第一智能卡和第二智能卡的关联关系;并能在主叫用户呼叫第二智能卡所在终 端无建立对应呼叫通道时,利用所述关联关系将呼叫转发给第一智能卡所在终 端。但是如果有多个智能卡与所述第二智能卡建立有关联关系时, 就进一步需 要用户自主的选择需要建立呼叫通道的智能卡所在终端,实施例三就是用于对 该方法的实现。  An automatic triggering mechanism has been established by using the first embodiment and the second embodiment. The server searches for and establishes the association relationship between the first smart card and the second smart card, and can establish a corresponding call channel when the calling user calls the second smart card. The call is forwarded to the terminal where the first smart card is located by using the association relationship. However, if a plurality of smart cards are associated with the second smart card, the user is required to select the terminal where the smart card needs to establish a call channel, and the third embodiment is used for implementing the method.
实施例三  Embodiment 3
一种查找关联关系的方法实施例,本实施例应用于有多个智能卡与所述第 二智能卡建立有关联关系时,就进一步需要用户自主的选择需要建立呼叫通道 的第一智能卡所在终端, 其流程如图 3所示, 包括:  An embodiment of the method for finding an association relationship. When the embodiment is applied to a relationship between a plurality of smart cards and the second smart card, the user needs to independently select a terminal where the first smart card needs to establish a call channel, and The process is shown in Figure 3, including:
S301、 服务器接收主叫用户终端查询第二智能卡关联关系的请求消息。 S302、服务器根据请求消息中的第二智能卡标识查找与所述第二智能卡建 立有关联关系的一个或多个智能卡,并将查找到的所述一个或多个智能卡信息 返回给主叫用户终端。  S301. The server receives a request message that the calling user terminal queries the second smart card association relationship. S302. The server searches for one or more smart cards that are associated with the second smart card according to the second smart card identifier in the request message, and returns the found one or more smart card information to the calling user terminal.
本实施例中优选的,所述请求消息中包含有第二智能卡标识和所述第二智 能卡被被叫用户所使用过的任一时刻的时间参数, 则上述步骤 S302具体为: 服务器根据所述请求消息中的第二智能卡标识查找与所述第二智能卡建 立有关联关系的各智能卡;并根据各智能卡对应记录的第二智能卡的激活时间 和注销时间, 筛选出第一智能卡, 所述第一智能卡记录的对应所述第二智能卡 的激活时间和注销时间所构成的时间范围包括了所述时间参数,并将所述筛选 出的智能卡信息发送给主叫用户终端。 Preferably, in the embodiment, the request message includes a second smart card identifier and a time parameter of the second smart card being used by the called user, and the step S302 is specifically: the server according to the Searching for a second smart card identifier in the request message with the second smart card a smart card having an associated relationship; and filtering, according to the activation time and the logout time of the second smart card corresponding to each smart card, the first smart card, the activation time and the logout time of the second smart card recorded by the first smart card The constructed time range includes the time parameter, and the filtered smart card information is sent to the calling user terminal.
本实施例中可选的,所述请求消息中包含有第二智能卡标识和所述第二智 能卡的实名信息,则所述服务器查找与所述第二智能卡建立有关联关系的一个 或多个智能卡,并将查询到的所述一个或多个智能卡信息返回给主叫用户终端, 则步骤 S302具体为:  Optionally, in the request message, the request message includes a second smart card identifier and real name information of the second smart card, and the server searches for one or more smart cards that are associated with the second smart card. And returning the queried one or more smart card information to the calling user terminal, and step S302 is specifically:
服务器根据所述请求消息中的第二智能卡标识查找与所述第二智能卡建 立有关联关系的各智能卡; 并根据各智能卡对应记录的实名信息, 筛选出与所 述第二智能卡的实名信息相同的一个或多个智能卡,并将所述筛选出的一个或 多个智能卡信息发送给主叫用户终端。  The server searches for each smart card that is associated with the second smart card according to the second smart card identifier in the request message; and filters out the real name information of the second smart card according to the real name information of the corresponding smart card. One or more smart cards, and the filtered one or more smart card information is sent to the calling user terminal.
本实施例可选的还包括:  Optionally, the embodiment further includes:
S303、 服务器接收主叫用户选择第一智能卡作为被叫的确认消息。  S303. The server receives a confirmation message that the calling user selects the first smart card as the called party.
S304、 服务器向第一智能卡所在用户终端发起呼叫请求。  S304. The server initiates a call request to the user terminal where the first smart card is located.
其中, 步骤 S304优选的, 所述向第一智能卡所在被叫用户终端发起呼叫 请求, 具体为: 服务器建立自身与被叫用户终端的呼叫通道, 向被叫终端播报 或以短信方式告知主叫用户的转接请求;接收被叫用户终端的允许通话的确认 消息, 服务器建立主叫用户和被叫用户之间的呼叫通道。  Step S304: The call request is initiated to the called user terminal where the first smart card is located, where: the server establishes a call channel between itself and the called user terminal, broadcasts the message to the called terminal, or informs the calling user by using a short message. The transfer request; receiving the confirmation message of the called user terminal allowing the call, the server establishes a call channel between the calling user and the called user.
本实施例提供了一种方法,补充了实施例一和实施例二中采用的服务器根 据关联关系自动查找与第二智能卡关联的智能卡可能不仅仅只存在第一智能 卡的情况; 通过向主叫用户终端返回满足请求消息的一个或多个智能卡, 而进 一步由用户终端来决定向哪个智能卡发送呼叫请求。  The embodiment provides a method, and the server used in the first embodiment and the second embodiment automatically finds that the smart card associated with the second smart card may not only exist only in the first smart card according to the association relationship; The terminal returns one or more smart cards that satisfy the request message, and the user terminal further determines which smart card to send the call request to.
实施例三是由服务器自动检测与第一智能卡拥有关联关系的第二智能卡, 并通过第一智能卡所在用户终端的确认建立关联关系的响应建立两者的关联 关系; 而实际应用中可能遇到服务器所提供的自动检测机制无法实现的情况, 如: (1 )主叫用户使用新手机并激活 SIM卡时; (2 )主叫用户想与不是属于 自己的 SIM卡建立关联关系时。 在实施例四中, 提供了一种由第一智能卡对 应用户终端主动发起与指定第二智能卡建立关联关系的方法。 实施例四 The third embodiment is that the server automatically detects the second smart card that has an association relationship with the first smart card, and establishes an association relationship between the two by the user terminal of the first smart card to establish an association relationship; the actual application may encounter the server. The automatic detection mechanism provided cannot be implemented, such as: (1) When the calling user uses the new mobile phone and activates the SIM card; (2) When the calling user wants to establish an association relationship with the SIM card that is not his own. In the fourth embodiment, a method for actively establishing an association relationship with a designated second smart card by the first smart card corresponding user terminal is provided. Embodiment 4
一种建立关联关系的方法实施例,本实施提供了一种由第一智能卡对应用 户终端主动发起与指定第二智能卡建立关联关系的方法, 其流程如图 4所示, 包括:  An embodiment of a method for establishing an association relationship, the method provides a method for an active relationship between an application terminal and an application of a second smart card by a first smart card, and the process is as shown in FIG. 4, including:
S401、接收来自第一智能卡所在用户终端的建立关联关系的请求消息,所 述请求中携带第二智能卡信息。  S401. Receive a request message for establishing an association relationship from a user terminal where the first smart card is located, where the request carries the second smart card information.
5402、根据所述请求消息向所述第一智能卡所在用户终端发送携带要求返 回所述第二智能卡用户密码的响应消息。  S402: Send, according to the request message, a response message carrying a password for returning the second smart card user to the user terminal where the first smart card is located.
5403、接收来自第一智能卡所在用户终端返回的对应第二智能卡的用户密 码,在核对与自身存储的第二智能卡的用户密码相同时, 建立第一智能卡和第 二智能卡的关联关系。  5403. Receive a user password corresponding to the second smart card returned by the user terminal where the first smart card is located, and establish an association relationship between the first smart card and the second smart card when the user password of the second smart card stored by the first smart card is the same.
可选的, 所述第二智能卡和所述第一智能卡不归属于同一个服务器时, 步 骤 S403具体为: 服务器确认所述第二智能卡和所述第一智能卡不归属于同一 个服务器,则通过第二智能卡所在服务器获取对应第二智能卡对应用户密码并 存储。  Optionally, when the second smart card and the first smart card are not at the same server, step S403 is specifically: the server confirms that the second smart card and the first smart card are not at the same server, The server where the second smart card is located acquires the password corresponding to the second smart card and stores it.
在核对与自身存储的第二智能卡的用户密码相同时,建立第一智能卡和第 二智能卡的关联关系, 并向所述第二智能卡所在服务器发送所述关联关系,使 得所述第二智能卡所在服务器能够存储所述关联关系。  Establishing an association relationship between the first smart card and the second smart card, and sending the association relationship to the server where the second smart card is located, so that the server where the second smart card is located is configured to be the same as the user password of the second smart card stored in the second smart card. The association relationship can be stored.
实施例五  Embodiment 5
本实施例中提供的一种建立关联关系的方法,智能卡具体表现为 SIM卡, 用户终端中包含一个电话簿应用,并通过该电话簿应用实现上述实施例中用户 终端侧的功能, 包括: 存储有当前使用的 SIM卡信息, 在第一次使用地址簿 应用或者所述应用检测到 SIM卡信息与存储的之前使用 SIM卡信息不同时, 优选的自动向服务器上传本地电话簿信息,还可以是电话簿应用通过用户终端 向用户呈现提示信息并在接收确认操作后完成上传本地电话簿信息到服务器 的操作;所述电话簿应用会记录用户终端上电话簿信息的修改并在用户更新服 务器中电话簿信息, 所述更新具体为上传修改了的电话簿信息; 优选的所述电 话簿应用还记录电话簿信息修改比例,其值是用户终端此次上传电话薄信息相 比前一次上传的电话簿信息修改的信息内容占总的电话簿信息内容的比值;所 述电话簿信息修改比例在用户终端上传本地电话簿或更新服务器中电话簿时 一起传递给服务器,使得服务器在进行匹配操作时进一步利用所述修改比例更 精确的找到关联用户账号。 In the method for establishing an association relationship, the smart card is specifically represented by a SIM card, and the user terminal includes a phone book application, and the functions of the user terminal side in the foregoing embodiment are implemented by the phone book application, including: There is currently used SIM card information. When the first use of the address book application or the application detects that the SIM card information is different from the stored SIM card information, the preferred automatic upload of the local phone book information to the server may also be The phone book application presents the prompt information to the user through the user terminal and completes the operation of uploading the local phone book information to the server after receiving the confirmation operation; the phone book application records the modification of the phone book information on the user terminal and calls in the user update server The book information, the update is specifically uploading the modified phone book information; the preferred phone book application also records the phone book information modification ratio, and the value is the phone book information uploaded by the user terminal compared to the previous time. The information content modified by the information accounts for the ratio of the total contents of the phone book information; The phone book information modification ratio is transmitted to the server together when the user terminal uploads the local phone book or updates the phone book in the server, so that the server further uses the modification ratio to find the associated user account more accurately when performing the matching operation.
本实施例中, 第一智能卡具体表现为第一 SIM卡, 第二智能卡具体表现 为第二 SIM卡; 则本实施例实现用户终端插入第一 SIM卡, 并完成上传终端 本地电话簿到服务器, 建立关联关系流程图如图 5所示, 包括:  In this embodiment, the first smart card is specifically represented by the first SIM card, and the second smart card is specifically represented by the second SIM card. In this embodiment, the user terminal inserts the first SIM card, and completes uploading the local phone book of the terminal to the server. The flowchart for establishing the relationship is shown in Figure 5, including:
5501、 用户终端插入第一 SIM卡, 并启动电话簿应用。  5501. The user terminal inserts the first SIM card, and starts the phone book application.
电话簿应用中未记录有第一 SIM卡信息或者核对记录有的 SIM卡信息和 插入的第一 SIM卡不符, 电话簿应用提示用户使用临时登录方式或者使用登 记登录方式,所述临时登录为默认方式且不会在用户终端的电话簿应用中留下 SIM卡信息的记录; 而所述登记登录则会在电话簿应用中留下 SIM卡信息的 记录, 并在下一次使用该 SIM卡登录时会跳过上述提示过程, 从而由默认登 记登录方式启动。  The first SIM card information is not recorded in the phone book application or the verified SIM card information does not match the inserted first SIM card, and the phone book application prompts the user to use the temporary login mode or use the registered login mode, and the temporary login is the default. And does not leave a record of the SIM card information in the phone book application of the user terminal; and the registration login will leave a record of the SIM card information in the phone book application, and will be used when logging in the next time using the SIM card Skip the above prompt process, so that it is started by the default registration login method.
5502、 用户终端登录服务器, 并选择上传终端本地电话簿。  5502. The user terminal logs in to the server, and selects the uploading terminal local phone book.
所述临时登录和登记登录在进一步要完成登录服务器时,都会被要求输入 对应所述第一 SIM卡的用户密码。  The temporary login and registration login are required to input a user password corresponding to the first SIM card when the login server is further to be completed.
上传由所述第一 SIM卡标识、 电话簿信息和电话簿信息修改比例构成的 数据包。  A data packet consisting of the first SIM card identifier, phone book information, and phone book information modification ratio is uploaded.
5503、服务器根据所述第一 SIM卡标识查询 SIM卡数据库,获取第一 SIM 卡信息; 根据所述第一 SIM卡信息临时存储该上传的电话簿信息和电话簿信 息修改比例。  S503. The server queries the SIM card database according to the first SIM card identifier to obtain the first SIM card information, and temporarily stores the uploaded phone book information and the phone book information modification ratio according to the first SIM card information.
服务器从第一 SIM卡信息中获取实名信息, 获取成功时进入 S504; 获取 失败时进入 S510。  The server obtains the real name information from the first SIM card information, and when the acquisition succeeds, the process proceeds to S504; when the acquisition fails, the process proceeds to S510.
5504、 服务器查找自身存储的实名制 SIM卡的信息, 所述存储的实名制 SIM卡包括处于激活状态的或者处于注销状态的;在查询到拥有相同实名信息 的第二 SIM卡时,服务器向第一 SIM卡所在用户终端发送建立关联关系请求, 所述建立关联关系请求中包含要求用户终端输入所要建立关联关系的第二 SIM卡的用户密码,并进入 S505;所述查询未找到同名信息的第二 SIM卡时, 进入 S506。 5505、服务器收到来自用户终端的确认建立关联关系的响应; 所述响应中 携带有第二 SIM卡的用户密码。 5504. The server searches for information of a real-name SIM card stored by the server, where the stored real-name SIM card includes an activated state or is in a logout state; when querying a second SIM card that has the same real-name information, the server sends the first SIM to the first SIM. The user terminal of the card sends a request for establishing an association relationship, where the request for establishing the association relationship includes a user password of the second SIM card that requires the user terminal to input the association relationship to be established, and proceeds to S505; the second SIM of the same name information is not found in the query. When the card is in, enter S506. S505: The server receives a response from the user terminal to confirm the establishment of the association relationship, where the response carries the user password of the second SIM card.
此时根据第二 SIM卡的状态有以下两种处理情况:  At this time, according to the state of the second SIM card, there are the following two processing situations:
1 )第二 SIM卡已注销,但是对应第二 SIM卡存储的电话簿信息还未删除, 则服务器在存储的第一 SIM卡的关联字段增加第二 SIM卡信息, 并合并存储 的第二 SIM卡的电话簿信息和第一 SIM卡的电话簿信息; 若所述第二 SIM卡 也包含有关联关系的第三 SIM卡, 则该关联关系也会跟随第二 SIM卡被关联 到第一 SIM卡的关联字段中。  1) the second SIM card has been logged out, but the phone book information stored corresponding to the second SIM card has not been deleted, the server adds the second SIM card information in the associated field of the stored first SIM card, and merges the stored second SIM The phone book information of the card and the phone book information of the first SIM card; if the second SIM card also includes a third SIM card with an associated relationship, the association relationship is also followed by the second SIM card being associated with the first SIM card In the associated field of the card.
2 )第二 SIM卡还处于激活状态, 则服务器在存储的第一 SIM卡和第二 SIM卡的各自的关联字段增加对方的 SIM卡信息。  2) The second SIM card is still in an active state, and the server adds the SIM card information of the other party in the respective associated fields of the stored first SIM card and the second SIM card.
优选的, 建立有关联关系的两个或多个 SIM卡在具有相同的 SIM卡信息 时, 如实名信息, 则两个或多个 SIM卡公用一套 SIM卡信息, 以减少存储空 间的占用。  Preferably, when two or more SIM cards having an association relationship have the same SIM card information, such as real name information, two or more SIM cards share a set of SIM card information to reduce the occupation of the storage space.
完成上述步骤后进入 S514。  After completing the above steps, proceed to S514.
第一 SIM卡信息和第二 SIM卡信息包含了电话号码、 SIM卡激活时间、 身份证和 /或用户名等信息, 若所述第二 SIM卡已经注销了, 则第一 SIM卡中 增加的有关第二 SIM卡的关联信息还包括第二 SIM卡的注销时间。  The first SIM card information and the second SIM card information include information such as a phone number, a SIM card activation time, an ID card, and/or a user name. If the second SIM card has been logged out, the first SIM card is added. The association information about the second SIM card also includes the logout time of the second SIM card.
5506、 服务器检索 SIM卡数据库中各 SIM卡对应的电话簿信息与上传的 电话簿信息的匹配程度。所述匹配程度主要以电话簿信息中的电话号码作为主 要匹配对象,优选的还可以增加电话簿信息中对应所述号码的用户姓名、性别 和 /或生日等其他信息作为匹配对象之一。  5506. The server searches for a matching degree between the phone book information corresponding to each SIM card in the SIM card database and the uploaded phone book information. The matching degree mainly uses the telephone number in the phone book information as the main matching object, and preferably, other information such as the user name, gender and/or birthday corresponding to the number in the phone book information is added as one of the matching objects.
5507、 检测到第二 SIM卡与第一 SIM卡的电话簿信息匹配程度大于阈值 时, 向用户终端发送建立关联关系请求, 所述请求中包含要求用户终端输入所 要关联的第二 SIM卡的用户密码,并进入 S509;在所述匹配程度小于阈值时, 进入 S508。  5507. When detecting that the degree of matching between the second SIM card and the first SIM card is greater than a threshold, send a request for establishing an association relationship to the user terminal, where the request includes a user that requires the user terminal to input the second SIM card to be associated. The password proceeds to S509; when the matching degree is less than the threshold, the process proceeds to S508.
其中阈值是服务器根据用户终端上传的电话簿信息修改比例计算得出,所 述电话簿信息修改比例由电话簿应用记录,包含了该用户终端从最后一次上传 或者更新服务器后,在本地电话簿中做的修改内容占总的本地电话簿信息内容 的比值,因此所述电话簿信息修改比例和服务器中计算的匹配度在基于相同的 算法基础上求和值为 l; 所述相同的算法即参与计算的电话簿信息相同, 如都 使用了电话簿信息中的姓名、手机号或地址等作为计算参数, 并使用相同的计 算公式得到结果。根据上述原理在电话簿信息修改比例值基础上, 并增加一定 波动范围设定出阈值, 优选的偏差范围不超过 5%。 The threshold value is calculated by the server according to the modification ratio of the phone book information uploaded by the user terminal, and the phone book information modification ratio is recorded by the phone book application, and includes the user terminal in the local phone book after the last upload or update of the server. The modified content is the ratio of the total local phone book information content, so the phone book information modification ratio and the calculated matching degree in the server are based on the same The summation value is l based on the algorithm; the same algorithm is the same as the phone book information involved in the calculation, for example, the name, the mobile phone number or the address in the phone book information is used as the calculation parameter, and the same calculation formula is used. result. According to the above principle, based on the phone book information modification ratio value, and adding a certain fluctuation range to set the threshold value, the preferred deviation range does not exceed 5%.
S508、 服务器将临时存储的所述电话簿信息对应所述第一 SIM卡信息进 行存储, 并进入 S514。  S508. The server stores the temporarily stored phone book information corresponding to the first SIM card information, and proceeds to S514.
S509、 服务器收到来自用户终端的携带有所述第二 SIM卡用户密码的确 认建立关联关系响应。  S509. The server receives an acknowledgement from the user terminal that carries the password of the second SIM card user to establish an association relationship.
此时根据第二 SIM卡的状态有以下两种处理情况:  At this time, according to the state of the second SIM card, there are the following two processing situations:
1 )第二 SIM卡已注销,但是对应第二 SIM卡存储的电话簿信息还未删除, 则服务器在存储的第一 SIM卡的关联字段增加第二 SIM卡信息, 并合并存储 的第二 SIM卡的电话簿信息和第一 SIM卡的电话簿信息; 若所述第二 SIM卡 也包含有关联关系的第三 SIM卡, 则该关联关系也会跟随第二 SIM卡被关联 到第一 SIM卡的关联字段中。  1) the second SIM card has been logged out, but the phone book information stored corresponding to the second SIM card has not been deleted, the server adds the second SIM card information in the associated field of the stored first SIM card, and merges the stored second SIM The phone book information of the card and the phone book information of the first SIM card; if the second SIM card also includes a third SIM card with an associated relationship, the association relationship is also followed by the second SIM card being associated with the first SIM card In the associated field of the card.
2 )第二 SIM卡还处于激活状态, 则服务器在存储的第一 SIM卡和第二 2) The second SIM card is still active, then the server is storing the first SIM card and the second
SIM卡的各自的关联字段增加对方的 SIM卡信息。 The respective associated fields of the SIM card add the SIM card information of the other party.
优选的, 建立有关联关系的两个或多个 SIM卡在具有相同的 SIM卡信息 时, 如实名信息; 则两个或多个 SIM卡公用一套 SIM卡信息, 以减少存储空 间的占用。  Preferably, when two or more SIM cards having an association relationship have the same SIM card information, such as real name information; then two or more SIM cards share a set of SIM card information to reduce the occupation of the storage space.
完成上述步骤后并进入 S514。  After completing the above steps, go to S514.
第一 SIM信息卡包含了电话号码、 SIM卡激活时间、 身份证、 用户名等 信息, 而第二 SIM信息卡只包含电话号码、 SIM卡激活时间; 若所述第二 SIM 卡已经注销了则第一 SIM卡中增加的有关第二 SIM卡的关联信息还包括第二 SIM卡的注销时间。  The first SIM information card includes information such as a phone number, a SIM card activation time, an ID card, a user name, and the like, and the second SIM information card only includes a phone number and a SIM card activation time; if the second SIM card has been logged out, The associated information about the second SIM card added in the first SIM card further includes the logout time of the second SIM card.
S510、 服务器进一步检索 SIM卡数据库中各 SIM卡对应的电话簿信息与 上传电话簿信息的匹配程度。  S510. The server further searches for a matching degree between the phone book information corresponding to each SIM card in the SIM card database and the uploaded phone book information.
S511、 在所述匹配程度大于阈值时, 向用户终端发送建立关联关系请求, 所述建立关联关系请求中包含要求用户终端输入所要关联的第二 SIM卡的用 户密码的请求信息, 并进入 S512; 在所述匹配程度小于阈值时, 进入 S513。 S512、 服务器收到来自用户终端的携带有所述第二 SIM卡用户密码的确 认信息, 所述确认信息中优选的包含有第二 SIM卡的用户密码信息; 进一步 服务器在存储的第一 SIM卡和第二 SIM卡对应的关联字段增加对方的 SIM卡 信息, 并进入 S514。 S511, when the matching degree is greater than the threshold, sending a relationship establishment request to the user terminal, the establishing association relationship request includes request information for requiring the user terminal to input the user password of the second SIM card to be associated, and proceeds to S512; When the degree of matching is less than the threshold, the process proceeds to S513. S512. The server receives the confirmation information from the user terminal that carries the password of the second SIM card user. The confirmation information preferably includes the user password information of the second SIM card. Further, the server stores the first SIM card. The associated field corresponding to the second SIM card increases the SIM card information of the other party, and proceeds to S514.
S513、 服务器使用临时存储所述第一 SIM卡信息以及对应的电话簿对象 为所述第一 SIM卡生成没有关联信息的电话簿备份,并删除临时存储的数据, 并进入 S514。  S513. The server temporarily stores the first SIM card information and the corresponding phonebook object to generate a phonebook backup without associated information for the first SIM card, and deletes the temporarily stored data, and proceeds to S514.
S514、 服务器向用户终端返回关联成功或者创建电话簿备份成功。  S514. The server returns the association success to the user terminal or creates a phone book backup success.
本实施例中, 在本实施例中第一 SIM卡关联所述第二 SIM卡时, 为减少 计算复杂度对于所述关联信息中的激活时间和注销时间内容,可以只精确到年 和月份; 优选的服务器可以设置一个保留期限, 并在完成所述关联或者超出保 留期限后, 删除存储于服务器上对应所述第二 SIM卡的电话簿信息。  In this embodiment, when the first SIM card is associated with the second SIM card in this embodiment, in order to reduce the computational complexity, the activation time and the logout time content in the associated information may be accurate only to the year and month; The preferred server may set a retention period and delete the phone book information corresponding to the second SIM card stored on the server after the association is completed or the retention period is exceeded.
如果所述第二 SIM卡在完成与所述第一 SIM关联后才注销, 服务器提示 用户是否选择合并服务器中第一 SIM卡对应的电话簿信息和第二 SIM卡对应 的电话簿信息; 服务器可以根据用户终端的确认合并响应,执行合并所述中第 一 SIM卡对应的电话簿信息和第二 SIM卡对应的电话簿信息操作, 并更新第 一 SIM卡中关联第二 SIM卡信息, 包括第二 SIM卡的注销时间。  If the second SIM card is logged out after being associated with the first SIM, the server prompts the user whether to select the phone book information corresponding to the first SIM card in the merge server and the phone book information corresponding to the second SIM card; Performing, according to the confirmation merge response of the user terminal, performing the operation of combining the phone book information corresponding to the first SIM card and the phone book information corresponding to the second SIM card, and updating the associated second SIM card information in the first SIM card, including the first The logout time of the two SIM cards.
优选的, 在上述合并过程完成后, 服务器发送同步更新请求给用户终端, 通过用户终端上的电话簿应用完成同步更新服务器中合并后的电话簿信息。  Preferably, after the foregoing merge process is completed, the server sends a synchronization update request to the user terminal, and completes the merged phone book information in the synchronous update server by using the phone book application on the user terminal.
本实施例中, 优选的对于 SIM卡在服务器上的记录的电话簿信息还包含 最后的更新时间, 所述最后的更新时间可以只是针对电话号码的修改。  In this embodiment, the preferred phone book information for the SIM card on the server further includes the last update time, and the last update time may be only the modification for the phone number.
本实施例中建立在电话簿应用基础上,通过加入账号间关联搜索和关联建 立功能, 使得同一用户使用过的 SIM卡能智能的完成关联, 并通过增加了记 录变更比例, 增加了关联精度。  In this embodiment, based on the phone book application, by adding the association search between the accounts and the association establishment function, the SIM card used by the same user can intelligently complete the association, and the association precision is increased by increasing the record change ratio.
实施例六  Embodiment 6
本实施例中, 主叫用户联系终端本地电话簿信息中第二 SIM卡标识时; 在所述电话簿对象已经被注销时, 后续操作如图 6所示, 包括:  In this embodiment, when the calling user contacts the second SIM card identifier in the local phone book information of the terminal; when the phone book object has been logged out, the subsequent operations are as shown in FIG. 6, including:
S601、 服务器检测到主叫用户呼叫的所述第二 SIM卡已经注销时, 返回 提示音给主叫用户: "被叫用户第二 SIM卡已经注销, 进入服务器搜索该号码 的关联用户"。 S601. When the server detects that the second SIM card of the calling user's call has been logged out, the prompting tone is returned to the calling user: "The second SIM card of the called user has been logged out, and the server is searched for the number. Associated users."
S602、 服务器在 SIM卡数据库中检索与第二 SIM卡建立有关联关系的其 他 SIM卡。  S602. The server retrieves, in the SIM card database, other SIM cards that are associated with the second SIM card.
由于本实例中服务器已经在 S601中确认了第二 SIM卡已经注销,那么所 述第二 SIM卡必定存储于所要搜索的关联用户的关联字段中, 因此服务器直 接从各 SIM卡的关联字段中检索所述第二 SIM卡来确认是否为所要搜索的关 联用户。  Since the server in this example has confirmed in S601 that the second SIM card has been logged out, the second SIM card must be stored in the associated field of the associated user to be searched, so the server directly retrieves from the associated fields of each SIM card. The second SIM card confirms whether it is an associated user to be searched for.
S603、服务器查找到与所述第二 SIM卡建立有关联关系的其他 SIM卡后, 进入步骤 S604。  S603. After the server finds another SIM card that is associated with the second SIM card, the process proceeds to step S604.
具体根据其他 SIM卡的个数有如下处理方法:  According to the number of other SIM cards, the following methods are available:
当所述其他 SIM卡只有一个, 即为第一 SIM卡时, 直接进入步骤 S604。 当查找到的所述其他 SIM卡拥有多个时, 首先获取对应主叫用户存储在 服务器上电话簿信息, 并从所述电话簿信息中提取记录有第二 SIM卡标识的 最后更新时间; 其次获取上述查找到的关联的多个 SIM卡关联信息中有关第 二 SIM卡的激活时间和注销时间; 最后判断所述述激活时间和注销时间所组 成的时间区间包含了所述更新时间的, 即为所要搜索的第一 SIM卡。  When there is only one other SIM card, that is, the first SIM card, the process directly proceeds to step S604. When the plurality of other SIM cards that are found have multiple, first obtain the phone book information stored on the server by the corresponding calling user, and extract the last update time recorded with the second SIM card identifier from the phone book information; Obtaining an activation time and a logout time of the second SIM card in the plurality of SIM card association information of the association found; and finally determining that the time interval formed by the activation time and the logout time includes the update time, that is, Is the first SIM card to be searched for.
如果服务器未查找到有与所述第二 SIM卡建立有关联关系的其他 SIM卡 时, 则进入步骤 S606。  If the server does not find another SIM card having an association with the second SIM card, then step S606 is reached.
S604、 服务器发送携带有主叫用户信息的呼叫提示给查找到的第一 SIM 卡所在被叫用户终端; 根据被叫用户设置的模式发送呼叫提示, 可以是语音播 报提示, 也可以是短信消息, 或者是其他通知方式。  S604: The server sends a call prompt that carries the information of the calling user to the called user terminal where the first SIM card is found; and sends a call prompt according to the mode set by the called user, which may be a voice broadcast prompt or a short message message. Or other means of notification.
S605、服务器在接收到被叫用户根据提示返回的允许给予主叫用户终端自 身的联系方式后, 服务器向主叫用户发送被叫用户的关联联系方式, 并进入 S607。  S605. After receiving the contact mode that the called user returns to the calling user terminal according to the prompt, the server sends the associated contact mode of the called user to the calling user, and proceeds to S607.
可选的,被叫用户还可以返回建立与主叫用户终端的呼叫通道的确认信息, 服务器则完成两者的呼叫接续, 并进入 S607。  Optionally, the called user may also return an acknowledgement message for establishing a call channel with the calling user terminal, and the server completes the call connection of the two, and proceeds to S607.
S606、 返回未找到确认信息。  S606, return no confirmation information found.
所述未找到可能有多个原因, 如:  There may be multiple reasons for the not being found, such as:
1 )被叫用户还没有及建立第一 SIM卡(即新激活的 SIM卡 )与所述第二 SIM卡(已注销的 SIM卡) 的关联关系。 1) The called user has not yet established a first SIM card (ie, a newly activated SIM card) and the second The association of the SIM card (the cancelled SIM card).
2 )被叫用户在安装了第一 SIM卡时, 拒绝了如实施例二中服务器发送的 与所述第二 SIM卡建立关联关系的请求。  2) When the first SIM card is installed, the called user rejects the request sent by the server in the second embodiment to establish an association relationship with the second SIM card.
3 )被叫用户终端在服务器中只有第一 SIM卡一个使用历史。  3) The called user terminal has only one usage history of the first SIM card in the server.
S607、 结束本轮服务器自查找过程。  S607. End the self-search process of the current server.
本实施例合理的利用了常规情况下,主叫用户记录的被叫用户的号码通常 是在其激活该号码之后并在注销该号码之前, 因此以此作为判定与所述第二 SIM卡建立有关联关系的 SIM卡, 能减少主叫用户在搜索到多个关联 SIM卡 时的选择操作, 提高服务器的智能性。  In this embodiment, the number of the called user recorded by the calling user is usually after the activation of the number and before the number is cancelled, so that the determination is made with the second SIM card. The associated SIM card can reduce the selection operation of the calling user when searching for multiple associated SIM cards, and improve the intelligence of the server.
但是可能会遇到另一种情况: 所述第二 SIM卡已被被叫用户注销, 并由 运营商重新出售给了第三用户, 并重新被第三用户激活; 此时主叫用户拨打第 二 SIM卡标识时, 因为第二 SIM卡为激活状态, 因此服务器会直接建立主叫 用户终端和第三用户终端的呼叫通道; 于是就会出现拨打电话号码能拨通,但 是接听人却不是所要呼叫的被叫用户情况。 因此需要一种方法, 能够让主叫用 户意识到所述第二 SIM卡已经重新分配给第三用户后,进一步能够以第二 SIM 卡标识寻找到所要呼叫的被叫用户,因此下面的实施例七便提供了一种让主叫 用户能够通过提供关联信息主动发起关联搜索的方法。  However, another situation may be encountered: the second SIM card has been logged off by the called user and resold by the operator to the third user and reactivated by the third user; When the second SIM card is identified, because the second SIM card is in an active state, the server directly establishes a call channel of the calling user terminal and the third user terminal; then the dialing telephone number can be dialed, but the answering person does not want to The called user of the call. Therefore, there is a need for a method for the calling user to be aware that the second SIM card has been reassigned to the third user, and further to find the called user to be called with the second SIM card identifier, so the following embodiment Seven provides a way for the calling user to initiate an association search by providing associated information.
实施例七  Example 7
本实施例则提供一种方法, 使得主叫用户能够通过第二 SIM卡在服务器 中的关联关系查找真正的被叫用户当前使用的第一 SIM卡, 其流程图如图 7 所述, 具体为:  The embodiment provides a method for the calling user to find the first SIM card currently used by the called user through the association relationship of the second SIM card in the server. The flowchart is as shown in FIG. 7 , specifically :
S701、 输入查找的关键词, 并将所述关键词发送给服务器。 所述关键词优 选的是服务器限定的内容, 如: 所要查找到第二 SIM卡所属的用户名和 /或所 要查找第二 SIM卡被归属用户使用的某个时间点。  S701. Enter a keyword to be searched, and send the keyword to the server. The keyword is preferably server-defined content, such as: a username to which the second SIM card belongs and/or a point in time at which the second SIM card is to be used by the home user.
S702、 服务器使用所述关键词进行查找。  S702. The server uses the keyword to perform a search.
优选的关键词中包含了所述用户名和所述时间点时, 服务器首先从 SIM 卡库中根据各 SIM卡的实名信息查找满足实名信息与所述用户名相同的第二 SIM卡; 在通过所述用户名查找的结果为有多个 SIM卡的实名信息与所述用 户名相同时, 进一步服务器根据上述查找到的属于不同用户的第二 SIM卡的 激活时间和注销时间,判断所述述激活时间和注销时间所组成的时间区间包含 了所述时间点的, 即为所要搜索的归属于被叫用户的第二 SIM卡; 或者未找 到实名信息与所述用户名相同的 SIM卡(原因可能是被叫用户使用第二 SIM 卡时未使用实名信息) 时, 进一步服务器获取自身存储的所有有关第二 SIM 卡的激活时间和注销时间,判断所述述激活时间和注销时间所组成的时间区间 包含了所述时间点的, 即为所要搜索的归属于被叫用户的第二 SIM卡。 When the preferred keyword includes the user name and the time point, the server first searches for a second SIM card that satisfies the real name information and the same user name from the SIM card library according to the real name information of each SIM card; The result of the user name search is that when the real name information of the plurality of SIM cards is the same as the user name, the server further searches for the second SIM card belonging to different users according to the above-mentioned search. The activation time and the logout time are determined, and the time interval formed by the said activation time and the logout time is included in the time point, that is, the second SIM card belonging to the called user to be searched; or the real name information is not found. When the SIM card with the same user name (the reason may be that the called user does not use the real name information when using the second SIM card), the server further acquires all activation time and logout time of the second SIM card stored by the server, and determines the The time interval formed by the activation time and the logout time includes the time point, that is, the second SIM card attributed to the called user to be searched.
服务器根据查找到的归属于被叫用户的第二 SIM卡的关联关系, 获取当 前被叫用户使用的第一 SIM卡。  The server obtains the first SIM card used by the current called user according to the found association relationship of the second SIM card belonging to the called user.
5703、 服务器根据被叫用户设定, 选择返回查找结果。  5703. The server selects and returns a search result according to the called user setting.
当被叫用户设定为允许任意用户使用第二 SIM卡获取与之建立有关联关 系的第一 SIM卡时, 则服务器将步骤 S703中获取到的当前被叫用户使用的第 一 SIM卡信息返回给主叫用户终端。  When the called user is configured to allow any user to use the second SIM card to obtain the first SIM card associated with the second SIM card, the server returns the first SIM card information used by the currently called user acquired in step S703. Give the calling user terminal.
当被叫用户设定为其他用户需要认证才能获取与第二 SIM卡建立有关联 关系的第一 SIM卡时, 服务器向第一 SIM卡所在的被叫用户终端发送认证请 求消息, 并在被叫用户终端返回认证通过的响应后, 服务器将第一 SIM卡信 息返回给主叫终端。 所述认证请求消息, 包含了主叫用户号码, 可选的还可以 包括主叫用户名、 号码所在地等信息。  When the called user sets the other SIM card to be authenticated to obtain the first SIM card associated with the second SIM card, the server sends an authentication request message to the called user terminal where the first SIM card is located, and is called After the user terminal returns the response of the authentication, the server returns the first SIM card information to the calling terminal. The authentication request message includes a calling party number, and optionally includes information such as a calling user name and a number location.
5704、 完成查找过程。  5704. Complete the search process.
本实施例能够让主叫用户意识到所述第二 SIM卡已经重新分配给第三用 户后, 进一步能够以第二 SIM卡标识寻找到所要呼叫的被叫用户。  In this embodiment, after the calling user realizes that the second SIM card has been reassigned to the third user, the calling user can further find the called user to be called by using the second SIM card identifier.
实施例八  Example eight
本发明提供的一种关联关系的建立和查找方法实施例,本实施例中第一智 能卡体现为第一 SIM卡, 第二智能卡体现为所述第二 SIM卡。 被叫用户在注 销自己的第二 SIM卡后, 激活了第一 SIM卡, 并通过服务器建立了第二 SIM 卡和第一 SIM卡的关联关系; 对应一个用户的关联关系可以包含多级, 即一 个用户曾经使用过的多个电话号码相互建立有关联关系。  An embodiment of the method for establishing and searching for an association relationship is provided by the present invention. In this embodiment, the first smart card is embodied as a first SIM card, and the second smart card is embodied as the second SIM card. After the called user cancels his second SIM card, the first SIM card is activated, and the association relationship between the second SIM card and the first SIM card is established through the server; the association relationship corresponding to one user may include multiple levels, that is, A plurality of phone numbers that a user has used have been associated with each other.
本实施例中主叫用户可以通过拨打服务平台号码,如 10086、 10000或 114 等, 通过互动式语音应答 (Interactive Voice Response, IVR)或者人工应答方式 完成数据操作。 其中用户建立关联关系具体操作可以但不局限于如下过程: 5801、 用户拨打 IVR电话 1008653, 用户听到 IVR播报的语音提示 "查 询操作请按 1 , 个人关联操作请按 2"。 In this embodiment, the calling user can complete the data operation by using an interactive voice response (IVR) or a manual response mode by dialing a service platform number, such as 10086, 10000, or 114. The specific operation of the user to establish the association relationship may be, but is not limited to, the following process: 5801. The user dials the IVR phone 1008653, and the user hears the voice prompt of the IVR broadcast. "Please press 1 for the query operation and 2 for the personal association operation."
5802、 用户通过用户终端输入 2后, IVR播报语音提示 "建立关联关系请 按 1 , 解除关联关系请按 2, 查询已关联关系请按 3"。  5802. After the user inputs 2 through the user terminal, the IVR broadcasts the voice prompt. "Please press 1 to establish the association relationship, press 2 to cancel the association relationship, and press 3" to query the association relationship.
S803、 用户输入 1后, IVR播报语音提示 "请输入所要关联号码, 以#号 键结束"。  S803. After the user inputs 1, the IVR broadcasts the voice prompt "Please enter the number to be associated, and end with the # key."
5804、 用户输入完所要关联的第二 SIM卡后, IVR播报语音提示 "请输 入关联号码对应用户密码, 以#号键结束"。  5804. After the user inputs the second SIM card to be associated, the IVR broadcasts a voice prompt "Please enter the associated number corresponding to the user password, and end with the # key."
5805、 用户输入完第二 SIM卡对应的用户密码。  5805. The user inputs a user password corresponding to the second SIM card.
服务器验证用户终端输入的第二 SIM卡对应的用户密码和服务器自身存 储有的第二 SIM卡对应的密码相同, 进一步通过 IVR播报语音提示 "您的关 联关系已经建立完成"。  The server verifies that the user password corresponding to the second SIM card input by the user terminal is the same as the password corresponding to the second SIM card stored by the server itself, and further announces the voice prompt "Your association relationship has been established" through the IVR.
所述服务器可以是 MSC, 具体的服务器在接收到用户输入的要建立关联 关系的第二 SIM卡, 并验证通过了对应的用户密码后, 服务器在关联存储区 内的关联映射表中添加所述第一 SIM卡信息和第二 SIM卡信息, 关联号码其 存储格式可以是以用户姓名的拼音首写字母加电话号码格式如 "gxl5072474807" , 实际存储时候, 按照手机键盘字母和键位对应关系存储, 如上述 "gxl5072474807,, 添加到映射表中具体为 "4915072474807" , 其中 g 对应数字键位 4, X对应数字键位 9; 可选的方案, 将与关联号码相关的用户 所示:  The server may be an MSC. After receiving the second SIM card input by the user to establish an association relationship, and verifying that the corresponding user password is passed, the server adds the foregoing in the association mapping table in the associated storage area. The first SIM card information and the second SIM card information, the storage number of the associated number may be a pinyin initial letter of the user name plus a phone number format such as "gxl5072474807", and when actually stored, according to the phone keyboard letter and key correspondence storage As described above, "gxl5072474807, added to the mapping table specifically "4915072474807", where g corresponds to the numeric key 4, X corresponds to the numeric key 9; an optional scheme, will be associated with the user associated with the associated number:
表 1  Table 1
Figure imgf000017_0001
Figure imgf000017_0001
具体过程中服务器检测用户输入资料如果与存储的相同则保留一份;其中 使用时间段优选的由服务器根据 SIM卡的激活时间和注销时间构成, 为了在 满足功能基础上节约存储空间, 使用时间段值可以由年分后两位和月份构成; 在服务器无法识别步骤 S804输入的所述第二 SIM卡时会根据该 SIM卡标识去 其所属的服务器中获取对应 SIM卡信息, 如: 第一 SIM卡属于移动运营商, 而输入的关联号码(第二 SIM卡标识)属于联通运营商时, 移动服务器会到 所述关联号码所属的联通服务器获取对应第二 SIM卡的关联信息。 所属服务 器间通信可以通过扩展现有的信令交互来实现, 具体可以通过移动运营商的 SMC和联通运营商的 SMC并利用 7号信令来实现其间的交互过程。 In the specific process, the server detects that the user input data is retained if it is the same as the stored one; wherein the usage time period is preferably composed by the server according to the activation time and the logout time of the SIM card, in order to Saving the storage space on the basis of the function, the usage time period value may be composed of two digits and a month after the year; when the server cannot identify the second SIM card input in step S804, the SIM card identifier is used to go to the server to which it belongs. Obtaining the corresponding SIM card information, for example, when the first SIM card belongs to the mobile operator, and the input associated number (the second SIM card identifier) belongs to the Unicom carrier, the mobile server obtains the corresponding corresponding to the Unicom server to which the associated number belongs. Two SIM card association information. The inter-server communication can be implemented by extending the existing signaling interaction. The SMC of the mobile operator and the SMC of the Unicom carrier can be used to implement the interaction process.
在第一 SIM卡信息和第二 SIM卡信息都没有姓名信息时, 则服务器会通 过 IVR建议用户完成相关属性字段信息的补充。  When neither the first SIM card information nor the second SIM card information has name information, the server suggests to the user to complete the supplementation of the related attribute field information through the IVR.
本方案中优选的增加关联关系防干扰功能, 在步骤 S805中 IVR播报语音 提示 "您的关联关系已经建立完成,对方将可以通过查询您的旧手机号码从而 获取您的新号码, 进一步设置防干扰请按 1 , 否则请挂机"。  In the solution, the relationship of the anti-interference function is increased. In step S805, the IVR broadcasts the voice prompt "Your association relationship has been established, and the other party can obtain your new number by querying your old mobile phone number, and further set the anti-interference. Please press 1, otherwise please hang up."
S 806、 用户输入完 1号键后, IVR播报语音提示 "仅允许主叫用户发送 短信提示请按 1 , 仅允许主叫用户转接联系请按 2, 同时允许以上两种方式请 按 3"。  S 806, after the user inputs the No. 1 key, the IVR broadcasts the voice prompt "Please only allow the calling user to send a short message prompt, please press 1, and only allow the calling user to transfer the contact, please press 2, and at the same time allow the above two methods, please press 3" .
S807、 用户输入完 1号键后, IVR播报语音提示 "设置完成主叫将仅能通 过短信推送联系请求给您, 返回上层请按 *号键, 结束请挂机"。  S807. After the user enters the 1st key, the IVR broadcasts the voice prompt. "Setting the completion of the caller will only be able to push the contact request to you via SMS. To return to the upper layer, please press the * key, and end the call."
完成步骤 S807后,服务器在对应第一 SIM卡的关联信息中的短信通知字 段设为真, 则后续服务器根据所述短信通知字段确认通过短信方式通知第一 SIM 卡所在用户终端 "有用户通过您的关联号码试图联系到本机(第一 SIM 卡所在用户终端)。  After the step S807 is completed, the server sends the short message notification field in the associated information of the first SIM card to be true, and the subsequent server confirms that the user terminal of the first SIM card is notified by the short message mode according to the short message notification field. The associated number attempts to contact the local machine (the user terminal where the first SIM card is located).
假设被叫用户已经使用上述过程完成其第一 SIM卡信息和第二 SIM卡信 息的关联关系的建立, 而主叫用户通过 IVR查找服务器利用第二 SIM卡信息 查询该被叫用户的当前使用的第一 SIM卡信息流程具体为:  It is assumed that the called user has completed the establishment of the association relationship between the first SIM card information and the second SIM card information by using the above process, and the calling user queries the currently used user of the called user by using the second SIM card information through the IVR search server. The first SIM card information flow is specifically:
S901、 主叫用户拨打 IVR电话 1008653, 听到 IVR播报的语音提示 "查 询操作请按 1 , 个人关联操作请按 2"。  S901, the calling user dials the IVR phone 1008653, and hears the voice prompt of the IVR broadcast. "Please press 1 for the query operation and 2 for the personal related operation."
5902、 主叫用户输入 1后, IVR播报语音提示 "请输入所要查询的号码, 以按 #号键结束"。  5902. After the calling user inputs 1, the IVR broadcasts the voice prompt "Please enter the number to be queried, and press the # key to end".
5903、 主叫用户输入所要查找的关联号码后, IVR播报语音提示 "查找到 满足该关联号码的被关联用户有 3个,请进一步以姓名首写字母所在数字键格 式输入姓名信息并以#号键结束"。 5903. After the calling user inputs the associated number to be searched, the IVR broadcasts a voice prompt "find to There are three associated users who satisfy the associated number. Please enter the name information in the numeric key format of the first letter of the name and end with the # key.
服务器接收到用户输入的第二 SIM卡标识后, 从关联号码映射表中查找 所述第二 SIM卡的关联号码, 如果查找到的所述关联号码拥有多个时, 则服 务器会根据找到的各关联号码拥有的属性字段发送语音提示,服务器优选的以 查找的所述各关联号码共同拥有的属性字段作为提示内容, S903 中所述共同 拥有的属性字段是 "姓名"。  After receiving the second SIM card identifier input by the user, the server searches for the association number of the second SIM card from the associated number mapping table. If the associated number of the associated SIM card is found, the server may find each The attribute field owned by the associated number sends a voice prompt, and the server preferably uses the attribute field commonly owned by the searched associated number as the prompt content, and the commonly owned attribute field in S903 is "name".
如果未查找到则返回语音提示 "未查找到您输入的关联号码,返回上层请 按 *号键, 结束请挂机"。  If it is not found, it will return to the voice prompt "The associated number you entered is not found. Press the * key to return to the upper layer, and hang up when you end."
S904、 用户输入完所要求的姓名信息, 服务器验证完成后, 且被叫用户终 端建立关联关系时未设置 S806-S807 的关联关系防干扰功能时, 服务器通过 IVR播报语音提示 "查找到满足该关联号码的被关联用户有 1个, 以短信方式 发送转接请求请按 1号键, 以语音播报方式获取请按 2号键"。  S904. After the user inputs the required name information, after the server verification is completed, and the called user terminal establishes the association relationship, the association relationship anti-interference function of the S806-S807 is not set, the server promptly finds that the association is satisfied by the IVR broadcast voice prompt. There is one associated user of the number. To send a transfer request by SMS, press the 1st key. To obtain the voice broadcast, press the 2nd key.
当 S904中所述 "姓名"属性字段没能成功筛选出所要查找的第一 SIM卡 信息时, 优选的使用 "使用时间段"属性字段, 具体提示内容为 "查找到满足 该关联号码的被关联用户有 3个,请进一步以年份末两位加月份格式输入该关 联号码被使用期间的任一时刻的时间参数"; 由于每个 SIM卡分配给每个用户 的使用时间是互斥的, 即一个时间段只可能一个用户使用, 因此可以根据用户 输入的时间参数来唯一确定与所要查找的第一 SIM卡建立有关联关系的第二 SIM卡信息。  When the "name" attribute field in S904 fails to successfully filter out the first SIM card information to be searched, it preferably uses the "use time period" attribute field, and the specific prompt content is "found to find that the associated number is associated. There are three users. Please enter the time parameter of any time during which the associated number is used in the two-digit plus month format at the end of the year"; since the usage time allocated to each user by each SIM card is mutually exclusive, ie A time period is only possible for one user to use, so that the second SIM card information associated with the first SIM card to be found can be uniquely determined according to the time parameter input by the user.
S905、主叫用户输入 1选择以短信方式联系,服务器将携带主叫用户信息 的邀请短信发送给与所述关联号码相关联的用户。  S905. The calling user input 1 selects to contact by SMS, and the server sends an invitation message carrying the calling user information to the user associated with the associated number.
所述邀请短信优选的携带主叫用户的电话号码以及姓名信息,在所述用户 使用的 SIM卡没有经过实名制认证, 则服务器发送携带有电话号码的邀请短 信, 内容可以为 "用户方天易, 电话号码 15074557846, 希望获取您的联系方 式,,。  The invitation message preferably carries the telephone number of the calling user and the name information. If the SIM card used by the user does not pass the real-name authentication, the server sends an invitation message carrying the phone number, and the content may be "user party Tianyi, phone number. 15074557846, I hope to get your contact information,.
主叫用户输入 2时, 要求服务器向第一 SIM卡所在被叫用户终端发起呼 叫, 被叫用户在接听后会获取到 IVR的语音提示 "接通请按 1号键, 不再接 收该号码的呼叫请按 2号键", 在被叫用户选择 1后, 服务器完成主叫用户终 端和被叫用户终端的转接; 在被叫用户选择 2后,月良务器不再帮助主叫用户实 现转接服务。 When the calling user inputs 2, the server is required to initiate a call to the called user terminal where the first SIM card is located, and the called user obtains the voice prompt of the IVR after receiving the call. "Press the button No. 1, and no longer receive the number. Press the 2nd button ", after the called user selects 1, the server completes the calling user's end. The transfer between the terminal and the called user terminal; after the called user selects 2, the server does not help the calling user to implement the transfer service.
本实施例中, 在被叫用户设置有 S807, 并选择了 "设置完成主叫将仅能 通过短信推送联系请求" 方式时, 则 S904具体表现为:  In this embodiment, when the called user is set with S807, and the mode of "setting the completion caller can only push the contact request through the short message" is selected, the S904 is specifically expressed as:
用户输入完所要求的姓名信息, 服务器验证完成后, 进一步通过 IVR播 报语音提示 "查找到满足该关联号码的被关联用户有 1个, 以短信方式发送联 系邀请按 1号键"。  After the user completes the required name information, after the server verification is completed, the voice prompt is further transmitted through the IVR. "There is one associated user who finds the associated number, and the contact invitation is sent by SMS."
主叫用户输入 1选择以短信方式联系,服务器将携带主叫用户信息的邀请 短信发送给与所述关联号码相关联的用户并携带了提示 "不再接收该号码的短 信请按 1号键"; 在被叫用户选择 1后, 服务器不再接收主叫用户的对应所述 第一 SIM卡所在用户的短信请求。  The calling user inputs 1 to select to contact by SMS, and the server sends an invitation message carrying the calling user information to the user associated with the associated number and carries a prompt “Please press the No. 1 button for the message that no longer receives the number” After the called user selects 1, the server no longer receives the short message request of the calling user corresponding to the user of the first SIM card.
本实施例,基于用户终端主动申请建立关联关系的基础上, 并由主叫用户 主动通过被叫用户的第二 SIM卡信息查找到其当前使用的第一 SIM卡信息的 方法,提供了跨服务器查找的方法,使得查找范围不再局限于单个运营商服务 器中。  In this embodiment, based on the method in which the user terminal actively applies for establishing an association relationship, and the calling user actively searches for the first SIM card information currently used by the called user by using the second SIM card information of the called user, a cross-server is provided. The method of lookup makes the scope of the search no longer limited to a single carrier server.
实施例九  Example nine
本实施例提供一种维护联系方式的服务器装置,所述服务器装置对应方法 实施例一、 方法实施例二, 并用于实现所述方法; 所述服务器的结构示意图如 图 8所示, 包括:  The embodiment provides a server device for maintaining a contact mode, and the server device corresponds to the first embodiment and the second embodiment of the method, and is used to implement the method. The structure of the server is as shown in FIG.
接收模块 101 , 用于接收呼叫第二智能卡所在用户终端的呼叫请求。  The receiving module 101 is configured to receive a call request for calling a user terminal where the second smart card is located.
分析模块 102, 用于确认无法与所述第二智能卡所在被叫用户终端建立呼 叫通道时, 根据第二智能卡的关联关系确定转接第一智能卡所在用户终端。  The analyzing module 102 is configured to determine, when the call channel is not established with the called user terminal where the second smart card is located, determine, according to the association relationship of the second smart card, the user terminal where the first smart card is transferred.
发送模块 103, 用于将呼叫请求转发给第一智能卡所在用户终端。  The sending module 103 is configured to forward the call request to the user terminal where the first smart card is located.
可选的,所述转发过程具体为服务器利用分析模块 102建立自身与被叫用 户终端的呼叫通道,向被叫终端播报或以短信方式通过发送模块 103告知主叫 用户的转接请求; 可选的, 所述转接请求中携带了主叫用户的信息, 使得被叫 用户能够根据所述携带的主叫用户的信息决定是否允许建立呼叫通道;接收模 块 101 接收被叫用户终端的允许通话的确认消息, 服务器利用分析模块 102 建立主叫用户和被叫用户之间的呼叫通道。 优选的, 所述服务器装置还包括创建模块 104, 其中: Optionally, the forwarding process is specifically: the server uses the analysis module 102 to establish a call channel between itself and the called user terminal, broadcasts the message to the called terminal, or informs the calling user of the transfer request by using the sending module 103 by using a short message; The transfer request carries the information of the calling user, so that the called user can decide whether to allow the call channel to be established according to the information of the carried caller; the receiving module 101 receives the allowed call of the called user terminal. The confirmation message, the server uses the analysis module 102 to establish a call channel between the calling user and the called user. Preferably, the server device further includes a creating module 104, where:
所述分析模块 102, 还用于确认第一智能卡拥有关联信息, 根据所述关联 信息查找与所述第一智能卡满足关联条件的第二智能卡。  The analyzing module 102 is further configured to confirm that the first smart card has associated information, and find a second smart card that meets the associated condition with the first smart card according to the associated information.
所述发送模块 103 , 还用于向所述第一智能卡所在用户终端发送建立关联 关系请求。  The sending module 103 is further configured to send a request for establishing an association relationship to the user terminal where the first smart card is located.
所述接收模块 101 , 还用于接收所述用户终端返回的确认响应。  The receiving module 101 is further configured to receive an acknowledgement response returned by the user terminal.
所述创建模块 104, 用于根据所述用户终端返回的确认建立关联关系响应 建立所述第一智能卡与所述第二智能卡的关联关系。  The creating module 104 is configured to establish an association relationship between the first smart card and the second smart card according to the confirmation relationship returned by the user terminal.
本装置实施例的方法流程如方法实施例一和方法实施例二所述,此处不再 赘述。  The method flow of the embodiment of the present invention is as described in the first embodiment and the second embodiment of the method, and details are not described herein again.
实施例十  Example ten
一种维护联系方式的服务器装置, 所述服务器装置对应方法实施例三, 并 用于实现所述方法; 所述服务器的结构示意图如图 9所示, 包括:  A server device for maintaining a contact mode, the server device corresponding to the third embodiment of the method, and used to implement the method. The schematic structural diagram of the server is as shown in FIG.
第一接收模块 201 , 用于接收主叫用户终端查询第二智能卡关联关系的请 求消息。  The first receiving module 201 is configured to receive a request message that the calling user terminal queries the second smart card association relationship.
查找模块 202, 用于根据请求消息查找与所述第二智能卡建立有关联关系 的一个或多个智能卡。  The searching module 202 is configured to search, according to the request message, one or more smart cards that are associated with the second smart card.
第一发送模块 203 , 用于将查找到的所述一个或多个智能卡信息返回给主 叫用户终端。  The first sending module 203 is configured to return the found one or more smart card information to the calling user terminal.
第二接收模块 204, 用于接收主叫用户选择第一智能卡作为被叫的确认消 息。  The second receiving module 204 is configured to receive a confirmation message that the calling user selects the first smart card as the called party.
第二发送模块 205 , 用于向第一智能卡所在用户终端发起呼叫请求。  The second sending module 205 is configured to initiate a call request to the user terminal where the first smart card is located.
优选的, 所述查找模块 203还包括筛选模块 206, 其中:  Preferably, the searching module 203 further includes a screening module 206, where:
所述查找模块 205 , 还用于根据所述请求消息中的第二智能卡标识查找与 所述第二智能卡建立有关联关系的各智能卡。  The searching module 205 is further configured to: find, according to the second smart card identifier in the request message, each smart card that is associated with the second smart card.
所述筛选模块 206, 用于根据各智能卡对应记录的第二智能卡的激活时间 和注销时间,筛选出所述时间参数处于激活时间和注销时间之间的一个智能卡。  The filtering module 206 is configured to filter out, according to an activation time and a logout time of the second smart card corresponding to each smart card, a smart card whose time parameter is between an activation time and a logout time.
所述第一发送模块 201 , 还用于将所述 选出的智能卡信息发送给主叫用 户终端。 本装置实施例的方法流程如实施例三所述, 此处不再赘述。 The first sending module 201 is further configured to send the selected smart card information to the calling user terminal. The method flow of the embodiment of the device is as described in the third embodiment, and details are not described herein again.
实施例十一  Embodiment 11
本发明提供的一种维护联系方式的终端装置实施例,所述终端装置对应方 法实施例四, 并用于实现所述方法; 所述终端的结构示意图如图 10所示, 包 括:  An embodiment of the terminal device for maintaining the contact mode is provided by the present invention. The terminal device corresponds to the fourth embodiment and is used to implement the method. The schematic structural diagram of the terminal is as shown in FIG. 10, and includes:
第一发送模块 301 , 用于向服务器发送查询第二智能卡关联关系的请求消 息。  The first sending module 301 is configured to send, to the server, a request message for querying the second smart card association relationship.
接收模块 302, 用于接收服务器返回的与所述第二智能卡建立有关联关系 的一个或多个智能卡信息。  The receiving module 302 is configured to receive one or more smart card information returned by the server and associated with the second smart card.
处理模块 303, 用于根据从所述一个或多个智能卡中选择第一智能卡生成 确认消息。  The processing module 303 is configured to generate a confirmation message according to selecting the first smart card from the one or more smart cards.
第二发送模块 304, 用于发送生成的所述确认信息。  The second sending module 304 is configured to send the generated confirmation information.
优选的所述处理模块 303 还用于按所述激活时间顺序排列从服务器返回 的所述一个或多个智能卡。  Preferably, the processing module 303 is further configured to arrange the one or more smart cards returned from the server in the order of activation time.
本装置实施例的方法流程如实施例四所述, 此处不再赘述。  The method flow of the embodiment of the device is as described in the fourth embodiment, and details are not described herein again.
实施例十二  Example twelve
本发明提供的一种建立和查找关联关系的系统, 如图 11所示, 包括: 主叫终端 401 , 为实施例十中的终端装置。  A system for establishing and finding an association relationship, as shown in FIG. 11, includes: a calling terminal 401, which is a terminal device in Embodiment 10.
服务器 402, 为实施例九中的服务器装置。  The server 402 is the server device in the ninth embodiment.
可选的,所述系统还包括被叫终端 403,用于在如实施例六的方法流程中, 并且拥有自己的关联关系。服务器 402接收到主叫终端的呼叫请求, 所述呼叫 请求中携带第二 SIM卡标识; 服务器 402根据所述第二 SIM卡的关联关系, 发送主叫用户试图呼叫被叫用户的通知给被叫终端 403, 并在接收到被叫终端 403返回的确认建立连接后建立主叫终端 401和被叫终端 403的呼叫通道; 或 者在接收到被叫终端 403返回的给予主叫自己的第一 SIM卡信息后, 向主叫 终端 401返回第一 SIM卡信息。  Optionally, the system further includes a called terminal 403 for use in the method flow as in the sixth embodiment, and has its own association relationship. The server 402 receives the call request of the calling terminal, and the call request carries the second SIM card identifier. The server 402 sends a notification that the calling user attempts to call the called user to the called party according to the association relationship of the second SIM card. The terminal 403 establishes a call channel of the calling terminal 401 and the called terminal 403 after receiving the confirmation connection established by the called terminal 403; or receives the first SIM card given to the calling party by the called terminal 403. After the information, the first SIM card information is returned to the calling terminal 401.
本领域普通技术人员可以意识到,结合本文中所公开的实施例中描述的各 方法步骤和单元, 能够以电子硬件、 计算机软件或者二者的结合来实现, 为了 清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述 了各实施例的步骤及组成。这些功能究竟以硬件还是软件方式来执行,取决于 技术方案的特定应用和设计约束条件。本领域普通技术人员可以对每个特定的 应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明 的范围。 Those skilled in the art will appreciate that the various method steps and elements described in connection with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both, in order to clearly illustrate hardware and software. Interchangeability, which has been generally described in terms of function in the above description The steps and composition of the various embodiments. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. Different methods may be used to implement the described functionality for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
结合本文中所公开的实施例描述的方法或步骤可以用硬件、处理器执行的 软件程序, 或者二者的结合来实施。 软件程序可以置于随机存储器(RAM )、 内存、只读存储器(ROM )、 电可编程 ROM、 电可擦除可编程 ROM、寄存器、 硬盘、 可移动磁盘、 CD-ROM, 或技术领域内所公知的任意其它形式的存储介 质中。; 禹、、 乡 、 口一 '、 ,、、、 , 、 、 ' - 、 ,一 ^ 本发明并不限于此。在不脱离本发明的精神和实质的前提下, 本领域普通技术 人员可以对本发明的实施例进行各种等效的修改或替换,而这些修改或替换都 应在本发明的涵盖范围内。  The methods or steps described in connection with the embodiments disclosed herein may be implemented in hardware, a software program executed by a processor, or a combination of both. The software program can be placed in random access memory (RAM), internal memory, read only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or technical field. Any other form of storage medium known.禹,, 乡, 口一 ', , , , , , , , ' - , , 1 ^ The invention is not limited thereto. Various equivalent modifications and alterations to the embodiments of the present invention may be made by those skilled in the art without departing from the spirit and scope of the invention.

Claims

权 利 要 求 Rights request
1、 一种呼叫转接的方法, 其特征在于, 包括: 1. A method of call transfer, characterized by including:
接收呼叫第二智能卡所在用户终端的呼叫请求; Receive a call request to call the user terminal where the second smart card is located;
确认无法与所述第二智能卡所在被用户终端建立呼叫通道时,根据第二智 能卡的关联关系查找与所述第二智能卡建立有关联关系的第一智能卡; When it is confirmed that a call channel cannot be established with the user terminal where the second smart card is located, search for the first smart card that is associated with the second smart card based on the association relationship of the second smart card;
将呼叫请求转发给第一智能卡所在用户端。 Forward the call request to the client where the first smart card is located.
2、 如权利要求 1所述的方法, 其特征在于, 在所述接收呼叫第二智能卡 所在用户终端的呼叫请求之前,还包括第一智能卡和所述第二智能卡建立关联 关系的过程, 所述过程包括: 2. The method of claim 1, wherein before receiving a call request to the user terminal where the second smart card is located, it further includes a process of establishing an association relationship between the first smart card and the second smart card, The process includes:
确认第一智能卡拥有关联信息,根据所述关联信息查找与所述第一智能卡 满足关联条件的第二智能卡; Confirm that the first smart card possesses associated information, and search for a second smart card that meets the associated conditions with the first smart card based on the associated information;
向所述第一智能卡所在用户终端发送建立关联关系请求; Send a request to establish an association relationship to the user terminal where the first smart card is located;
根据所述用户终端返回的确认建立关联关系响应建立所述第一智能卡与 所述第二智能卡的关联关系。 The association relationship between the first smart card and the second smart card is established according to the confirmation association response returned by the user terminal.
3、 如权利要求 2所述方法, 其特征在于, 所述确认第一智能卡拥有关联 信息, 所述关联信息具体为对应所述第一智能卡记录的实名信息; 所述关联条 件为所述第一智能卡和所述第二智能卡对应记录有相同的实名信息,则根据所 述关联信息查找与所述第一智能卡满足关联条件的第二智能卡, 具体包括: 确认记录有对应所述第一智能卡的实名信息,查找记录有相同实名信息的 第二智能卡。 3. The method of claim 2, wherein: confirming that the first smart card possesses associated information, the associated information is specifically the real-name information recorded corresponding to the first smart card; the associated condition is the first If the smart card and the second smart card have the same real-name information correspondingly recorded, search for the second smart card that meets the association conditions with the first smart card based on the associated information, which specifically includes: Confirming that the real-name corresponding to the first smart card is recorded. information to find the second smart card that records the same real-name information.
4、 如权利要求 2所述方法, 其特征在于, 所述确认第一智能卡拥有关联 信息, 根据所述关联信息查找与所述第一智能卡满足关联条件的第二智能卡, 具体包括: 4. The method of claim 2, wherein: confirming that the first smart card possesses associated information, and searching for a second smart card that satisfies association conditions with the first smart card based on the associated information, specifically includes:
确认记录有对应所述第一智能卡的电话簿信息,查找与所述第一智能卡对 应电话簿信息的匹配度大于阈值的第二智能卡; Confirm that the phone book information corresponding to the first smart card is recorded, and search for a second smart card whose matching degree with the phone book information corresponding to the first smart card is greater than a threshold;
所述关联信息具体为对应所述第一智能卡记录的电话簿信息;所述关联条 件的第二智能卡为所述第一智能卡和所述第二智能卡对应记录的电话簿信息 的匹配度大于阈值。 The association information is specifically the phone book information recorded corresponding to the first smart card; the second smart card of the association condition is that the matching degree of the phone book information recorded corresponding to the first smart card and the second smart card is greater than a threshold.
5、 如权利要求 2所述方法, 其特征在于, 所述确认第一智能卡拥有关联 信息, 根据所述关联信息查找与所述第一智能卡满足关联条件的第二智能卡, 具体包括: 5. The method of claim 2, wherein: confirming that the first smart card has an associated Information, search for a second smart card that meets the association conditions with the first smart card according to the association information, specifically including:
确认记录有对应所述第一智能卡的实名信息时,查找记录有相同实名信息 的第二智能卡; When confirming that the real-name information corresponding to the first smart card is recorded, search for a second smart card that records the same real-name information;
确认对应所述第一智能卡未记录有实名信息时,确认对应所述第一智能卡 记录有电话簿信息,查找与所述第一智能卡对应电话簿信息的匹配度大于阈值 的第二智能卡。 When it is confirmed that the real-name information is not recorded corresponding to the first smart card, it is confirmed that the phone book information is recorded corresponding to the first smart card, and a second smart card whose matching degree with the phone book information corresponding to the first smart card is greater than a threshold is searched for.
6、 如权利要求 4或 5所述方法, 其特征在于, 所述阈值由服务器生成, 具体包括: 6. The method according to claim 4 or 5, characterized in that the threshold is generated by a server, specifically including:
接收第一智能卡所在用户终端上传的电话簿信息修改比例,所述修改比例 为用户终端此次上传电话薄信息相比前一次上传的电话簿信息修改的信息内 容占总的电话簿信息内容的比例; Receive the modification ratio of the phone book information uploaded by the user terminal where the first smart card is located. The modification ratio is the ratio of the modified information content of the phone book information uploaded by the user terminal this time compared to the previously uploaded phone book information to the total phone book information content. ;
服务器根据所述修改比例生成所述阈值。 The server generates the threshold based on the modification ratio.
7、 如权利要求 2-6任一所述方法, 其特征在于, 所述确认建立关联关系 响应包含第二智能卡的用户密码,则所述根据所述用户终端返回的确认建立关 联关系响应建立所述第一智能卡与所述第二智能卡的关联关系, 具体包括: 核对确认建立关联关系响应中的所述第二智能卡的用户密码和服务器中 存储的第二智能卡的用户密码相同后,建立所述第一智能卡与所述第二智能卡 的关联关系。 7. The method according to any one of claims 2 to 6, characterized in that, the response for confirming the establishment of the association includes the user password of the second smart card, then the said response for establishing the association is established based on the confirmation response returned by the user terminal. The association between the first smart card and the second smart card specifically includes: After checking that the user password of the second smart card in the response to confirm the establishment of the association is the same as the user password of the second smart card stored in the server, establish the The association relationship between the first smart card and the second smart card.
8、 如权利要求 4-6任一所述方法, 其特征在于, 所述服务器保存的电话 簿信息中包含有主叫用户终端对第二智能卡的记录时间,并且有多个智能卡与 所述第二智能卡建立有关联关系时,所述根据第二智能卡的关联关系查找与所 述第二智能卡建立有关联关系的第一智能卡, 具体包括: 8. The method according to any one of claims 4 to 6, characterized in that the phone book information saved by the server includes the recording time of the second smart card by the calling user terminal, and there are multiple smart cards related to the second smart card. When the two smart cards are associated, searching for the first smart card that is associated with the second smart card based on the association of the second smart card specifically includes:
服务器根据各智能卡对应记录的第二智能卡的激活时间和注销时间,筛选 出所述时间参数处于激活时间和注销时间之间的第一智能卡; The server selects the first smart card whose time parameter is between the activation time and the cancellation time according to the activation time and cancellation time of the second smart card recorded corresponding to each smart card;
所述第二智能卡的激活时间和注销时间被记录在与其建立有关联关系的 各智能卡的关联信息中。 The activation time and deregistration time of the second smart card are recorded in the associated information of each smart card associated with it.
9、 如权利要求 1所述的方法, 其特征在于, 在所述接收呼叫第二智能卡 所在用户终端的呼叫请求之前,还包括第一智能卡和所述第二智能卡的关联关 系的建立, 所述过程包括: 9. The method according to claim 1, characterized in that, before receiving the call request to call the user terminal where the second smart card is located, it further includes an association relationship between the first smart card and the second smart card. The establishment of the relationship includes:
接收来自第一智能卡所在用户终端的建立关联关系的请求消息,所述请求 中携带第二智能卡信息; Receive a request message for establishing an association relationship from the user terminal where the first smart card is located, the request carrying the second smart card information;
根据所述请求消息向所述第一智能卡所在用户终端发送携带要求返回所 述第二智能卡用户密码的响应消息; Send a response message carrying a request to return the user password of the second smart card to the user terminal where the first smart card is located according to the request message;
接收来自第一智能卡所在用户终端返回的对应第二智能卡的用户密码,在 核对与自身存储的第二智能卡的用户密码相同时,建立第一智能卡和第二智能 卡的关联关系。 Receive the user password corresponding to the second smart card returned from the user terminal where the first smart card is located, and when checking that it is the same as the user password of the second smart card stored in itself, establish an association between the first smart card and the second smart card.
10、 如权利要求 9所述方法, 其特征在于, 所述接收来自第一智能卡所在 用户终端返回的对应第二智能卡的用户密码,在核对与自身存储的第二智能卡 的用户密码相同时, 建立第一智能卡和第二智能卡的关联关系, 具体包括: 服务器确认所述第二智能卡和所述第一智能卡不归属于同一个服务器,则 通过第二智能卡所在服务器获取对应第二智能卡对应用户密码并存储; 10. The method of claim 9, wherein: receiving the user password corresponding to the second smart card returned from the user terminal where the first smart card is located, and when checking that it is the same as the user password of the second smart card stored in itself, establishing The association relationship between the first smart card and the second smart card specifically includes: The server confirms that the second smart card and the first smart card do not belong to the same server, and then obtains the user password corresponding to the second smart card through the server where the second smart card is located and storage;
在核对与自身存储的第二智能卡的用户密码相同时,建立第一智能卡和第 二智能卡的关联关系, 并向所述第二智能卡所在服务器发送所述关联关系,使 得所述第二智能卡所在服务器能够存储所述关联关系。 When checking that the user password of the second smart card stored by itself is the same, establish an association between the first smart card and the second smart card, and send the association to the server where the second smart card is located, so that the server where the second smart card is located The association relationship can be stored.
11、 如权利要求 1-10任一所述的方法, 其特征在于, 所述确认无法与所 述第二智能卡所在用户终端建立呼叫通道的情况, 具体包括: 11. The method according to any one of claims 1 to 10, characterized in that the confirmation that a call channel cannot be established with the user terminal where the second smart card is located specifically includes:
第二智能卡已经被注销、第二智能卡所在用户终端关机或第二智能卡被暂 停使用。 The second smart card has been canceled, the user terminal where the second smart card is located has been shut down, or the use of the second smart card has been suspended.
12、 如权利要求 1-11任一所述的方法, 其特征在于, 所述将呼叫请求转 发给第一智能卡所在用户端, 具体包括: 12. The method according to any one of claims 1-11, characterized in that forwarding the call request to the client where the first smart card is located specifically includes:
服务器建立自身与第一智能卡所在用户终端的呼叫通道,向被叫终端播报 或以短信方式告知主叫用户的转接请求; The server establishes a call channel between itself and the user terminal where the first smart card is located, and broadcasts to the called terminal or notifies the calling user's transfer request by SMS;
接收被叫用户终端的允许通话的确认消息,服务器建立主叫用户和被叫用 户之间的呼叫通道。 After receiving the call confirmation message from the called user terminal, the server establishes a call channel between the calling user and the called user.
13、 一种查找关联关系的方法, 其特征在于, 包括: 13. A method for finding associated relationships, characterized by including:
服务器接收主叫用户终端查找第二智能卡关联关系的请求消息; 服务器根据请求消息查找与所述第二智能卡建立有关联关系的一个或多 个智能卡, 并将查找到的所述一个或多个智能卡信息返回给主叫用户终端。 The server receives a request message from the calling user terminal to search for the association relationship of the second smart card; the server searches for one or more entities that have established an association relationship with the second smart card according to the request message. smart card, and returns the found one or more smart card information to the calling user terminal.
14、 如权利要求 13所述的方法, 其特征在于, 所述第一智能卡和所述第 二智能卡建立关联关系的过程, 包括: 14. The method of claim 13, wherein the process of establishing an association between the first smart card and the second smart card includes:
确认第一智能卡拥有关联信息,根据所述关联信息查找与所述第一智能卡 满足关联条件的第二智能卡; Confirm that the first smart card possesses associated information, and search for a second smart card that meets the associated conditions with the first smart card based on the associated information;
向所述第一智能卡所在用户终端发送建立关联关系请求; Send a request to establish an association relationship to the user terminal where the first smart card is located;
根据所述用户终端返回的确认建立关联关系响应建立所述第一智能卡与 所述第二智能卡的关联关系。 The association relationship between the first smart card and the second smart card is established according to the confirmation association response returned by the user terminal.
15、 如权利要求 13所述的方法, 其特征在于, 所述请求消息中包含有第 二智能卡标识和所述第二智能卡被被叫用户所使用过的任一时刻的时间参数, 则所述服务器查找与所述第二智能卡建立有关联关系的一个或多个智能卡,并 将查询到的所述一个或多个智能卡信息返回给主叫用户终端, 具体包括: 15. The method of claim 13, wherein the request message contains a second smart card identifier and a time parameter of any moment when the second smart card has been used by the called user, then the The server searches for one or more smart cards that are associated with the second smart card, and returns the queried information about the one or more smart cards to the calling user terminal, specifically including:
服务器根据所述请求消息中的第二智能卡标识查找与所述第二智能卡建 立有关联关系的各智能卡; The server searches for each smart card that is associated with the second smart card based on the second smart card identification in the request message;
并根据各智能卡对应记录的第二智能卡的激活时间和注销时间,筛选出第 一智能卡, 并将所述筛选出的第一智能卡信息发送给主叫用户终端, 所述智能 卡记录的对应所述第二智能卡的激活时间和注销时间所构成的时间范围包括 了所述时间参数。 And based on the activation time and deregistration time of the second smart card corresponding to each smart card, the first smart card is screened out, and the screened out first smart card information is sent to the calling user terminal, and the smart card record corresponding to the first smart card is sent to the calling user terminal. The time range formed by the activation time and deregistration time of the two smart cards includes the time parameter.
16、 如权利要求 13所述的方法, 其特征在于, 所述请求消息中包含有第 二智能卡标识和所述第二智能卡的实名信息,则所述服务器查找与所述第二智 能卡建立有关联关系的一个或多个智能卡,并将查询到的所述一个或多个智能 卡信息返回给主叫用户终端, 具体包括: 16. The method of claim 13, wherein the request message contains a second smart card identification and the real-name information of the second smart card, then the server searches for an association with the second smart card. one or more smart cards related to each other, and return the queried one or more smart card information to the calling user terminal, specifically including:
服务器根据所述请求消息中的第二智能卡标识查找与所述第二智能卡建 立有关联关系的各智能卡; The server searches for each smart card that is associated with the second smart card based on the second smart card identification in the request message;
并根据各智能卡对应记录的实名信息,筛选出与所述第二智能卡的实名信 息相同的一个或多个智能卡,并将所述筛选出的一个或多个智能卡信息发送给 主叫用户终端。 And based on the real-name information recorded correspondingly to each smart card, one or more smart cards that are the same as the real-name information of the second smart card are screened out, and the one or more smart card information screened out are sent to the calling user terminal.
17、 如权利要求 13所述的方法, 其特征在于, 还包括: 17. The method of claim 13, further comprising:
服务器接收主叫用户在所述查找的一个或多个智能卡信息中选择第一智 能卡作为被叫的确认消息, 并向第一智能卡所在用户终端发起呼叫请求。 The server receives that the calling user selects the first smart card among the searched one or more smart card information. The smart card can be used as a confirmation message for the called party, and a call request is initiated to the user terminal where the first smart card is located.
18、 如权利要求 17所述的方法, 其特征在于, 所述向第一智能卡所在被 叫用户终端发起呼叫请求, 具体包括: 18. The method of claim 17, wherein initiating a call request to the called user terminal where the first smart card is located specifically includes:
服务器建立自身与被叫用户终端的呼叫通道,向被叫终端播报或以短信方 式告知主叫用户的转接请求; The server establishes a call channel between itself and the called user terminal, and broadcasts or notifies the calling user's transfer request to the called terminal via SMS;
接收被叫用户终端的允许通话的确认消息,服务器建立主叫用户和被叫用 户之间的呼叫通道。 After receiving the call confirmation message from the called user terminal, the server establishes a call channel between the calling user and the called user.
19、 一种查找关联关系的方法, 其特征在于, 包括: 19. A method for finding associated relationships, characterized by including:
向服务器发送查询第二智能卡关联关系的请求消息; Send a request message to the server to query the association relationship of the second smart card;
接收服务器返回的与所述第二智能卡建立有关联关系的一个或多个智能 卡信息; Receive one or more smart card information returned by the server that is associated with the second smart card;
向服务器返回从所述一个或多个智能卡中选择第一智能卡的确认消息。 A confirmation message for selecting the first smart card from the one or more smart cards is returned to the server.
20、 如权利要求 19所述的方法, 其特征在于, 所述向服务器发送查找第 二智能卡关联关系的请求消息, 具体包括: 20. The method of claim 19, wherein sending a request message to the server to find the association relationship of the second smart card specifically includes:
向服务器发送的请求消息中包含第二智能卡标识信息,所述请求消息还包 括主叫用户确认的所述第二智能卡被被叫用户所使用的任一时刻的时间参数 和 /或第二智能卡对应的实名信息。 The request message sent to the server contains the identification information of the second smart card, and the request message also includes the time parameter at any time when the second smart card is used by the called user confirmed by the calling user and/or the second smart card corresponding real-name information.
21、 如权利要求 19或 20所述的方法, 其特征在于, 所述多个智能卡信息 中包含有各自对应所述第二智能卡的激活时间和注销时间,则所述一个或多个 智能卡信息中包含有所述接收服务器返回的与所述第二智能卡建立有关联关 系的一个或多个智能卡信息, 还包括: 21. The method of claim 19 or 20, wherein the plurality of smart card information includes activation time and deregistration time respectively corresponding to the second smart card, then the one or more smart card information includes Containing one or more smart card information returned by the receiving server that is associated with the second smart card, and also includes:
主叫用户终端按所述激活时间顺序排列所述一个或多个智能卡。 The calling user terminal arranges the one or more smart cards in the activation time sequence.
22、 一种呼叫转接的服务器装置, 其特征在于, 包括: 22. A call forwarding server device, characterized in that it includes:
接收模块, 用于接收呼叫第二智能卡所在用户终端的呼叫请求; 分析模块,用于确认无法与所述第二智能卡所在被叫用户终端建立呼叫通 道时, 根据第二智能卡的关联关系确定转接第一智能卡所在用户终端; The receiving module is used to receive a call request to the user terminal where the second smart card is located; the analysis module is used to determine the transfer based on the association relationship of the second smart card when confirming that a call channel cannot be established with the called user terminal where the second smart card is located. The user terminal where the first smart card is located;
发送模块, 用于将呼叫请求转发给第一智能卡所在用户终端。 The sending module is used to forward the call request to the user terminal where the first smart card is located.
23、如权利要求 22所述的装置,其特征在于,所述装置还包括创建模块, 所述分析模块,还用于确认第一智能卡拥有关联信息,根据所述关联信息 查找与所述第一智能卡满足关联条件的第二智能卡; 23. The device of claim 22, wherein the device further includes a creation module, and the analysis module is further configured to confirm that the first smart card possesses associated information, and according to the associated information Search for a second smart card that meets the association condition with the first smart card;
所述发送模块,还用于向所述第一智能卡所在用户终端发送建立关联关系 请求; The sending module is also used to send a request to establish an association relationship to the user terminal where the first smart card is located;
所述接收模块, 还用于接收所述用户终端返回的确认响应; The receiving module is also configured to receive a confirmation response returned by the user terminal;
所述创建模块,用于根据所述用户终端返回的确认建立关联关系响应建立 所述第一智能卡与所述第二智能卡的关联关系。 The creation module is configured to establish an association between the first smart card and the second smart card based on a confirmation association response returned by the user terminal.
24、 如权利要求 23所述的装置, 其特征在于, 所述分析模块确认第一智 能卡的关联信息,根据所述关联信息查找与所述第一智能卡满足关联条件的第 二智能卡, 具体为: 24. The device according to claim 23, wherein the analysis module confirms the association information of the first smart card, and searches for the second smart card that meets the association conditions with the first smart card according to the association information, specifically:
所述分析模块确认记录有对应所述第一智能卡的实名信息,查找记录有相 同实名信息的第二智能卡。 The analysis module confirms that the real-name information corresponding to the first smart card is recorded, and searches for a second smart card that has the same real-name information recorded.
25、 如权利要求 23所述的装置, 其特征在于, 所述确认第一智能卡的关 联信息,根据所述关联信息查找与所述第一智能卡满足关联条件的第二智能卡 , 具体为: 25. The device according to claim 23, wherein the confirming the association information of the first smart card is to search for a second smart card that meets the association conditions with the first smart card according to the association information, specifically:
所述分析模块确认记录有对应所述第一智能卡的电话簿信息,查找与所述 第一智能卡对应电话簿信息的匹配度大于阈值的第二智能卡。 The analysis module confirms that the phone book information corresponding to the first smart card is recorded, and searches for a second smart card whose matching degree with the phone book information corresponding to the first smart card is greater than a threshold.
26、 一种查找关联关系的服务器装置, 其特征在于, 包括: 26. A server device for searching for association relationships, characterized by including:
第一接收模块,用于接收主叫用户终端查询第二智能卡关联关系的请求消 息; The first receiving module is used to receive a request message from the calling user terminal to query the association relationship of the second smart card;
查找模块,用于根据请求消息查找与所述第二智能卡建立有关联关系的一 个或多个智能卡; A search module, configured to search for one or more smart cards that are associated with the second smart card according to the request message;
第一发送模块,用于将查找到的所述一个或多个智能卡信息返回给主叫用 户终端; The first sending module is used to return the found one or more smart card information to the calling user terminal;
第二接收模块,用于接收主叫用户在所述一个或多个智能卡信息中选择第 一智能卡作为被叫的确认消息; The second receiving module is used to receive a confirmation message that the calling user selects the first smart card as the called party in the one or more smart card information;
第二发送模块, 用于向第一智能卡所在用户终端发起呼叫请求。 The second sending module is used to initiate a call request to the user terminal where the first smart card is located.
27、 根据权利要求 26所述的装置, 其特征在于, 所述请求消息中包含有 第二智能卡标识和所述第二智能卡被被叫用户所使用的任一时间参数,所述查 找模块还包括筛选模块, 其中: 所述查找模块,还用于根据所述请求消息中的第二智能卡标识查找与所述 第二智能卡建立有关联关系的各智能卡; 27. The device according to claim 26, wherein the request message includes a second smart card identification and any time parameter used by the called user of the second smart card, and the search module further includes Filter module, where: The search module is also configured to search for each smart card that is associated with the second smart card according to the second smart card identification in the request message;
所述筛选模块,用于根据各智能卡对应记录的第二智能卡的激活时间和注 销时间, 筛选出所述时间参数处于激活时间和注销时间之间的第一智能卡 The screening module is used to filter out the first smart cards whose time parameters are between the activation time and the cancellation time according to the activation time and cancellation time of the second smart card corresponding to each smart card.
所述第一发送模块,还用于将所述 选出的智能卡信息发送给主叫用户终 The first sending module is also used to send the selected smart card information to the calling user terminal.
28、 一种查找关联关系的终端装置, 其特征在于, 包括: 28. A terminal device for searching for association relationships, characterized by including:
第一发送模块, 用于向服务器发送查询第二智能卡关联关系的请求消息; 接收模块,用于接收服务器返回的与所述第二智能卡建立有关联关系的一 个或多个智能卡信息; The first sending module is used to send a request message to the server to query the association relationship of the second smart card; the receiving module is used to receive one or more smart card information returned by the server that establishes an association relationship with the second smart card;
处理模块,用于根据从所述一个或多个智能卡中选择第一智能卡生成确认 消息; A processing module configured to generate a confirmation message based on selecting a first smart card from the one or more smart cards;
第二发送模块, 用于发送生成的所述确认信息。 The second sending module is configured to send the generated confirmation information.
29、 如权利要求 28所述的方法, 其特征在于, 29. The method of claim 28, characterized in that,
所述处理模块,还用于按所述激活时间顺序排列从服务器返回的所述一个 或多个智能卡。 The processing module is also configured to arrange the one or more smart cards returned from the server in order of the activation time.
30、 一种维护联系方式的系统, 其特征在于, 包括: 30. A system for maintaining contact information, which is characterized by including:
主叫终端, 为权利要求 28或 29所述的终端装置; The calling terminal is the terminal device described in claim 28 or 29;
服务器, 为权利要求 26或 27所述的服务器装置。 The server is the server device described in claim 26 or 27.
PCT/CN2012/077712 2012-06-28 2012-06-28 Method, apparatus and system for call forwarding WO2014000210A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201280000473.0A CN102870440B (en) 2012-06-28 2012-06-28 Method, apparatus and system for call forwarding
PCT/CN2012/077712 WO2014000210A1 (en) 2012-06-28 2012-06-28 Method, apparatus and system for call forwarding

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2012/077712 WO2014000210A1 (en) 2012-06-28 2012-06-28 Method, apparatus and system for call forwarding

Publications (1)

Publication Number Publication Date
WO2014000210A1 true WO2014000210A1 (en) 2014-01-03

Family

ID=47447775

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/077712 WO2014000210A1 (en) 2012-06-28 2012-06-28 Method, apparatus and system for call forwarding

Country Status (2)

Country Link
CN (1) CN102870440B (en)
WO (1) WO2014000210A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113079261A (en) * 2021-04-06 2021-07-06 中国联合网络通信集团有限公司 Calling method, calling device and IP multimedia subsystem

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6174250B2 (en) 2013-06-20 2017-08-02 華為技術有限公司Huawei Technologies Co.,Ltd. Communication method for dual card user equipment and apparatus
CN103747126B (en) * 2013-12-31 2016-05-04 余姚市盛飞电器有限公司 Possesses the fixed telephone device of automatic dialing
CN103957334B (en) * 2014-05-16 2016-07-27 努比亚技术有限公司 A kind of method of call diversion, system and terminal
CN106331267A (en) * 2015-06-17 2017-01-11 鹏博士电信传媒集团股份有限公司 Cloud-based synchronous telephone directory calling issuing method and system
CN105072293B (en) * 2015-06-30 2018-09-25 小米科技有限责任公司 Number sending method, number acquisition methods and device
CN110138951A (en) * 2018-02-02 2019-08-16 郑州工业应用技术学院 A kind of communication means and communication terminal
CN108449727A (en) * 2018-06-05 2018-08-24 中国联合网络通信集团有限公司 SMS processing and system
CN111355852B (en) * 2018-12-21 2024-04-05 西安佰才邦网络技术有限公司 Method and equipment for acquiring contact number based on blockchain

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101365173A (en) * 2008-04-03 2009-02-11 华为技术有限公司 Current using number notifying method, system and number notifying server
CN101668267A (en) * 2008-09-03 2010-03-10 中兴通讯股份有限公司 Method for implementing mobile phone number changing notification service
CN101707747A (en) * 2009-11-02 2010-05-12 东方通信股份有限公司 Method and device for realizing number changing notification service by subscribing and triggering based on intelligent network

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102497631A (en) * 2011-11-30 2012-06-13 中国联合网络通信集团有限公司 Number checking method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101365173A (en) * 2008-04-03 2009-02-11 华为技术有限公司 Current using number notifying method, system and number notifying server
CN101668267A (en) * 2008-09-03 2010-03-10 中兴通讯股份有限公司 Method for implementing mobile phone number changing notification service
CN101707747A (en) * 2009-11-02 2010-05-12 东方通信股份有限公司 Method and device for realizing number changing notification service by subscribing and triggering based on intelligent network

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113079261A (en) * 2021-04-06 2021-07-06 中国联合网络通信集团有限公司 Calling method, calling device and IP multimedia subsystem

Also Published As

Publication number Publication date
CN102870440B (en) 2015-04-08
CN102870440A (en) 2013-01-09

Similar Documents

Publication Publication Date Title
WO2014000210A1 (en) Method, apparatus and system for call forwarding
US9774674B1 (en) Reconciling contact information between users
US20090235335A1 (en) Method for making recommendations in a social networking system based on personal communication information and a social networking system incorporating same
US20090280786A1 (en) Updating contact information for mobile traffic
JP2016136769A (en) Methods and apparatus for providing messaging using voicemail
US20210329115A1 (en) System and method for providing a pre-populated second line service to a telecommunications device
US20130293664A1 (en) Systems and Methods to Manage Video Chat Contacts
TW201007592A (en) System and method for facilitating the growth of a mobile community
US10015246B2 (en) Systems and methods for initiating a peer-to-peer communication session
JP2020537458A (en) Individual audio / video invitations to the phone
WO2013139091A1 (en) Address book realization method for terminal, terminal and system
WO2010108338A1 (en) Method and system for realizing communication based on an online telephone directory mode
JP3995145B2 (en) Communication control device and communication control method
WO2018129804A1 (en) Method, cloud platform and terminal for synchronizing call records
JP5715897B2 (en) Incoming call information providing device
WO2012129832A1 (en) Method and device for acquiring contact information
US8630632B2 (en) Managing mobile communication identity
JP4667148B2 (en) Communication system, terminal device, address book management server, and computer program
US9288647B2 (en) Method for sending contact note during call establishment
JP6079191B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND COMMUNICATION PROGRAM
JP3897571B2 (en) Mobile phone system server and mobile phone terminal
CN109788148B (en) Communication method, device and service platform
KR100805739B1 (en) Call setup controlling method
JP6612695B2 (en) Telephone number notification system, call control server, and telephone number notification method
JP6135227B2 (en) Call control device and call control system

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201280000473.0

Country of ref document: CN

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

Ref document number: 12880185

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12880185

Country of ref document: EP

Kind code of ref document: A1