[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN106850922B - Processing method, system and equipment for communication number - Google Patents

Processing method, system and equipment for communication number Download PDF

Info

Publication number
CN106850922B
CN106850922B CN201611110358.5A CN201611110358A CN106850922B CN 106850922 B CN106850922 B CN 106850922B CN 201611110358 A CN201611110358 A CN 201611110358A CN 106850922 B CN106850922 B CN 106850922B
Authority
CN
China
Prior art keywords
information
number information
prefix
prefix information
instruction
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.)
Expired - Fee Related
Application number
CN201611110358.5A
Other languages
Chinese (zh)
Other versions
CN106850922A (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 Anyun Century Technology Co Ltd
Original Assignee
Beijing Anyun Century Technology 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 Anyun Century Technology Co Ltd filed Critical Beijing Anyun Century Technology Co Ltd
Priority to CN201611110358.5A priority Critical patent/CN106850922B/en
Publication of CN106850922A publication Critical patent/CN106850922A/en
Application granted granted Critical
Publication of CN106850922B publication Critical patent/CN106850922B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/26Devices for calling a subscriber
    • H04M1/27Devices whereby a plurality of signals may be stored simultaneously
    • H04M1/274Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
    • H04M1/2745Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips
    • H04M1/27453Directories allowing storage of additional subscriber data, e.g. metadata
    • H04M1/27457Management thereof, e.g. manual editing of data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/26Devices for calling a subscriber
    • H04M1/27Devices whereby a plurality of signals may be stored simultaneously
    • H04M1/274Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
    • H04M1/2745Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips
    • H04M1/27485Appending a prefix to or inserting a pause into a dialling sequence
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Library & Information Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)
  • Telephone Function (AREA)

Abstract

本发明涉及通信技术领域,尤其涉及一种针对通讯号码的处理方法、系统及其设备。本发明所述的方法包括:检测通讯录中联系人的号码信息中包含的前缀信息;分析所述前缀信息的特征属性,将具有相同特征属性的号码信息归为一组,并根据不同的特征属性将所述号码信息归类为多组;针对相同特征属性和/或不同特征属性的号码信息,接收用户作用在用于编辑其中的一个或多个号码信息的前缀信息的相关控件而触发的编辑指令;响应于所述编辑指令,确认用户选定的所述编辑指令对应的号码信息为目标项,并针对该目标项执行所述编辑指令。本发明对查看号码信息带来了极大的方便性,提高了通讯录号码信息的浏览效率,提高用户使用体验。

The invention relates to the technical field of communications, in particular to a processing method, system and equipment for communication numbers. The method of the present invention includes: detecting the prefix information contained in the number information of the contacts in the address book; analyzing the characteristic attributes of the prefix information, grouping the number information with the same characteristic attribute into a group, and according to different characteristics The attribute classifies the number information into multiple groups; for the number information of the same characteristic attribute and/or different characteristic attributes, it is triggered by the user acting on the relevant control for editing the prefix information of one or more number information among them Editing an instruction: in response to the editing instruction, confirming that the number information corresponding to the editing instruction selected by the user is a target item, and executing the editing instruction for the target item. The invention brings great convenience to viewing number information, improves browsing efficiency of address book number information, and improves user experience.

Description

针对通讯号码的处理方法、系统及其设备Method, system and equipment for processing communication numbers

【技术领域】【Technical field】

本发明涉及通信技术领域,尤其涉及一种针对通讯号码的处理方法、系统及其设备。The invention relates to the technical field of communications, in particular to a processing method, system and equipment for communication numbers.

【背景技术】【Background technique】

现如今每个人都拥有一部用于与人联系的手机或是其他通讯设备,一部手机或是其他通讯设备中拥有多个联系人的通讯号码,其中联系人号码的处理一直是用户比较头疼的问题,特别是联系人号码的前缀杂多。在相关技术中,随着智能手机、平板电脑等可通话智能移动终端的普及,各运营商也推出了多种资费的套餐供用户选择,在拨打国内或国际长途号码时,会自动地在所拨打的号码前加拨一个IP前缀,然而自动地为号码加IP前缀可能会使该号码变成一个无效的号码,而无法拨打,这给用户造成极大的不便。Nowadays, everyone has a mobile phone or other communication device for contacting people. A mobile phone or other communication device has communication numbers of multiple contacts. Among them, the handling of contact numbers has always been a headache for users. The problem, especially the prefix heterogeneity of the contact number. In related technologies, with the popularization of intelligent mobile terminals such as smartphones and tablet computers, various operators have also introduced a variety of tariff packages for users to choose from. An IP prefix is added before the number to be dialed. However, adding an IP prefix to the number automatically may make the number an invalid number and cannot be dialed, which causes great inconvenience to the user.

另外,随着竞争的加剧,运营商和提供的服务也越来越多,同时也为用户利用移动终端进行呼叫,带来了很多麻烦。举例来说,漫游的用户在呼叫回归属地的时候,需要加归属地的地区码,比如北京本地的移动终端,漫游到天津,当需要打电话回北京的固定电话时,需要加北京的区码前缀010。此外,如果同一个城市同时有几个运营商竞争,外地的移动终端漫游进该城市的时候,就会出现比较复杂的情况,比如归属地在北京的移动终端,在中国移动北京公司入网,漫游到香港,香港有很多个运营商,每当该用户的移动终端注册进入一个运营商的运营范围,运营商都会发送一些相关信息给该移动终端,比如:拨打内地电话需要加何种前缀,费率是多少等,而且每个运营商采用的前缀都不一样。因此,给用户的选择和操作带来很大不便。In addition, with the intensification of competition, more and more operators and services are provided, which also brings a lot of troubles for users to use mobile terminals to make calls. For example, a roaming user needs to add the area code of the home area when calling back to the home area. For example, a local mobile terminal in Beijing roams to Tianjin. When calling back to a fixed line in Beijing, it needs to add the area code of Beijing Prefix 010. In addition, if several operators compete in the same city at the same time, when a mobile terminal from other places roams into the city, a more complicated situation will arise. To Hong Kong, there are many operators in Hong Kong. Whenever the user’s mobile terminal registers and enters the operation scope of an operator, the operator will send some relevant information to the mobile terminal, such as: what prefix is needed to call the mainland, and the fee What is the rate, etc., and the prefixes used by each operator are different. Therefore, it brings great inconvenience to the user's selection and operation.

面对诸多的联系人号码,在原有的技术上只是根据联系人的名称来进行排列,并没有专门针对号码的前缀信息进行相应处理的工序,对相关前缀信息的查看具有不便性,而且对于前缀信息的处理用户只能一个一个的进行编辑修改,十分繁琐、乏味和复杂。In the face of many contact numbers, in the original technology, they are only arranged according to the names of the contacts, and there is no corresponding process for the prefix information of the number. It is inconvenient to view the relevant prefix information, and the prefix Information processing users can only edit and modify one by one, which is very tedious, tedious and complicated.

【发明内容】【Content of invention】

为了克服上述所指的现有技术中的不足之处,本发明提供一种针对通讯号码的处理方法、系统及其设备,以解决如上述现有技术中至少一个问题。In order to overcome the deficiencies in the prior art referred to above, the present invention provides a method, system and equipment for processing communication numbers to solve at least one of the above-mentioned problems in the prior art.

本发明解决上述技术问题所采用的技术方案如下:The technical solution adopted by the present invention to solve the problems of the technologies described above is as follows:

一种针对通讯号码的处理方法,包括以下步骤:A method for processing communication numbers, comprising the following steps:

检测通讯录中联系人的号码信息中包含的前缀信息;Detect the prefix information contained in the number information of the contact in the address book;

分析所述前缀信息的特征属性,将具有相同特征属性的号码信息归为一组,并根据不同的特征属性将所述号码信息归类为多组;analyzing the characteristic attributes of the prefix information, grouping the number information with the same characteristic attribute into one group, and classifying the number information into multiple groups according to different characteristic attributes;

针对相同特征属性和/或不同特征属性的号码信息,接收用户作用在用于编辑其中的一个或多个号码信息的前缀信息的相关控件而触发的编辑指令;For number information with the same characteristic attribute and/or different characteristic attributes, receive an editing instruction triggered by the user acting on a relevant control for editing the prefix information of one or more number information;

响应于所述编辑指令,确认用户选定的所述编辑指令对应的号码信息为目标项,并针对该目标项执行所述编辑指令。In response to the editing instruction, confirm that the number information corresponding to the editing instruction selected by the user is a target item, and execute the editing instruction for the target item.

具体的,所述检测通讯录中联系人的号码信息中包含的前缀信息,包括以下步骤:Specifically, the detection of the prefix information contained in the number information of the contacts in the address book includes the following steps:

获取通讯录联系人的号码信息;Obtain the number information of the contact in the address book;

针对所述号码信息的前缀信息的前导部分,获取前缀信息对照表并进行一对一的数据匹配;For the leading part of the prefix information of the number information, obtain a prefix information comparison table and perform one-to-one data matching;

根据匹配结果输出号码信息中包含的前缀信息。Output the prefix information contained in the number information according to the matching result.

具体的,所述前缀信息对照表预先设置存储于本地数据库中通过获取云端服务器更新数据以更新该对照表。Specifically, the prefix information comparison table is pre-set and stored in the local database to update the comparison table by obtaining update data from the cloud server.

可选的,所述检测通讯录中联系人的号码信息中包含的前缀信息,还包括以下步骤:Optionally, the detecting the prefix information contained in the number information of the contacts in the address book also includes the following steps:

获取通讯录联系人的号码信息;Obtain the number information of the contact in the address book;

获取关于所述号码信息的号码规则表,识别该号码信息中包含的固定号码信息;Obtain a number rule table about the number information, and identify the fixed number information included in the number information;

根据所述固定号码信息提取出所述前缀信息。The prefix information is extracted according to the fixed number information.

具体的,所述号码规则表根据通信号码存在的常规特性而设定,用于限定所述固定号码信息的架构组成。Specifically, the number rule table is set according to the conventional characteristics of communication numbers, and is used to define the structural composition of the fixed number information.

具体的,所述号码信息中包括前缀信息、固定号码信息。Specifically, the number information includes prefix information and fixed number information.

具体的,所述前导部分主要根据预先设置的平分规则将所述号码信息进行平均划分而成,所述前缀信息包含于所述前导部分,其中所述平分规则为限定所述号码信息的识别范围,该平分规则以所述号码信息对应的字符数为平分的基础将所述号码信息平均分为两个部分,并将所述号码信息的前半部分定义为所述前导部分。Specifically, the leading part is mainly formed by equally dividing the number information according to a preset equal division rule, and the prefix information is included in the leading part, wherein the equal division rule is to limit the identification range of the number information The equal division rule divides the number information into two parts on the basis of the number of characters corresponding to the number information, and defines the first half of the number information as the leading part.

具体的,所述分析所述前缀信息的特征属性,将具有相同特征属性的号码信息归为一组,并根据不同的特征属性将所述号码信息归类为多组,包括以下步骤:Specifically, analyzing the characteristic attributes of the prefix information, grouping the number information with the same characteristic attribute into one group, and classifying the number information into multiple groups according to different characteristic attributes, includes the following steps:

根据所述前缀信息对照表,确认所述前缀信息的特征属性;Confirming the characteristic attributes of the prefix information according to the prefix information comparison table;

以首次被确认的特征属性为单位建立分组,根据不同的特征属性定义不同的分组;Establish groups based on the first confirmed feature attribute, and define different groups according to different feature attributes;

将具不同特征属性的所述号码信息对应划分于不同的分组中并显示于用户界面。The number information with different characteristic attributes is correspondingly divided into different groups and displayed on the user interface.

具体的,所述针对相同特征属性和/或不同特征属性的号码信息,接收用户作用于用于编辑所述前缀信息的相关控件而触发的编辑指令,其中所述用于编辑所述前缀信息的相关控件包括以下任意一种:删除所述前缀信息的删除控件、将所述前缀信息替换为另一前缀信息的替换控件、在原有所述前缀信息的基础上添加另一前缀信息的添加控件;相对应的,所述编辑指令包括以下任意一种:针对所述前缀信息的删除指令、替换指令、添加指令。Specifically, for the number information of the same characteristic attribute and/or different characteristic attributes, an editing instruction triggered by the user acting on a related control for editing the prefix information is received, wherein the editing instruction for editing the prefix information The relevant controls include any one of the following: a delete control for deleting the prefix information, a replacement control for replacing the prefix information with another prefix information, and an add control for adding another prefix information on the basis of the original prefix information; Correspondingly, the editing instruction includes any one of the following: a deletion instruction, a replacement instruction, and an addition instruction for the prefix information.

具体的,所述目标项包括以下任意一种:一组相同特征属性的号码信息、多组不同特征属性的号码信息、一个号码信息、多个具有相同特征属性的号码信息及多个具有不同特征属性的号码信息。Specifically, the target item includes any of the following: a group of number information with the same characteristic attribute, multiple sets of number information with different characteristic attributes, one number information, multiple number information with the same characteristic attribute, and multiple numbers with different characteristic attributes The number information of the attribute.

具体的,所述响应于所述编辑指令,确认用户选定的所述编辑指令对应的号码信息为目标项,并针对该目标项执行所述编辑指令,包括以下步骤:Specifically, in response to the editing instruction, confirming that the number information corresponding to the editing instruction selected by the user is a target item, and executing the editing instruction for the target item includes the following steps:

根据用户在所述号码信息对应显示界面上的选择操作,触发相关的选定指令以根据该选定指令确定所述目标项。According to the user's selection operation on the display interface corresponding to the number information, a related selection instruction is triggered to determine the target item according to the selection instruction.

可选的,所述响应于所述编辑指令,确认用户选定的所述编辑指令对应的号码信息为目标项,并针对该目标项执行所述编辑指令,还包括以下步骤:Optionally, in response to the editing instruction, confirming that the number information corresponding to the editing instruction selected by the user is a target item, and executing the editing instruction for the target item further includes the following steps:

将经执行过所述编辑指令的目标项更新于所述通讯录中和/或显示于用户界面。The target item that has been executed with the editing instruction is updated in the address book and/or displayed on a user interface.

进一步的,所述一种针对通讯号码的处理方法,还包括以下步骤:Further, said method for processing communication numbers also includes the following steps:

获取所述联系人的号码信息于历史通话记录中的通话详情;Obtain the call details of the contact's number information in the historical call records;

根据所述通话详情,确认所述联系人的号码信息对应的被叫号码归属地信息;Confirming the attribution information of the called number corresponding to the number information of the contact according to the call details;

根据获取当前用户所处的主叫号码地区并结合所述当前被叫号码地区,获取相应的所述前缀信息对照表;Acquiring the corresponding prefix information comparison table according to the obtained calling number area where the current user is located and combining the current called number area;

根据所述前缀信息对照表,推送与所述当前用户所处地域相关的拨号建议;其中所述拨号建议指的是各运营商与号码信息之间的对应关系或在最优费率的基础上提出的拨号时在号码信息前选择添加前缀信息的建议。According to the prefix information comparison table, push the dialing suggestion related to the region where the current user is located; wherein the dialing suggestion refers to the corresponding relationship between each operator and number information or on the basis of the optimal rate Suggestion to choose to add prefix information before the number information when dialing.

具体的,所述根据所述通话详情,确认所述联系人的号码信息对应的被叫号码归属地信息,包括以下步骤:Specifically, according to the call details, confirming the attribution information of the called number corresponding to the number information of the contact includes the following steps:

针对所述联系人的号码信息向服务器发送相应的归属地信息查询请求;Sending a corresponding attribution information query request to the server for the number information of the contact;

接收服务器接收到该查询请求后反馈而至的该联系人的被叫号码归属地信息;其中所述被叫号码归属地信息预先存储于所述前缀信息对照表或通话详情中。The attribution information of the called number of the contact is fed back by the receiving server after receiving the query request; wherein the attribution information of the called number is pre-stored in the prefix information comparison table or call details.

具体的,所述根据获取当前用户所处的主叫号码地区并结合所述当前被叫号码地区,获取相应的所述前缀信息对照表,包括以下步骤:Specifically, according to obtaining the calling number area where the current user is located and combining the current called number area, obtaining the corresponding prefix information comparison table includes the following steps:

通过GPS定位系统确认当前用户所处的服务区;Confirm the service area where the current user is located through the GPS positioning system;

根据所述服务区,向该服务区对应服务器发送定位请求及归属地信息查询请求;According to the service area, send a positioning request and an attribution information query request to the server corresponding to the service area;

响应于所述定位请求及查询请求获取当前所述主叫号码地区及主叫号码归属地信息。In response to the positioning request and the query request, obtain the current calling number region and calling number attribution information.

具体的,所述根据所述前缀信息对照表,推送与所述当前用户所处地域相关的拨号建议,包括以下步骤:Specifically, the pushing the dialing suggestion related to the region where the current user is located according to the prefix information comparison table includes the following steps:

根据所述拨号建议,获取所述前缀信息表中分别与所述当前被叫号码地区和当前主叫号码地区对应的前缀信息;Obtaining prefix information in the prefix information table respectively corresponding to the current called number region and the current calling number region according to the dialing suggestion;

响应于当前用户触发的与联系人进行通信的通信指令,按照所述号码规则表,生成添加有所述前缀信息的号码信息并拨出。In response to a communication instruction to communicate with a contact triggered by the current user, according to the number rule table, the number information added with the prefix information is generated and dialed out.

具体的,所述响应于当前用户触发的与联系人进行通信的通信指令,生成添加有所述前缀信息的号码信息并拨出,包括以下步骤:Specifically, generating and dialing the number information added with the prefix information in response to the communication instruction triggered by the current user to communicate with the contact includes the following steps:

依据于当前用户操作,将所述前缀信息添加至所述通信指令对应的号码信息中并保存至通讯录中。According to the current user operation, the prefix information is added to the number information corresponding to the communication instruction and saved in the address book.

相应的,本发明还提供一种针对通讯号码的处理系统,包括:Correspondingly, the present invention also provides a processing system for communication numbers, including:

检测模块:用于检测通讯录中联系人的号码信息中包含的前缀信息;Detection module: used to detect the prefix information contained in the number information of the contacts in the address book;

分组模块:用于分析所述前缀信息的特征属性,将具有相同特征属性的号码信息归为一组,并根据不同的特征属性将所述号码信息归类为多组;Grouping module: used to analyze the characteristic attributes of the prefix information, group the number information with the same characteristic attributes into one group, and classify the number information into multiple groups according to different characteristic attributes;

接收模块:用于针对相同特征属性和/或不同特征属性的号码信息,接收用户作用在用于编辑其中的一个或多个号码信息的前缀信息的相关控件而触发的编辑指令;Receiving module: for the number information of the same characteristic attribute and/or different characteristic attributes, receiving the editing instruction triggered by the user acting on the relevant control for editing the prefix information of one or more number information;

第一确认模块:用于响应于所述编辑指令,确认用户选定的所述编辑指令对应的号码信息为目标项,并针对该目标项执行所述编辑指令。The first confirmation module: in response to the editing instruction, confirming that the number information corresponding to the editing instruction selected by the user is a target item, and executing the editing instruction for the target item.

具体的,所述检测模块包括:Specifically, the detection module includes:

第一获取单元:用于获取通讯录联系人的号码信息;The first obtaining unit: used to obtain the number information of the contacts in the address book;

匹配单元:用于针对所述号码信息的前缀信息的前导部分,获取前缀信息对照表并进行一对一的数据匹配;Matching unit: used for obtaining a prefix information comparison table and performing one-to-one data matching for the leading part of the prefix information of the number information;

输出单元:用于根据匹配结果输出号码信息中包含的前缀信息。Output unit: used to output the prefix information contained in the number information according to the matching result.

具体的,所述前缀信息对照表预先设置存储于本地数据库中通过获取云端服务器更新数据以更新该对照表。Specifically, the prefix information comparison table is pre-set and stored in the local database to update the comparison table by obtaining update data from the cloud server.

可选的,所述检测模块还包括:Optionally, the detection module also includes:

第一获取单元:用于获取通讯录联系人的号码信息;The first obtaining unit: used to obtain the number information of the contacts in the address book;

识别单元:用于获取关于所述号码信息的号码规则表,识别该号码信息中包含的固定号码信息;An identification unit: used to obtain a number rule table about the number information, and identify the fixed number information included in the number information;

提取单元:用于根据所述固定号码信息提取出所述前缀信息。An extracting unit: used to extract the prefix information according to the fixed number information.

具体的,所述号码规则表根据通信号码存在的常规特性而设定,用于限定所述固定号码信息的架构组成。Specifically, the number rule table is set according to the conventional characteristics of communication numbers, and is used to define the structural composition of the fixed number information.

具体的,所述号码信息中包括前缀信息、固定号码信息。Specifically, the number information includes prefix information and fixed number information.

具体的,所述前导部分主要根据预先设置的平分规则将所述号码信息进行平均划分而成,所述前缀信息包含于所述前导部分,其中所述平分规则为限定所述号码信息的识别范围,该平分规则以所述号码信息对应的字符数为平分的基础将所述号码信息平均分为两个部分,并将所述号码信息的前半部分定义为 所述前导部分。Specifically, the leading part is mainly formed by equally dividing the number information according to a preset equal division rule, and the prefix information is included in the leading part, wherein the equal division rule is to limit the identification range of the number information The equal division rule divides the number information into two parts on the basis of the number of characters corresponding to the number information, and defines the first half of the number information as the leading part.

具体的,所述分组模块包括:Specifically, the grouping module includes:

第一确认单元:用于根据所述前缀信息对照表,确认所述前缀信息的特征属性;The first confirming unit: used to confirm the characteristic attributes of the prefix information according to the prefix information comparison table;

分组单元:用于以首次被确认的特征属性为单位建立分组,根据不同的特征属性定义不同的分组;Grouping unit: used to establish groups based on the first confirmed feature attribute, and define different groups according to different feature attributes;

划分单元:用于将具不同特征属性的所述号码信息对应划分于不同的分组中并显示于用户界面。Dividing unit: for correspondingly dividing the number information with different characteristic attributes into different groups and displaying them on the user interface.

具体的,所述针对相同特征属性和/或不同特征属性的号码信息,接收用户作用于用于编辑所述前缀信息的相关控件而触发的编辑指令,其中所述用于编辑所述前缀信息的相关控件包括以下任意一种:删除所述前缀信息的删除控件、将所述前缀信息替换为另一前缀信息的替换控件、在原有所述前缀信息的基础上添加另一前缀信息的添加控件;相对应的,所述编辑指令包括以下任意一种:针对所述前缀信息的删除指令、替换指令、添加指令。Specifically, for the number information of the same characteristic attribute and/or different characteristic attributes, an editing instruction triggered by the user acting on a related control for editing the prefix information is received, wherein the editing instruction for editing the prefix information The relevant controls include any one of the following: a delete control for deleting the prefix information, a replacement control for replacing the prefix information with another prefix information, and an add control for adding another prefix information on the basis of the original prefix information; Correspondingly, the editing instruction includes any one of the following: a deletion instruction, a replacement instruction, and an addition instruction for the prefix information.

具体的,所述目标项包括以下任意一种:一组相同特征属性的号码信息、多组不同特征属性的号码信息、一个号码信息、多个具有相同特征属性的号码信息及多个具有不同特征属性的号码信息。Specifically, the target item includes any of the following: a group of number information with the same characteristic attribute, multiple sets of number information with different characteristic attributes, one number information, multiple number information with the same characteristic attribute, and multiple numbers with different characteristic attributes The number information of the attribute.

具体的,所述第一确认模块包括:Specifically, the first confirmation module includes:

指令单元:用于根据用户在所述号码信息对应显示界面上的选择操作,触发相关的选定指令以根据该选定指令确定所述目标项。An instruction unit: configured to trigger a relevant selection instruction according to a user's selection operation on the display interface corresponding to the number information, so as to determine the target item according to the selection instruction.

可选的,所述第一确认模块还包括:Optionally, the first confirmation module also includes:

更新显示单元:用于将经执行过所述编辑指令的目标项更新于所述通讯录中和/或显示于用户界面。An update display unit: used to update the target item that has been executed with the editing instruction in the address book and/or display it on the user interface.

进一步的,所述一种针对通讯号码的处理系统,还包括:Further, the processing system for communication numbers also includes:

获取模块:用于获取所述联系人的号码信息于历史通话记录中的通话详情;Obtaining module: used to obtain the call details of the number information of the contact in the historical call record;

第二确认模块:用于根据所述通话详情,确认所述联系人的号码信息对应的被叫号码归属地信息;The second confirmation module: used to confirm the attribution information of the called number corresponding to the number information of the contact according to the call details;

生成模块:用于根据获取当前用户所处的主叫号码地区并结合所述当前被叫号码地区,获取相应的所述前缀信息对照表;A generating module: used to obtain the corresponding prefix information comparison table according to the calling number area where the current user is located and in combination with the current called number area;

推送模块:用于根据所述前缀信息对照表,推送与所述当前用户所处地域 相关的拨号建议;其中所述拨号建议指的是各运营商与号码信息之间的对应关系或在最优费率的基础上提出的拨号时在号码信息前选择添加前缀信息的建议。Pushing module: used to push the dialing suggestion related to the region where the current user is located according to the prefix information comparison table; wherein the dialing suggestion refers to the corresponding relationship between each operator and number information or in the optimal Suggestions to choose to add prefix information before number information when dialing based on tariffs.

具体的,所述第二确认模块包括:Specifically, the second confirmation module includes:

第一发送单元:用于针对所述联系人的号码信息向服务器发送相应的归属地信息查询请求;The first sending unit: for sending a corresponding attribution information query request to the server for the number information of the contact;

接收单元:用于接收服务器接收到该查询请求后反馈而至的该联系人的被叫号码归属地信息;其中所述被叫号码归属地信息预先存储于所述前缀信息对照表或通话详情中。Receiving unit: used to receive the attribution information of the contact's called number fed back by the server after receiving the query request; wherein the attribution information of the called number is pre-stored in the prefix information comparison table or call details .

具体的,所述生成模块包括:Specifically, the generating module includes:

第二确认单元:用于通过GPS定位系统确认当前用户所处的服务区;The second confirmation unit: used to confirm the service area where the current user is located through the GPS positioning system;

第二发送单元:用于根据所述服务区,向该服务区对应服务器发送定位请求及归属地信息查询请求;The second sending unit: used to send a positioning request and an attribution information query request to a server corresponding to the service area according to the service area;

响应单元:用于响应于所述定位请求及查询请求获取当前所述主叫号码地区及主叫号码归属地信息。Response unit: used to respond to the location request and query request to obtain the current calling number region and calling number information.

具体的,所述推送模块包括:Specifically, the push module includes:

第二获取单元:用于根据所述拨号建议,获取所述前缀信息表中分别与所述当前被叫号码地区和当前主叫号码地区对应的前缀信息;The second obtaining unit: used to obtain the prefix information respectively corresponding to the current called number region and the current calling number region in the prefix information table according to the dialing suggestion;

生成单元:用于响应于当前用户触发的与联系人进行通信的通信指令,按照所述号码规则表,生成添加有所述前缀信息的号码信息并拨出。A generating unit: configured to generate and dial out number information added with the prefix information according to the number rule table in response to a communication instruction triggered by the current user to communicate with a contact.

具体的,所述生成单元包括:Specifically, the generating unit includes:

存储子单元:用于依据于当前用户操作,将所述前缀信息添加至所述通信指令对应的号码信息中并保存至通讯录中。Storage subunit: used to add the prefix information to the number information corresponding to the communication instruction and save it in the address book according to the current user operation.

相应的,本发明还提供一种针对通讯号码的处理设备,应用了如上述所述针对通讯号码的处理方法或上述所述针对通讯号码的处理系统。Correspondingly, the present invention also provides a processing device for communication numbers, which uses the above-mentioned processing method for communication numbers or the above-mentioned processing system for communication numbers.

与现有技术相比,本发明具备如下优点:Compared with the prior art, the present invention has the following advantages:

总的来说,本发明针对通讯号码进行处理,其主要根据不同前缀信息的特征属性,将通讯录中联系人号码信息进行分组并实现统一编辑的功能,其统一编辑主要针对的是所述号码信息的前缀信息,通过用户选定的号码信息并确认为目标项以对该目标项进行前缀信息的编辑,其为用户编辑前缀号码信息提供了巨大的便利,用户不需每次都要进行手动修改或添加前缀信息,实现一键修 改或添加前缀信息的目的。另外根据前缀信息的不同特征属性将号码信息进行分组分类,导致具有相同前缀信息的号码信息分为同一组,这对查看号码信息带来了极大的方便性,提高了通讯录号码信息的浏览效率,提高用户使用体验。In general, the present invention deals with communication numbers. It mainly groups the contact number information in the address book according to the characteristic attributes of different prefix information and realizes the function of unified editing. The unified editing is mainly aimed at the numbers. The prefix information of the information, through the number information selected by the user and confirmed as the target item to edit the prefix information of the target item, it provides great convenience for the user to edit the prefix number information, and the user does not need to do it manually every time Modify or add prefix information to achieve the purpose of modifying or adding prefix information with one click. In addition, the number information is grouped and classified according to the different characteristic attributes of the prefix information, resulting in the number information with the same prefix information being divided into the same group, which brings great convenience to viewing the number information and improves the browsing of the number information in the address book efficiency and improve user experience.

另外的,在进行国内或国外长途电话时,本发明将通过获取被呼叫号码的号码地区以及主叫号码当前所处的号码地区,并结合前缀信息对照表,推送与所述当前用户所处地域相关的拨号建议,其中拨号建议指的是各运营商与号码信息之间的对应关系并在最优费率的基础上提出的拨号时在号码信息前选择添加前缀信息的建议,这为用户的选择和操作带来了极大的便利。In addition, when making a domestic or foreign long-distance call, the present invention will obtain the number area of the called number and the number area where the calling number is currently located, and combine the prefix information comparison table to push the number corresponding to the area where the current user is located. Related dialing suggestions, where the dialing suggestion refers to the corresponding relationship between each operator and the number information and the suggestion to add prefix information before the number information when dialing based on the optimal rate, which is for the user's Selection and operation bring great convenience.

综上所述,本发明根据前缀信息的不同特征属性将号码信息进行分组分类,导致具有相同前缀信息的号码信息分为同一组,这对查看号码信息带来了极大的方便性,提高了通讯录号码信息的浏览效率,提高用户使用体验;另外在拨号建议的使用下,使得人与人之间的联系省去了不少繁琐的工序,使得用户的选择和操作更为便利。In summary, the present invention classifies the number information into groups according to the different characteristic attributes of the prefix information, so that the number information with the same prefix information is divided into the same group, which brings great convenience to viewing the number information and improves the The browsing efficiency of the address book number information improves the user experience; in addition, with the use of dialing suggestions, many tedious procedures are saved for the contact between people, making the user's selection and operation more convenient.

【附图说明】【Description of drawings】

构成本申请的一部分的附图用来提供对本发明的进一步理解,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings constituting a part of this application are used to provide further understanding of the present invention, and the schematic embodiments and descriptions of the present invention are used to explain the present invention, and do not constitute an improper limitation of the present invention. In the attached picture:

图1为本发明中一种针对通讯号码的处理方法的一个实施例的流程图;Fig. 1 is a flow chart of an embodiment of a method for processing communication numbers in the present invention;

图2为本发明中一种针对通讯号码的处理方法的一个实施例的流程图;Fig. 2 is a flowchart of an embodiment of a method for processing communication numbers in the present invention;

图3为本发明中一种针对通讯号码的处理系统的一个实施例的结构框图;Fig. 3 is a structural block diagram of an embodiment of a processing system for communication numbers in the present invention;

图4为本发明中一种针对通讯号码的处理系统的一个实施例的结构框图。Fig. 4 is a structural block diagram of an embodiment of a communication number processing system in the present invention.

【具体实施方式】【Detailed ways】

下面结合附图和示例性实施例对本发明作进一步地描述,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,仅用于解释本发明,而不能解释为对本发明的限制。此外,如果已知技术的详细描述对于示出本发明的特征是不必要的,则将其省略。The present invention will be further described below with reference to the accompanying drawings and exemplary embodiments, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals represent the same or similar elements or elements with the same or similar functions . The embodiments described below by referring to the figures are exemplary only for explaining the present invention and should not be construed as limiting the present invention. Also, detailed descriptions of known arts will be omitted if they are unnecessary to illustrate the features of the present invention.

本技术领域技术人员可以理解,除非特意声明,这里使用的单数形式“一”、 “一个”、“所述”和“该”也可包括复数形式。应该进一步理解的是,本发明的说明书中使用的措辞“包括”是指存在所述特征、整数、步骤、操作、元件和/或组件,但是并不排除存在或添加一个或多个其他特征、整数、步骤、操作、元件、组件和/或它们的组。应该理解,当我们称元件被“连接”或“耦接”到另一元件时,它可以直接连接或耦接到其他元件,或者也可以存在中间元件。此外,这里使用的“连接”或“耦接”可以包括无线连接或无线耦接。这里使用的措辞“和/或”包括一个或更多个相关联的列出项的全部或任一单元和全部组合。Those skilled in the art will understand that unless otherwise stated, the singular forms "a", "an", "the" and "the" used herein may also include plural forms. It should be further understood that the word "comprising" used in the description of the present invention refers to the presence of said features, integers, steps, operations, elements and/or components, but does not exclude the presence or addition of one or more other features, Integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Additionally, "connected" or "coupled" as used herein may include wireless connection or wireless coupling. The expression "and/or" used herein includes all or any elements and all combinations of one or more associated listed items.

本技术领域技术人员可以理解,除非另外定义,这里使用的所有术语(包括技术术语和科学术语),具有与本发明所属领域中的普通技术人员的一般理解相同的意义。还应该理解的是,诸如通用字典中定义的那些术语,应该被理解为具有与现有技术的上下文中的意义一致的意义,并且除非像这里一样被特定定义,否则不会用理想化或过于正式的含义来解释。Those skilled in the art can understand that, unless otherwise defined, all terms (including technical terms and scientific terms) used herein have the same meaning as commonly understood by those of ordinary skill in the art to which this invention belongs. It should also be understood that terms, such as those defined in commonly used dictionaries, should be understood to have meanings consistent with their meaning in the context of the prior art, and unless specifically defined as herein, are not intended to be idealized or overly Formal meaning to explain.

本技术领域技术人员可以理解,下文所使用的“终端”、“终端设备”或者“移动通信终端”是指可以在移动中使用的计算机设备,广义的讲包括手机、笔记本、平板电脑、POS机甚至包括车载电脑。这里所使用的“终端”、“终端设备”可以是便携式、可运输、安装在交通工具(航空、海运和/或陆地)中的,或者适合于和/或配置为在本地运行,和/或以分布形式,运行在地球和/或空间的任何其他位置运行。这里所使用的“终端”、“终端设备”还可以是通信终端、上网终端、音乐/视频播放终端,例如可以是PDA、MID(Mobile Internet Device,移动互联网设备)和/或具有音乐/视频播放功能的移动电话,也可以是智能电视等设备。这里所使用的“终端”、“终端设备”也拥有非常丰富的通信方式,即可以通过GSM,CDMA,WCDMA,EDGE,3G等无线运营网通讯,也可以通过无线局域网,蓝牙和红外进行通信。Those skilled in the art can understand that "terminal", "terminal equipment" or "mobile communication terminal" used below refers to computer equipment that can be used on the move, broadly speaking, it includes mobile phones, notebooks, tablet computers, POS machines It even includes the on-board computer. As used herein, a "terminal", "terminal device" may be portable, transportable, installed in a vehicle (air, sea, and/or land), or adapted and/or configured to operate locally, and/or In distributed form, the operation operates at any other location on Earth and/or in space. The "terminal" and "terminal equipment" used here can also be communication terminals, Internet terminals, music/video playback terminals, such as PDAs, MIDs (Mobile Internet Devices, mobile Internet devices) and/or music/video playback terminals. Functional mobile phones, but also devices such as smart TVs. The "terminal" and "terminal device" used here also have very rich communication methods, that is, they can communicate through GSM, CDMA, WCDMA, EDGE, 3G and other wireless carrier networks, and can also communicate through wireless LAN, Bluetooth and infrared.

为了使本技术领域的人员更好地理解本发明实施例的方案,下面结合附图和实施方式对本发明作进一步的详细说明。以下实施例是示例性的,仅用于解释本发明,而不能解释为对本发明的限制。In order to enable those skilled in the art to better understand the solutions of the embodiments of the present invention, the present invention will be further described in detail below in conjunction with the drawings and implementations. The following examples are illustrative, and are only used to explain the present invention, but not to be construed as limiting the present invention.

请参阅附图1所示的一种针对通讯号码的处理方法的一个实施例的流程图,本发明所述一种针对通讯号码的处理方法包括以下步骤:Please refer to the flowchart of an embodiment of a method for processing communication numbers shown in accompanying drawing 1, a method for processing communication numbers in the present invention includes the following steps:

S101,检测通讯录中联系人的号码信息中包含的前缀信息。S101. Detect prefix information included in number information of a contact in an address book.

具体的,所述检测通讯录中联系人的号码信息中包含的前缀信息,包括以 下步骤:Specifically, the prefix information contained in the number information of the contact person in the described detection address book includes the following steps:

获取通讯录联系人的号码信息;Obtain the number information of the contact in the address book;

针对所述号码信息的前缀信息的前导部分,获取前缀信息对照表并进行一对一的数据匹配;For the leading part of the prefix information of the number information, obtain a prefix information comparison table and perform one-to-one data matching;

根据匹配结果输出号码信息中包含的前缀信息。Output the prefix information contained in the number information according to the matching result.

具体的,本发明实施例中,所述前导部分主要根据预先设置的平分规则将所述号码信息进行平均划分而成,所述前缀信息包含于所述前导部分,其中所述平分规则为限定所述号码信息的识别范围,该平分规则以所述号码信息对应的字符数为平分的基础将所述号码信息平均分为两个部分,并将所述号码信息的前半部分定义为所述前导部分。Specifically, in the embodiment of the present invention, the leading part is mainly formed by equally dividing the number information according to the preset equal division rule, and the prefix information is included in the leading part, wherein the equal dividing rule is defined as The identification range of the number information, the equal division rule divides the number information into two parts on the basis of the number of characters corresponding to the number information, and defines the first half of the number information as the leading part .

具体的,本发明实施例中,所述前缀信息对照表预先设置存储于本地数据库中通过获取云端服务器更新数据以更新该对照表。Specifically, in the embodiment of the present invention, the prefix information comparison table is preset and stored in the local database, and the comparison table is updated by obtaining update data from the cloud server.

本发明实施例中,所述前缀信息对照表根据移动终端接收的呼叫服务信息生成前缀信息保存在该对照表中;其中,所述前缀信息对照表用于保存运营商提供的呼叫服务所对应的费率、时间段、当前被叫号码地区和前缀信息,所述呼叫服务信息为当运营商的服务器检测到移动终端进入到所述运营商的服务区后,向所述移动终端发送的至少包括有运营商在本地提供的呼叫服务对应的费率、时间段、当前被叫号码地区和前缀信息的呼叫服务信息。In the embodiment of the present invention, the prefix information comparison table generates prefix information according to the call service information received by the mobile terminal and saves it in the comparison table; wherein, the prefix information comparison table is used to save the prefix information corresponding to the call service provided by the operator. Rate, time period, current called number area and prefix information, the call service information is sent to the mobile terminal when the operator's server detects that the mobile terminal has entered the service area of the operator, at least including There are call service information corresponding to the call service provided by the operator locally, the rate, time period, current called number area and prefix information.

具体的,本发明实施例中,所述通讯录主要针对电子类联系人信息的集合表,是一种利用互联网实现通讯录信息同步更新和备份的应用/服务。可以在个人电脑、掌上电脑、移动电话等任何联网设备上录入联系人的手机/电话号码、Email、QQ、MSN、通信地址等联系人信息,或对以前的信息进行分组、管理和更新,在验证许可下,某指定联系人可以看到所在组内的其他联系人信息,从而实现通讯录共享,如果该联系人更新了联系人信息,通讯录将自动更新,实现同步通讯录,并保留有旧版本的联系人信息。Specifically, in the embodiment of the present invention, the address book is mainly aimed at a collection table of electronic contact information, and is an application/service that utilizes the Internet to realize synchronous update and backup of address book information. You can enter contact information such as mobile phone/telephone number, Email, QQ, MSN, mailing address, etc. on any networked device such as personal computer, palmtop computer, mobile phone, etc., or group, manage and update the previous information. Under the verification license, a designated contact can see the information of other contacts in the group, so as to realize the sharing of the address book. If the contact updates the contact information, the address book will be automatically updated to realize the synchronization of the address book and keep all Old version of contact information.

本发明实施例中,所述号码信息主要表示关于联系人的通信号码的详细信息,所述号码信息中包括前缀信息、固定号码信息。其中,所述前缀信息包括作用于所述固定号码信息中以起标识作用的符号数据或前缀数据,例如所述符号数据包括“+”、“#”、“/”、“*”、“()”;所述前缀数据包括“86”、“00”、“010”、“755”等,具体实例有:“+(86)13885158888”,其中 “+(86)”为前缀信息,“13885158888”为固定号码信息。In the embodiment of the present invention, the number information mainly represents detailed information about the contact's communication number, and the number information includes prefix information and fixed number information. Wherein, the prefix information includes symbol data or prefix data used in the fixed number information for identification, for example, the symbol data includes "+", "#", "/", "*", "( )"; the prefix data includes "86", "00", "010", "755", etc. The specific examples are: "+(86)13885158888", where "+(86)" is the prefix information, "13885158888 " is the fixed number information.

可选的,所述检测通讯录中联系人的号码信息中包含的前缀信息,还包括以下步骤:Optionally, the detecting the prefix information contained in the number information of the contacts in the address book also includes the following steps:

获取通讯录联系人的号码信息;Obtain the number information of the contact in the address book;

获取关于所述号码信息的号码规则表,识别该号码信息中包含的固定号码信息;Obtain a number rule table about the number information, and identify the fixed number information included in the number information;

根据所述固定号码信息提取出所述前缀信息。The prefix information is extracted according to the fixed number information.

具体的,所述号码规则表根据通信号码存在的常规特性而设定,用于限定所述固定号码信息的架构组成。Specifically, the number rule table is set according to the conventional characteristics of communication numbers, and is used to define the structural composition of the fixed number information.

所述通信号码的常规特征有:在国内大陆,座机号码的固定号码信息的位数一般有六位或者七位又或者八位,手机号码的固定号码信息的位数一般有十一位;在香港,座机号码及手机号码的固定号码信息的位数一般为八位。The conventional features of the communication number include: in the domestic mainland, the number of fixed number information of landline numbers generally has six or seven or eight digits, and the number of fixed number information of mobile phone numbers generally has eleven digits; In Hong Kong, the fixed number information of landline numbers and mobile phone numbers generally has eight digits.

本发明实施例中,所述获取通讯录联系人的号码信息主要体现在:In the embodiment of the present invention, the acquisition of the number information of the contacts in the address book is mainly reflected in:

通过接收用户作用于用户界面上相关控件而触发的用于进入号码信息显示界面的显示指令,响应于所述显示指令,获取进入存储有所述号码信息的通讯录数据库的索引号,根据所述索引号读取对应的号码信息,并根据用户选择将所述号码信息显示于所述显示界面上;By receiving the display instruction for entering the number information display interface triggered by the user acting on the relevant controls on the user interface, in response to the display instruction, obtain the index number for entering the address book database storing the number information, according to the The index number reads the corresponding number information, and displays the number information on the display interface according to the user selection;

或者根据用户作用于用户界面用于提取相关号码信息的控件,触发相应的提取指令并提取通讯录中联系人的号码信息以备用。Alternatively, according to the user acting on the control for extracting the relevant number information on the user interface, a corresponding extraction instruction is triggered and the number information of the contacts in the address book is extracted for backup.

本发明实施例中,显示所述号码信息的相应显示界面上包括有针对所述联系人号码信息进行编辑和/或分享的相关控件信息。In the embodiment of the present invention, the corresponding display interface displaying the number information includes relevant control information for editing and/or sharing the contact number information.

S102,分析所述前缀信息的特征属性,将具有相同特征属性的号码信息归为一组,并根据不同的特征属性将所述号码信息归类为多组。S102. Analyze the characteristic attributes of the prefix information, group the number information with the same characteristic attribute into one group, and classify the number information into multiple groups according to different characteristic attributes.

具体的,本发明实施例中,所述分析所述前缀信息的特征属性,将具有相同特征属性的号码信息归为一组,并根据不同的特征属性将所述号码信息归类为多组,包括以下步骤:Specifically, in the embodiment of the present invention, analyzing the characteristic attributes of the prefix information, grouping the number information with the same characteristic attribute into one group, and classifying the number information into multiple groups according to different characteristic attributes, Include the following steps:

根据所述前缀信息对照表,确认所述前缀信息的特征属性;Confirming the characteristic attributes of the prefix information according to the prefix information comparison table;

以首次被确认的特征属性为单位建立分组,根据不同的特征属性定义不同的分组;Establish groups based on the first confirmed feature attribute, and define different groups according to different feature attributes;

将具不同特征属性的所述号码信息对应划分于不同的分组中并显示于用户 界面。The number information with different characteristic attributes is correspondingly divided into different groups and displayed on the user interface.

本发明实施例中,所述前缀信息对照表中表示所述前缀信息与特征属性的对应关系,所述特征属性包括所述前缀信息代表的地域码,其中所述地域码是国家码或地区码、或区码。当确认所述特征属性中包含有地域码时,将根据不同的地或国家码与区码的组合域码建立不同的分组,且以预设的方式区分所述不同的分组。所述预设的方式包括将地域码为单位收纳同地域码的号码信息以弹窗或列表或下拉框的形式显示于用户界面。另外的,根据不同的国家码或地区码或区码得以确认不同的国家名称或地区名称,故本发明实施例同样以不同国家名称或地区名称或区码为单位建立不同的分组并收纳相同归属地的号码信息为一组。In the embodiment of the present invention, the prefix information comparison table indicates the correspondence between the prefix information and the characteristic attribute, and the characteristic attribute includes the region code represented by the prefix information, wherein the region code is a country code or an area code , or area code. When it is confirmed that the feature attribute contains the region code, different groups will be established according to different regions or combinations of country codes and region codes, and the different groups will be distinguished in a preset manner. The preset method includes displaying the number information of the same area code in the unit of the area code on the user interface in the form of a pop-up window, a list, or a drop-down box. In addition, different country names or region names can be confirmed according to different country codes or region codes or region codes, so the embodiment of the present invention also uses different country names or region names or region codes as units to establish different groups and accommodate the same attribution The number information of the land is a group.

其中,所述地域码是指被叫所在国家/地区、城市等,一般可以用国家码码/地区码、区码表示。Wherein, the region code refers to the country/region, city, etc. where the called party is located, and generally can be represented by a country code/region code, or an area code.

可选择的是,本发明实施例中,所述特征属性还包括所述前缀信息包含的字符信息,例如所述字符信息有“+”、“*”、“()”等。其中将根据所述前缀信息中带有的字符信息建立不同的分组。Optionally, in this embodiment of the present invention, the characteristic attribute further includes character information contained in the prefix information, for example, the character information includes "+", "*", "()" and so on. Different groups will be established according to the character information contained in the prefix information.

值得一提的是,本发明实施例中,根据所述前缀信息不同的特征属性建立不同的分组,其具体体现在以下几个方面:It is worth mentioning that in the embodiment of the present invention, different groups are established according to different characteristic attributes of the prefix information, which is specifically reflected in the following aspects:

第一方面,当接收到用户查看号码信息时而触发的分组指令时,响应于所述分组指令,获取被确认的所述特征属性及其对应的地域码或字符信息;In the first aspect, when the grouping instruction triggered by the user viewing the number information is received, in response to the grouping instruction, acquire the confirmed characteristic attribute and its corresponding region code or character information;

第二方面,当接收到用户进行选择查看分组的号码信息时而触发的分类指令时,响应于所述分类指令,获取用户指定选择查看的特征属性,确认该特征属性中的地域码和/或字符信息为指定项并获取与所述指定项相对应的号码信息并显示于用户界面。In the second aspect, when the classification instruction triggered when the user chooses to view the number information of the group is received, in response to the classification instruction, obtain the feature attribute specified by the user to view, and confirm the region code and/or character in the feature attribute The information is a specified item, and the number information corresponding to the specified item is obtained and displayed on the user interface.

可选择的,本发明实施例中,所述前缀信息表示为运营商对应的标识信息,则所述前缀信息包含于所述固定号码信息中,例如中国移动运营商对应的固定号码信息前缀有“134、135、136、137、138、139、147、150、151、152、157、158、159、182、183、184、187、188”;中国联通运营商对应的固定号码信息前缀有“130、131、132、135、155、156、145、176、185、186”;中国电信运营商对应的固定号码信息前缀有“133、153、173、177、180、181、189”。其中将以该前缀信息所代表的运营商为单位建立不同的分组。Optionally, in this embodiment of the present invention, the prefix information is represented as identification information corresponding to the operator, and the prefix information is included in the fixed number information, for example, the fixed number information corresponding to China Mobile is prefixed with " 134, 135, 136, 137, 138, 139, 147, 150, 151, 152, 157, 158, 159, 182, 183, 184, 187, 188"; the fixed number information corresponding to China Unicom operator is prefixed with "130 . Different groups will be established based on the operator represented by the prefix information.

另外的,针对前缀信息包含的一种或多种特征属性,接收用户选择查看的所述指定项,并获取该指定项对应的号码信息并显示于用户界面;其中所述指定项包括所述前缀信息代表的以下任意一个或多个:国家码、地区码、区码、运营商、字符信息。In addition, for one or more characteristic attributes contained in the prefix information, receive the specified item selected by the user to view, and obtain the number information corresponding to the specified item and display it on the user interface; wherein the specified item includes the prefix Any one or more of the following represented by the information: country code, area code, area code, operator, and character information.

例如:通讯录中有联系人小红、小马、小秋、小丹、小东、小阳;其对应存储于所述通讯录的号码信息分别为:“+(86)13864421123”、“13724521456”、“8615545641789”、“13225141101”、“0012138079427”、“852-310082”。当用户选择查看带地域码的全部号码信息时,将显示以86或中国大陆、001或美国或213或洛杉矶、852或香港为单位建立的分组,另外将针对前缀信息“86、001、852”进行编辑;当用户选择查看带有运营商的全部号码信息时,将显示以移动、联通及其他为单位而建立的分组;当用户选择查看带有字符信息的全部号码信息时,将显示以“+”“-”为单位建立的分组。For example: there are contacts Xiaohong, Xiaoma, Xiaoqiu, Xiaodan, Xiaodong, and Xiaoyang in the address book; the corresponding numbers stored in the address book are: "+(86)13864421123", "13724521456 ", "8615545641789", "13225141101", "0012138079427", "852-310082". When the user chooses to view all number information with area codes, it will display the groups established with 86 or mainland China, 001 or the United States or 213 or Los Angeles, 852 or Hong Kong as the unit, and the prefix information "86, 001, 852" will be displayed Edit; when the user chooses to view all number information with operators, it will display the groups established by China Mobile, China Unicom and others; when the user chooses to view all number information with character information, it will display " +""-" is the grouping established by the unit.

S103,针对相同特征属性和/或不同特征属性的号码信息,接收用户作用在用于编辑其中的一个或多个号码信息的前缀信息的相关控件而触发的编辑指令。S103. For the number information with the same characteristic attribute and/or different characteristic attributes, receive an editing instruction triggered by the user acting on a relevant control for editing the prefix information of one or more number information among them.

具体的,本发明实施例中,所述针对相同特征属性和/或不同特征属性的号码信息,接收用户作用于用于编辑所述前缀信息的相关控件而触发的编辑指令,其中所述用于编辑所述前缀信息的相关控件包括以下任意一种:删除所述前缀信息的删除控件、将所述前缀信息替换为另一前缀信息的替换控件、在原有所述前缀信息的基础上添加另一前缀信息的添加控件;相对应的,所述编辑指令包括以下任意一种:针对所述前缀信息的删除指令、替换指令、添加指令。Specifically, in this embodiment of the present invention, for the number information of the same characteristic attribute and/or different characteristic attributes, an editing instruction triggered by the user acting on a related control for editing the prefix information is received, wherein the used The relevant controls for editing the prefix information include any of the following: a delete control for deleting the prefix information, a replacement control for replacing the prefix information with another prefix information, and adding another prefix information based on the original prefix information. A control for adding prefix information; correspondingly, the editing instruction includes any one of the following: a deletion instruction, a replacement instruction, and an addition instruction for the prefix information.

本发明实施例中,所述针对相同特征属性和/或不同特征属性的号码信息,接收用户作用在用于编辑其中的一个或多个号码信息的前缀信息的相关控件而触发的编辑指令,其中用户进行编辑的对象包括一种特征属性分组中的一个或多个联系人的号码信息或多种特征属性分组中的一个或多个联系人的号码信息,实现可跨组别选择不同的需编辑的前缀信息的号码信息的作用。In the embodiment of the present invention, for the number information of the same characteristic attribute and/or different characteristic attributes, an editing instruction triggered by the user acting on a relevant control for editing the prefix information of one or more number information among them is received, wherein The object to be edited by the user includes the number information of one or more contacts in a feature attribute group or the number information of one or more contacts in multiple feature attribute groups, so that different groups can be selected to be edited The role of the number information of the prefix information.

如上述例子所述,以“86”为单位的分组中有“小红+(86)13864421123”、“小秋8615545641789”,以中国移动为单位的分组中有“小红+(86)13864421123”、“小马13724521456”,以中国联通为单位的分组中有“小秋8615545641789”、“小丹13225141101”,以美国为单位的分组中有“小东0012138079427”,以香港为单位的分组中有“小阳852-310082”,以字符信息 “+”为单位的分组中有“小红+(86)13864421123”、“小秋8615545641789”,以字符信息“-”为单位的分组中有“小阳852-310082”。另外的,通过用户选择其中不同或相同特征属性的分组中的任意一个或多个联系人,根据选择的联系人接收用户作用于用户界面上相关控件而触发的编辑指令。As mentioned in the above example, there are "Xiaohong+(86)13864421123" and "Xiaoqiu 8615545641789" in the group with "86" as the unit, and "Xiaohong+(86)13864421123" in the group with China Mobile as the unit , "Xiaoma 13724521456", "Xiaoqiu 8615545641789" and "Xiaodan 13225141101" in the group based on China Unicom, "Xiaodong 0012138079427" in the group based on the United States, and "Xiaodong 0012138079427" in the group based on Hong Kong "Xiaoyang 852-310082", in the group with the character information "+" as the unit, there are "Xiaohong+(86)13864421123", "Xiaoqiu 8615545641789", in the group with the character information "-" as the unit "Xiaohong Yang 852-310082". In addition, when the user selects any one or more contacts in the group with different or the same characteristic attributes, according to the selected contact, an editing instruction triggered by the user acting on a related control on the user interface is received.

S104,响应于所述编辑指令,确认用户选定的所述编辑指令对应的号码信息为目标项,并针对该目标项执行所述编辑指令。S104. In response to the editing instruction, confirm that the number information corresponding to the editing instruction selected by the user is a target item, and execute the editing instruction for the target item.

具体的,本发明实施例中,所述目标项包括以下任意一种:一组相同特征属性的号码信息、多组不同特征属性的号码信息、一个号码信息、多个具有相同特征属性的号码信息及多个具有不同特征属性的号码信息。Specifically, in the embodiment of the present invention, the target item includes any of the following: a group of number information with the same characteristic attribute, multiple sets of number information with different characteristic attributes, one number information, multiple number information with the same characteristic attribute And multiple number information with different characteristic attributes.

具体的,本发明实施例中,所述响应于所述编辑指令,确认用户选定的所述编辑指令对应的号码信息为目标项,并针对该目标项执行所述编辑指令,包括以下步骤:Specifically, in the embodiment of the present invention, in response to the editing instruction, confirming that the number information corresponding to the editing instruction selected by the user is a target item, and executing the editing instruction for the target item includes the following steps:

根据用户在所述号码信息对应显示界面上的选择操作,触发相关的选定指令以根据该选定指令确定所述目标项。According to the user's selection operation on the display interface corresponding to the number information, a related selection instruction is triggered to determine the target item according to the selection instruction.

可选的,本发明实施例中,所述响应于所述编辑指令,确认用户选定的所述编辑指令对应的号码信息为目标项,并针对该目标项执行所述编辑指令,还包括以下步骤:Optionally, in this embodiment of the present invention, in response to the editing instruction, confirming that the number information corresponding to the editing instruction selected by the user is a target item, and executing the editing instruction for the target item further includes the following step:

将经执行过所述编辑指令的目标项更新于所述通讯录中和/或显示于用户界面。The target item that has been executed with the editing instruction is updated in the address book and/or displayed on a user interface.

本发明实施例中,所述目标项与上述指定项并不完全相同,但相同点在于两者同样根据用户在用户界面上的选择操作而确认所述目标项或指定项,不同点在于所述目标项接收用户针对不同或相同特征属性的联系人号码信息级进行选择确认的,所述指定项针对号码信息中具有的各特征属性选择而确认的。In the embodiment of the present invention, the target item is not exactly the same as the above specified item, but the same point is that the two also confirm the target item or specified item according to the selection operation of the user on the user interface, and the difference lies in the The target item receives the user's selection and confirmation of contact number information levels with different or the same feature attributes, and the specified item is selected and confirmed for each feature attribute included in the number information.

其中所述针对该目标项执行所述编辑指令,具体形式包括以下任意一种:响应于所述删除指令,删除所述目标项中包含有与所述指定项相对应特征属性的前缀信息;响应于所述替换指令,将所述目标项中包含的前缀信息替换为所述指定项相对应特征属性的前缀信息;响应于所述添加指令,在保留原有前缀信息的基础上于所述目标项的前缀部分添加上与所述指定项相对应特征属性的前缀信息。其中添加的位置将根据用户于预览构图中选择添加的位置而定义,所述预览构图为表示该号码信息的构造以供用户选择添加前缀信息的位置而设 置,所述预览构图包括一个或多个特征属性及固定号码信息。另外于所述预览构图中选择添加前缀信息的位置包括如下任意一种:首个特征属性之前、特征属性与特征属性之间、特征属性与固定号码信息之间、固定号码信息之后。Wherein, the specific form of executing the editing instruction for the target item includes any of the following: in response to the deletion instruction, deleting the prefix information in the target item that contains the characteristic attribute corresponding to the specified item; responding In the replacement instruction, the prefix information contained in the target item is replaced with the prefix information of the corresponding feature attribute of the specified item; in response to the addition instruction, on the basis of retaining the original prefix information in the target The prefix information of the feature attribute corresponding to the specified item is added to the prefix part of the item. The added position will be defined according to the position selected by the user in the preview composition. The preview composition is set to represent the structure of the number information for the user to choose to add the prefix information. The preview composition includes one or more Feature attributes and fixed number information. In addition, the position for adding prefix information in the preview composition includes any of the following: before the first characteristic attribute, between characteristic attributes and characteristic attributes, between characteristic attributes and fixed number information, and after fixed number information.

如上述例子所述,接收用户选择操作确认“小红+(86)13864421123”、“小秋8615545641789”为所述目标项,当执行所述删除指令以删除所述目标项的前缀信息时,所得的执行结果为:“小红13864421123”、“小秋15545641789”;当执行所述替换指令以替换所述目标项的前缀信息时,,将接收用户选择的用于替换所述目标项的前缀信息的指定项“12520”,所得的执行结果为:“小红1252013864421123”、“小秋1252015545641789”;当执行所述添加指令以添加所述指定项“0”,并接收用户选择的添加位置为“特征属性与固定号码信息之间”,故根据所述添加位置及指定项,所得的执行结果将为“小红+(86)013864421123”、“小秋86015545641789”。As described in the above example, when the user selects and confirms that "Xiaohong+(86)13864421123" and "Xiaoqiu 8615545641789" are the target items, when the delete command is executed to delete the prefix information of the target item, the obtained The execution results of are: "Xiaohong 13864421123", "Xiaoqiu 15545641789"; when the replacement instruction is executed to replace the prefix information of the target item, the prefix information selected by the user for replacing the target item will be received The specified item "12520", the execution results obtained are: "Xiaohong 1252013864421123", "Xiaoqiu 1252015545641789"; when the adding instruction is executed to add the specified item "0", and the adding position selected by the user is " Between the feature attribute and the fixed number information", so according to the added location and specified item, the execution result obtained will be "Xiaohong+(86)013864421123", "Xiaoqiu 86015545641789".

进一步的,请参阅附图2所示的一种针对通讯号码的处理方法的一个实施例的流程图,本发明所述一种针对通讯号码的处理方法还包括以下步骤:Further, please refer to the flow chart of an embodiment of a method for processing communication numbers shown in Figure 2. The method for processing communication numbers in the present invention also includes the following steps:

S201,获取所述联系人的号码信息于历史通话记录中的通话详情。S201. Obtain the call details of the contact's number information in the historical call records.

本发明实施例中,所述获取所述联系人的号码信息于历史通话记录中的通话详情,具体包括以下步骤:In the embodiment of the present invention, the acquisition of the call details of the contact person's number information in the historical call record specifically includes the following steps:

获取所述通话详情中包含的预存于移动终端的呼叫服务信息,并将所述呼叫服务信息添加到所述所述前缀信息对照表中。Obtain the call service information pre-stored in the mobile terminal included in the call details, and add the call service information to the prefix information comparison table.

本发明实施例中,所述呼叫服务信息中包括:运营商名、前缀、费率、被呼叫地区、时间段、是否需要地域码(即国家码/地区码)、是否需要区码。其中所述前缀有异于所述前缀信息,其前缀表示在一定费率的基础上以及时间段内于被叫号码前添加指定前缀得以相应的费率收费,其考虑用户的费用支出,提供了最优的费用支出最优的方案;其所属前缀信息包含有上述前缀,其泛指添加在固定号码信息前的全部数据。In the embodiment of the present invention, the call service information includes: operator name, prefix, rate, called area, time period, whether a region code is required (that is, a country code/area code), and whether an area code is required. Wherein the prefix is different from the prefix information, the prefix indicates that on the basis of a certain rate and within a certain period of time, a specified prefix is added before the called number to be charged at a corresponding rate, which considers the user's expenses and provides The optimal cost-expenditure solution; its prefix information includes the above-mentioned prefix, which generally refers to all the data added before the fixed number information.

本发明实施例中,所述呼叫服务信息为当运营商的服务器检测到移动终端进入到所述运营商的服务区后,向所述移动终端发送的至少包括有运营商在本地提供的呼叫服务对应的费率、时间段、当前被叫号码地区和前缀的呼叫服务信息中一种或多种。In the embodiment of the present invention, the call service information is sent to the mobile terminal after the operator's server detects that the mobile terminal has entered the service area of the operator, at least including the call service information provided locally by the operator. One or more of the corresponding rate, time period, current called number area and prefix call service information.

可以选择的,本发明实施例中,在运营商的服务器端采用统一格式,通过 短信方式或其他广播方式向进入服务区的移动终端发送提供的呼叫服务信息。Optionally, in the embodiment of the present invention, the operator's server adopts a unified format, and sends the provided call service information to the mobile terminal entering the service area through a short message or other broadcasting methods.

本发明实施例中,运营商的服务器端向移动终端发送呼叫服务信息的过程,包括:In the embodiment of the present invention, the process of the operator's server sending the call service information to the mobile terminal includes:

运营商的服务器端检测移动终端是否进入运营商的服务区,即是否进入到与该运营商服务器相连的基站服务范围,如果有移动终端进入到服务区,则进入下续步骤;否则,返回,继续检测;The operator's server side detects whether the mobile terminal enters the operator's service area, that is, whether it enters the service range of the base station connected to the operator's server. If a mobile terminal enters the service area, then enter the next step; otherwise, return, Continue testing;

移动终端对该服务区进行注册,并且基站还会发送运营商标识给移动终端;The mobile terminal registers with the service area, and the base station also sends the operator identification to the mobile terminal;

在注册完毕后,触发运营商服务器发送所述一定格式的呼叫服务信息给移动终端。After the registration is completed, the operator server is triggered to send the call service information in a certain format to the mobile terminal.

本发明实施例中,移动终端接收呼叫服务信息的过程,包括:In the embodiment of the present invention, the process for the mobile terminal to receive call service information includes:

移动终端进入一个新的服务区完成注册后,判断是否收到短消息,如果是则进行下述步骤;否则,返回,继续等待。After the mobile terminal enters a new service area and completes the registration, it judges whether it has received a short message, and if so, proceeds to the following steps; otherwise, returns and continues to wait.

检查收到的短消息的格式,比如:检查该短消息的开头和结尾,并判断是否符合预定格式,如果是,则进行下述步骤,否则,按照普通短消息处理。Check the format of the received short message, such as: check the beginning and end of the short message, and judge whether it meets the predetermined format, if so, then carry out the following steps, otherwise, process according to the common short message.

移动终端将收到的短消息中的呼叫服务信息保存在本地的前缀信息对照表中。The mobile terminal saves the call service information in the received short message in a local prefix information comparison table.

S202,根据所述通话详情,确认所述联系人的号码信息对应的被叫号码归属地信息。S202. Confirm the attribution information of the called number corresponding to the number information of the contact according to the call details.

具体的,所述根据所述通话详情,确认所述联系人的号码信息对应的被叫号码归属地信息,包括以下步骤:Specifically, according to the call details, confirming the attribution information of the called number corresponding to the number information of the contact includes the following steps:

针对所述联系人的号码信息向服务器发送相应的归属地信息查询请求;Sending a corresponding attribution information query request to the server for the number information of the contact;

接收服务器接收到该查询请求后反馈而至的该联系人的被叫号码归属地信息;其中所述被叫号码归属地信息预先存储于所述前缀信息对照表或通话详情中。The attribution information of the called number of the contact is fed back by the receiving server after receiving the query request; wherein the attribution information of the called number is pre-stored in the prefix information comparison table or call details.

可选的,本发明实施例中,还包括统计出同一号码信息的通话详情中包含的同一号码地区的重复比例;确认所述重复比例较大的号码地区为所述当前被叫号码地区。Optionally, in the embodiment of the present invention, it also includes counting the repetition ratio of the same number region included in the call details of the same number information; confirming that the number region with a larger repetition ratio is the current called number region.

本发明实施例中,所述根据所述通话详情实质是根据其中预先存储于移动终端的呼叫服务信息,该呼叫服务信息中包括有所述被呼叫地区,其中所述被呼叫地区表示被叫号码终端当前所处的服务区位置,其还可具体体现在该被叫 号码终端所处的国家码/地区码或区码。另外根据被叫号码归属地信息确认相应的关于归属地的国家码/地区码或区码,并存储于所述前缀信息对照表中。In the embodiment of the present invention, the said call details are essentially based on the call service information pre-stored in the mobile terminal, the call service information includes the called region, wherein the called region represents the called number The current service area location of the terminal can also be embodied in the country code/area code or area code where the called number terminal is located. In addition, according to the attribution information of the called number, the corresponding country code/area code or area code of the attribution is confirmed and stored in the prefix information comparison table.

本发明实施例中,所述确认所述联系人的号码信息对应的当前被叫号码地区,其利用所述历史通话记录中所存储的关于同一号码信息的一个或多个被呼叫地区而确定;若同一号码信息中存在有多个被呼叫地区,则对所述多个被呼叫地区进行重复比例的统计,确认其中重复比例最大的被呼叫地区为所述当前被叫号码地区。In the embodiment of the present invention, the confirmation of the current called number area corresponding to the number information of the contact person is determined by using one or more called areas of the same number information stored in the historical call records; If there are multiple called regions in the same number information, then perform statistics on the repetition ratio of the multiple called regions, and confirm that the called region with the largest repetition ratio is the current called number region.

例如:小丹在联系人通讯录中存储的为中国联通归属于深圳服务厅的手机号码,其号码信息为“13225141101”,通过主叫号码对应终端或服务器中存储的号码地区有:深圳、广州、上海、北京以及杭州,其中分别占的比例是:20%、70%、2%、1%、7%;故确认小丹对应的所述当前被叫号码地区为广州,其对应的区码为020,国家码为0086。For example: Xiaodan stores in the contacts address book a mobile phone number belonging to China Unicom's Shenzhen Service Office, and its number information is "13225141101". The number areas stored in the corresponding terminal or server through the calling number are: Shenzhen, Guangzhou , Shanghai, Beijing, and Hangzhou, and the respective proportions are: 20%, 70%, 2%, 1%, and 7%; therefore, it is confirmed that the area of the current called number corresponding to Xiaodan is Guangzhou, and its corresponding area code is 020, and the country code is 0086.

S203,根据获取当前用户所处的主叫号码地区并结合所述当前被叫号码地区,获取相应的所述前缀信息对照表。S203. Obtain the corresponding prefix information comparison table based on the obtained calling number region where the current user is located and combining the current called number region.

具体的,本发明实施例中,所述根据获取当前用户所处的主叫号码地区并结合所述当前被叫号码地区,获取相应的所述前缀信息对照表,包括以下步骤:Specifically, in the embodiment of the present invention, the acquisition of the corresponding prefix information comparison table based on the acquisition of the calling number area where the current user is located and in combination with the current called number area includes the following steps:

通过GPS定位系统确认当前用户所处的服务区;Confirm the service area where the current user is located through the GPS positioning system;

根据所述服务区,向该服务区对应服务器发送定位请求及归属地信息查询请求;According to the service area, send a positioning request and an attribution information query request to the server corresponding to the service area;

响应于所述定位请求及查询请求获取当前所述主叫号码地区及主叫号码归属地信息。In response to the positioning request and the query request, obtain the current calling number region and calling number attribution information.

本发明实施例中,根据所述主叫号码地区并结合所述当前被叫号码地区,获取相应的所述前缀信息对照表,具体步骤包括:In the embodiment of the present invention, according to the calling number region and combined with the current called number region, the corresponding prefix information comparison table is obtained, and the specific steps include:

根据所述主叫号码归属地信息、被叫号码归属地信息、主叫号码地区及当前被叫号码地区,由所述前缀信息对照表中获取相应的国家码/地区码、区码;According to the attribution information of the calling number, the attribution information of the called number, the area of the calling number, and the area of the current called number, obtain the corresponding country code/area code and area code from the prefix information comparison table;

获取所述前缀信息对照表中是否需要国家码/地区码一项中的内容,判断还是否需要添加国家码/地区码,如果是,则在号码中添加国家码/地区码,进入下述步骤;否则,直接进入下述步骤。Obtain the content of whether the country code/area code is required in the prefix information comparison table, and determine whether the country code/area code needs to be added, if yes, add the country code/area code to the number, and proceed to the following steps ; Otherwise, go directly to the following steps.

获取所述前缀信息对照表中是否需要区码一项中的内容,判断还是否需要添加区码,如果是,则在号码中添加区码,进入下述步骤;否则,直接进入下 述步骤;Obtain whether the content in the area code item in the prefix information comparison table is needed, and judge whether it is necessary to add the area code, if yes, add the area code to the number, and enter the following steps; otherwise, directly enter the following steps;

生成已添加前缀信息的号码信息显示于用户界面或存储于本地通讯录中或发送至服务器。The generated number information with added prefix information is displayed on the user interface or stored in the local address book or sent to the server.

S204,根据所述前缀信息对照表,推送与所述当前用户所处地域相关的拨号建议;其中所述拨号建议指的是各运营商与号码信息之间的对应关系或在最优费率的基础上提出的拨号时在号码信息前选择添加前缀信息的建议。S204. According to the prefix information comparison table, push a dialing suggestion related to the region where the current user is located; where the dialing suggestion refers to the corresponding relationship between each operator and number information or the optimal rate Based on the suggestion to add prefix information before the number information when dialing.

具体的,所述根据所述前缀信息对照表,推送与所述当前用户所处地域相关的拨号建议,包括以下步骤:Specifically, the pushing the dialing suggestion related to the region where the current user is located according to the prefix information comparison table includes the following steps:

根据所述拨号建议,获取所述前缀信息表中分别与所述当前被叫号码地区和当前主叫号码地区对应的前缀信息;Obtaining prefix information in the prefix information table respectively corresponding to the current called number region and the current calling number region according to the dialing suggestion;

响应于当前用户触发的与联系人进行通信的通信指令,按照所述号码规则表,生成添加有所述前缀信息的号码信息并拨出。In response to a communication instruction to communicate with a contact triggered by the current user, according to the number rule table, the number information added with the prefix information is generated and dialed out.

本发明实施例中,在呼叫触发后,根据被叫号码归属地信息,在所述前缀信息对照表中选出可向该归属地进行呼叫的呼叫服务信息;比较所选出的呼叫服务信息在当前时间下的费率,找出费率最低的一个呼叫服务信息;将所选呼叫服务信息中的前缀信息添加到被呼叫号码前,并结合判断是否需要国家码/地区码和/或区码后得出的相应判断结果,接收用户选择添加的国家码/地区码和/或区码后拨出。In the embodiment of the present invention, after the call is triggered, according to the attribution information of the called number, the call service information that can be called to the attribution is selected in the prefix information comparison table; the selected call service information is compared in the Rate at the current time, find out the call service information with the lowest rate; add the prefix information in the selected call service information to the called number, and combine to determine whether the country code/area code and/or area code is required The corresponding judgment result obtained after receiving the country code/area code and/or area code selected by the user is dialed out.

具体的,本发明实施例中,所述响应于当前用户触发的与联系人进行通信的通信指令,生成添加有所述前缀信息的号码信息并拨出,包括以下步骤:Specifically, in the embodiment of the present invention, generating and dialing out the number information added with the prefix information in response to the communication instruction triggered by the current user to communicate with the contact includes the following steps:

依据于当前用户操作,将所述前缀信息添加至所述通信指令对应的号码信息中并保存至通讯录中。According to the current user operation, the prefix information is added to the number information corresponding to the communication instruction and saved in the address book.

其中,对于通讯录里的存储的电话号码类型的号码信息,需要保存前缀信息的国家码/地区码和区码;手机号码只需要保存国家码/地区码。Among them, for the number information of the type of phone number stored in the address book, the country code/area code and area code of the prefix information need to be saved; the mobile phone number only needs to save the country code/area code.

下面具体说明本发明方法的一个较佳实施例。A preferred embodiment of the method of the present invention is described in detail below.

在移动终端的通讯录中,为每个号码信息保存其所对应的国家码/地区码和区码,参见表1所示。In the address book of the mobile terminal, the corresponding country code/area code and area code are stored for each number information, as shown in Table 1.

姓名Name 国家码/地区码Country code/area code 区码area code 座机号码Landline number 姓名Name 国家码/地区码Country code/area code 手机号码cellphone number

表1Table 1

在运营商的服务器端采用统一格式,通过短信方式或其他广播方式向进入服务区的移动终端发送提供的呼叫服务信息,至少包括:前缀、拨打各地的各个时间段的费用率等。一个较佳地实施例的格式参见表2所示。The operator's server adopts a unified format, and sends the provided call service information to mobile terminals entering the service area through SMS or other broadcast methods, including at least: prefixes, charging rates for various time periods in various places, etc. See Table 2 for the format of a preferred embodiment.

表2Table 2

另外的,本发明实施例中,所述推送与所述当前用户所处地域相关的拨号建议具体实现方式有以下任意一种:In addition, in the embodiment of the present invention, the specific implementation manners of pushing the dialing suggestion related to the region where the current user is located include any of the following:

获取添加相应前缀信息后的被叫号码信息并将其推送至主叫号码对应终端显示屏以供用户选择并拨出。Obtain the called number information after adding the corresponding prefix information and push it to the display screen of the terminal corresponding to the calling number for the user to select and dial out.

另外的,本发明实施例中,当拨出的经用户选择添加相应前缀信息后的被叫号码时,主叫号码对应终端接收到服务器反馈的无效号码的反馈信息后,将触发关于所述被叫号码信息的重新检索指令以更新相应的前缀信息或验证该被叫号码是否为空号数据。In addition, in the embodiment of the present invention, when the user selects the called number to which the corresponding prefix information is added, the terminal corresponding to the calling number will trigger the information about the called number after receiving the feedback information of the invalid number fed back by the server. The re-retrieval instruction of the called number information is used to update the corresponding prefix information or verify whether the called number is empty number data.

相应的,请参照图3中所示的一种针对通讯号码的处理系统的一个实施例的结构框图,本发明还提供一种针对通讯号码的处理系统,包括:Correspondingly, please refer to the structural block diagram of an embodiment of a processing system for communication numbers shown in FIG. 3 , the present invention also provides a processing system for communication numbers, including:

检测模块11:用于检测通讯录中联系人的号码信息中包含的前缀信息。Detection module 11: for detecting the prefix information included in the number information of the contacts in the address book.

具体的,所述检测模块包括:Specifically, the detection module includes:

第一获取单元:用于获取通讯录联系人的号码信息;The first obtaining unit: used to obtain the number information of the contacts in the address book;

匹配单元:用于针对所述号码信息的前缀信息的前导部分,获取前缀信息对照表并进行一对一的数据匹配;Matching unit: used for obtaining a prefix information comparison table and performing one-to-one data matching for the leading part of the prefix information of the number information;

输出单元:用于根据匹配结果输出号码信息中包含的前缀信息。Output unit: used to output the prefix information contained in the number information according to the matching result.

具体的,本发明实施例中,所述前导部分主要根据预先设置的平分规则将所述号码信息进行平均划分而成,所述前缀信息包含于所述前导部分,其中所述平分规则为限定所述号码信息的识别范围,该平分规则以所述号码信息对应的字符数为平分的基础将所述号码信息平均分为两个部分,并将所述号码信息的前半部分定义为所述前导部分。Specifically, in the embodiment of the present invention, the leading part is mainly formed by equally dividing the number information according to the preset equal division rule, and the prefix information is included in the leading part, wherein the equal dividing rule is defined as The identification range of the number information, the equal division rule divides the number information into two parts on the basis of the number of characters corresponding to the number information, and defines the first half of the number information as the leading part .

具体的,本发明实施例中,所述前缀信息对照表预先设置存储于本地数据库中通过获取云端服务器更新数据以更新该对照表。Specifically, in the embodiment of the present invention, the prefix information comparison table is preset and stored in the local database, and the comparison table is updated by obtaining update data from the cloud server.

本发明实施例中,所述前缀信息对照表根据移动终端接收的呼叫服务信息生成前缀信息保存在该对照表中;其中,所述前缀信息对照表用于保存运营商提供的呼叫服务所对应的费率、时间段、当前被叫号码地区和前缀信息,所述呼叫服务信息为当运营商的服务器检测到移动终端进入到所述运营商的服务区后,向所述移动终端发送的至少包括有运营商在本地提供的呼叫服务对应的费率、时间段、当前被叫号码地区和前缀信息的呼叫服务信息。In the embodiment of the present invention, the prefix information comparison table generates prefix information according to the call service information received by the mobile terminal and saves it in the comparison table; wherein, the prefix information comparison table is used to save the prefix information corresponding to the call service provided by the operator. Rate, time period, current called number area and prefix information, the call service information is sent to the mobile terminal when the operator's server detects that the mobile terminal has entered the service area of the operator, at least including There are call service information corresponding to the call service provided by the operator locally, the rate, time period, current called number area and prefix information.

具体的,本发明实施例中,所述通讯录主要针对电子类联系人信息的集合表,是一种利用互联网实现通讯录信息同步更新和备份的应用/服务。可以在个人电脑、掌上电脑、移动电话等任何联网设备上录入联系人的手机/电话号码、Email、QQ、MSN、通信地址等联系人信息,或对以前的信息进行分组、管理和更新,在验证许可下,某指定联系人可以看到所在组内的其他联系人信息,从而实现通讯录共享,如果该联系人更新了联系人信息,通讯录将自动更新,实现同步通讯录,并保留有旧版本的联系人信息。Specifically, in the embodiment of the present invention, the address book is mainly aimed at a collection table of electronic contact information, and is an application/service that utilizes the Internet to realize synchronous update and backup of address book information. You can enter contact information such as mobile phone/telephone number, Email, QQ, MSN, mailing address, etc. on any networked device such as personal computer, palmtop computer, mobile phone, etc., or group, manage and update the previous information. Under the verification license, a designated contact can see the information of other contacts in the group, so as to realize the sharing of the address book. If the contact updates the contact information, the address book will be automatically updated to realize the synchronization of the address book and keep all Old version of contact information.

本发明实施例中,所述号码信息主要表示关于联系人的通信号码的详细信息,所述号码信息中包括前缀信息、固定号码信息。其中,所述前缀信息包括作用于所述固定号码信息中以起标识作用的符号数据或前缀数据,例如所述符号数据包括“+”、“#”、“/”、“*”、“()”;所述前缀数据包括“86”、“00”、“010”、“755”等,具体实例有:“+(86)13885158888”,其中“+(86)”为前缀信息,“13885158888”为固定号码信息。In the embodiment of the present invention, the number information mainly represents detailed information about the contact's communication number, and the number information includes prefix information and fixed number information. Wherein, the prefix information includes symbol data or prefix data used in the fixed number information for identification, for example, the symbol data includes "+", "#", "/", "*", "( )"; the prefix data includes "86", "00", "010", "755", etc. The specific examples are: "+(86)13885158888", where "+(86)" is the prefix information, "13885158888 " is the fixed number information.

可选的,所述检测模块还包括:Optionally, the detection module also includes:

第一获取单元:用于获取通讯录联系人的号码信息;The first obtaining unit: used to obtain the number information of the contacts in the address book;

识别单元:用于获取关于所述号码信息的号码规则表,识别该号码信息中包含的固定号码信息;An identification unit: used to obtain a number rule table about the number information, and identify the fixed number information included in the number information;

提取单元:用于根据所述固定号码信息提取出所述前缀信息。An extracting unit: used to extract the prefix information according to the fixed number information.

具体的,所述号码规则表根据通信号码存在的常规特性而设定,用于限定所述固定号码信息的架构组成。Specifically, the number rule table is set according to the conventional characteristics of communication numbers, and is used to define the structural composition of the fixed number information.

所述通信号码的常规特征有:在国内大陆,座机号码的固定号码信息的位数一般有六位或者七位又或者八位,手机号码的固定号码信息的位数一般有十一位;在香港,座机号码及手机号码的固定号码信息的位数一般为八位。The conventional features of the communication number include: in the domestic mainland, the number of fixed number information of landline numbers generally has six or seven or eight digits, and the number of fixed number information of mobile phone numbers generally has eleven digits; In Hong Kong, the fixed number information of landline numbers and mobile phone numbers generally has eight digits.

本发明实施例中,所述获取通讯录联系人的号码信息主要体现在:In the embodiment of the present invention, the acquisition of the number information of the contacts in the address book is mainly reflected in:

通过接收用户作用于用户界面上相关控件而触发的用于进入号码信息显示界面的显示指令,响应于所述显示指令,获取进入存储有所述号码信息的通讯录数据库的索引号,根据所述索引号读取对应的号码信息,并根据用户选择将所述号码信息显示于所述显示界面上;By receiving the display instruction for entering the number information display interface triggered by the user acting on the relevant controls on the user interface, in response to the display instruction, obtain the index number for entering the address book database storing the number information, according to the The index number reads the corresponding number information, and displays the number information on the display interface according to the user selection;

或者根据用户作用于用户界面用于提取相关号码信息的控件,触发相应的提取指令并提取通讯录中联系人的号码信息以备用。Alternatively, according to the user acting on the control for extracting the relevant number information on the user interface, a corresponding extraction instruction is triggered and the number information of the contacts in the address book is extracted for backup.

本发明实施例中,显示所述号码信息的相应显示界面上包括有针对所述联系人号码信息进行编辑和/或分享的相关控件信息。In the embodiment of the present invention, the corresponding display interface displaying the number information includes relevant control information for editing and/or sharing the contact number information.

分组模块12:用于分析所述前缀信息的特征属性,将具有相同特征属性的号码信息归为一组,并根据不同的特征属性将所述号码信息归类为多组。Grouping module 12: for analyzing the characteristic attributes of the prefix information, grouping the number information with the same characteristic attribute into one group, and classifying the number information into multiple groups according to different characteristic attributes.

具体的,本发明实施例中,所述分组模块包括:Specifically, in the embodiment of the present invention, the grouping module includes:

第一确认单元:用于根据所述前缀信息对照表,确认所述前缀信息的特征属性;The first confirming unit: used to confirm the characteristic attributes of the prefix information according to the prefix information comparison table;

分组单元:用于以首次被确认的特征属性为单位建立分组,根据不同的特征属性定义不同的分组;Grouping unit: used to establish groups based on the first confirmed feature attribute, and define different groups according to different feature attributes;

划分单元:用于将具不同特征属性的所述号码信息对应划分于不同的分组中并显示于用户界面。Dividing unit: for correspondingly dividing the number information with different characteristic attributes into different groups and displaying them on the user interface.

本发明实施例中,所述前缀信息对照表中表示所述前缀信息与特征属性的对应关系,所述特征属性包括所述前缀信息代表的地域码,其中所述地域码是国家码或地区码、或区码。当确认所述特征属性中包含有地域码时,将根据不同的地或国家码与区码的组合域码建立不同的分组,且以预设的方式区分所述不同的分组。所述预设的方式包括将地域码为单位收纳同地域码的号码信息以弹窗或列表或下拉框的形式显示于用户界面。另外的,根据不同的国家码或地区码或区码得以确认不同的国家名称或地区名称,故本发明实施例同样以不同国家名称或地区名称或区码为单位建立不同的分组并收纳相同归属地的号码信息为一组。In the embodiment of the present invention, the prefix information comparison table indicates the correspondence between the prefix information and the characteristic attribute, and the characteristic attribute includes the region code represented by the prefix information, wherein the region code is a country code or an area code , or area code. When it is confirmed that the feature attribute contains the region code, different groups will be established according to different regions or combinations of country codes and region codes, and the different groups will be distinguished in a preset manner. The preset method includes displaying the number information of the same area code in the unit of the area code on the user interface in the form of a pop-up window, a list, or a drop-down box. In addition, different country names or region names can be confirmed according to different country codes or region codes or region codes, so the embodiment of the present invention also uses different country names or region names or region codes as units to establish different groups and accommodate the same attribution The number information of the land is a group.

其中,所述地域码是指被叫所在国家/地区、城市等,一般可以用国家码码/地区码、区码表示。Wherein, the region code refers to the country/region, city, etc. where the called party is located, and generally can be represented by a country code/region code, or an area code.

可选择的是,本发明实施例中,所述特征属性还包括所述前缀信息包含的字符信息,例如所述字符信息有“+”、“*”、“()”等。其中将根据所述前 缀信息中带有的字符信息建立不同的分组。Optionally, in this embodiment of the present invention, the characteristic attribute further includes character information contained in the prefix information, for example, the character information includes "+", "*", "()" and so on. Wherein different groups will be established according to the character information contained in the prefix information.

值得一提的是,本发明实施例中,根据所述前缀信息不同的特征属性建立不同的分组,其具体体现在以下几个方面:It is worth mentioning that in the embodiment of the present invention, different groups are established according to different characteristic attributes of the prefix information, which is specifically reflected in the following aspects:

第一方面,当接收到用户查看号码信息时而触发的分组指令时,响应于所述分组指令,获取被确认的所述特征属性及其对应的地域码或字符信息;In the first aspect, when the grouping instruction triggered by the user viewing the number information is received, in response to the grouping instruction, acquire the confirmed characteristic attribute and its corresponding region code or character information;

第二方面,当接收到用户进行选择查看分组的号码信息时而触发的分类指令时,响应于所述分类指令,获取用户指定选择查看的特征属性,确认该特征属性中的地域码和/或字符信息为指定项并获取与所述指定项相对应的号码信息并显示于用户界面。In the second aspect, when the classification instruction triggered when the user chooses to view the number information of the group is received, in response to the classification instruction, obtain the feature attribute specified by the user to view, and confirm the region code and/or character in the feature attribute The information is a specified item, and the number information corresponding to the specified item is obtained and displayed on the user interface.

可选择的,本发明实施例中,所述前缀信息表示为运营商对应的标识信息,则所述前缀信息包含于所述固定号码信息中,例如中国移动运营商对应的固定号码信息前缀有“134、135、136、137、138、139、147、150、151、152、157、158、159、182、183、184、187、188”;中国联通运营商对应的固定号码信息前缀有“130、131、132、135、155、156、145、176、185、186”;中国电信运营商对应的固定号码信息前缀有“133、153、173、177、180、181、189”。其中将以该前缀信息所代表的运营商为单位建立不同的分组。Optionally, in this embodiment of the present invention, the prefix information is represented as identification information corresponding to the operator, and the prefix information is included in the fixed number information, for example, the fixed number information corresponding to China Mobile is prefixed with " 134, 135, 136, 137, 138, 139, 147, 150, 151, 152, 157, 158, 159, 182, 183, 184, 187, 188"; the fixed number information corresponding to China Unicom operator is prefixed with "130 . Different groups will be established based on the operator represented by the prefix information.

另外的,针对前缀信息包含的一种或多种特征属性,接收用户选择查看的所述指定项,并获取该指定项对应的号码信息并显示于用户界面;其中所述指定项包括所述前缀信息代表的以下任意一个或多个:国家码、地区码、区码、运营商、字符信息。In addition, for one or more characteristic attributes contained in the prefix information, receive the specified item selected by the user to view, and obtain the number information corresponding to the specified item and display it on the user interface; wherein the specified item includes the prefix Any one or more of the following represented by the information: country code, area code, area code, operator, and character information.

例如:通讯录中有联系人小红、小马、小秋、小丹、小东、小阳;其对应存储于所述通讯录的号码信息分别为:“+(86)13864421123”、“13724521456”、“8615545641789”、“13225141101”、“0012138079427”、“852-310082”。当用户选择查看带地域码的全部号码信息时,将显示以86或中国大陆、001或美国或213或洛杉矶、852或香港为单位建立的分组,另外将针对前缀信息“86、001、852”进行编辑;当用户选择查看带有运营商的全部号码信息时,将显示以移动、联通及其他为单位而建立的分组;当用户选择查看带有字符信息的全部号码信息时,将显示以“+”“-”为单位建立的分组。For example: there are contacts Xiaohong, Xiaoma, Xiaoqiu, Xiaodan, Xiaodong, and Xiaoyang in the address book; the corresponding numbers stored in the address book are: "+(86)13864421123", "13724521456 ", "8615545641789", "13225141101", "0012138079427", "852-310082". When the user chooses to view all number information with area codes, it will display the groups established with 86 or mainland China, 001 or the United States or 213 or Los Angeles, 852 or Hong Kong as the unit, and the prefix information "86, 001, 852" will be displayed Edit; when the user chooses to view all number information with operators, it will display the groups established by China Mobile, China Unicom and others; when the user chooses to view all number information with character information, it will display " +""-" is the grouping established by the unit.

接收模块13:用于针对相同特征属性和/或不同特征属性的号码信息,接收用户作用在用于编辑其中的一个或多个号码信息的前缀信息的相关控件而触发 的编辑指令。Receiving module 13: for the number information of the same characteristic attribute and/or different characteristic attributes, receiving the edit instruction triggered by the user acting on the relevant control for editing the prefix information of one or more number information among them.

具体的,本发明实施例中,所述针对相同特征属性和/或不同特征属性的号码信息,接收用户作用于用于编辑所述前缀信息的相关控件而触发的编辑指令,其中所述用于编辑所述前缀信息的相关控件包括以下任意一种:删除所述前缀信息的删除控件、将所述前缀信息替换为另一前缀信息的替换控件、在原有所述前缀信息的基础上添加另一前缀信息的添加控件;相对应的,所述编辑指令包括以下任意一种:针对所述前缀信息的删除指令、替换指令、添加指令。Specifically, in this embodiment of the present invention, for the number information of the same characteristic attribute and/or different characteristic attributes, an editing instruction triggered by the user acting on a related control for editing the prefix information is received, wherein the used The relevant controls for editing the prefix information include any of the following: a delete control for deleting the prefix information, a replacement control for replacing the prefix information with another prefix information, and adding another prefix information based on the original prefix information. A control for adding prefix information; correspondingly, the editing instruction includes any one of the following: a deletion instruction, a replacement instruction, and an addition instruction for the prefix information.

本发明实施例中,所述针对相同特征属性和/或不同特征属性的号码信息,接收用户作用在用于编辑其中的一个或多个号码信息的前缀信息的相关控件而触发的编辑指令,其中用户进行编辑的对象包括一种特征属性分组中的一个或多个联系人的号码信息或多种特征属性分组中的一个或多个联系人的号码信息,实现可跨组别选择不同的需编辑的前缀信息的号码信息的作用。In the embodiment of the present invention, for the number information of the same characteristic attribute and/or different characteristic attributes, an editing instruction triggered by the user acting on a relevant control for editing the prefix information of one or more number information among them is received, wherein The object to be edited by the user includes the number information of one or more contacts in a feature attribute group or the number information of one or more contacts in multiple feature attribute groups, so that different groups can be selected to be edited The role of the number information of the prefix information.

如上述例子所述,以“86”为单位的分组中有“小红+(86)13864421123”、“小秋8615545641789”,以中国移动为单位的分组中有“小红+(86)13864421123”、“小马13724521456”,以中国联通为单位的分组中有“小秋8615545641789”、“小丹13225141101”,以美国为单位的分组中有“小东0012138079427”,以香港为单位的分组中有“小阳852-310082”,以字符信息“+”为单位的分组中有“小红+(86)13864421123”、“小秋8615545641789”,以字符信息“-”为单位的分组中有“小阳852-310082”。另外的,通过用户选择其中不同或相同特征属性的分组中的任意一个或多个联系人,根据选择的联系人接收用户作用于用户界面上相关控件而触发的编辑指令。As mentioned in the above example, there are "Xiaohong+(86)13864421123" and "Xiaoqiu 8615545641789" in the group with "86" as the unit, and "Xiaohong+(86)13864421123" in the group with China Mobile as the unit , "Xiaoma 13724521456", "Xiaoqiu 8615545641789" and "Xiaodan 13225141101" in the group based on China Unicom, "Xiaodong 0012138079427" in the group based on the United States, and "Xiaodong 0012138079427" in the group based on Hong Kong "Xiaoyang 852-310082", in the group with the character information "+" as the unit, there are "Xiaohong+(86)13864421123", "Xiaoqiu 8615545641789", in the group with the character information "-" as the unit "Xiaohong Yang 852-310082". In addition, when the user selects any one or more contacts in the group with different or the same characteristic attributes, according to the selected contact, an editing instruction triggered by the user acting on a related control on the user interface is received.

第一确认模块14:用于响应于所述编辑指令,确认用户选定的所述编辑指令对应的号码信息为目标项,并针对该目标项执行所述编辑指令。The first confirmation module 14 is configured to, in response to the editing instruction, confirm that the number information corresponding to the editing instruction selected by the user is a target item, and execute the editing instruction for the target item.

具体的,本发明实施例中,所述目标项包括以下任意一种:一组相同特征属性的号码信息、多组不同特征属性的号码信息、一个号码信息、多个具有相同特征属性的号码信息及多个具有不同特征属性的号码信息。Specifically, in the embodiment of the present invention, the target item includes any of the following: a group of number information with the same characteristic attribute, multiple sets of number information with different characteristic attributes, one number information, multiple number information with the same characteristic attribute And multiple number information with different characteristic attributes.

具体的,本发明实施例中,所述第一确认模块包括:Specifically, in the embodiment of the present invention, the first confirmation module includes:

指令单元:用于根据用户在所述号码信息对应显示界面上的选择操作,触发相关的选定指令以根据该选定指令确定所述目标项。An instruction unit: configured to trigger a relevant selection instruction according to a user's selection operation on the display interface corresponding to the number information, so as to determine the target item according to the selection instruction.

可选的,本发明实施例中,所述第一确认模块还包括:Optionally, in the embodiment of the present invention, the first confirmation module further includes:

更新显示单元:用于将经执行过所述编辑指令的目标项更新于所述通讯录中和/或显示于用户界面。An update display unit: used to update the target item that has been executed with the editing instruction in the address book and/or display it on the user interface.

本发明实施例中,所述目标项与上述指定项并不完全相同,但相同点在于两者同样根据用户在用户界面上的选择操作而确认所述目标项或指定项,不同点在于所述目标项接收用户针对不同或相同特征属性的联系人号码信息级进行选择确认的,所述指定项针对号码信息中具有的各特征属性选择而确认的。In the embodiment of the present invention, the target item is not exactly the same as the above specified item, but the same point is that the two also confirm the target item or specified item according to the selection operation of the user on the user interface, and the difference lies in the The target item receives the user's selection and confirmation of contact number information levels with different or the same feature attributes, and the specified item is selected and confirmed for each feature attribute included in the number information.

其中所述针对该目标项执行所述编辑指令,具体形式包括以下任意一种:响应于所述删除指令,删除所述目标项中包含有与所述指定项相对应特征属性的前缀信息;响应于所述替换指令,将所述目标项中包含的前缀信息替换为所述指定项相对应特征属性的前缀信息;响应于所述添加指令,在保留原有前缀信息的基础上于所述目标项的前缀部分添加上与所述指定项相对应特征属性的前缀信息。其中添加的位置将根据用户于预览构图中选择添加的位置而定义,所述预览构图为表示该号码信息的构造以供用户选择添加前缀信息的位置而设置,所述预览构图包括一个或多个特征属性及固定号码信息。另外于所述预览构图中选择添加前缀信息的位置包括如下任意一种:首个特征属性之前、特征属性与特征属性之间、特征属性与固定号码信息之间、固定号码信息之后。Wherein, the specific form of executing the editing instruction for the target item includes any of the following: in response to the deletion instruction, deleting the prefix information in the target item that contains the characteristic attribute corresponding to the specified item; responding In the replacement instruction, the prefix information contained in the target item is replaced with the prefix information of the corresponding feature attribute of the specified item; in response to the addition instruction, on the basis of retaining the original prefix information in the target The prefix information of the feature attribute corresponding to the specified item is added to the prefix part of the item. The added position will be defined according to the position selected by the user in the preview composition. The preview composition is set to represent the structure of the number information for the user to choose to add the prefix information. The preview composition includes one or more Feature attributes and fixed number information. In addition, the position for adding prefix information in the preview composition includes any of the following: before the first characteristic attribute, between characteristic attributes and characteristic attributes, between characteristic attributes and fixed number information, and after fixed number information.

如上述例子所述,接收用户选择操作确认“小红+(86)13864421123”、“小秋8615545641789”为所述目标项,当执行所述删除指令以删除所述目标项的前缀信息时,所得的执行结果为:“小红13864421123”、“小秋15545641789”;当执行所述替换指令以替换所述目标项的前缀信息时,,将接收用户选择的用于替换所述目标项的前缀信息的指定项“12520”,所得的执行结果为:“小红1252013864421123”、“小秋1252015545641789”;当执行所述添加指令以添加所述指定项“0”,并接收用户选择的添加位置为“特征属性与固定号码信息之间”,故根据所述添加位置及指定项,所得的执行结果将为“小红+(86)013864421123”、“小秋86015545641789”。As described in the above example, when the user selects and confirms that "Xiaohong+(86)13864421123" and "Xiaoqiu 8615545641789" are the target items, when the delete command is executed to delete the prefix information of the target item, the obtained The execution results of are: "Xiaohong 13864421123", "Xiaoqiu 15545641789"; when the replacement instruction is executed to replace the prefix information of the target item, the prefix information selected by the user for replacing the target item will be received The specified item "12520", the execution results obtained are: "Xiaohong 1252013864421123", "Xiaoqiu 1252015545641789"; when the adding instruction is executed to add the specified item "0", and the adding position selected by the user is " Between the feature attribute and the fixed number information", so according to the added location and specified item, the execution result obtained will be "Xiaohong+(86)013864421123", "Xiaoqiu 86015545641789".

进一步的,请参照图4中所示的一种针对通讯号码的处理系统的一个实施例的结构框图,所述一种针对通讯号码的处理系统,还包括:Further, please refer to the structural block diagram of an embodiment of a processing system for communication numbers shown in FIG. 4 , the system for processing communication numbers further includes:

获取模块21:用于获取所述联系人的号码信息于历史通话记录中的通话详情。Obtaining module 21: used to obtain the call details of the contact's number information in the historical call records.

本发明实施例中,所述获取模块21具体包括:In the embodiment of the present invention, the acquisition module 21 specifically includes:

添加单元:用于获取所述通话详情中包含的预存于移动终端的呼叫服务信息,并将所述呼叫服务信息添加到所述所述前缀信息对照表中。Adding unit: used to obtain the call service information pre-stored in the mobile terminal included in the call details, and add the call service information to the prefix information comparison table.

本发明实施例中,所述呼叫服务信息中包括:运营商名、前缀、费率、被呼叫地区、时间段、是否需要地域码(即国家码/地区码)、是否需要区码。其中所述前缀有异于所述前缀信息,其前缀表示在一定费率的基础上以及时间段内于被叫号码前添加指定前缀得以相应的费率收费,其考虑用户的费用支出,提供了最优的费用支出最优的方案;其所属前缀信息包含有上述前缀,其泛指添加在固定号码信息前的全部数据。In the embodiment of the present invention, the call service information includes: operator name, prefix, rate, called area, time period, whether a region code is required (that is, a country code/area code), and whether an area code is required. Wherein the prefix is different from the prefix information, the prefix indicates that on the basis of a certain rate and within a certain period of time, a specified prefix is added before the called number to be charged at a corresponding rate, which considers the user's expenses and provides The optimal cost-expenditure solution; its prefix information includes the above-mentioned prefix, which generally refers to all the data added before the fixed number information.

本发明实施例中,所述呼叫服务信息为当运营商的服务器检测到移动终端进入到所述运营商的服务区后,向所述移动终端发送的至少包括有运营商在本地提供的呼叫服务对应的费率、时间段、当前被叫号码地区和前缀的呼叫服务信息中一种或多种。In the embodiment of the present invention, the call service information is sent to the mobile terminal after the operator's server detects that the mobile terminal has entered the service area of the operator, at least including the call service information provided locally by the operator. One or more of the corresponding rate, time period, current called number area and prefix call service information.

可以选择的,本发明实施例中,在运营商的服务器端采用统一格式,通过短信方式或其他广播方式向进入服务区的移动终端发送提供的呼叫服务信息。Optionally, in the embodiment of the present invention, the operator's server adopts a unified format to send the provided call service information to the mobile terminals entering the service area through SMS or other broadcasting methods.

本发明实施例中,运营商的服务器端向移动终端发送呼叫服务信息的过程,包括:In the embodiment of the present invention, the process of the operator's server sending the call service information to the mobile terminal includes:

运营商的服务器端检测移动终端是否进入运营商的服务区,即是否进入到与该运营商服务器相连的基站服务范围,如果有移动终端进入到服务区,则进入下续步骤;否则,返回,继续检测;The operator's server side detects whether the mobile terminal enters the operator's service area, that is, whether it enters the service range of the base station connected to the operator's server. If a mobile terminal enters the service area, then enter the next step; otherwise, return, Continue testing;

移动终端对该服务区进行注册,并且基站还会发送运营商标识给移动终端;The mobile terminal registers with the service area, and the base station also sends the operator identification to the mobile terminal;

在注册完毕后,触发运营商服务器发送所述一定格式的呼叫服务信息给移动终端。After the registration is completed, the operator server is triggered to send the call service information in a certain format to the mobile terminal.

本发明实施例中,移动终端接收呼叫服务信息的过程,包括:In the embodiment of the present invention, the process for the mobile terminal to receive call service information includes:

移动终端进入一个新的服务区完成注册后,判断是否收到短消息,如果是则进行下述步骤;否则,返回,继续等待。After the mobile terminal enters a new service area and completes the registration, it judges whether it has received a short message, and if so, proceeds to the following steps; otherwise, returns and continues to wait.

检查收到的短消息的格式,比如:检查该短消息的开头和结尾,并判断是否符合预定格式,如果是,则进行下述步骤,否则,按照普通短消息处理。Check the format of the received short message, such as: check the beginning and end of the short message, and judge whether it meets the predetermined format, if so, then carry out the following steps, otherwise, process according to the common short message.

移动终端将收到的短消息中的呼叫服务信息保存在本地的前缀信息对照表中。The mobile terminal saves the call service information in the received short message in a local prefix information comparison table.

第二确认模块22:用于根据所述通话详情,确认所述联系人的号码信息对 应的被叫号码归属地信息。The second confirmation module 22: used for confirming the attribution information of the called number corresponding to the number information of the contact according to the call details.

具体的,本发明实施例中,所述第二确认模块22包括:Specifically, in the embodiment of the present invention, the second confirmation module 22 includes:

第一发送单元:用于针对所述联系人的号码信息向服务器发送相应的归属地信息查询请求;The first sending unit: for sending a corresponding attribution information query request to the server for the number information of the contact;

接收单元:用于接收服务器接收到该查询请求后反馈而至的该联系人的被叫号码归属地信息;其中所述被叫号码归属地信息预先存储于所述前缀信息对照表或通话详情中。Receiving unit: used to receive the attribution information of the contact's called number fed back by the server after receiving the query request; wherein the attribution information of the called number is pre-stored in the prefix information comparison table or call details .

可选的,本发明实施例中,还包括统计出同一号码信息的通话详情中包含的同一号码地区的重复比例;确认所述重复比例较大的号码地区为所述当前被叫号码地区。Optionally, in the embodiment of the present invention, it also includes counting the repetition ratio of the same number region included in the call details of the same number information; confirming that the number region with a larger repetition ratio is the current called number region.

本发明实施例中,所述根据所述通话详情实质是根据其中预先存储于移动终端的呼叫服务信息,该呼叫服务信息中包括有所述被呼叫地区,其中所述被呼叫地区表示被叫号码终端当前所处的服务区位置,其还可具体体现在该被叫号码终端所处的国家码/地区码或区码。另外根据被叫号码归属地信息确认相应的关于归属地的国家码/地区码或区码,并存储于所述前缀信息对照表中。In the embodiment of the present invention, the said call details are essentially based on the call service information pre-stored in the mobile terminal, the call service information includes the called region, wherein the called region represents the called number The current service area location of the terminal can also be embodied in the country code/area code or area code where the called number terminal is located. In addition, according to the attribution information of the called number, the corresponding country code/area code or area code of the attribution is confirmed and stored in the prefix information comparison table.

本发明实施例中,所述确认所述联系人的号码信息对应的当前被叫号码地区,其利用所述历史通话记录中所存储的关于同一号码信息的一个或多个被呼叫地区而确定;若同一号码信息中存在有多个被呼叫地区,则对所述多个被呼叫地区进行重复比例的统计,确认其中重复比例最大的被呼叫地区为所述当前被叫号码地区。In the embodiment of the present invention, the confirmation of the current called number area corresponding to the number information of the contact person is determined by using one or more called areas of the same number information stored in the historical call records; If there are multiple called regions in the same number information, then perform statistics on the repetition ratio of the multiple called regions, and confirm that the called region with the largest repetition ratio is the current called number region.

例如:小丹在联系人通讯录中存储的为中国联通归属于深圳服务厅的手机号码,其号码信息为“13225141101”,通过主叫号码对应终端或服务器中存储的号码地区有:深圳、广州、上海、北京以及杭州,其中分别占的比例是:20%、70%、2%、1%、7%;故确认小丹对应的所述当前被叫号码地区为广州,其对应的区码为020,国家码为0086。For example: Xiaodan stores in the contacts address book a mobile phone number belonging to China Unicom's Shenzhen Service Office, and its number information is "13225141101". The number areas stored in the corresponding terminal or server through the calling number are: Shenzhen, Guangzhou , Shanghai, Beijing, and Hangzhou, and the respective proportions are: 20%, 70%, 2%, 1%, and 7%; therefore, it is confirmed that the area of the current called number corresponding to Xiaodan is Guangzhou, and its corresponding area code is 020, and the country code is 0086.

生成模块23:用于根据获取当前用户所处的主叫号码地区并结合所述当前被叫号码地区,获取相应的所述前缀信息对照表。Generating module 23: used to obtain the corresponding prefix information comparison table according to the obtained calling number region where the current user is located and combining with the current called number region.

具体的,本发明实施例中,所述生成模块23包括:Specifically, in the embodiment of the present invention, the generation module 23 includes:

第二确认单元:用于通过GPS定位系统确认当前用户所处的服务区;The second confirmation unit: used to confirm the service area where the current user is located through the GPS positioning system;

第二发送单元:用于根据所述服务区,向该服务区对应服务器发送定位请 求及归属地信息查询请求;The second sending unit: used for sending a positioning request and an attribution information query request to the server corresponding to the service area according to the service area;

响应单元:用于响应于所述定位请求及查询请求获取当前所述主叫号码地区及主叫号码归属地信息。Response unit: used to respond to the location request and query request to obtain the current calling number region and calling number information.

本发明实施例中,根据所述主叫号码地区并结合所述当前被叫号码地区,获取相应的所述前缀信息对照表,具体步骤包括:In the embodiment of the present invention, according to the calling number region and combined with the current called number region, the corresponding prefix information comparison table is obtained, and the specific steps include:

根据所述主叫号码归属地信息、被叫号码归属地信息、主叫号码地区及当前被叫号码地区,由所述前缀信息对照表中获取相应的国家码/地区码、区码;According to the attribution information of the calling number, the attribution information of the called number, the area of the calling number, and the area of the current called number, obtain the corresponding country code/area code and area code from the prefix information comparison table;

获取所述前缀信息对照表中是否需要国家码/地区码一项中的内容,判断还是否需要添加国家码/地区码,如果是,则在号码中添加国家码/地区码,进入下述步骤;否则,直接进入下述步骤。Obtain the content of whether the country code/area code is required in the prefix information comparison table, and determine whether the country code/area code needs to be added, if yes, add the country code/area code to the number, and proceed to the following steps ; Otherwise, go directly to the following steps.

获取所述前缀信息对照表中是否需要区码一项中的内容,判断还是否需要添加区码,如果是,则在号码中添加区码,进入下述步骤;否则,直接进入下述步骤;Obtain whether the content in the area code item in the prefix information comparison table is needed, and judge whether the area code needs to be added, if yes, add the area code to the number, and enter the following steps; otherwise, directly enter the following steps;

生成已添加前缀信息的号码信息显示于用户界面或存储于本地通讯录中或发送至服务器。The generated number information with added prefix information is displayed on the user interface or stored in the local address book or sent to the server.

推送模块24:用于根据所述前缀信息对照表,推送与所述当前用户所处地域相关的拨号建议;其中所述拨号建议指的是各运营商与号码信息之间的对应关系或在最优费率的基础上提出的拨号时在号码信息前选择添加前缀信息的建议。Pushing module 24: used to push a dialing suggestion related to the region where the current user is located according to the prefix information comparison table; wherein the dialing suggestion refers to the corresponding relationship between each operator and number information or at the latest Based on the premium rate, it is suggested to choose to add prefix information before the number information when dialing.

具体的,本发明实施例中,所述推送模块包括:Specifically, in the embodiment of the present invention, the push module includes:

第二获取单元:用于根据所述拨号建议,获取所述前缀信息表中分别与所述当前被叫号码地区和当前主叫号码地区对应的前缀信息;The second obtaining unit: used to obtain the prefix information respectively corresponding to the current called number region and the current calling number region in the prefix information table according to the dialing suggestion;

生成单元:用于响应于当前用户触发的与联系人进行通信的通信指令,按照所述号码规则表,生成添加有所述前缀信息的号码信息并拨出。A generating unit: configured to generate and dial out number information added with the prefix information according to the number rule table in response to a communication instruction triggered by the current user to communicate with a contact.

本发明实施例中,在呼叫触发后,根据被叫号码归属地信息,在所述前缀信息对照表中选出可向该归属地进行呼叫的呼叫服务信息;比较所选出的呼叫服务信息在当前时间下的费率,找出费率最低的一个呼叫服务信息;将所选呼叫服务信息中的前缀信息添加到被呼叫号码前,并结合判断是否需要国家码/地区码和/或区码后得出的相应判断结果,接收用户选择添加的国家码/地区码和/或区码后拨出。In the embodiment of the present invention, after the call is triggered, according to the attribution information of the called number, the call service information that can be called to the attribution is selected in the prefix information comparison table; the selected call service information is compared in the Rate at the current time, find out the call service information with the lowest rate; add the prefix information in the selected call service information to the called number, and combine to determine whether the country code/area code and/or area code is required The corresponding judgment result obtained after receiving the country code/area code and/or area code selected by the user is dialed out.

具体的,本发明实施例中,所述生成单元包括:Specifically, in the embodiment of the present invention, the generation unit includes:

存储子单元:用于依据于当前用户操作,将所述前缀信息添加至所述通信指令对应的号码信息中并保存至通讯录中。Storage subunit: used to add the prefix information to the number information corresponding to the communication instruction and save it in the address book according to the current user operation.

其中,对于通讯录里的存储的电话号码类型的号码信息,需要保存前缀信息的国家码/地区码和区码;手机号码只需要保存国家码/地区码。Among them, for the number information of the type of phone number stored in the address book, the country code/area code and area code of the prefix information need to be saved; the mobile phone number only needs to save the country code/area code.

下面具体说明本发明方法的一个较佳实施例。A preferred embodiment of the method of the present invention is described in detail below.

在移动终端的通讯录中,为每个号码信息保存其所对应的国家码/地区码和区码,参见表3所示。In the address book of the mobile terminal, the corresponding country code/area code and area code are saved for each number information, as shown in Table 3.

姓名Name 国家码/地区码Country code/area code 区码area code 座机号码Landline number 姓名Name 国家码/地区码Country code/area code 手机号码cellphone number

表3table 3

在运营商的服务器端采用统一格式,通过短信方式或其他广播方式向进入服务区的移动终端发送提供的呼叫服务信息,至少包括:前缀、拨打各地的各个时间段的费用率等。一个较佳地实施例的格式参见表4所示。The operator's server adopts a unified format, and sends the provided call service information to mobile terminals entering the service area through SMS or other broadcast methods, including at least: prefixes, charging rates for various time periods in various places, etc. Refer to Table 4 for the format of a preferred embodiment.

表4Table 4

另外的,本发明实施例中,所述推送与所述当前用户所处地域相关的拨号建议具体实现方式有以下任意一种:In addition, in the embodiment of the present invention, the specific implementation manners of pushing the dialing suggestion related to the region where the current user is located include any of the following:

获取添加相应前缀信息后的被叫号码信息并将其推送至主叫号码对应终端显示屏以供用户选择并拨出。Obtain the called number information after adding the corresponding prefix information and push it to the display screen of the terminal corresponding to the calling number for the user to select and dial out.

另外的,本发明实施例中,当拨出的经用户选择添加相应前缀信息后的被叫号码时,主叫号码对应终端接收到服务器反馈的无效号码的反馈信息后,将触发关于所述被叫号码信息的重新检索指令以更新相应的前缀信息或验证该被叫号码是否为空号数据。In addition, in the embodiment of the present invention, when the user selects the called number to which the corresponding prefix information is added, the terminal corresponding to the calling number will trigger the information about the called number after receiving the feedback information of the invalid number fed back by the server. The re-retrieval instruction of the called number information is used to update the corresponding prefix information or verify whether the called number is empty number data.

相应的,本发明还提供一种针对通讯号码的处理设备,应用了如上述所述针对通讯号码的处理方法或上述所述针对通讯号码的处理系统,在此不进行赘述。Correspondingly, the present invention also provides a processing device for communication numbers, which uses the above-mentioned processing method for communication numbers or the above-mentioned processing system for communication numbers, which will not be repeated here.

总的来说,本发明针对通讯号码进行处理,其主要根据不同前缀信息的特 征属性,将通讯录中联系人号码信息进行分组并实现统一编辑的功能,其统一编辑主要针对的是所述号码信息的前缀信息,通过用户选定的号码信息并确认为目标项以对该目标项进行前缀信息的编辑,其为用户编辑前缀号码信息提供了巨大的便利,用户不需每次都要进行手动修改或添加前缀信息,实现一键修改或添加前缀信息的目的。另外根据前缀信息的不同特征属性将号码信息进行分组分类,导致具有相同前缀信息的号码信息分为同一组,这对查看号码信息带来了极大的方便性,提高了通讯录号码信息的浏览效率,提高用户使用体验。In general, the present invention deals with communication numbers. It mainly groups the contact number information in the address book according to the characteristic attributes of different prefix information and realizes the function of unified editing. The unified editing is mainly aimed at the numbers. The prefix information of the information, through the number information selected by the user and confirmed as the target item to edit the prefix information of the target item, it provides great convenience for the user to edit the prefix number information, and the user does not need to do it manually every time Modify or add prefix information to achieve the purpose of modifying or adding prefix information with one click. In addition, the number information is grouped and classified according to the different characteristic attributes of the prefix information, resulting in the number information with the same prefix information being divided into the same group, which brings great convenience to viewing the number information and improves the browsing of the number information in the address book efficiency and improve user experience.

另外的,在进行国内或国外长途电话时,本发明将通过获取被呼叫号码的号码地区以及主叫号码当前所处的号码地区,并结合前缀信息对照表,推送与所述当前用户所处地域相关的拨号建议,其中拨号建议指的是各运营商与号码信息之间的对应关系并在最优费率的基础上提出的拨号时在号码信息前选择添加前缀信息的建议,这为用户的选择和操作带来了极大的便利。In addition, when making a domestic or foreign long-distance call, the present invention will obtain the number area of the called number and the number area where the calling number is currently located, and combine the prefix information comparison table to push the number corresponding to the area where the current user is located. Related dialing suggestions, where the dialing suggestion refers to the corresponding relationship between each operator and the number information and the suggestion to add prefix information before the number information when dialing based on the optimal rate, which is for the user's Selection and operation bring great convenience.

综上所述,本发明根据前缀信息的不同特征属性将号码信息进行分组分类,导致具有相同前缀信息的号码信息分为同一组,这对查看号码信息带来了极大的方便性,提高了通讯录号码信息的浏览效率,提高用户使用体验;另外在拨号建议的使用下,使得人与人之间的联系省去了不少繁琐的工序,使得用户的选择和操作更为便利。In summary, the present invention classifies the number information into groups according to the different characteristic attributes of the prefix information, so that the number information with the same prefix information is divided into the same group, which brings great convenience to viewing the number information and improves the The browsing efficiency of the address book number information improves the user experience; in addition, with the use of dialing suggestions, many tedious procedures are saved for the contact between people, making the user's selection and operation more convenient.

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

虽然上面已经示出了本发明的一些示例性实施例,但是本领域的技术人员将理解,在不脱离本发明的原理或精神的情况下,可以对这些示例性实施例做出改变,本发明的范围由权利要求及其等同物限定。Although some exemplary embodiments of the present invention have been shown above, those skilled in the art will appreciate that changes can be made to these exemplary embodiments without departing from the principle or spirit of the present invention. The scope is defined by the claims and their equivalents.

Claims (25)

1.一种针对通讯号码的处理方法,其特征在于,包括以下步骤:1. A processing method for communication numbers, characterized in that, comprising the following steps: 获取通讯录联系人的号码信息;针对所述号码信息的前缀信息的前导部分,获取前缀信息对照表并进行一对一的数据匹配;根据匹配结果输出号码信息中包含的前缀信息;Obtain the number information of the contact person in the address book; for the leading part of the prefix information of the number information, obtain a prefix information comparison table and perform one-to-one data matching; output the prefix information contained in the number information according to the matching result; 分析所述前缀信息的特征属性,将具有相同特征属性的号码信息归为一组,并根据不同的特征属性将所述号码信息归类为多组;analyzing the characteristic attributes of the prefix information, grouping the number information with the same characteristic attribute into one group, and classifying the number information into multiple groups according to different characteristic attributes; 针对相同特征属性和/或不同特征属性的号码信息,接收用户作用在用于编辑其中的一个或多个号码信息的前缀信息的相关控件而触发的编辑指令;For number information with the same characteristic attribute and/or different characteristic attributes, receive an editing instruction triggered by the user acting on a relevant control for editing the prefix information of one or more number information; 响应于所述编辑指令,确认用户选定的所述编辑指令对应的号码信息为目标项,并针对该目标项执行所述编辑指令;Responding to the editing instruction, confirming that the number information corresponding to the editing instruction selected by the user is a target item, and executing the editing instruction for the target item; 根据获取当前用户所处的主叫号码地区并结合当前被叫号码地区,获取相应的所述前缀信息对照表;根据所述前缀信息对照表,推送与所述当前用户所处地域相关的拨号建议;Obtain the corresponding prefix information comparison table according to the obtained calling number region where the current user is located and combined with the current called number region; push dialing suggestions related to the region where the current user is located according to the prefix information comparison table ; 其中,所述被叫号码地区来源于历史通话记录中的通话详情;统计出同一号码信息的通话详情中包含的同一号码地区的重复比例,确认所述重复比例较大的号码地区为当前被叫号码地区;所述拨号建议指的是各运营商与号码信息之间的对应关系或在最优费率的基础上提出的拨号时在号码信息前选择添加前缀信息的建议。Wherein, the called number region is derived from the call details in the historical call records; the repetition ratio of the same number region contained in the call details of the same number information is counted, and the number region with a larger repetition ratio is confirmed to be the currently called Number region; the dialing suggestion refers to the corresponding relationship between each operator and the number information or the suggestion to add prefix information before the number information when dialing based on the optimal rate. 2.根据权利要求1所述的处理方法,其特征在于,所述前缀信息对照表预先设置存储于本地数据库中通过获取云端服务器更新数据以更新该对照表。2. The processing method according to claim 1, wherein the prefix information comparison table is preset and stored in a local database, and the comparison table is updated by obtaining update data from a cloud server. 3.根据权利要求1所述的处理方法,其特征在于,所述前导部分主要根据预先设置的平分规则将所述号码信息进行平均划分而成,所述前缀信息包含于所述前导部分,其中所述平分规则为限定所述号码信息的识别范围,该平分规则以所述号码信息对应的字符数为平分的基础将所述号码信息平均分为两个部分,并将所述号码信息的前半部分定义为所述前导部分。3. The processing method according to claim 1, wherein the leading part is mainly formed by equally dividing the number information according to a preset equal division rule, and the prefix information is included in the leading part, wherein The equal division rule is to limit the identification range of the number information. The equal division rule divides the number information into two parts on the basis of the number of characters corresponding to the number information, and divides the first half of the number information into two parts. section is defined as the leading section. 4.根据权利要求1所述的处理方法,其特征在于,所述分析所述前缀信息的特征属性,将具有相同特征属性的号码信息归为一组,并根据不同的特征属性将所述号码信息归类为多组,包括以下步骤:4. The processing method according to claim 1, characterized in that, analyzing the characteristic attributes of the prefix information, grouping number information with the same characteristic attributes into one group, and dividing the number information according to different characteristic attributes Information is categorized into groups and includes the following steps: 根据所述前缀信息对照表,确认所述前缀信息的特征属性;Confirming the characteristic attributes of the prefix information according to the prefix information comparison table; 以首次被确认的特征属性为单位建立分组,根据不同的特征属性定义不同的分组;Establish groups based on the first confirmed feature attribute, and define different groups according to different feature attributes; 将具不同特征属性的所述号码信息对应划分于不同的分组中并显示于用户界面。The number information with different characteristic attributes is correspondingly divided into different groups and displayed on the user interface. 5.根据权利要求1所述的处理方法,其特征在于,所述针对相同特征属性和/或不同特征属性的号码信息,接收用户作用于用于编辑所述前缀信息的相关控件而触发的编辑指令,其中所述用于编辑所述前缀信息的相关控件包括以下任意一种:删除所述前缀信息的删除控件、将所述前缀信息替换为另一前缀信息的替换控件、在原有所述前缀信息的基础上添加另一前缀信息的添加控件;相对应的,所述编辑指令包括以下任意一种:针对所述前缀信息的删除指令、替换指令、添加指令。5. The processing method according to claim 1, characterized in that, for the number information of the same characteristic attribute and/or different characteristic attributes, an edit triggered by the user acting on a related control for editing the prefix information is received Instructions, wherein the relevant controls for editing the prefix information include any of the following: a delete control for deleting the prefix information, a replacement control for replacing the prefix information with another prefix information, An adding control for adding another prefix information based on the information; correspondingly, the editing instruction includes any one of the following: a deletion instruction, a replacement instruction, and an addition instruction for the prefix information. 6.根据权利要求1所述的处理方法,其特征在于,所述目标项包括以下任意一种:一组相同特征属性的号码信息、多组不同特征属性的号码信息、一个号码信息、多个具有相同特征属性的号码信息及多个具有不同特征属性的号码信息。6. The processing method according to claim 1, wherein the target item includes any one of the following: a group of number information of the same characteristic attribute, multiple groups of number information of different characteristic attributes, one number information, multiple Number information with the same characteristic attribute and multiple number information with different characteristic attributes. 7.根据权利要求1所述的处理方法,其特征在于,所述响应于所述编辑指令,确认用户选定的所述编辑指令对应的号码信息为目标项,并针对该目标项执行所述编辑指令,包括以下步骤:7. The processing method according to claim 1, wherein in response to the editing instruction, confirming that the number information corresponding to the editing instruction selected by the user is a target item, and executing the Editing instructions, including the following steps: 根据用户在所述号码信息对应显示界面上的选择操作,触发相关的选定指令以根据该选定指令确定所述目标项。According to the user's selection operation on the display interface corresponding to the number information, a related selection instruction is triggered to determine the target item according to the selection instruction. 8.根据权利要求7所述的处理方法,其特征在于,所述响应于所述编辑指令,确认用户选定的所述编辑指令对应的号码信息为目标项,并针对该目标项执行所述编辑指令,还包括以下步骤:8. The processing method according to claim 7, wherein in response to the editing instruction, confirming that the number information corresponding to the editing instruction selected by the user is a target item, and executing the Editing instructions also include the following steps: 将经执行过所述编辑指令的目标项更新于所述通讯录中和/或显示于用户界面。The target item that has been executed with the editing instruction is updated in the address book and/or displayed on a user interface. 9.根据权利要求1所述的处理方法,其特征在于,根据所述通话详情,确认所述联系人的号码信息对应的被叫号码归属地信息,包括以下步骤:9. The processing method according to claim 1, wherein, according to the call details, confirming the attribution information of the called number corresponding to the number information of the contact includes the following steps: 针对所述联系人的号码信息向服务器发送相应的归属地信息查询请求;Sending a corresponding attribution information query request to the server for the number information of the contact; 接收服务器接收到该查询请求后反馈而至的该联系人的被叫号码归属地信息;其中所述被叫号码归属地信息预先存储于所述前缀信息对照表或通话详情中。The attribution information of the called number of the contact is fed back by the receiving server after receiving the query request; wherein the attribution information of the called number is pre-stored in the prefix information comparison table or call details. 10.根据权利要求1所述的处理方法,其特征在于,所述根据获取当前用户所处的主叫号码地区并结合所述当前被叫号码地区,获取相应的所述前缀信息对照表,包括以下步骤:10. The processing method according to claim 1, characterized in that, according to obtaining the calling number area where the current user is located and combining the current called number area, the corresponding prefix information comparison table is obtained, including The following steps: 通过GPS定位系统确认当前用户所处的服务区;Confirm the service area where the current user is located through the GPS positioning system; 根据所述服务区,向该服务区对应服务器发送定位请求及归属地信息查询请求;According to the service area, send a positioning request and an attribution information query request to the server corresponding to the service area; 响应于所述定位请求及查询请求获取当前所述主叫号码地区及主叫号码归属地信息。In response to the positioning request and the query request, obtain the current calling number region and calling number attribution information. 11.根据权利要求1所述的处理方法,其特征在于,所述根据所述前缀信息对照表,推送与所述当前用户所处地域相关的拨号建议,包括以下步骤:11. The processing method according to claim 1, wherein, according to the prefix information comparison table, pushing the dialing suggestion related to the region where the current user is located comprises the following steps: 根据所述拨号建议,获取所述前缀信息对照表中分别与所述当前被叫号码地区和当前主叫号码地区对应的前缀信息;According to the dialing suggestion, obtain the prefix information corresponding to the current called number area and the current calling number area in the prefix information comparison table; 响应于当前用户触发的与联系人进行通信的通信指令,按照号码规则表,生成添加有所述前缀信息的号码信息并拨出。In response to the communication instruction to communicate with the contact triggered by the current user, the number information added with the prefix information is generated and dialed out according to the number rule table. 12.根据权利要求11所述的处理方法,其特征在于,所述响应于当前用户触发的与联系人进行通信的通信指令,生成添加有所述前缀信息的号码信息并拨出,包括以下步骤:12. The processing method according to claim 11, characterized in that, in response to the communication instruction triggered by the current user to communicate with the contact, generating and dialing out the number information added with the prefix information, comprising the following steps : 依据于当前用户操作,将所述前缀信息添加至所述通信指令对应的号码信息中并保存至通讯录中。According to the current user operation, the prefix information is added to the number information corresponding to the communication instruction and saved in the address book. 13.一种针对通讯号码的处理系统,其特征在于,包括:13. A processing system for communication numbers, characterized in that it comprises: 检测模块:用于检测通讯录中联系人的号码信息中包含的前缀信息;所述检测模块包括:第一获取单元:用于获取通讯录联系人的号码信息;匹配单元:用于针对所述号码信息的前缀信息的前导部分,获取前缀信息对照表并进行一对一的数据匹配;输出单元:用于根据匹配结果输出号码信息中包含的前缀信息;Detection module: used to detect the prefix information contained in the number information of the contacts in the address book; the detection module includes: a first acquisition unit: used to obtain the number information of the contacts in the address book; matching unit: used for the The leading part of the prefix information of the number information obtains the prefix information comparison table and performs one-to-one data matching; output unit: used to output the prefix information contained in the number information according to the matching result; 分组模块:用于分析所述前缀信息的特征属性,将具有相同特征属性的号码信息归为一组,并根据不同的特征属性将所述号码信息归类为多组;Grouping module: used to analyze the characteristic attributes of the prefix information, group the number information with the same characteristic attributes into one group, and classify the number information into multiple groups according to different characteristic attributes; 接收模块:用于针对相同特征属性和/或不同特征属性的号码信息,接收用户作用在用于编辑其中的一个或多个号码信息的前缀信息的相关控件而触发的编辑指令;Receiving module: for number information with the same characteristic attribute and/or different characteristic attributes, receiving an editing instruction triggered by the user acting on a relevant control for editing the prefix information of one or more number information; 第一确认模块:用于响应于所述编辑指令,确认用户选定的所述编辑指令对应的号码信息为目标项,并针对该目标项执行所述编辑指令;The first confirmation module: in response to the editing instruction, confirming that the number information corresponding to the editing instruction selected by the user is a target item, and executing the editing instruction for the target item; 获取模块:用于获取所述联系人的号码信息于历史通话记录中的通话详情;Obtaining module: used to obtain the call details of the number information of the contact in the historical call record; 第二确认模块:用于根据所述通话详情,确认所述联系人的号码信息对应的被叫号码地区;The second confirmation module: used to confirm the called number area corresponding to the number information of the contact according to the call details; 生成模块:用于根据获取当前用户所处的主叫号码地区并结合当前被叫号码地区,获取相应的所述前缀信息对照表;Generating module: used to obtain the corresponding prefix information comparison table according to the calling number area where the current user is located and in combination with the current called number area; 推送模块:用于根据所述前缀信息对照表,推送与所述当前用户所处地域相关的拨号建议;其中所述拨号建议指的是各运营商与号码信息之间的对应关系或在最优费率的基础上提出的拨号时在号码信息前选择添加前缀信息的建议;Pushing module: used to push the dialing suggestion related to the region where the current user is located according to the prefix information comparison table; wherein the dialing suggestion refers to the corresponding relationship between each operator and number information or in the optimal Suggestion to choose to add prefix information before the number information when dialing based on the rate; 所述被叫号码地区来源于历史通话记录中的通话详情;统计出同一号码信息的通话详情中包含的同一号码地区的重复比例,确认所述重复比例较大的号码地区为当前被叫号码地区。The called number region is derived from the call details in the historical call records; count the repetition ratio of the same number region contained in the call details of the same number information, and confirm that the number region with a larger repetition ratio is the current called number region . 14.根据权利要求13所述的处理系统,其特征在于,所述前缀信息对照表预先设置存储于本地数据库中通过获取云端服务器更新数据以更新该对照表。14. The processing system according to claim 13, wherein the prefix information comparison table is preset and stored in a local database, and the comparison table is updated by obtaining update data from a cloud server. 15.根据权利要求13所述的处理系统,其特征在于,所述前导部分主要根据预先设置的平分规则将所述号码信息进行平均划分而成,所述前缀信息包含于所述前导部分,其中所述平分规则为限定所述号码信息的识别范围,该平分规则以所述号码信息对应的字符数为平分的基础将所述号码信息平均分为两个部分,并将所述号码信息的前半部分定义为所述前导部分。15. The processing system according to claim 13, wherein the leading part is mainly formed by dividing the number information equally according to a preset equal division rule, and the prefix information is included in the leading part, wherein The equal division rule is to limit the identification range of the number information. The equal division rule divides the number information into two parts on the basis of the number of characters corresponding to the number information, and divides the first half of the number information into two parts. section is defined as the leading section. 16.根据权利要求13所述的处理系统,其特征在于,所述分组模块包括:16. The processing system according to claim 13, wherein the grouping module comprises: 第一确认单元:用于根据所述前缀信息对照表,确认所述前缀信息的特征属性;The first confirming unit: used to confirm the characteristic attributes of the prefix information according to the prefix information comparison table; 分组单元:用于以首次被确认的特征属性为单位建立分组,根据不同的特征属性定义不同的分组;Grouping unit: used to establish groups based on the first confirmed feature attribute, and define different groups according to different feature attributes; 划分单元:用于将具不同特征属性的所述号码信息对应划分于不同的分组中并显示于用户界面。Dividing unit: for correspondingly dividing the number information with different characteristic attributes into different groups and displaying them on the user interface. 17.根据权利要求13所述的处理系统,其特征在于,所述针对相同特征属性和/或不同特征属性的号码信息,接收用户作用于用于编辑所述前缀信息的相关控件而触发的编辑指令,其中所述用于编辑所述前缀信息的相关控件包括以下任意一种:删除所述前缀信息的删除控件、将所述前缀信息替换为另一前缀信息的替换控件、在原有所述前缀信息的基础上添加另一前缀信息的添加控件;相对应的,所述编辑指令包括以下任意一种:针对所述前缀信息的删除指令、替换指令、添加指令。17. The processing system according to claim 13, characterized in that, for the number information of the same characteristic attribute and/or different characteristic attributes, an edit triggered by the user acting on a related control for editing the prefix information is received Instructions, wherein the relevant controls for editing the prefix information include any of the following: a delete control for deleting the prefix information, a replacement control for replacing the prefix information with another prefix information, An adding control for adding another prefix information based on the information; correspondingly, the editing instruction includes any of the following: a deletion instruction, a replacement instruction, and an addition instruction for the prefix information. 18.根据权利要求13所述的处理系统,其特征在于,所述目标项包括以下任意一种:一组相同特征属性的号码信息、多组不同特征属性的号码信息、一个号码信息、多个具有相同特征属性的号码信息及多个具有不同特征属性的号码信息。18. The processing system according to claim 13, wherein the target item includes any one of the following: a group of number information of the same characteristic attribute, multiple groups of number information of different characteristic attributes, one number information, multiple Number information with the same characteristic attribute and multiple number information with different characteristic attributes. 19.根据权利要求13所述的处理系统,其特征在于,所述第一确认模块包括:19. The processing system according to claim 13, wherein the first confirmation module comprises: 指令单元:用于根据用户在所述号码信息对应显示界面上的选择操作,触发相关的选定指令以根据该选定指令确定所述目标项。An instruction unit: configured to trigger a relevant selection instruction according to a user's selection operation on the display interface corresponding to the number information, so as to determine the target item according to the selection instruction. 20.根据权利要求19所述的处理系统,其特征在于,所述第一确认模块还包括:20. The processing system according to claim 19, wherein the first confirmation module further comprises: 更新显示单元:用于将经执行过所述编辑指令的目标项更新于所述通讯录中和/或显示于用户界面。An update display unit: used to update the target item that has been executed with the editing instruction in the address book and/or display it on the user interface. 21.根据权利要求13所述的处理系统,其特征在于,所述第二确认模块包括:21. The processing system according to claim 13, wherein the second confirmation module comprises: 第一发送单元:用于针对所述联系人的号码信息向服务器发送相应的归属地信息查询请求;The first sending unit: for sending a corresponding attribution information query request to the server for the number information of the contact; 接收单元:用于接收服务器接收到该查询请求后反馈而至的该联系人的被叫号码归属地信息;其中所述被叫号码归属地信息预先存储于所述前缀信息对照表或通话详情中。Receiving unit: used to receive the attribution information of the contact's called number fed back by the server after receiving the query request; wherein the attribution information of the called number is pre-stored in the prefix information comparison table or call details . 22.根据权利要求13所述的处理系统,其特征在于,所述生成模块包括:22. The processing system according to claim 13, wherein the generating module comprises: 第二确认单元:用于通过GPS定位系统确认当前用户所处的服务区;The second confirmation unit: used to confirm the service area where the current user is located through the GPS positioning system; 第二发送单元:用于根据所述服务区,向该服务区对应服务器发送定位请求及归属地信息查询请求;The second sending unit: used to send a positioning request and an attribution information query request to a server corresponding to the service area according to the service area; 响应单元:用于响应于所述定位请求及查询请求获取当前所述主叫号码地区及主叫号码归属地信息。Response unit: used to respond to the positioning request and query request to obtain the current calling number region and calling number attribution information. 23.根据权利要求13所述的处理系统,其特征在于,所述推送模块包括:23. The processing system according to claim 13, wherein the pushing module comprises: 第二获取单元:用于根据所述拨号建议,获取所述前缀信息对照表中分别与所述当前被叫号码地区和当前主叫号码地区对应的前缀信息;The second obtaining unit: used to obtain the prefix information respectively corresponding to the current called number region and the current calling number region in the prefix information comparison table according to the dialing suggestion; 生成单元:用于响应于当前用户触发的与联系人进行通信的通信指令,按照号码规则表,生成添加有所述前缀信息的号码信息并拨出。A generating unit: configured to generate and dial out the number information added with the prefix information according to the number rule table in response to a communication instruction for communicating with a contact triggered by the current user. 24.根据权利要求23所述的处理系统,其特征在于,所述生成单元包括:24. The processing system according to claim 23, wherein the generating unit comprises: 存储子单元:用于依据于当前用户操作,将所述前缀信息添加至所述通信指令对应的号码信息中并保存至通讯录中。Storage subunit: used to add the prefix information to the number information corresponding to the communication instruction and save it in the address book according to the current user operation. 25.一种针对通讯号码的处理设备,其特征在于,应用了如权利要求13-24中任意一项所述的系统。25. A processing device for communication numbers, characterized in that the system according to any one of claims 13-24 is applied.
CN201611110358.5A 2016-12-06 2016-12-06 Processing method, system and equipment for communication number Expired - Fee Related CN106850922B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611110358.5A CN106850922B (en) 2016-12-06 2016-12-06 Processing method, system and equipment for communication number

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611110358.5A CN106850922B (en) 2016-12-06 2016-12-06 Processing method, system and equipment for communication number

Publications (2)

Publication Number Publication Date
CN106850922A CN106850922A (en) 2017-06-13
CN106850922B true CN106850922B (en) 2019-12-10

Family

ID=59145928

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611110358.5A Expired - Fee Related CN106850922B (en) 2016-12-06 2016-12-06 Processing method, system and equipment for communication number

Country Status (1)

Country Link
CN (1) CN106850922B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110109907B (en) * 2017-12-27 2021-08-24 航天信息股份有限公司 Tax data storage and query method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1301450A (en) * 1998-03-18 2001-06-27 夸尔柯姆股份有限公司 System and method for the automatic pre-pending of digits in a wireless communication device
CN1960536A (en) * 2005-11-03 2007-05-09 三星电子株式会社 Method and apparatus for displaying information directory in mobile communication terminal
CN101098553A (en) * 2006-06-30 2008-01-02 联想(北京)有限公司 Method and device for implementing automatic selection prefix calling
WO2014000542A1 (en) * 2012-06-28 2014-01-03 中兴通讯股份有限公司 Dialing method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1301450A (en) * 1998-03-18 2001-06-27 夸尔柯姆股份有限公司 System and method for the automatic pre-pending of digits in a wireless communication device
CN1960536A (en) * 2005-11-03 2007-05-09 三星电子株式会社 Method and apparatus for displaying information directory in mobile communication terminal
CN101098553A (en) * 2006-06-30 2008-01-02 联想(北京)有限公司 Method and device for implementing automatic selection prefix calling
WO2014000542A1 (en) * 2012-06-28 2014-01-03 中兴通讯股份有限公司 Dialing method and device
CN103516916A (en) * 2012-06-28 2014-01-15 中兴通讯股份有限公司 Dialing method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
iPhone5通讯录批量添加+86的方法;周豆豆打豆豆;《iTools》;20130702;截图1-2 *

Also Published As

Publication number Publication date
CN106850922A (en) 2017-06-13

Similar Documents

Publication Publication Date Title
US7187932B1 (en) Autopopulation of address book entries
TWI492607B (en) Techniques for populating a contact list
US20040204117A1 (en) Roamers' friendly phone book - method and device
US20110113073A1 (en) Method for providing address book unification service to mobile terminal
CN104053126B (en) Show wireless communication terminal, the device and method of both call sides position
CN103501374A (en) Telephone book sequencing method and device as well as terminal
CN103973859A (en) Dialing method and device and mobile terminal
CN102148887A (en) Method for displaying region and weather of cellphone incoming call contacter
US10819845B2 (en) Country-specific telephone number system analysis system using machine learning technique, and telephone connection method using same
CN103428686A (en) User number backfilling method and number backfilling server based on in-network mutual dialing and calling
CN101937271A (en) Method and device for inputting contact information and mobile terminal
CN104717340B (en) The method and apparatus that dialed number is provided
US7333836B2 (en) System and method for providing mobile device capability to a wireless network subscriber
CN101098553B (en) Method and device for implementing automatic selection prefix calling
CN106850922B (en) Processing method, system and equipment for communication number
CN103108310B (en) Mobile terminal function set identification method and platform
CN104780251A (en) Telephone dialing automatic conversion device and telephone dialing automatic conversion method
WO2013167015A2 (en) Method, apparatus and mobile terminal for implementing profile mode setting
CN103024124A (en) Method and device for searching an address book
CN101150869A (en) A method and device for realizing intelligent communication of a mobile terminal
CN103929734B (en) Beidou mobile terminal equipment and its addressing method
CN103533150A (en) Method and device for sending electronic business card
CN114900576B (en) A dialing processing method and mobile terminal
CN105744503B (en) Information processing method and electronic equipment
CN101287149A (en) Method and system for providing value-added services based on mobile user attributes

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20170721

Address after: 100102, 18 floor, building 2, Wangjing street, Beijing, Chaoyang District, 1801

Applicant after: BEIJING ANYUNSHIJI TECHNOLOGY Co.,Ltd.

Address before: 100088 Beijing city Xicheng District xinjiekouwai Street 28, block D room 112 (Desheng Park)

Applicant before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20191210

CF01 Termination of patent right due to non-payment of annual fee