[go: up one dir, main page]

CN104202459B - The management method and client of the address list of integrated major number and minor number - Google Patents

The management method and client of the address list of integrated major number and minor number Download PDF

Info

Publication number
CN104202459B
CN104202459B CN201410484080.2A CN201410484080A CN104202459B CN 104202459 B CN104202459 B CN 104202459B CN 201410484080 A CN201410484080 A CN 201410484080A CN 104202459 B CN104202459 B CN 104202459B
Authority
CN
China
Prior art keywords
address book
information
recorded
user interface
minor number
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410484080.2A
Other languages
Chinese (zh)
Other versions
CN104202459A (en
Inventor
区志励
钟明
张之弢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201410484080.2A priority Critical patent/CN104202459B/en
Publication of CN104202459A publication Critical patent/CN104202459A/en
Application granted granted Critical
Publication of CN104202459B publication Critical patent/CN104202459B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

本发明公开了一种集成主号码和副号码的通讯录的管理方法及客户端。其中,方法包括:在通讯录的特定用户界面下,当接收到由副号码模式切换到主号码模式的第一切换指令时,调用主号码模式对应的系统通讯录数据库,在特定用户界面下显示系统通讯录数据库提供的信息,在通讯录的特定用户界面下,当接收到由主号码模式切换到副号码模式的第二切换指令时,调用副号码模式对应的副号码通讯录数据库,在特定用户界面下显示副号码通讯录数据库提供的信息。本发明通过将主号码与副号码集成在同一通讯录中进行管理,这样用户无需切换通讯录即可实现主号码业务和副号码业务的使用,提高了用户操作便捷性。

The invention discloses a management method and a client terminal of an address book integrating primary numbers and secondary numbers. Wherein, the method includes: in the specific user interface of the address book, when receiving the first switching instruction from the secondary number mode to the main number mode, calling the system address book database corresponding to the main number mode, and displaying in the specific user interface The information provided by the address book database of the system, under the specific user interface of the address book, when receiving the second switching instruction from the main number mode to the secondary number mode, calls the secondary number address book database corresponding to the secondary number mode, in the specific The information provided by the secondary number address book database is displayed on the user interface. The invention integrates the main number and the auxiliary number into the same address book for management, so that the user can realize the use of the main number service and the auxiliary number service without switching the address book, and improves user operation convenience.

Description

集成主号码和副号码的通讯录的管理方法及客户端Management method and client for address book integrating primary number and secondary number

技术领域technical field

本发明涉及互联网技术领域,具体涉及一种集成主号码和副号码的通讯录的管理方法及客户端。The invention relates to the technical field of the Internet, in particular to a method for managing an address book integrating primary numbers and secondary numbers and a client.

背景技术Background technique

由于工作和生活节奏的不断加快,每个人与外部社会之间的往来和交流日益频繁,比如,许多用户需要经常去外地甚至国外出差。显然,采用异地网络通话必须支付比较昂贵的漫游费和长途费,由此而产生了一种副号码业务。副号码业务是运营商推出的一项增值业务,用户开通该业务后,可在不更换手机和SIM卡的情况下,在原手机号码(即主号码)的基础上获得一个或多个虚拟的号码(即副号码),并实现用副号码接打接听电话和收发短信的功能。例如,该号码可以再用户到外地出差时使用,宾馆登记留下自已的主号码,会让用户感到不妥,但不留,又怕突发事件不能及时取得联系,此时用户可以登记自己的副号码。但是,现有的副号码业务是通过独立的通讯录来实现的,即用户在使用过程中,需要不断切换通讯录来实现主号码业务和副号码业务的使用,并且主号码与副号码共用系统通讯录数据库,给用户造成困扰。Due to the ever-accelerating pace of work and life, contacts and exchanges between everyone and the outside world are becoming more and more frequent. For example, many users need to travel frequently to other places or even abroad. Obviously, it is necessary to pay relatively expensive roaming charges and long-distance charges when using remote network calls, thus creating a secondary number service. The secondary number service is a value-added service launched by the operator. After the user opens the service, he can obtain one or more virtual numbers on the basis of the original mobile phone number (ie the main number) without changing the mobile phone and SIM card. (that is, the secondary number), and realize the functions of receiving and making calls and sending and receiving text messages with the secondary number. For example, this number can be used when the user is on a business trip. If the hotel registers and leaves its own main number, the user will feel inappropriate. secondary number. However, the existing secondary number service is realized through an independent address book, that is, the user needs to constantly switch the address book to realize the use of the main number service and the secondary number service during use, and the main number and the secondary number share the system The address book database causes troubles to users.

发明内容Contents of the invention

鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决上述问题的集成主号码和副号码的通讯录的管理方法和相应的客户端。In view of the above problems, the present invention is proposed to provide a method for managing an address book integrating primary numbers and secondary numbers and a corresponding client to overcome the above problems or at least partially solve the above problems.

根据本发明的一个方面,提供了一种集成主号码和副号码的通讯录的管理方法,所述通讯录包含主号码模式和副号码模式,所述方法包括:According to one aspect of the present invention, there is provided a management method for an address book integrating primary numbers and secondary numbers, the address book includes a primary number mode and a secondary number mode, and the method includes:

在所述通讯录的特定用户界面下,当接收到由副号码模式切换到主号码模式的第一切换指令时,调用主号码模式对应的系统通讯录数据库,在所述特定用户界面下显示所述系统通讯录数据库提供的信息;Under the specific user interface of the address book, when receiving the first switching instruction from the secondary number mode to the main number mode, the system address book database corresponding to the main number mode is invoked, and the corresponding address book database is displayed on the specific user interface. The information provided by the address book database of the above-mentioned system;

在所述通讯录的特定用户界面下,当接收到由主号码模式切换到副号码模式的第二切换指令时,调用副号码模式对应的副号码通讯录数据库,在所述特定用户界面下显示所述副号码通讯录数据库提供的信息。Under the specific user interface of the address book, when receiving the second switching instruction from the main number mode to the secondary number mode, call the secondary number address book database corresponding to the secondary number mode, and display it on the specific user interface The information provided by the secondary number address book database.

根据本发明的另一方面,提供了一种客户端,所述客户端的通讯录包含主号码模式和副号码模式,所述客户端包括:According to another aspect of the present invention, a client is provided, the address book of the client includes a primary number pattern and a secondary number pattern, and the client includes:

系统通讯录数据库,适于存储主号码对应的信息;The system address book database is suitable for storing information corresponding to the main number;

副号码通讯录数据库,适于存储副号码对应的信息;The secondary number address book database is suitable for storing the information corresponding to the secondary number;

用户接口,适于在所述通讯录的特定用户界面下,接收由副号码模式切换到主号码模式的第一切换指令和由主号码模式切换到副号码模式的第二切换指令;The user interface is adapted to receive a first switching instruction for switching from the secondary number mode to the primary number mode and a second switching instruction for switching from the primary number mode to the secondary number mode under a specific user interface of the address book;

显示模块,适于当所述用户接口接收到所述第一切换指令时,调用主号码模式对应的系统通讯录数据库,在所述特定用户界面下显示所述系统通讯录数据库提供的信息;以及,当所述用户接口接收到所述第二切换指令时,调用副号码模式对应的副号码通讯录数据库,在所述特定用户界面下显示所述副号码通讯录数据库提供的信息。The display module is adapted to call the system address book database corresponding to the main number mode when the user interface receives the first switching instruction, and display the information provided by the system address book database under the specific user interface; and , when the user interface receives the second switching instruction, call the secondary number address book database corresponding to the secondary number mode, and display the information provided by the secondary number address book database on the specific user interface.

根据本发明提供的方案,在通讯录的特定用户界面下,当接收到由副号码模式切换到主号码模式的第一切换指令时,调用主号码模式对应的系统通讯录数据库,在特定用户界面下显示系统通讯录数据库提供的信息,在通讯录的特定用户界面下,当接收到由主号码模式切换到副号码模式的第二切换指令时,调用副号码模式对应的副号码通讯录数据库,通过将主号码与副号码集成在同一通讯录中进行管理,这样用户无需切换通讯录即可实现主号码业务和副号码业务的使用,提高了用户操作便捷性。According to the solution provided by the present invention, under the specific user interface of the address book, when receiving the first switching instruction from the secondary number mode to the main number mode, the system address book database corresponding to the main number mode is called, and in the specific user interface The following displays the information provided by the system address book database. Under the specific user interface of the address book, when receiving the second switch command from the main number mode to the secondary number mode, the secondary number address book database corresponding to the secondary number mode is called. By integrating the main number and the secondary number into the same address book for management, the user can realize the use of the main number service and the secondary number service without switching the address book, which improves user operation convenience.

上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention, it can be implemented according to the contents of the description, and in order to make the above and other purposes, features and advantages of the present invention more obvious and understandable , the specific embodiments of the present invention are enumerated below.

附图说明Description of drawings

通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiment. The drawings are only for the purpose of illustrating a preferred embodiment and are not to be considered as limiting the invention. Also throughout the drawings, the same reference numerals are used to designate the same parts. In the attached picture:

图1示出了根据本发明一个实施例的集成主号码和副号码的通讯录的管理方法的流程图;Fig. 1 shows a flow chart of a management method of an address book integrating primary numbers and secondary numbers according to an embodiment of the present invention;

图2示出了特定用户界面为联系人界面时主号码的通讯录的管理的界面图;Fig. 2 shows the interface diagram of the management of the address book of the main number when the specific user interface is a contact interface;

图3示出了特定用户界面为联系人界面时副号码的通讯录的管理的界面图;Fig. 3 shows the interface diagram of the management of the address book of the secondary number when the specific user interface is a contact interface;

图4示出了根据本发明另一个实施例的集成主号码和副号码的通讯录的管理方法的流程图;Fig. 4 shows a flow chart of a management method of an address book integrating primary numbers and secondary numbers according to another embodiment of the present invention;

图5示出了根据本发明另一个实施例的集成主号码和副号码的通讯录的管理方法的流程图;Fig. 5 shows a flow chart of a method for managing an address book integrating primary numbers and secondary numbers according to another embodiment of the present invention;

图6示出了根据本发明另一个实施例的集成主号码和副号码的通讯录的管理方法的流程图;Fig. 6 shows a flow chart of a method for managing an address book integrating primary numbers and secondary numbers according to another embodiment of the present invention;

图7示出了根据本发明一个实施例的客户端的结构示意图。Fig. 7 shows a schematic structural diagram of a client according to an embodiment of the present invention.

具体实施方式detailed description

下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

图1示出了根据本发明一个实施例的集成主号码和副号码的通讯录的管理方法的流程图。如图1所示,该方法包括以下步骤:Fig. 1 shows a flow chart of a method for managing an address book integrating primary numbers and secondary numbers according to an embodiment of the present invention. As shown in Figure 1, the method includes the following steps:

步骤S100,在通讯录的特定用户界面下,当接收到由副号码模式切换到主号码模式的第一切换指令时,调用主号码模式对应的系统通讯录数据库,在特定用户界面下显示系统通讯录数据库提供的信息。Step S100, in the specific user interface of the address book, when receiving the first switching instruction from the secondary number mode to the main number mode, call the system address book database corresponding to the main number mode, and display the system communication in the specific user interface information provided by the database.

步骤S110,在通讯录的特定用户界面下,当接收到由主号码模式切换到副号码模式的第二切换指令时,调用副号码模式对应的副号码通讯录数据库,在特定用户界面下显示副号码通讯录数据库提供的信息。Step S110, in the specific user interface of the address book, when receiving the second switching instruction from the main number mode to the minor number mode, call the minor number address book database corresponding to the minor number mode, and display the minor number mode in the specific user interface. Information provided by the number address book database.

步骤S100和步骤S110主要描述了对具有主号码和副号码的客户端的通讯录的管理方法,根据用户与客户端之间的交互,客户端将通讯录的特定用户界面切换到相应的主号码模式或副号码模式,从而显示系统通讯录数据库提供的信息或副号码通讯录数据库提供的信息。Steps S100 and S110 mainly describe the method of managing the address book of the client with primary numbers and secondary numbers. According to the interaction between the user and the client, the client switches the specific user interface of the address book to the corresponding primary number mode or secondary number mode to display the information provided by the system address book database or the information provided by the secondary number address book database.

在本实施例中,通讯录的特定用户界面中提供有第一切换键元素和第二切换键元素,当用户选择第一切换键元素时触发第一切换指令,当用户选择第二切换键元素时触发第二切换指令。其中,第一切换键元素和第二切换键元素分别为主号码标签和副号码标签。具体地,当用户选择主号码标签时,客户端接收到切换到主号码模式的指令,并调用主号码模式对应的系统通讯录数据库,在特定用户界面下显示系统通讯录数据库提供的信息;当用户选择副号码标签时,客户端接收到切换到副号码模式的指令,调用副号码模式对应的副号码通讯录数据库,在特定用户界面下显示副号码通讯录数据库提供的信息。In this embodiment, a first switch key element and a second switch key element are provided in the specific user interface of the address book. When the user selects the first switch key element, the first switch command is triggered. When the user selects the second switch key element triggers the second switching instruction. Wherein, the first switching key element and the second switching key element are respectively a primary number label and a secondary number label. Specifically, when the user selects the main number label, the client receives an instruction to switch to the main number mode, and calls the system address book database corresponding to the main number mode, and displays the information provided by the system address book database on a specific user interface; when When the user selects the secondary number label, the client receives an instruction to switch to the secondary number mode, invokes the secondary number address book database corresponding to the secondary number mode, and displays the information provided by the secondary number address book database on a specific user interface.

其中,通讯录的特定用户界面指用于显示用户联系人信息或者用户呼入和/或呼出记录的界面。具体地,特定用户界面为联系人界面、通话记录界面、未接来电和/或未接去电界面。下面分别介绍上述三种情况下,特定用户界面显示的信息:Wherein, the specific user interface of the address book refers to an interface for displaying user contact information or user incoming and/or outgoing call records. Specifically, the specific user interface is a contact interface, a call record interface, a missed call interface and/or a missed call interface. The following describes the information displayed on the specific user interface in the above three cases:

当特定用户界面为联系人界面时,在特定用户界面下显示系统通讯录数据库提供的信息具体为:在联系人界面下显示系统通讯录数据库提供的主号码的联系人列表。When the specific user interface is a contact interface, displaying the information provided by the system address book database on the specific user interface specifically includes: displaying the contact list of the primary number provided by the system address book database on the contact interface.

在特定用户界面下显示副号码通讯录数据库提供的信息具体为:在联系人界面下显示副号码通讯录数据库提供的副号码的联系人列表。Displaying the information provided by the secondary number address book database on the specific user interface is specifically: displaying the secondary number contact list provided by the secondary number address book database on the contact interface.

图2示出了特定用户界面为联系人界面时主号码的通讯录的管理的界面图。如图2所示,当用户点击“主号码”(即主号码标签)时,客户端接收到第一切换指令,调用主号码模式对应的系统通讯录数据库,在联系人界面下显示系统通讯录数据库提供的主号码的联系人列表,例如,张三15815845689;李四13958715692;FIG. 2 shows an interface diagram of managing the address book of the main number when the specific user interface is a contact interface. As shown in Figure 2, when the user clicks on the "main number" (that is, the main number label), the client receives the first switching instruction, calls the system address book database corresponding to the main number mode, and displays the system address book in the contact interface The contact list of the main number provided by the database, for example, Zhang San 15815845689; Li Si 13958715692;

图3示出了特定用户界面为联系人界面时副号码的通讯录的管理的界面图。如图3所示,当用户点击“一卡多号”(即副号码标签)时,客户端接收到第二切换指令,调用副号码模式对应的副号码通讯录数据库,在联系人界面下显示副号码通讯录数据库提供的副号码的联系人列表,例如,王五18612569856;杨二13698514895。FIG. 3 shows an interface diagram of managing the address book of the secondary number when the specific user interface is a contact interface. As shown in Figure 3, when the user clicks on "One Card with Multiple Numbers" (i.e. the secondary number label), the client receives the second switching instruction, invokes the secondary number address book database corresponding to the secondary number mode, and displays it on the contact interface. The contact list of the secondary number provided by the secondary number address book database, for example, Wang Wu 18612569856; Yang Er 13698514895.

当特定用户界面为通话记录界面时,在特定用户界面下显示系统通讯录数据库提供的信息具体为:在通话记录界面下显示系统通讯录数据库提供的主号码对应的通话记录。When the specific user interface is a call record interface, displaying the information provided by the system address book database on the specific user interface is specifically: displaying the call records corresponding to the main numbers provided by the system address book database on the call record interface.

在特定用户界面下显示副号码通讯录数据库提供的信息具体为:在通话记录界面下显示副号码通讯录数据库提供的副号码对应的通话记录。Displaying the information provided by the secondary number address book database on the specific user interface is specifically: displaying the call records corresponding to the secondary numbers provided by the secondary number address book database on the call record interface.

当特定用户界面为未接来电和/或未接去电界面时,在特定用户界面下显示系统通讯录数据库提供的信息具体为:在未接来电和/或未接去电界面下显示系统通讯录数据库提供的主号码对应的未接来电列表和/或未接去电列表;When the specific user interface is the missed call and/or missed call interface, displaying the information provided by the system address book database under the specific user interface is: displaying the system communication under the missed call and/or missed call interface The missed call list and/or the missed call list corresponding to the main number provided by the directory database;

在特定用户界面下显示副号码通讯录数据库提供的信息具体为:在未接来电和/或未接去电界面下显示副号码通讯录数据库提供的副号码对应的未接来电列表和/或未接去电列表。Displaying the information provided by the secondary number address book database on a specific user interface is specifically: displaying the missed call list and/or missed call list corresponding to the secondary number provided by the secondary number address book database on the missed call and/or missed call interface. List of outgoing calls.

本实施例的特定用户界面并不限于上述三种情况,还可以是短信界面等,例如,在主号码模式下短信界面显示发送给主号码的短信信息列表,在副号码模式下短信界面显示发送给副号码的短信信息列表,在此不一一列举,本领域技术人员可以根据实际应用的需要具体限定特定用户界面。The specific user interface of this embodiment is not limited to the above three situations, and can also be a text message interface, etc. The short message information list for the secondary number is not listed here one by one, and those skilled in the art can specifically define a specific user interface according to the needs of practical applications.

步骤S120,识别系统通讯录数据库中记录的副号码对应的通讯记录的信息。Step S120, identifying the communication record information corresponding to the secondary number recorded in the system address book database.

这里的副号码对应的通讯记录指副号码作为主叫呼出电话的通讯记录,以及副号码作为被叫的呼入电话的通讯记录。其中,呼出电话的通讯记录包含呼出电话的通话记录和/或未接去电;呼入电话的通讯记录包含呼入电话的通话记录和/或未接来电。具体地,识别系统通讯录数据库中记录的副号码作为主叫的呼出电话的通讯记录的信息,以及副号码作为被叫的呼入电话的通讯记录的信息。Here, the communication record corresponding to the secondary number refers to the communication record in which the secondary number is used as the calling outgoing call, and the communication record in which the secondary number is used as the called incoming call. Wherein, the communication records of outgoing calls include call records of outgoing calls and/or missed calls; the communication records of incoming calls include call records of incoming calls and/or missed calls. Specifically, the secondary number recorded in the address book database of the identification system is used as the information of the communication record of the calling outgoing call, and the secondary number is used as the information of the communication record of the called incoming call.

步骤S130,根据通讯协议,将系统通讯录数据库中记录的副号码对应的通讯记录的信息进行处理,生成新的副号码对应的通讯记录的信息,并将系统通讯录数据库中记录的副号码对应的通讯记录的信息清除。Step S130, according to the communication protocol, process the information of the communication record corresponding to the secondary number recorded in the system address book database, generate the information of the communication record corresponding to the new secondary number, and correspond to the secondary number recorded in the system address book database The information in the communication records is cleared.

通讯协议指客户端与运营商副号码运营平台服务器之间定义的客户端显示通讯记录的号码信息、通话时长、呼入或呼出的规定。其中,将系统通讯录数据库中记录的副号码对应的通讯记录的信息进行处理具体指对副号码对应的通讯记录的号码信息、呼入与呼出类型进行处理。The communication protocol refers to the regulations defined between the client and the operator's secondary number operation platform server to display the number information of the communication record, call duration, incoming or outgoing calls on the client. Wherein, processing the information of the communication record corresponding to the secondary number recorded in the system address book database specifically refers to processing the number information, call-in and call-out types of the communication record corresponding to the secondary number.

步骤S140,将新的副号码对应的通讯记录的信息存储到副号码通讯录数据库中。In step S140, the information of the communication record corresponding to the new secondary number is stored in the secondary number address book database.

步骤S120-步骤S140具体描述了通讯录数据库中的数据移植过程,主要是将系统通讯录数据库中关于副号码对应的通讯录记录的信息存储到副号码通讯录数据库中。Steps S120 to S140 specifically describe the data migration process in the address book database, which mainly stores the information about the address book record corresponding to the secondary number in the system address book database into the secondary number address book database.

根据本发明上述实施例提供的方法,在通讯录的特定用户界面下,当接收到由副号码模式切换到主号码模式的第一切换指令时,调用主号码模式对应的系统通讯录数据库,在特定用户界面下显示系统通讯录数据库提供的信息,在通讯录的特定用户界面下,当接收到由主号码模式切换到副号码模式的第二切换指令时,调用副号码模式对应的副号码通讯录数据库,在特定用户界面下显示副号码通讯录数据库提供的信息,通过将主号码与副号码集成在同一通讯录中进行管理,这样用户无需切换通讯录即可实现主号码业务和副号码业务的使用,提高了用户操作便捷性。识别系统通讯录数据库中记录的副号码对应的通讯记录的信息,根据通讯协议,将系统通讯录数据库中记录的副号码对应的通讯记录的信息进行处理,生成新的副号码对应的通讯记录的信息,并将系统通讯录数据库中记录的副号码对应的通讯记录的信息清除,将新的副号码对应的通讯记录的信息存储到副号码通讯录数据库中,使得与副号码相关的通讯记录被正确地记录在副号码通讯录数据库中,克服了现有技术中使用副号码作为主叫号码或者被叫号码时系统通讯录数据库无法正确记录通讯记录相关信息的缺陷。According to the method provided by the above-mentioned embodiments of the present invention, under the specific user interface of the address book, when receiving the first switching instruction from the secondary number mode to the main number mode, the system address book database corresponding to the main number mode is invoked, and in Under the specific user interface, the information provided by the system address book database is displayed. Under the specific user interface of the address book, when the second switching command from the main number mode to the auxiliary number mode is received, the auxiliary number corresponding to the auxiliary number mode is called. Directory database, display the information provided by the sub-number address book database in a specific user interface, manage by integrating the main number and the sub-number in the same address book, so that the user can realize the main number service and the sub-number service without switching the address book The use of the system improves the convenience of user operation. Identify the information of the communication record corresponding to the secondary number recorded in the system address book database, process the information of the communication record corresponding to the secondary number recorded in the system address book database according to the communication protocol, and generate the communication record corresponding to the new secondary number information, and clear the information of the communication record corresponding to the secondary number recorded in the system address book database, and store the information of the communication record corresponding to the new secondary number in the secondary number address book database, so that the communication records related to the secondary number are deleted. It is correctly recorded in the secondary number address book database, which overcomes the defect that the system address book database cannot correctly record communication record related information when the secondary number is used as the calling number or called number in the prior art.

下面通过三个具体实例详细介绍集成主号码和副号码的通讯录的管理方法。The following describes in detail the management method of the address book integrating the primary number and the secondary number through three specific examples.

图4示出了根据本发明另一个实施例的集成主号码和副号码的通讯录的管理方法的流程图。本实施例的应用场景是,具有主号码和副号码的客户端接收到其它用户发起的呼入电话,系统通讯录数据库中记录的呼入电话的通讯记录,呼入电话的通讯记录包含呼入电话的通话记录和/或未接来电。如图4所示,该方法包括以下步骤:Fig. 4 shows a flowchart of a method for managing an address book integrating primary numbers and secondary numbers according to another embodiment of the present invention. The application scenario of this embodiment is that a client with a primary number and a secondary number receives an incoming call initiated by another user, and the communication record of the incoming call recorded in the system address book database includes the incoming call The phone's call log and/or missed calls. As shown in Figure 4, the method includes the following steps:

步骤S400,判断系统通讯录数据库中记录的呼入电话的主叫号码是否包含前插码,若是,则执行步骤S410,若否则方法结束。Step S400, judging whether the calling number of the incoming call recorded in the system address book database contains a prefix code, if yes, execute step S410, otherwise, the method ends.

前插码指插入到主叫号码前用于识别被叫号码是否为副号码的号码前缀。包含前插码的主叫号码的位数大于正常手机号码位数,其中,正常手机号码位数为11位,前插码可以为2-4位,这样包含前插码的主叫号码的位数可达13-15位。Prefix refers to the number prefix inserted before the calling number to identify whether the called number is a secondary number. The number of digits of the calling number containing the prefix code is greater than the digits of the normal mobile phone number. Among them, the digits of the normal mobile phone number are 11 digits, and the digits of the prefix code can be 2-4 digits. In this way, the digits of the calling number containing the prefix code The number can reach 13-15 digits.

具体地,运营商副号码运营平台服务器在接收到用户发起的呼叫请求后,解析呼叫请求携带的被叫号码是否为副号码;若是,则运营商副号码运营平台服务器在呼入电话的主叫号码前插入前插码。通过包含前插码的主叫号码呼叫副号码,并在客户端的系统通讯录数据库中记录呼入电话为包含前插码的主叫号码的通讯记录。判断呼入电话的主叫号码的位数是否大于11位,若主叫号码的位数大于11位,则能判定该主叫号码包含前插码。Specifically, after receiving the call request initiated by the user, the operator's secondary number operation platform server analyzes whether the called number carried in the call request is a secondary number; Insert the prefix code before the number. Call the secondary number through the calling number containing the prefix code, and record the incoming call as the communication record of the calling number containing the prefix code in the client's system address book database. Judging whether the number of the calling number of the incoming call is greater than 11 digits, if the number of the calling number is greater than 11 digits, it can be determined that the calling number contains a prefix code.

步骤S410,识别呼入电话为副号码对应的通讯记录。Step S410, identifying the incoming call as a communication record corresponding to the secondary number.

在步骤S400判断主叫号码包含前插码的情况下,客户端根据主叫号码的前插码将呼入电话的被叫号码识别为副号码,由此识别呼入电话为副号码对应的通讯记录。If it is judged in step S400 that the calling number contains a preamble, the client identifies the called number of the incoming call as a secondary number according to the preamble of the calling number, thereby identifying the incoming call as a communication corresponding to the secondary number Record.

步骤S420,将呼入电话的主叫号码的前插码去除,将呼入电话的被叫号码修改为副号码,得到新的副号码对应的通讯记录的信息。Step S420, remove the prefix code of the calling number of the incoming call, change the called number of the incoming call to a secondary number, and obtain the communication record information corresponding to the new secondary number.

在识别呼入电话为副号码对应的通讯记录后,客户端对呼入电话的包含前插码的主叫号码进行处理,删除其中的前插码,并将呼入电话的被叫号码修改为副号码,得到新的副号码对应的通讯记录的信息。After identifying the incoming call as the communication record corresponding to the secondary number, the client will process the calling number containing the prefix code of the incoming call, delete the prefix code, and modify the called number of the incoming call to Minor number, get the communication record information corresponding to the new minor number.

步骤S430,将系统通讯录数据库中记录的副号码对应的通讯记录的信息清除。Step S430, clearing the communication record information corresponding to the secondary number recorded in the system address book database.

在得到不包含前插码的主叫号码作为新的副号码对应的通讯记录的信息后,将系统通讯录数据库中记录的副号码对应的通讯记录的信息,即包含前插码的主叫号码清除。After obtaining the calling number that does not contain the prefix code as the information of the communication record corresponding to the new secondary number, the information of the communication record corresponding to the secondary number recorded in the system address book database, that is, the calling number that contains the prefix code clear.

步骤S440,将新的副号码对应的通讯记录的信息存储到副号码通讯录数据库中。Step S440, storing the information of the communication record corresponding to the new secondary number in the secondary number address book database.

其中,新的副号码对应的通讯记录的信息指不包含前插码的主叫号码。具体地,将该不包含前插码的主叫号码存储到副号码通讯录数据库中。Wherein, the information of the communication record corresponding to the new secondary number refers to the calling number that does not contain the prefix code. Specifically, the calling number without the prefix code is stored in the secondary number address book database.

举例说明,用户1具有主号码A:13415658962,副号码a:15394426149;用户2具有手机号码B:13381449547,用户2通过手机号码B呼叫用户1的副号码a。客户端将该呼叫请求发送给运营商副号码运营平台服务器,运营商副号码运营平台服务器在接收到用户2发起的呼叫请求后,解析呼叫请求携带的被叫号码是否为副号码a;若是,则运营商副号码运营平台服务器在呼入电话的主叫号码B前插入前插码18,并通过包含前插码的主叫号码1813381449547呼叫用户1的主号码A:13415658962。按照现有的通信协议,会在系统通讯录数据库中记录一条至少包含“主叫号码:1813381449547,被叫号码:13415658962,呼叫类型:呼入”的通讯记录,这条通讯记录记录的信息与用户实际发生的通讯记录并不一致。本实施例为了解决该问题,客户端首先判断呼入电话的主叫号码1813381449547是否包含前插码,通过判断得到该主叫号码包含前插码18,则识别呼入电话为副号码对应的通讯记录。然后,客户端将呼入电话的主叫号码1813381449547的前插码18去除,得到不包含前插码的主叫号码13381449547,因此将系统通讯录数据库中记录的至少包含“主叫号码:1813381449547,被叫号码:13415658962,呼叫类型:呼入”的通讯记录清除,将新的副号码对应的通讯记录“主叫号码:13381449547,被叫号码:15394426149,呼叫类型:呼入”存储到副号码通讯录数据库中。For example, user 1 has primary number A: 13415658962, secondary number a: 15394426149; user 2 has mobile phone number B: 13381449547, and user 2 calls user 1's secondary number a through mobile phone number B. The client sends the call request to the operator's secondary number operation platform server. After receiving the call request initiated by user 2, the operator's secondary number operation platform server analyzes whether the called number carried in the call request is the secondary number a; if so, Then the operator’s secondary number operation platform server inserts a prefix code 18 before the calling number B of the incoming call, and calls user 1’s primary number A: 13415658962 through the calling number 1813381449547 containing the prefix code. According to the existing communication protocol, a communication record containing at least "calling number: 1813381449547, called number: 13415658962, call type: incoming" will be recorded in the system address book database. The information recorded in this communication record is consistent with the user The actual communication records are not consistent. In order to solve this problem in this embodiment, the client first judges whether the calling number 1813381449547 of the incoming call contains a prefix code. By judging that the calling number contains a prefix code 18, the incoming call is identified as a communication corresponding to the secondary number. Record. Then, the client removes the preamble 18 of the calling number 1813381449547 of the incoming call to obtain the calling number 13381449547 without the preamble, so the records in the system address book database include at least "calling number: 1813381449547, Called Number: 13415658962, Call Type: Incoming" communication record is cleared, and the communication record corresponding to the new secondary number "Calling Number: 13381449547, Called Number: 15394426149, Call Type: Incoming" is stored in the secondary number communication recorded in the database.

图5示出了根据本发明另一个实施例的集成主号码和副号码的通讯录的管理方法的流程图。本实施例的应用场景是,具有主号码和副号码的客户端在号码归属地内以副号码向其它用户发起呼出电话,系统通讯录数据库中记录的本地呼出电话的通讯记录,本地呼出电话的通讯记录包含本地呼出电话的通话记录和/或未接去电。如图5所示,该方法包括以下步骤:Fig. 5 shows a flow chart of a method for managing an address book integrating primary numbers and secondary numbers according to another embodiment of the present invention. The application scenario of this embodiment is that a client with a primary number and a secondary number initiates an outbound call to other users with a secondary number in the place where the number belongs, the communication record of the local outgoing call recorded in the system address book database, and the communication record of the local outgoing call Logs contain call logs for local outgoing calls and/or missed calls. As shown in Figure 5, the method includes the following steps:

步骤S500,判断系统通讯录数据库中记录的本地呼出电话的被叫号码是否包含前插码,若是,则执行步骤S510;若否则方法结束。Step S500, judging whether the called number of the local outgoing call recorded in the system address book database contains a prefix code, if yes, execute step S510; otherwise, the method ends.

本地呼出指呼出电话时主叫号码的所在地为号码归属地。当用户通过副号码作为主叫号码本地呼出电话时,客户端会在被叫号码前插入前插码,在系统通讯录数据库中记录包含前插码的被叫号码的通讯记录。判断本地呼出电话的被叫号码的位数大于11位,若被叫号码的位数大于11位,则能判定该被叫号码包含前插码。Local outgoing calls refer to the place where the calling number is located when making an outgoing call. When the user uses the secondary number as the calling number to make a local call, the client will insert a prefix code before the called number, and record the communication record of the called number including the prefix code in the system address book database. It is judged that the number of digits of the called number of the local outgoing call is greater than 11 digits, and if the digits of the called number is greater than 11 digits, it can be determined that the called number contains a prefix code.

步骤S510,识别本地呼出电话为副号码对应的通讯记录。Step S510, identifying the local outgoing call as the communication record corresponding to the secondary number.

在步骤S500判断被叫号码包含前插码的情况下,客户端根据被叫号码的前插码将呼出电话的主叫号码识别为副号码,由此识别本地呼出电话为副号码对应的通讯记录。If it is determined in step S500 that the called number contains a preamble, the client identifies the calling number of the outgoing call as a secondary number according to the preamble of the called number, thereby identifying the local outgoing call as the communication record corresponding to the secondary number .

步骤S520,将本地呼出电话的被叫号码的前插码去除,将本地呼出电话的主叫号码修改为副号码,得到新的副号码对应的通讯记录的信息。Step S520, remove the prefix code of the called number of the local outgoing call, change the calling number of the local outgoing call to a secondary number, and obtain the communication record information corresponding to the new secondary number.

步骤S530,将系统通讯录数据库中记录的副号码对应的通讯记录的信息清除。Step S530, clearing the communication record information corresponding to the secondary number recorded in the system address book database.

步骤S540,将新的副号码对应的通讯记录的信息存储到副号码通讯录数据库中。In step S540, the information of the communication record corresponding to the new secondary number is stored in the secondary number address book database.

图5所示实施例中的步骤S520-步骤S540与图4所示实施例中的步骤S420-步骤S440类似,在此不再赘述。Step S520 to step S540 in the embodiment shown in FIG. 5 are similar to steps S420 to step S440 in the embodiment shown in FIG. 4 , and will not be repeated here.

举例说明,用户1具有主号码A:13415658962,副号码a:15394426149;用户2具有手机号码B:13381449547,用户1通过副号码a本地呼叫用户2的手机号码B。客户端根据用户1发起的呼叫请求判定用户1是通过副号码a:15394426149作为主叫号码发起的呼叫,则在被叫号码B:13381449547前插入前插码18。按照现有的通信协议,会在系统通讯录数据库中记录一条至少包含“主叫号码:13415658962,被叫号码:1813381449547,呼叫类型:呼出”的通讯记录,这条通讯记录记录的信息与用户实际发生的通讯记录并不一致。本实施例为了解决该问题,首先判断系统通讯录数据库中本地呼出电话的被叫号码1813381449547是否包含前插码,通过判断得知被叫号码包含前插码18,则识别本地呼出电话为副号码15394426149对应的通讯记录,将本地呼出电话的被叫号码1813381449547的前插码去除,并将本地呼出电话的主叫号码修改为副号码15394426149,得到主叫号码为副号码15394426149、不包含前插码的被叫号码13381449547作为新的副号码对应的通讯记录的信息,因此,将系统通讯录数据库中记录的至少包含“主叫号码:13415658962,被叫号码:1813381449547,呼叫类型:呼出”的通讯记录清除,将新的副号码对应的通讯记录“主叫号码:15394426149,被叫号码:13381449547,呼叫类型:呼出”存储到副号码通讯录数据库中。For example, user 1 has primary number A: 13415658962, secondary number a: 15394426149; user 2 has mobile phone number B: 13381449547, and user 1 locally calls user 2's mobile phone number B through secondary number a. According to the call request initiated by user 1, the client determines that user 1 initiated the call through the secondary number a: 15394426149 as the calling number, and then inserts the prefix 18 before the called number B: 13381449547. According to the existing communication protocol, a communication record containing at least "calling number: 13415658962, called number: 1813381449547, call type: outgoing" will be recorded in the system address book database. The information recorded in this communication record is consistent with the user's actual The communication records that occurred were not consistent. In order to solve this problem, this embodiment first judges whether the called number 1813381449547 of the local outgoing call in the system address book database contains a prefix code. By judging that the called number contains a prefix code 18, the local outgoing call is identified as a secondary number For the communication record corresponding to 15394426149, remove the prefix code of the called number 1813381449547 of the local outgoing call, and change the calling number of the local outgoing call to the secondary number 15394426149, and obtain the calling number as the secondary number 15394426149 without the prefix code The called number 13381449547 is used as the communication record information corresponding to the new secondary number. Therefore, the system address book database records at least include the communication records of "calling number: 13415658962, called number: 1813381449547, call type: outgoing" Clear, store the communication record corresponding to the new secondary number "calling number: 15394426149, called number: 13381449547, call type: outgoing" into the secondary number address book database.

根据上述实施例,本方式适用于用户通过副号码作为主叫号码本地呼出电话的情况,然而本发明不限于此,也即本方式也适用于用户通过副号码作为主叫号码异地呼出电话的情况。According to the above-mentioned embodiments, this method is applicable to the situation where the user uses the secondary number as the calling number to make a local call, but the present invention is not limited thereto, that is, this method is also applicable to the situation where the user uses the secondary number as the calling number to make a call in a different place .

图6示出了根据本发明另一个实施例的集成主号码和副号码的通讯录的管理方法的流程图。本实施例的应用场景是,具有主号码和副号码的客户端在号码归属地之外的省份以副号码向其它用户发起呼出电话,系统通讯录数据库中记录的呼入电话的通讯记录,如图6所示,该方法包括以下步骤:Fig. 6 shows a flow chart of a method for managing an address book integrating primary numbers and secondary numbers according to another embodiment of the present invention. The application scenario of this embodiment is that a client with a primary number and a secondary number initiates an outbound call to other users with a secondary number in a province other than the number's attribution, and the communication record of the incoming call recorded in the system address book database is as follows: As shown in Figure 6, the method includes the following steps:

步骤S610,判断系统通讯录数据库中记录的呼入电话的主叫号码是否为本机的副号码,若是,则执行步骤S620;若否则方法结束。Step S610, judging whether the calling number of the incoming call recorded in the system address book database is the local secondary number, if yes, execute step S620; otherwise, the method ends.

在判断出系统通讯录数据库中记录的呼入电话的主叫号码为本机的副号码时,识别系统通讯录数据库中记录的是呼出电话的通讯记录。进一步地,在本发明的一个优选实施例中,还可以识别系统通讯录数据库中记录的是异地呼出电话的通讯记录。异地呼出指呼出电话时主叫号码的所在地为号码归属地之外的其他省份。当用户通过副号码作为主叫号码异地呼出电话时,客户端会向运营商副号码运营平台服务器发送的网络请求消息,运营商副号码运营平台服务器接收到客户端发送的网络请求消息后,对网络请求消息进行解析,判断网络请求消息中携带的呼出电话的主叫号码是否为副号码;若是,则根据副号码解析得到对应的主号码,向客户端返回回拨呼入电话,该回拨呼入电话的主叫号码是本机的副号码,而被叫号码是本机的主号码,这样在客户端系统通讯录数据库中显示呼入电话的主叫号码为本机的副号码的通讯记录。When it is judged that the calling number of the incoming call recorded in the system address book database is the secondary number of the local machine, it is identified that what is recorded in the system address book database is the communication record of the outgoing call. Further, in a preferred embodiment of the present invention, it can also be identified that the records recorded in the system address book database are communication records of outgoing calls from other places. Outgoing outbound calls refer to the place where the calling number is located in a province other than the place where the number belongs. When the user uses the secondary number as the calling number to make a call from another place, the client will send a network request message to the server of the operator's secondary number operation platform. After receiving the network request message sent by the client, the server of the operator's secondary number operation platform will Analyze the network request message to determine whether the calling number of the outgoing call carried in the network request message is a secondary number; The calling number of the incoming call is the secondary number of the machine, and the called number is the main number of the machine. In this way, the communication in which the calling number of the incoming call is the secondary number of the machine is displayed in the client system address book database. Record.

步骤S620,将系统通讯录数据库中记录的副号码对应的通讯记录的信息中的被叫号码修改为异地呼出电话的被叫号码,呼叫类型修改为呼出,得到新的副号码对应的通讯记录的信息。Step S620, modify the called number in the information of the communication record corresponding to the secondary number recorded in the system address book database to the called number of the remote outgoing call, modify the call type to outgoing, and obtain the communication record corresponding to the new secondary number information.

具体地,客户端通过查询系统通讯录数据库,查找到用副号码作为主叫号码时异地呼出电话的被叫号码,将异地呼出电话的被叫号码,呼叫类型为呼出,作为新的副号码对应的通讯记录的信息。Specifically, by querying the system address book database, the client finds out the called number of the outbound call when the secondary number is used as the calling number. information in the communication records.

步骤S630,将系统通讯录数据库中记录的副号码对应的通讯记录的信息清除。Step S630, clearing the communication record information corresponding to the secondary number recorded in the system address book database.

步骤S640,将新的副号码对应的通讯记录的信息存储到副号码通讯录数据库中。In step S640, the information of the communication record corresponding to the new secondary number is stored in the secondary number address book database.

图6所示实施例中的步骤S630-步骤S640与图4所示实施例中的步骤S430-步骤S440类似,在此不再赘述。Step S630 to step S640 in the embodiment shown in FIG. 6 are similar to steps S430 to step S440 in the embodiment shown in FIG. 4 , and will not be repeated here.

举例说明,用户1具有主号码A:13415658962,副号码a:15394426149;用户2具有手机号码B:13381449547,用户1通过副号码a异地呼叫用户2的手机号码B。在呼出电话时,向运营商副号码运营平台服务器发送携带异地呼出电话的主叫号码15394426149(即用户1的副号码a)和异地呼出电话的被叫号码13381449547(用户2的手机号码B)的网络请求消息,运营商副号码运营平台服务器通过解析该网络请求消息得知主叫号码是用户1的副号码a,则根据其内存储的主号码、副号码以及主号码与副号码之间的对应关系查找到用户1的副号码a:15394426149对应的主号码A:13415658962,并向该主号码A:13415658962发起回拨呼入电话,并且该回拨呼入电话的主叫号码是用户1的副号码a,在用户1的客户端的系统通讯录数据库中记录用户1的副号码a:15394426149来电。按照现有的通信协议,会在系统通讯录数据库中记录一条至少包含“主叫号码:15394426149,被叫号码:13415658962,呼叫类型:呼入”的通讯记录,这条通讯记录记录的信息与用户实际发生的通讯记录并不一致。本实施例为了解决该问题,通过判断系统通讯录数据库中的通讯记录的呼入电话的主叫号码是否为本机的副号码a:15394426149,若是,则识别系统通讯录数据库中记录的是异地呼出电话的通讯记录,将系统通讯录数据库中记录的副号码对应的通讯记录的信息中的被叫号码修改为异地呼出电话的被叫号码13381449547,呼叫类型修改为呼出,得到新的副号码对应的通讯记录的信息,因此将系统通讯录数据库中记录的至少包含“主叫号码:15394426149,被叫号码:13415658962,呼叫类型:呼入”的通讯记录清除,将新的副号码对应的通讯记录“主叫号码:15394426149,被叫号码:13381449547,呼叫类型:呼出”存储到副号码通讯录数据库中。For example, user 1 has primary number A: 13415658962, secondary number a: 15394426149; user 2 has mobile phone number B: 13381449547, and user 1 calls user 2's mobile phone number B through secondary number a. When making an outgoing call, send the caller number 15394426149 (that is, user 1’s secondary number a) and the called number 13381449547 (user 2’s mobile phone number B) to the operator’s secondary number operation platform server Network request message, the server of the operator’s secondary number operation platform analyzes the network request message and learns that the calling number is the secondary number a of user 1, then according to the primary number, secondary number and the relationship between the primary number and the secondary number stored in it, The corresponding relationship finds the main number A corresponding to the secondary number a of user 1: 15394426149: 13415658962, and initiates a call back call to the main number A: 13415658962, and the calling number of the call back call is user 1 Minor number a, record user 1's minor number a in the system address book database of user 1's client: 15394426149 calls. According to the existing communication protocol, a communication record containing at least "calling number: 15394426149, called number: 13415658962, call type: incoming" will be recorded in the system address book database. The information recorded in this communication record is consistent with the user The actual communication records are not consistent. In order to solve this problem in this embodiment, by judging whether the calling number of the incoming call in the communication record in the system address book database is the secondary number a of this machine: 15394426149, if so, then identify that the record in the system address book database is a different place For the communication record of the outgoing call, change the called number in the information of the communication record corresponding to the secondary number recorded in the system address book database to the called number 13381449547 of the outgoing call in another place, and change the call type to outgoing, and get the new secondary number corresponding Therefore, clear the communication records recorded in the system address book database at least including "calling number: 15394426149, called number: 13415658962, call type: incoming call", and clear the communication records corresponding to the new secondary number "Calling number: 15394426149, called number: 13381449547, call type: outgoing" is stored in the secondary number address book database.

根据上述实施例,本方式适用于用户通过副号码作为主叫号码异地呼出电话的情况,然而本发明不限于此,也即本方式也适用于用户通过副号码作为主叫号码本地呼出电话的情况。According to the above-mentioned embodiment, this method is applicable to the situation where the user uses the secondary number as the calling number to make an outgoing call in a different place, but the present invention is not limited thereto, that is, this method is also applicable to the situation where the user uses the secondary number as the calling number to make a local call .

图7示出了根据本发明一个实施例的客户端的结构示意图。客户端的通讯录包含主号码模式和副号码模式。如图7所示,该客户端包括:系统通讯录数据库710、副号码通讯录数据库720、用户接口730、显示模块740。Fig. 7 shows a schematic structural diagram of a client according to an embodiment of the present invention. The client's address book contains the main number pattern and the secondary number pattern. As shown in FIG. 7 , the client includes: a system address book database 710 , a secondary number address book database 720 , a user interface 730 , and a display module 740 .

系统通讯录数据库710,适于存储主号码对应的信息。The system address book database 710 is suitable for storing information corresponding to the main number.

副号码通讯录数据库720,适于存储副号码对应的信息。The secondary number address book database 720 is suitable for storing information corresponding to the secondary number.

用户接口730,适于在通讯录的特定用户界面下,接收由副号码模式切换到主号码模式的第一切换指令和由主号码模式切换到副号码模式的第二切换指令。The user interface 730 is adapted to receive a first switching instruction from the secondary number mode to the primary number mode and a second switching instruction from the primary number mode to the secondary number mode under a specific user interface of the address book.

显示模块740,适于当用户接口接收到第一切换指令时,调用主号码模式对应的系统通讯录数据库,在特定用户界面下显示系统通讯录数据库提供的信息;以及,当用户接口接收到第二切换指令时,调用副号码模式对应的副号码通讯录数据库,在特定用户界面下显示副号码通讯录数据库提供的信息。The display module 740 is adapted to call the system address book database corresponding to the main number mode when the user interface receives the first switching instruction, and display the information provided by the system address book database on a specific user interface; and, when the user interface receives the second 2. During the switching command, the secondary number address book database corresponding to the secondary number mode is invoked, and the information provided by the secondary number address book database is displayed on a specific user interface.

客户端还包括:交互元素提供模块750,适于在通讯录的特定用户界面中提供第一切换键元素和第二切换键元素。The client further includes: an interactive element providing module 750, adapted to provide the first switching key element and the second switching key element in a specific user interface of the address book.

用户接口730具体适于:接收由用户选择第一切换键元素所触发的第一切换指令和由用户选择第二切换键元素所触发的第二切换指令。The user interface 730 is specifically adapted to: receive a first switching instruction triggered by a user selecting a first switching key element and a second switching instruction triggered by a user selecting a second switching key element.

特定用户界面为联系人界面。显示模块740具体适于:当用户接口接收到第一切换指令时,在联系人界面下显示系统通讯录数据库提供的主号码的联系人列表;当用户接口接收到第二切换指令时,在联系人界面下显示副号码通讯录数据库提供的副号码的联系人列表。A particular user interface is a contacts interface. The display module 740 is specifically adapted to: when the user interface receives the first switching instruction, display the contact list of the main number provided by the system address book database under the contact interface; The human interface displays the contact list of the secondary number provided by the secondary number address book database.

特定用户界面为通话记录界面。显示模块740具体适于:当用户接口接收到第一切换指令时,在通话记录界面下显示系统通讯录数据库提供的主号码对应的通话记录;当用户接口接收到第二切换指令时,在通话记录界面下显示副号码通讯录数据库提供的副号码对应的通话记录。The specific user interface is a call recording interface. The display module 740 is specifically adapted to: when the user interface receives the first switch instruction, display the call record corresponding to the main number provided by the system address book database under the call record interface; The call record corresponding to the secondary number provided by the secondary number address book database is displayed under the record interface.

特定用户界面为未接来电和/或未接去电界面。显示模块740具体适于:当用户接口接收到第一切换指令时,在未接来电和/或未接去电界面下显示系统通讯录数据库提供的主号码对应的未接来电列表和/或未接去电列表;当用户接口接收到第二切换指令时,在未接来电和/或未接去电界面下显示副号码通讯录数据库提供的副号码对应的未接来电列表和/或未接去电列表。The specific user interface is a missed call and/or missed call interface. The display module 740 is specifically adapted to: when the user interface receives the first switching instruction, display the missed call list and/or missed call list corresponding to the main number provided by the system address book database under the missed call and/or missed call interface. Received and outgoing call list; when the user interface receives the second switching instruction, the missed call list and/or the missed call corresponding to the secondary number provided by the secondary number address book database are displayed under the missed call and/or missed outgoing call interface List of outgoing calls.

客户端还包括:识别模块760,适于识别系统通讯录数据库中记录的副号码对应的通讯记录的信息。The client terminal also includes: an identification module 760, adapted to identify the communication record information corresponding to the secondary number recorded in the system address book database.

处理模块770,适于根据通讯协议,将系统通讯录数据库中记录的副号码对应的通讯记录的信息进行处理,生成新的副号码对应的通讯记录的信息,并将系统通讯录数据库中记录的副号码对应的通讯记录的信息清除。The processing module 770 is suitable for processing the information of the communication record corresponding to the secondary number recorded in the system address book database according to the communication protocol, generating the information of the communication record corresponding to the new secondary number, and storing the information recorded in the system address book database The information in the communication record corresponding to the secondary number is cleared.

存储模块780,适于将新的副号码对应的通讯记录的信息存储到副号码通讯录数据库中。The storage module 780 is adapted to store the information of the communication record corresponding to the new secondary number in the secondary number address book database.

识别模块760具体适于:对于系统通讯录数据库中记录的呼入电话的通讯记录,呼入电话的通讯记录包含呼入电话的通话记录和/或未接来电,判断呼入电话的主叫号码是否包含前插码,若是,则识别呼入电话为副号码对应的通讯记录;The identification module 760 is specifically adapted to: for the communication records of the incoming calls recorded in the system address book database, the communication records of the incoming calls include the call records of the incoming calls and/or missed calls, and determine the calling number of the incoming calls Whether it contains the prefix code, if so, identify the incoming call as the communication record corresponding to the secondary number;

处理模块770具体适于:将呼入电话的主叫号码的前插码去除,将呼入电话的被叫号码修改为副号码,得到新的副号码对应的通讯记录的信息。The processing module 770 is specifically adapted to: remove the prefix code of the calling number of the incoming call, change the called number of the incoming call to a secondary number, and obtain the communication record information corresponding to the new secondary number.

识别模块760具体适于:对于系统通讯录数据库中记录的本地呼出电话的通讯记录,本地呼出电话的通讯记录包含本地呼出电话的通话记录和/或未接去电,判断本地呼出电话的被叫号码是否包含前插码,若是,则识别本地呼出电话为副号码对应的通讯记录;The identification module 760 is specifically adapted to: for the communication records of the local outgoing calls recorded in the system address book database, the communication records of the local outgoing calls include the call records of the local outgoing calls and/or missed calls, and determine the called party of the local outgoing calls. Whether the number contains a prefix code, if so, identify the local outgoing call as the communication record corresponding to the secondary number;

处理模块770具体适于:将本地呼出电话的被叫号码的前插码去除,将本地呼出电话的主叫号码修改为副号码,得到新的副号码对应的通讯记录的信息。The processing module 770 is specifically adapted to: remove the prefix code of the called number of the local outgoing call, change the calling number of the local outgoing call to a secondary number, and obtain the communication record information corresponding to the new secondary number.

识别模块760具体适于:对于系统通讯录数据库中记录的呼入电话的通讯记录,判断呼入电话的主叫号码是否为本机的副号码,若是,则识别系统通讯录数据库中记录的是异地呼出电话的通讯记录;The identification module 760 is specifically adapted to: for the communication record of the incoming call recorded in the system address book database, judge whether the calling number of the incoming call is the secondary number of the machine, and if so, then identify whether the caller number recorded in the system address book database is Communication records of outgoing calls from other places;

处理模块770具体适于:将系统通讯录数据库中记录的副号码对应的通讯记录的信息中的被叫号码修改为异地呼出电话的被叫号码,呼叫类型修改为呼出,得到新的副号码对应的通讯记录的信息。The processing module 770 is specifically adapted to: modify the called number in the information of the communication record corresponding to the secondary number recorded in the system address book database to the called number of the outgoing call in a different place, modify the call type to outgoing, and obtain the corresponding secondary number. information in the communication records.

根据本发明上述实施例提供的客户端,在通讯录的特定用户界面下,当接收到由副号码模式切换到主号码模式的第一切换指令时,调用主号码模式对应的系统通讯录数据库,在特定用户界面下显示系统通讯录数据库提供的信息,在通讯录的特定用户界面下,当接收到由主号码模式切换到副号码模式的第二切换指令时,调用副号码模式对应的副号码通讯录数据库,在特定用户界面下显示副号码通讯录数据库提供的信息,通过将主号码与副号码集成在同一通讯录中进行管理,这样用户无需切换通讯录即可实现主号码业务和副号码业务的使用,提高了用户操作便捷性;识别系统通讯录数据库中记录的副号码对应的通讯记录的信息,根据通讯协议,将系统通讯录数据库中记录的副号码对应的通讯记录的信息进行处理,生成新的副号码对应的通讯记录的信息,并将系统通讯录数据库中记录的副号码对应的通讯记录的信息清除,将新的副号码对应的通讯记录的信息存储到副号码通讯录数据库中,使得与副号码相关的通讯记录被正确地记录在副号码通讯录数据库中,克服了现有技术中使用副号码作为主叫号码或者被叫号码时系统通讯录数据库无法正确记录通讯记录相关信息的缺陷。According to the client provided by the above-mentioned embodiments of the present invention, under the specific user interface of the address book, when receiving the first switching instruction from the secondary number mode to the main number mode, the system address book database corresponding to the main number mode is called, Display the information provided by the system address book database under the specific user interface. Under the specific user interface of the address book, when receiving the second switching instruction from the main number mode to the secondary number mode, call the secondary number corresponding to the secondary number mode The address book database displays the information provided by the secondary number address book database in a specific user interface, and manages the main number and the secondary number by integrating the primary number and the secondary number in the same address book, so that the user can realize the primary number business and the secondary number without switching the address book The use of business improves the convenience of user operation; identify the information of the communication record corresponding to the secondary number recorded in the system address book database, and process the information of the communication record corresponding to the secondary number recorded in the system address book database according to the communication protocol , generate the information of the communication record corresponding to the new secondary number, clear the information of the communication record corresponding to the secondary number recorded in the system address book database, and store the information of the communication record corresponding to the new secondary number in the secondary number address book database In this way, the communication records related to the secondary number are correctly recorded in the secondary number address book database, which overcomes the problem that the system address book database cannot correctly record the communication records when the secondary number is used as the calling number or called number in the prior art. Information Deficiency.

在此提供的算法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。The algorithms and displays presented herein are not inherently related to any particular computer, virtual system, or other device. Various generic systems can also be used with the teachings based on this. The structure required to construct such a system is apparent from the above description. Furthermore, the present invention is not specific to any particular programming language. It should be understood that various programming languages can be used to implement the content of the present invention described herein, and the above description of specific languages is for disclosing the best mode of the present invention.

在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure the understanding of this description.

类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, in order to streamline this disclosure and to facilitate an understanding of one or more of the various inventive aspects, various features of the invention are sometimes grouped together in a single embodiment, figure, or its description. This method of disclosure, however, is not to be interpreted as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the Detailed Description are hereby expressly incorporated into this Detailed Description, with each claim standing on its own as a separate embodiment of this invention.

本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art can understand that the modules in the device in the embodiment can be adaptively changed and arranged in one or more devices different from the embodiment. Modules or units or components in the embodiments may be combined into one module or unit or component, and furthermore may be divided into a plurality of sub-modules or sub-units or sub-assemblies. All features disclosed in this specification (including accompanying claims, abstract and drawings) and any method or method so disclosed may be used in any combination, except that at least some of such features and/or processes or units are mutually exclusive. All processes or units of equipment are combined. Each feature disclosed in this specification (including accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.

此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。Furthermore, those skilled in the art will understand that although some embodiments described herein include some features included in other embodiments but not others, combinations of features from different embodiments are meant to be within the scope of the invention. and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.

本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的集成主号码和副号码的通讯录的管理的设备中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。The various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art should understand that a microprocessor or a digital signal processor (DSP) can be used in practice to implement some or all of the devices for managing the address book that integrates the primary number and the secondary number according to the embodiment of the present invention Some or all of the features of the component. The present invention can also be implemented as an apparatus or an apparatus program (for example, a computer program and a computer program product) for performing a part or all of the methods described herein. Such a program for realizing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such a signal may be downloaded from an Internet site, or provided on a carrier signal, or provided in any other form.

应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means can be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. does not indicate any order. These words can be interpreted as names.

本发明公开了:A1、一种集成主号码和副号码的通讯录的管理方法,所述通讯录包含主号码模式和副号码模式,所述方法包括:The present invention discloses: A1. A management method for an address book integrating main numbers and auxiliary numbers, the address book includes main number modes and auxiliary number modes, and the method includes:

在所述通讯录的特定用户界面下,当接收到由副号码模式切换到主号码模式的第一切换指令时,调用主号码模式对应的系统通讯录数据库,在所述特定用户界面下显示所述系统通讯录数据库提供的信息;Under the specific user interface of the address book, when receiving the first switching instruction from the secondary number mode to the main number mode, the system address book database corresponding to the main number mode is invoked, and the corresponding address book database is displayed on the specific user interface. The information provided by the address book database of the above-mentioned system;

在所述通讯录的特定用户界面下,当接收到由主号码模式切换到副号码模式的第二切换指令时,调用副号码模式对应的副号码通讯录数据库,在所述特定用户界面下显示所述副号码通讯录数据库提供的信息。Under the specific user interface of the address book, when receiving the second switching instruction from the main number mode to the secondary number mode, call the secondary number address book database corresponding to the secondary number mode, and display it on the specific user interface The information provided by the secondary number address book database.

A2、根据A1所述的方法,所述通讯录的特定用户界面中提供有第一切换键元素和第二切换键元素,当用户选择第一切换键元素时触发所述第一切换指令,当用户选择第二切换键元素时触发所述第二切换指令。A2. According to the method described in A1, a first switching key element and a second switching key element are provided in the specific user interface of the address book, and when the user selects the first switching key element, the first switching instruction is triggered, and when The second switching instruction is triggered when the user selects the second switching key element.

A3、根据A1或A2所述的方法,所述特定用户界面为联系人界面;A3. According to the method described in A1 or A2, the specific user interface is a contact interface;

所述在特定用户界面下显示所述系统通讯录数据库提供的信息具体为:在联系人界面下显示所述系统通讯录数据库提供的主号码的联系人列表;The displaying the information provided by the system address book database under the specific user interface is specifically: displaying the contact list of the main number provided by the system address book database under the contact interface;

所述在特定用户界面下显示所述副号码通讯录数据库提供的信息具体为:在联系人界面下显示所述副号码通讯录数据库提供的副号码的联系人列表。The displaying the information provided by the secondary number address book database on the specific user interface specifically includes: displaying the secondary number contact list provided by the secondary number address book database on the contact interface.

A4、根据A1或A2所述的方法,所述特定用户界面为通话记录界面;A4. According to the method described in A1 or A2, the specific user interface is a call record interface;

所述在特定用户界面下显示所述系统通讯录数据库提供的信息具体为:在通话记录界面下显示所述系统通讯录数据库提供的主号码对应的通话记录;The displaying the information provided by the system address book database under the specific user interface is specifically: displaying the call records corresponding to the main numbers provided by the system address book database under the call record interface;

所述在特定用户界面下显示所述副号码通讯录数据库提供的信息具体为:在通话记录界面下显示所述副号码通讯录数据库提供的副号码对应的通话记录。The displaying the information provided by the secondary number address book database on the specific user interface specifically includes: displaying the call records corresponding to the secondary numbers provided by the secondary number address book database on the call record interface.

A5、根据A1或A2所述的方法,所述特定用户界面为未接来电和/或未接去电界面;A5. According to the method described in A1 or A2, the specific user interface is a missed call and/or missed call interface;

所述在特定用户界面下显示所述系统通讯录数据库提供的信息具体为:在未接来电和/或未接去电界面下显示所述系统通讯录数据库提供的主号码对应的未接来电列表和/或未接去电列表;The displaying the information provided by the system address book database under the specific user interface is specifically: displaying the missed call list corresponding to the main number provided by the system address book database under the missed call and/or missed call interface and/or missed call list;

所述在特定用户界面下显示所述副号码通讯录数据库提供的信息具体为:在未接来电和/或未接去电界面下显示所述副号码通讯录数据库提供的副号码对应的未接来电列表和/或未接去电列表。The displaying the information provided by the secondary number address book database on a specific user interface is specifically: displaying the missed call corresponding to the secondary number provided by the secondary number address book database on the missed call and/or missed call interface. Incoming call list and/or Missed call list.

A6、根据A1-A5任一项所述的方法,还包括:A6. The method according to any one of A1-A5, further comprising:

识别所述系统通讯录数据库中记录的副号码对应的通讯记录的信息;Identify the information of the communication record corresponding to the secondary number recorded in the system address book database;

根据通讯协议,将所述系统通讯录数据库中记录的副号码对应的通讯记录的信息进行处理,生成新的副号码对应的通讯记录的信息,并将所述系统通讯录数据库中记录的副号码对应的通讯记录的信息清除;According to the communication protocol, the information of the communication record corresponding to the secondary number recorded in the system address book database is processed to generate the information of the communication record corresponding to the new secondary number, and the secondary number recorded in the system address book database The information of the corresponding communication records is cleared;

将所述新的副号码对应的通讯记录的信息存储到副号码通讯录数据库中。The information of the communication record corresponding to the new secondary number is stored in the secondary number address book database.

A7、根据A6所述的方法,所述识别所述系统通讯录数据库中记录的副号码对应的通讯记录的信息具体为:对于所述系统通讯录数据库中记录的呼入电话的通讯记录,所述呼入电话的通讯记录包含所述呼入电话的通话记录和/或未接来电,判断所述呼入电话的主叫号码是否包含前插码,若是,则识别所述呼入电话为副号码对应的通讯记录;A7. According to the method described in A6, the information identifying the communication records corresponding to the secondary numbers recorded in the system address book database is specifically: for the communication records of incoming calls recorded in the system address book database, the The communication records of the incoming calls include the call records and/or missed calls of the incoming calls, and it is judged whether the calling number of the incoming calls includes a prefix code, and if so, then identifying the incoming calls as secondary The communication record corresponding to the number;

所述将所述系统通讯录数据库中记录的副号码对应的通讯记录的信息进行处理,生成新的副号码对应的通讯记录的信息具体为:将所述呼入电话的主叫号码的前插码去除,将所述呼入电话的被叫号码修改为副号码,得到所述新的副号码对应的通讯记录的信息。The processing of the information of the communication record corresponding to the secondary number recorded in the system address book database to generate the information of the communication record corresponding to the new secondary number specifically includes: inserting the prefix of the calling number of the incoming call The code is removed, the called number of the incoming call is changed to a secondary number, and the information of the communication record corresponding to the new secondary number is obtained.

A8、根据A6所述的方法,所述识别所述系统通讯录数据库中记录的副号码对应的通讯记录的信息具体为:对于所述系统通讯录数据库中记录的呼出电话的通讯记录,所述呼出电话的通讯记录包含所述呼出电话的通话记录和/或未接去电,判断所述呼出电话的被叫号码是否包含前插码,若是,则识别所述呼出电话为副号码对应的通讯记录;A8. According to the method described in A6, the information identifying the communication records corresponding to the secondary numbers recorded in the system address book database is specifically: for the communication records of outgoing calls recorded in the system address book database, the The communication record of the outgoing call includes the call record and/or missed calls of the outgoing call, and it is judged whether the called number of the outgoing call contains a prefix code, and if so, it is identified that the outgoing call is a communication corresponding to the secondary number Record;

所述将所述系统通讯录数据库中记录的副号码对应的通讯记录的信息进行处理,生成新的副号码对应的通讯记录的信息具体为:将所述呼出电话的被叫号码的前插码去除,将所述呼出电话的主叫号码修改为副号码,得到所述新的副号码对应的通讯记录的信息。The process of processing the information of the communication record corresponding to the secondary number recorded in the system address book database, and generating the information of the communication record corresponding to the new secondary number is specifically: inserting the prefix code of the called number of the outgoing call Remove, modify the calling number of the outgoing call to a secondary number, and obtain the communication record information corresponding to the new secondary number.

A9、根据A6所述的方法,所述识别所述系统通讯录数据库中记录的副号码对应的通讯记录的信息具体为:对于所述系统通讯录数据库中记录的呼入电话的通讯记录,判断所述呼入电话的主叫号码是否为本机的副号码,若是,则识别所述系统通讯录数据库中记录的是呼出电话的通讯记录;A9. According to the method described in A6, the information for identifying the communication record corresponding to the secondary number recorded in the system address book database is specifically: for the communication record of the incoming call recorded in the system address book database, determine Whether the calling number of the incoming call is the secondary number of the machine, if so, then identify the communication record of the outgoing call in the system address book database;

所述将所述系统通讯录数据库中记录的副号码对应的通讯记录的信息进行处理,生成新的副号码对应的通讯记录的信息具体为:将所述系统通讯录数据库中记录的副号码对应的通讯记录的信息中的被叫号码修改为所述呼出电话的被叫号码,呼叫类型修改为呼出,得到所述新的副号码对应的通讯记录的信息。The process of processing the information of the communication record corresponding to the secondary number recorded in the system address book database to generate the information of the communication record corresponding to the new secondary number is specifically: corresponding to the secondary number recorded in the system address book database The called number in the information of the communication record is changed to the called number of the outgoing call, the call type is changed to outgoing, and the information of the communication record corresponding to the new secondary number is obtained.

本发明还公开了:B10、一种客户端,所述客户端的通讯录包含主号码模式和副号码模式,所述客户端包括:The present invention also discloses: B10, a client, the address book of the client includes a main number pattern and a secondary number pattern, and the client includes:

系统通讯录数据库,适于存储主号码对应的信息;The system address book database is suitable for storing information corresponding to the main number;

副号码通讯录数据库,适于存储副号码对应的信息;The secondary number address book database is suitable for storing the information corresponding to the secondary number;

用户接口,适于在所述通讯录的特定用户界面下,接收由副号码模式切换到主号码模式的第一切换指令和由主号码模式切换到副号码模式的第二切换指令;The user interface is adapted to receive a first switching instruction for switching from the secondary number mode to the primary number mode and a second switching instruction for switching from the primary number mode to the secondary number mode under a specific user interface of the address book;

显示模块,适于当所述用户接口接收到所述第一切换指令时,调用主号码模式对应的系统通讯录数据库,在所述特定用户界面下显示所述系统通讯录数据库提供的信息;以及,当所述用户接口接收到所述第二切换指令时,调用副号码模式对应的副号码通讯录数据库,在所述特定用户界面下显示所述副号码通讯录数据库提供的信息。The display module is adapted to call the system address book database corresponding to the main number mode when the user interface receives the first switching instruction, and display the information provided by the system address book database under the specific user interface; and , when the user interface receives the second switching instruction, call the secondary number address book database corresponding to the secondary number mode, and display the information provided by the secondary number address book database on the specific user interface.

B11、根据B10所述的客户端,还包括:交互元素提供模块,适于在所述通讯录的特定用户界面中提供第一切换键元素和第二切换键元素;B11. The client according to B10, further comprising: an interactive element providing module, adapted to provide a first switch key element and a second switch key element in a specific user interface of the address book;

所述用户接口具体适于:接收由用户选择第一切换键元素所触发的所述第一切换指令和由用户选择第二切换键元素所触发的所述第二切换指令。The user interface is specifically adapted to: receive the first switching instruction triggered by a user selecting a first switching key element and the second switching instruction triggered by a user selecting a second switching key element.

B12、根据B10或B11所述的客户端,所述特定用户界面为联系人界面;B12. According to the client described in B10 or B11, the specific user interface is a contact interface;

所述显示模块具体适于:当所述用户接口接收到所述第一切换指令时,在联系人界面下显示所述系统通讯录数据库提供的主号码的联系人列表;当所述用户接口接收到所述第二切换指令时,在联系人界面下显示所述副号码通讯录数据库提供的副号码的联系人列表。The display module is specifically adapted to: when the user interface receives the first switching instruction, display the contact list of the main number provided by the system address book database under the contact interface; when the user interface receives the When the second switching instruction is reached, the contact list of the secondary number provided by the secondary number address book database is displayed on the contact interface.

B13、根据B10或B11所述的客户端,所述特定用户界面为通话记录界面;B13, according to the client described in B10 or B11, the specific user interface is a call record interface;

所述显示模块具体适于:当所述用户接口接收到所述第一切换指令时,在通话记录界面下显示所述系统通讯录数据库提供的主号码对应的通话记录;当所述用户接口接收到所述第二切换指令时,在通话记录界面下显示所述副号码通讯录数据库提供的副号码对应的通话记录。The display module is specifically adapted to: when the user interface receives the first switching instruction, display the call record corresponding to the main number provided by the system address book database on the call record interface; When the second switching instruction is reached, the call record corresponding to the secondary number provided by the secondary number address book database is displayed on the call record interface.

B14、根据B10或B11所述的客户端,所述特定用户界面为未接来电和/或未接去电界面;B14. According to the client described in B10 or B11, the specific user interface is a missed call and/or missed call interface;

所述显示模块具体适于:当所述用户接口接收到所述第一切换指令时,在未接来电和/或未接去电界面下显示所述系统通讯录数据库提供的主号码对应的未接来电列表和/或未接去电列表;当所述用户接口接收到所述第二切换指令时,在未接来电和/或未接去电界面下显示所述副号码通讯录数据库提供的副号码对应的未接来电列表和/或未接去电列表。The display module is specifically adapted to: when the user interface receives the first switching instruction, display the missed call corresponding to the main number provided by the system address book database on the missed call and/or missed call interface. A list of received calls and/or a list of missed calls; when the user interface receives the second switching instruction, display the information provided by the secondary number address book database under the interface of missed calls and/or missed calls The missed call list and/or the missed call list corresponding to the secondary number.

B15、根据B10-B14任一项所述的客户端,还包括:B15. The client according to any one of B10-B14, further comprising:

识别模块,适于识别所述系统通讯录数据库中记录的副号码对应的通讯记录的信息;The identification module is adapted to identify the information of the communication record corresponding to the secondary number recorded in the system address book database;

处理模块,适于根据通讯协议,将所述系统通讯录数据库中记录的副号码对应的通讯记录的信息进行处理,生成新的副号码对应的通讯记录的信息,并将所述系统通讯录数据库中记录的副号码对应的通讯记录的信息清除;The processing module is adapted to process the information of the communication record corresponding to the secondary number recorded in the system address book database according to the communication protocol, generate the information of the communication record corresponding to the new secondary number, and transfer the information of the communication record corresponding to the new secondary number to the system address book database. Clear the information of the communication record corresponding to the secondary number recorded in ;

存储模块,适于将所述新的副号码对应的通讯记录的信息存储到副号码通讯录数据库中。The storage module is adapted to store the information of the communication record corresponding to the new secondary number in the secondary number address book database.

B16、根据B15所述的客户端,所述识别模块具体适于:对于所述系统通讯录数据库中记录的呼入电话的通讯记录,所述呼入电话的通讯记录包含所述呼入电话的通话记录和/或未接来电,判断所述呼入电话的主叫号码是否包含前插码,若是,则识别所述呼入电话为副号码对应的通讯记录;B16. According to the client described in B15, the identification module is specifically adapted to: for the communication record of the incoming call recorded in the system address book database, the communication record of the incoming call includes the communication record of the incoming call Call records and/or missed calls, judging whether the calling number of the incoming call contains a prefix code, and if so, identifying the incoming call as a communication record corresponding to the secondary number;

所述处理模块具体适于:将所述呼入电话的主叫号码的前插码去除,将所述呼入电话的被叫号码修改为副号码,得到所述新的副号码对应的通讯记录的信息。The processing module is specifically adapted to: remove the prefix code of the calling number of the incoming call, modify the called number of the incoming call to a secondary number, and obtain the communication record corresponding to the new secondary number Information.

B17、根据B15所述的客户端,所述识别模块具体适于:对于所述系统通讯录数据库中记录的呼出电话的通讯记录,所述呼出电话的通讯记录包含所述呼出电话的通话记录和/或未接去电,判断所述呼出电话的被叫号码是否包含前插码,若是,则识别所述呼出电话为副号码对应的通讯记录;B17. According to the client described in B15, the identification module is specifically adapted to: for the communication record of the outgoing call recorded in the system address book database, the communication record of the outgoing call includes the call record of the outgoing call and /or missed calls, determine whether the called number of the outgoing call includes a prefix code, if so, then identify the outgoing call as the communication record corresponding to the secondary number;

所述处理模块具体适于:将所述呼出电话的被叫号码的前插码去除,将所述呼出电话的主叫号码修改为副号码,得到所述新的副号码对应的通讯记录的信息。The processing module is specifically adapted to: remove the prefix code of the called number of the outgoing call, modify the calling number of the outgoing call to a secondary number, and obtain the communication record information corresponding to the new secondary number .

B18、根据B15所述的客户端,所述识别模块具体适于:对于所述系统通讯录数据库中记录的呼入电话的通讯记录,判断所述呼入电话的主叫号码是否为本机的副号码,若是,则识别所述系统通讯录数据库中记录的是呼出电话的通讯记录;B18, according to the client described in B15, the identification module is specifically adapted to: for the communication record of the incoming call recorded in the system address book database, determine whether the calling number of the incoming call is the local Secondary number, if so, then identify that what is recorded in the system address book database is the communication record of the outgoing call;

所述处理模块具体适于:将所述系统通讯录数据库中记录的副号码对应的通讯记录的信息中的被叫号码修改为所述呼出电话的被叫号码,呼叫类型修改为呼出,得到所述新的副号码对应的通讯记录的信息。The processing module is specifically adapted to: modify the called number in the information of the communication record corresponding to the secondary number recorded in the system address book database to the called number of the outgoing call, modify the call type to call out, and obtain the Describe the communication record information corresponding to the new secondary number.

Claims (16)

1. a kind of management method of the address list of integrated major number and minor number, the address list includes major number pattern and countermark Pattern, methods described include:
Under the particular user interface of the address list, cut when receiving by the first of minor number pattern switching to major number pattern When changing instruction, system communication record database corresponding to major number pattern is called, the system is shown under the particular user interface The information that system address book data storehouse provides;
Under the particular user interface of the address list, cut when receiving by the second of major number pattern switching to countermark pattern When changing instruction, minor number address book data storehouse corresponding to countermark pattern is called, under the particular user interface described in display The information that minor number address book data storehouse provides;
Identify the information of log corresponding to the minor number recorded in the system communication record database;
According to communications protocol, the number that the system communication is recorded to log corresponding to the minor number recorded in database is believed Breath, incoming call are handled with breathing out type, generate the information of log corresponding to new minor number, and by the system communication The erasing of information of log corresponding to the minor number recorded in record database;
The information of log corresponding to the new minor number is stored into minor number address book data storehouse.
2. according to the method for claim 1, it is provided with the first switch key element in the particular user interface of the address list With the second switch key element, first switching command is triggered when user selects the first switch key element, when user's selection the Second switching command is triggered during two switch key elements.
3. method according to claim 1 or 2, the particular user interface is contact person interface;
It is described to show that the system communication records the information that database provides and is specially under particular user interface:In contact person interface The contacts list for the major number that the lower display system communication record database provides;
It is described show that the minor number address book data storehouse provides under particular user interface information be specially:In contact person circle The contacts list for the minor number that the minor number address book data storehouse provides is shown under face.
4. method according to claim 1 or 2, the particular user interface is message registration interface;
It is described to show that the system communication records the information that database provides and is specially under particular user interface:In message registration circle Message registration corresponding to the major number that the system communication record database provides is shown under face;
It is described show that the minor number address book data storehouse provides under particular user interface information be specially:In message registration Message registration corresponding to the minor number that the minor number address book data storehouse provides is shown under interface.
5. method according to claim 1 or 2, the particular user interface is missed call and/or does not connect electric interface;
It is described to show that the system communication records the information that database provides and is specially under particular user interface:In missed call And/or do not connect shown under electric interface missed call list corresponding to major number that system communication record database provides and/ Or electric list is not connect;
It is described show that the minor number address book data storehouse provides under particular user interface information be specially:In missed call And/or missed call list corresponding to the minor number that the minor number address book data storehouse offer is provided under electric interface is not connect And/or electric list is not connect.
6. the minor number according to the method for claim 1, recorded in the identification system communication record database is corresponding The information of log be specially:The log of the Inbound Calls recorded in database, institute are recorded for the system communication The log for stating Inbound Calls includes the message registration and/or missed call of the Inbound Calls, judges the Inbound Calls Calling number whether comprising preceding slotting code, if so, then identifying that the Inbound Calls is log corresponding to minor number;
The information that the system communication is recorded to log corresponding to the minor number recorded in database is handled, and is generated The information of log is specially corresponding to new minor number:Removed code is inserted before the calling number of the Inbound Calls, will The called number of the Inbound Calls is revised as minor number, obtains the information of log corresponding to the new minor number.
7. the minor number according to the method for claim 1, recorded in the identification system communication record database is corresponding The information of log be specially:The log of the outbound calling recorded in database, institute are recorded for the system communication The message registration and/or do not connect electricity that the log for stating outbound calling includes the outbound calling, judge the outbound calling Called number whether comprising preceding slotting code, if so, then identifying that the outbound calling is log corresponding to minor number;
The information that the system communication is recorded to log corresponding to the minor number recorded in database is handled, and is generated The information of log is specially corresponding to new minor number:Removed code is inserted before the called number of the outbound calling, will The calling number of the outbound calling is revised as minor number, obtains the information of log corresponding to the new minor number.
8. the minor number according to the method for claim 1, recorded in the identification system communication record database is corresponding The information of log be specially:The log of the Inbound Calls recorded in database is recorded for the system communication, is sentenced Whether the calling number of the disconnected Inbound Calls is the minor number of the machine, if so, then identifying in the system communication record database What is recorded is the log of outbound calling;
The information that the system communication is recorded to log corresponding to the minor number recorded in database is handled, and is generated The information of log is specially corresponding to new minor number:It is corresponding that the system communication is recorded to the minor number recorded in database Log information in called number be revised as the called number of the outbound calling, type of call is revised as breathing out, Obtain the information of log corresponding to the new minor number.
9. a kind of client, the address list of the client includes major number pattern and countermark pattern, and the client includes:
System communication records database, suitable for information corresponding to storage major number;
Minor number address book data storehouse, suitable for information corresponding to storage minor number;
User interface, suitable under the particular user interface of the address list, receiving by minor number pattern switching to major number mould First switching command of formula and the second switching command by major number pattern switching to countermark pattern;
Display module, suitable for when the user interface receives first switching command, calling corresponding to major number pattern System communication records database, and the information that the system communication record database provides is shown under the particular user interface;And When the user interface receives second switching command, minor number address book data corresponding to countermark pattern is called Storehouse, the information that the minor number address book data storehouse provides is shown under the particular user interface;
Identification module, suitable for identifying the information of log corresponding to the minor number recorded in the system communication record database;
Processing module, suitable for according to communications protocol, the system communication to be recorded to communication corresponding to the minor number recorded in database The number information of record, incoming call are handled with exhalation type, generate the information of log corresponding to new minor number, and will The erasing of information of log corresponding to the minor number recorded in the system communication record database;
Memory module, suitable for the information storage of log corresponding to the new minor number is arrived into minor number address book data storehouse In.
10. client according to claim 9, in addition to:Interactive elements provide module, suitable for the spy in the address list Determine to provide the first switch key element and the second switch key element in user interface;
The user interface is particularly adapted to:Receive first switching command for selecting the first switch key element to be triggered by user With second switching command triggered by user's the second switch key element of selection.
11. the client according to claim 9 or 10, the particular user interface is contact person interface;
The display module is particularly adapted to:When the user interface receives first switching command, in contact person interface The contacts list for the major number that the lower display system communication record database provides;When the user interface receives described During two switching commands, the contact person's row for the minor number that the minor number address book data storehouse provides are shown under contact person interface Table.
12. the client according to claim 9 or 10, the particular user interface is message registration interface;
The display module is particularly adapted to:When the user interface receives first switching command, in message registration circle Message registration corresponding to the major number that the system communication record database provides is shown under face;When the user interface receives institute When stating the second switching command, shown under message registration interface corresponding to the minor number that the minor number address book data storehouse provides Message registration.
13. the client according to claim 9 or 10, the particular user interface is missed call and/or does not connect electricity Interface;
The display module is particularly adapted to:When the user interface receives first switching command, missed call and/ Or do not connect and missed call list corresponding to major number that system communication record database provides and/or not is shown under electric interface Connect electric list;When the user interface receives second switching command, electric interface is not connect in missed call and/or Missed call list corresponding to the minor number that the lower display minor number address book data storehouse provides and/or electric list is not connect.
14. client according to claim 9, the identification module is particularly adapted to:Data are recorded for the system communication The log of the Inbound Calls recorded in storehouse, the log of the Inbound Calls include the message registration of the Inbound Calls And/or missed call, whether the calling number of the Inbound Calls is judged comprising preceding slotting code, if so, then identifying the incoming call electricity Talk about as log corresponding to minor number;
The processing module is particularly adapted to:Removed code is inserted before the calling number of the Inbound Calls, by the Inbound Calls Called number be revised as minor number, obtain the information of log corresponding to the new minor number.
15. client according to claim 9, the identification module is particularly adapted to:Data are recorded for the system communication The log of the outbound calling recorded in storehouse, the log of the outbound calling include the message registration of the outbound calling And/or electricity is not connect, whether the called number of the outbound calling is judged comprising preceding slotting code, if so, then identifying the exhalation electricity Talk about as log corresponding to minor number;
The processing module is particularly adapted to:Removed code is inserted before the called number of the outbound calling, by the outbound calling Calling number be revised as minor number, obtain the information of log corresponding to the new minor number.
16. client according to claim 9, the identification module is particularly adapted to:Data are recorded for the system communication The log of the Inbound Calls recorded in storehouse, judge the Inbound Calls calling number whether be the machine minor number, if It is then to identify that what is recorded in the system communication record database is the log of outbound calling;
The processing module is particularly adapted to:The system communication is recorded to log corresponding to the minor number recorded in database Called number in information is revised as the called number of the outbound calling, and type of call is revised as breathing out, and obtains described new The information of log corresponding to minor number.
CN201410484080.2A 2014-09-19 2014-09-19 The management method and client of the address list of integrated major number and minor number Active CN104202459B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410484080.2A CN104202459B (en) 2014-09-19 2014-09-19 The management method and client of the address list of integrated major number and minor number

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410484080.2A CN104202459B (en) 2014-09-19 2014-09-19 The management method and client of the address list of integrated major number and minor number

Publications (2)

Publication Number Publication Date
CN104202459A CN104202459A (en) 2014-12-10
CN104202459B true CN104202459B (en) 2018-01-02

Family

ID=52087684

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410484080.2A Active CN104202459B (en) 2014-09-19 2014-09-19 The management method and client of the address list of integrated major number and minor number

Country Status (1)

Country Link
CN (1) CN104202459B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106027735B (en) * 2016-04-28 2020-09-11 北京小米移动软件有限公司 Method and device for integrating communication numbers
CN106060786B (en) * 2016-05-16 2019-09-17 北京安云世纪科技有限公司 Short message sending, receiving method and related device based on single deck tape-recorder multi-pass signal code

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4225729B2 (en) * 2001-03-06 2009-02-18 シャープ株式会社 Information management device
CN101146266B (en) * 2006-03-07 2012-08-08 华为技术有限公司 Method and system for adding special numbers of user
CN101951699A (en) * 2010-08-09 2011-01-19 宇龙计算机通信科技(深圳)有限公司 Method and system for matching network for multi-mode terminal and multi-mode terminal
CN103533139B (en) * 2013-09-29 2017-02-15 小米科技有限责任公司 Data management method and device of multi-card user and mobile terminal

Also Published As

Publication number Publication date
CN104202459A (en) 2014-12-10

Similar Documents

Publication Publication Date Title
CN104854852B (en) Method and apparatus for determining language for the speech-to-text transcription of telephone relation
TWI378708B (en) Call processing method and system implemented in a mobile communication terminal
JP2010148107A (en) Method of incoming call processing of communication terminal and apparatus therefor
CN104602242A (en) Method and device for preventing voice phishing
CN102611805A (en) Communication information notifying method, information reporting method, server and communication terminals
JP5661107B2 (en) Method and system for sending electronic short messages to multiple receivers
EP2974159B1 (en) Method, device and system for voice communication
CN104247473A (en) Terminal device, interactive voice response device, missing call reminding system and method
US10453160B2 (en) Embeddable communications software module
CN104202742B (en) Method, the client of the multi-platform lower minor number information for collecting each SIM card
US10244107B1 (en) Systems and methods for causing display of a reputation indicator associated with a called party
CN102934419A (en) Apparatus and methods for managing operator information
US10547572B2 (en) Messaging service
CN110290472B (en) Method and system for realizing service
CN100562043C (en) Display the number called by the caller and the method of calling back
CN105763753A (en) User anti-harassment system and method based on intelligent network
CN104202459B (en) The management method and client of the address list of integrated major number and minor number
CN106161177B (en) Method and system for realizing intercommunication between voice mail system and converged communication system
US20160380958A1 (en) Device and Method for Temporal Correlation of Communication Types
US9160569B2 (en) Messaging system and method
CN104320547B (en) System communication record display methods and the system of the calling phone based on minor number
CN104754573A (en) Call processing method and device
US11368576B2 (en) Management of a communication call between a caller communications terminal, having a main call identifier and a secondary call identifier, and a called communications terminal
CN108696832A (en) Call handling method, device and equipment, computer readable storage medium
CN111083291A (en) Method, device, storage medium and processor for acquiring owner information

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220708

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co., Ltd

TR01 Transfer of patent right