CN108881383A - Address book data processing method, device, computer equipment and storage medium - Google Patents
Address book data processing method, device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN108881383A CN108881383A CN201810428407.2A CN201810428407A CN108881383A CN 108881383 A CN108881383 A CN 108881383A CN 201810428407 A CN201810428407 A CN 201810428407A CN 108881383 A CN108881383 A CN 108881383A
- Authority
- CN
- China
- Prior art keywords
- communication data
- contact
- default
- data
- contact person
- 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.)
- Granted
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 10
- 238000004891 communication Methods 0.000 claims abstract description 424
- 238000006243 chemical reaction Methods 0.000 claims abstract description 59
- 238000000034 method Methods 0.000 claims abstract description 35
- 238000004590 computer program Methods 0.000 claims description 31
- 238000013507 mapping Methods 0.000 claims description 21
- 238000012545 processing Methods 0.000 claims description 14
- 238000013475 authorization Methods 0.000 claims description 4
- 238000012795 verification Methods 0.000 description 14
- 239000000284 extract Substances 0.000 description 7
- 238000003491 array Methods 0.000 description 5
- 238000004364 calculation method Methods 0.000 description 5
- 238000011161 development Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 238000012790 confirmation Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012216 screening Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/565—Conversion or adaptation of application format or content
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0428—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Telephonic Communication Services (AREA)
Abstract
本申请涉及一种通讯录数据处理方法、装置、计算机设备和存储介质。所述方法包括:接收联系人通讯数据获取指令;根据联系人通讯数据获取指令获取默认通讯数据;接收对默认通讯数据的选择指令,并获取选择指令所选中的第一默认通讯数据;查找第一默认通讯数据对应的第一完整通讯数据;获取预设格式转换逻辑,根据预设格式转换逻辑将第一完整通讯数据进行标准化处理得到第一通讯数据,将第一通讯数据发送给业务服务器。采用本方法能够减少应用程序的程序包的大小。
The present application relates to an address book data processing method, device, computer equipment and storage medium. The method includes: receiving an instruction for obtaining communication data from a contact; obtaining default communication data according to the instruction for obtaining communication data from a contact; receiving an instruction for selecting the default communication data, and obtaining the first default communication data selected by the selection instruction; searching for the first The first complete communication data corresponding to the default communication data; obtain the preset format conversion logic, standardize the first complete communication data according to the preset format conversion logic to obtain the first communication data, and send the first communication data to the service server. Using this method can reduce the size of the package of the application program.
Description
技术领域technical field
本申请涉及计算机技术领域,特别是涉及一种通讯录数据处理方法、装置、计算机设备和存储介质。The present application relates to the field of computer technology, in particular to an address book data processing method, device, computer equipment and storage medium.
背景技术Background technique
在现在的金融商城平台中,接入了许多第三方的金融产品。用户通过金融商城平台的应用程序购买第三方金融产品时通常需要身份认证,在身份认证的过程中需要添加联系人信息,因此,许多第三方金融产品通常具有读取用户通讯录数据的需求。为了实现读取通讯录的需求,现有的金融商城平台的应用程序中通常需要接入多个第三方开发的软件包,第三方通过软件包获取通讯录数据。但是,平台接入的第三方数量增多时,会造成金融商城平台应用程序的程序包过大,并且也会加大第三方的开发工作量和平台方的接入工作量。In the current financial mall platform, many third-party financial products are connected. When users purchase third-party financial products through financial mall platform applications, identity authentication is usually required, and contact information needs to be added during the identity authentication process. Therefore, many third-party financial products usually have the need to read user address book data. In order to meet the requirement of reading the address book, the application programs of the existing financial mall platform usually need to access multiple software packages developed by third parties, and the third parties obtain address book data through the software packages. However, when the number of third parties connected to the platform increases, the program package of the financial mall platform application program will be too large, and it will also increase the development workload of the third party and the access workload of the platform side.
发明内容Contents of the invention
基于此,有必要针对上述技术问题,提供一种能够减少应用程序的程序包的大小的通讯录数据处理方法、装置、计算机设备和存储介质。Based on this, it is necessary to provide an address book data processing method, device, computer equipment and storage medium capable of reducing the size of the program package of the application program in order to address the above technical problems.
一种通讯录数据方法,所述方法包括:A method for address book data, the method comprising:
接收联系人通讯数据获取指令;Receive an instruction to acquire contact communication data;
根据所述联系人通讯数据获取指令获取默认通讯数据;Obtain default communication data according to the contact communication data acquisition instruction;
接收对所述默认通讯数据的选择指令,并获取所述选择指令所选中的第一默认通讯数据;receiving a selection instruction for the default communication data, and obtaining the first default communication data selected by the selection instruction;
查找所述第一默认通讯数据对应的第一完整通讯数据;Find the first complete communication data corresponding to the first default communication data;
获取预设格式转换逻辑,根据所述预设格式转换逻辑将所述第一完整通讯数据进行标准化处理得到第一通讯数据,将所述第一通讯数据发送给业务服务器。Obtain preset format conversion logic, standardize the first complete communication data according to the preset format conversion logic to obtain first communication data, and send the first communication data to the service server.
在其中一个实施例中,所述根据所述预设格式转换逻辑将所述第一完整通讯数据进行标准化处理得到第一通讯数据,包括:In one of the embodiments, the standardizing the first complete communication data according to the preset format conversion logic to obtain the first communication data includes:
获取字段名映射表;Obtain the field name mapping table;
获取所述第一完整通讯数据中的原始字段名,从所述字段名映射表中查找与所述原始字段名对应的标准字段名,将所述原始字段名替换为所述标准字段名;Obtain the original field name in the first complete communication data, search the standard field name corresponding to the original field name from the field name mapping table, and replace the original field name with the standard field name;
从所述第一完整通讯数据中提取具有相同字段名的字段内容,根据提取出的字段内容和对应的字段名生成字段数组,将生成的各字段数组按照预设顺序进行排列生成第一通讯数据。Extracting the field content with the same field name from the first complete communication data, generating a field array according to the extracted field content and the corresponding field name, and arranging the generated field arrays according to a preset order to generate the first communication data .
在其中一个实施例中,所述根据所述联系人通讯数据获取指令获取默认通讯数据,包括:In one of the embodiments, the acquiring default communication data according to the contact communication data acquisition instruction includes:
获取默认通讯数据的权限状态;Obtain the permission status of the default communication data;
当所述权限状态为授权读取状态时,根据所述联系人通讯数据获取指令获取默认通讯数据。When the permission status is the authorized reading status, the default communication data is acquired according to the contact communication data acquisition instruction.
在其中一个实施例中,还包括:所述获取默认通讯数据的权限状态之后,还包括:In one of the embodiments, it also includes: after obtaining the permission status of the default communication data, it also includes:
当所述权限状态为非授权读取状态时,生成联系人通讯数据输入提示;When the authorization state is an unauthorized reading state, a contact communication data input prompt is generated;
接收输入的与所述联系人通讯数据输入提示对应的联系人通讯数据,对所述联系人通讯数据进行格式校验;receiving the input contact communication data corresponding to the input prompt of the contact communication data, and performing format verification on the contact communication data;
当格式校验通过时,获取预设格式转换逻辑,根据所述预设格式转换逻辑将所述联系人通讯数据进行标准化处理得到第二通讯数据,将所述第二通讯数据发送给业务服务器。When the format verification is passed, the preset format conversion logic is obtained, and the contact communication data is standardized according to the preset format conversion logic to obtain second communication data, and the second communication data is sent to the service server.
在其中一个实施例中,所述获取所述选择指令所选中的第一默认通讯数据之后,还包括:In one of the embodiments, after acquiring the first default communication data selected by the selection instruction, it further includes:
查找所述第一默认通讯数据对应的通讯记录;Searching for a communication record corresponding to the first default communication data;
根据所述通讯记录计算所述第一默认通讯数据对应的第一联系人的第一联系系数;calculating a first contact coefficient of the first contact corresponding to the first default communication data according to the communication record;
当根据所述第一联系系数判断所述第一联系人为非可信联系人时,生成联系人更换提示。When it is determined according to the first contact coefficient that the first contact is an untrusted contact, a contact replacement prompt is generated.
在其中一个实施例中,还包括:In one of the embodiments, it also includes:
当根据所述第一联系系数判断所述第一联系人为非可信联系人时,获取在预设时间内存在通讯记录的第二联系人;When judging that the first contact is an untrusted contact according to the first contact coefficient, acquiring a second contact who has a communication record within a preset time;
根据所述第二联系人的通讯记录计算出所述第二联系人的第二联系系数;calculating a second contact coefficient of the second contact according to the communication records of the second contact;
根据所述第二联系系数从所述第二联系人中筛选出推荐联系人;filtering out recommended contacts from the second contacts according to the second contact coefficient;
从所述通讯录中查找所述推荐联系人对应的默认通讯数据,根据所述推荐联系人对应的默认通讯数据生成联系人推荐提示;Find the default communication data corresponding to the recommended contact from the address book, and generate a contact recommendation prompt according to the default communication data corresponding to the recommended contact;
接收根据所述联系人推荐提示生成的推荐人选择指令,获取所述推荐人选择指令所选中的第二默认通讯数据;receiving a recommender selection instruction generated according to the contact recommendation prompt, and acquiring second default communication data selected by the recommender selection instruction;
查找所述第二默认通讯数据对应的第二完整通讯数据,将所述第二完整通讯数据根据预设格式转换逻辑进行标准化处理得到第三通讯数据,将所述第三通讯数据发送给业务服务器。Find the second complete communication data corresponding to the second default communication data, standardize the second complete communication data according to the preset format conversion logic to obtain third communication data, and send the third communication data to the service server .
在其中一个实施例中,还包括:所述将所述第一通讯数据发送给业务服务器,包括:In one of the embodiments, it also includes: the sending the first communication data to the service server includes:
将所述第一通讯数据进行加密,将加密后的第一通讯数据发送给业务服务器。The first communication data is encrypted, and the encrypted first communication data is sent to the service server.
一种通讯录数据处理装置,所述装置包括:A device for processing address book data, said device comprising:
指令接收模块,用于接收联系人通讯数据获取指令;An instruction receiving module, configured to receive an instruction for obtaining contact communication data;
默认数据获取模块,用于根据所述联系人通讯数据获取指令获取默认通讯数据;A default data acquisition module, configured to acquire default communication data according to the contact communication data acquisition instruction;
选中数据获取模块,用于接收对所述默认通讯数据的选择指令,并获取所述选择指令所选中的第一默认通讯数据;The selected data acquisition module is used to receive a selection instruction for the default communication data, and obtain the first default communication data selected by the selection instruction;
完整数据查找模块,用于查找所述第一默认通讯数据对应的第一完整通讯数据;a complete data search module, configured to search for the first complete communication data corresponding to the first default communication data;
标准数据转换模块,用于获取预设格式转换逻辑,根据所述预设格式转换逻辑将所述第一完整通讯数据进行标准化处理得到第一通讯数据,将所述第一通讯数据发送给业务服务器。A standard data conversion module, configured to obtain preset format conversion logic, standardize the first complete communication data according to the preset format conversion logic to obtain first communication data, and send the first communication data to the service server .
一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现上述方法的步骤。A computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program.
一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述方法的步骤。A computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above method are realized.
上述通讯录数据处理方法、装置、计算机设备和存储介质,将从本地获取的联系人的通讯数据转换为标准格式的通讯数据,将数据格式进行统一,无需业务方在应用程序中增加软件包自行读取通讯录数据,减少了第三方业务方的开发工作,从而应用程序中无须插入多个第三方的开发包,减小了应用程序的程序包的大小。同时,在获取选择的联系人默认通讯数据之后,自动获取该联系人的完整通讯数据,将完整的通讯数据发送给业务服务器,使业务方获取联系人更多的备用联系信息。The above-mentioned address book data processing method, device, computer equipment, and storage medium convert the communication data of contacts obtained locally into communication data in a standard format, unify the data format, and do not need the business side to add a software package to the application program by itself. Reading the address book data reduces the development work of the third-party business side, so that there is no need to insert multiple third-party development kits into the application program, which reduces the size of the program package of the application program. At the same time, after obtaining the default communication data of the selected contact, the complete communication data of the contact is automatically obtained, and the complete communication data is sent to the business server, so that the business party can obtain more backup contact information of the contact.
附图说明Description of drawings
图1为一个实施例中通讯录数据处理方法的应用场景图;Fig. 1 is an application scenario diagram of an address book data processing method in an embodiment;
图2为一个实施例中通讯录数据处理方法的流程示意图;FIG. 2 is a schematic flow diagram of a method for processing address book data in an embodiment;
图3为一个实施例中通讯录数据处理装置的结构框图;Fig. 3 is a structural block diagram of an address book data processing device in an embodiment;
图4为一个实施例中计算机设备的内部结构图。Figure 4 is an internal block diagram of a computer device in one embodiment.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.
本申请提供的通讯录数据处理方法,可以应用于如图1所示的应用环境中。其中,终端通过网络与服务器进行通信。终端接收到联系人通讯数据获取指令后,获取存储的默认通讯数据,接收到用户对默认通讯数据的选择指令后,查找与选择指令相对应的第一默认通讯数据,并查找与第一默认通讯数据对应的第一完整通讯数据,将第一完整通讯数据转换成标准格式的第一通讯数据,将标准格式的第一通讯数据发送给业务服务器。其中,终端可以但不限于是各种个人计算机、笔记本电脑、智能手机、平板电脑和便携式可穿戴设备,服务器可以用独立的服务器或者是多个服务器组成的服务器集群来实现。The address book data processing method provided in this application can be applied to the application environment shown in FIG. 1 . Wherein, the terminal communicates with the server through the network. After receiving the contact communication data acquisition instruction, the terminal obtains the stored default communication data, and after receiving the user's selection instruction for the default communication data, searches for the first default communication data corresponding to the selection instruction, and searches for the first default communication data corresponding to the first default communication data. For the first complete communication data corresponding to the data, convert the first complete communication data into the first communication data in the standard format, and send the first communication data in the standard format to the service server. Wherein, the terminal can be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers and portable wearable devices, and the server can be realized by an independent server or a server cluster composed of multiple servers.
在一个实施例中,如图2所示,提供了一种通讯录数据处理方法,以该方法应用于图1中的终端为例进行说明,包括以下步骤:In one embodiment, as shown in FIG. 2 , a method for processing address book data is provided. The method is applied to the terminal in FIG. 1 as an example for illustration, including the following steps:
步骤202,接收联系人通讯数据获取指令。Step 202, receiving an instruction for obtaining contact communication data.
终端上安装有各种应用程序,用户使用应用程序中的某些功能时需要进行身份认证。例如,应用程序为金融商城平台的应用程序时,金融商城平台上接入多个第三业务方提供的的金融产品,如贷款分期产品、小额贷款产品、基金产品、理财产品等。用户可以在终端上金融商品平台的应用程序上进行操作,可以申请购买金融产品或申请贷款额度等。用户在购买金融产品或申请贷款额度之前,进行用户注册或身份认证时,通常需要添加补充联系人的通讯信息,在添加补充联系人的通讯信息时,会向发出联系人通讯数据获取指令,终端接收联系人通讯数据获取指令。联系人通讯数据获取指令用于获取终端本地的存储的通讯录数据。Various applications are installed on the terminal, and users need to perform identity authentication when using certain functions in the applications. For example, when the application program is an application program of a financial mall platform, the financial mall platform accesses financial products provided by multiple third-party business parties, such as loan installment products, small loan products, fund products, wealth management products, etc. Users can operate on the application program of the financial product platform on the terminal, and can apply for the purchase of financial products or apply for a loan line, etc. Before purchasing a financial product or applying for a loan line, the user usually needs to add the communication information of the supplementary contact when performing user registration or identity authentication. When adding the communication information of the supplementary contact, an instruction will be sent to the terminal Receive a contact communication data acquisition instruction. The contact communication data obtaining instruction is used to obtain contact book data stored locally in the terminal.
具体地,在一个实施例中,用户在应用程序的注册页面设置有补充联系人添加选项,当用户通过点击、触摸等操作选中补充联系人添加选项后,生成联系人通讯数据获取指令。在其他实施例中,用户也可以通过发出语音口令、快捷键操作等方式发出联系人通讯数据获取指令,并不限于本实施例中的选择补充联系人添加选项的指令生成方式。Specifically, in one embodiment, the user sets a supplementary contact addition option on the registration page of the application, and when the user selects the supplementary contact addition option through operations such as clicking or touching, an instruction for obtaining contact communication data is generated. In other embodiments, the user may also issue an instruction to obtain contact communication data by issuing a voice password, shortcut key operation, etc., which is not limited to the instruction generation method of selecting the option of adding a supplementary contact in this embodiment.
步骤204,根据联系人通讯数据获取指令获取默认通讯数据。Step 204, acquire default communication data according to the contact's communication data acquisition instruction.
终端接收到联系人通讯数据之后,获取存储的默认通讯数据。终端本地的通讯数据包括用户所添加的所有联系人的通讯数据,具体地,通讯数据中可以包括联系人标识、联系人姓名、联系人移动电话、联系人座机电话、联系人邮箱或其他社交联系账号等多项数据。终端将其中的一项或多项设置为默认通讯数据,例如,可以只将联系人姓名设置为默认通讯数据,也可以将联系人姓名和联系人移动电话设置为默认通讯数据。After receiving the communication data of the contact, the terminal obtains the stored default communication data. The local communication data of the terminal includes the communication data of all the contacts added by the user. Specifically, the communication data may include the contact ID, the contact name, the contact mobile phone, the contact landline phone, the contact mailbox or other social contacts Account number and other data. The terminal sets one or more of them as the default communication data, for example, only the contact name can be set as the default communication data, or the contact name and the contact mobile phone can be set as the default communication data.
步骤206,接收对默认通讯数据的选择指令,并获取选择指令所选中的第一默认通讯数据。Step 206, receiving an instruction for selecting default communication data, and acquiring the first default communication data selected by the selection instruction.
终端查找到默认通讯数据后,可以将默认通讯数据以列表等形式展示在应用程序的页面上,列表中包括多个选项,每个选项对应一个联系人的默认通讯数据,供用户进行浏览和选择,当选中列表中的选项时,生成选择指令,终端接收选择指令,并从选择指令中获取用户所选中的第一默认通讯数据。After the terminal finds the default communication data, it can display the default communication data on the application page in the form of a list, etc. The list includes multiple options, and each option corresponds to the default communication data of a contact for users to browse and select , when an option in the list is selected, a selection instruction is generated, and the terminal receives the selection instruction, and obtains the first default communication data selected by the user from the selection instruction.
其中,第一默认通讯数据为用户所选择的想要添加为补充联系人的默认通讯数据。选择指令中可以包括用户选中的联系人的联系人标识,终端从选择指令中读取联系人标识,并从默认通讯数据中查找与联系人标识对应的第一默认通讯数据。Wherein, the first default communication data is the default communication data selected by the user and wants to be added as a supplementary contact. The selection command may include the contact ID of the contact selected by the user, and the terminal reads the contact ID from the selection command, and searches the default communication data for the first default communication data corresponding to the contact ID.
终端也可以不展示查找到的默认通讯数据,用户可以通过应用程序输入联系人姓名,例如通过输入框或通过语音输入等方式,当终端获取用户输入的联系人姓名之后,查找与联系人姓名对应的第一默认通讯数据,可以将查找到的第一默认通讯数据进行显示由用户进行确认,也可以不显示。The terminal does not need to display the found default communication data. The user can input the name of the contact through the application, such as through the input box or through voice input. After the terminal obtains the name of the contact entered by the user, it searches The found first default communication data may be displayed for confirmation by the user, or may not be displayed.
步骤208,查找第一默认通讯数据对应的第一完整通讯数据。Step 208, searching for the first complete communication data corresponding to the first default communication data.
终端获取到第一默认通讯数据之后,从通讯录数据中查找与第一默认通讯数据对应的第一完整通讯数据。第一完整通讯数据为用户所选择的想要添加为补充联系人的完整的通讯数据。具体地,终端可以从第一默认通信数据中提取出联系人标识、联系人姓名等数据项,查找与提取出的数据项对应的完整通讯数据。完整通讯数据中既包括默认通讯数据中的通讯数据项,也包括该联系人的其他通讯数据项。After acquiring the first default communication data, the terminal searches the address book data for the first complete communication data corresponding to the first default communication data. The first complete communication data is complete communication data selected by the user and wants to be added as a supplementary contact. Specifically, the terminal may extract data items such as a contact identifier and a contact name from the first default communication data, and search for complete communication data corresponding to the extracted data items. The complete communication data includes not only the communication data items in the default communication data, but also other communication data items of the contact.
步骤210,获取预设格式转换逻辑,根据预设格式转换逻辑将第一完整通讯数据进行标准化处理得到第一通讯数据,将第一通讯数据发送给业务服务器。Step 210, acquire preset format conversion logic, standardize the first complete communication data according to the preset format conversion logic to obtain first communication data, and send the first communication data to the service server.
应用程序可能被安装不同品牌、不同型号的终端上,不同终端上的通讯录的数据格式之间可能存在较大的差异,并且,应用程序对应的各个业务第三方都有获取联系人通讯数据的需求,并事先与各业务第三方约定好标准的数据格式,因此,应用程序在将获取的通讯数据发送给业务第三方之前,需对通讯数据的数据格式进行统一。The application may be installed on terminals of different brands and models, and there may be large differences in the data format of the address book on different terminals, and each business third party corresponding to the application has access to contact communication data. Therefore, the application needs to unify the data format of the communication data before sending the acquired communication data to the third party.
终端获取预先存储在本地的预设格式转换逻辑,预设格式转换逻辑是指将终端本地的通讯数据转换成标准格式的通讯数据的转换规则,可以包括本地字段与标准字段间的映射关系,本地通讯数据与标准通讯数据之间数据结构的转换规则等新。终端获取预设格式转换逻辑之后,将第一完整通讯数据按照预设格式转换逻辑转化为标准数据格式的第一通讯数据,终端获取用户进行注册的金融产品的产品标识,根据产品标识查找金融产品所属的业务方的业务标识,将标准数据格式的第一通讯数据发送给业务标识对应的业务服务器。The terminal obtains the preset format conversion logic pre-stored locally. The preset format conversion logic refers to the conversion rule for converting the local communication data of the terminal into the communication data of the standard format, which may include the mapping relationship between local fields and standard fields. The conversion rules of data structures between communication data and standard communication data are new. After the terminal obtains the preset format conversion logic, it converts the first complete communication data into the first communication data in the standard data format according to the preset format conversion logic, the terminal obtains the product identification of the financial product registered by the user, and searches for the financial product according to the product identification The service identification of the service party to which it belongs sends the first communication data in a standard data format to the service server corresponding to the service identification.
上述通讯录数据处理方法,终端将从本地获取的联系人的通讯数据转换为标准格式的通讯数据,将数据格式进行统一,无需业务方在应用程序中增加软件包自行读取通讯录数据,减少了业务方的开发工作,从而应用程序中无须插入多个第三方的开发包,减小了应用程序的程序包的大小。同时,在获取选择的联系人默认通讯数据之后,自动获取该联系人的完整通讯数据,将完整的通讯数据发送给业务服务器,使业务方获取联系人更多的备用联系信息。In the above address book data processing method, the terminal converts the communication data of contacts acquired locally into communication data in a standard format, unifies the data format, and does not require the business side to add a software package to the application program to read the address book data by itself, reducing The development work of the business side is simplified, so there is no need to insert multiple third-party development packages into the application program, and the size of the program package of the application program is reduced. At the same time, after obtaining the default communication data of the selected contact, the complete communication data of the contact is automatically obtained, and the complete communication data is sent to the business server, so that the business party can obtain more backup contact information of the contact.
在一个实施例中,根据预设格式转换逻辑将第一完整通讯数据进行标准化处理得到第一通讯数据,包括:获取字段名映射表;获取第一完整通讯数据中的原始字段名,从字段名映射表中查找与原始字段名对应的标准字段名,将原始字段名替换为标准字段名;从第一完整通讯数据中提取具有相同字段名的字段内容,根据提取出的字段内容和对应的字段名生成字段数组,将生成的各字段数组按照预设顺序进行排列生成第一通讯数据。In one embodiment, standardizing the first complete communication data according to preset format conversion logic to obtain the first communication data includes: obtaining a field name mapping table; obtaining the original field name in the first complete communication data, and obtaining the first complete communication data from the field name Find the standard field name corresponding to the original field name in the mapping table, and replace the original field name with the standard field name; extract the field content with the same field name from the first complete communication data, according to the extracted field content and the corresponding field Generate a field array by name, and arrange the generated field arrays according to a preset order to generate the first communication data.
终端在将第一完整通讯数据转换为标准格式时,终端获取预存的字段名映射表。字段名映射表中存储了标准格式的标准字段名与各终端上的通讯录数据中的原始字段名之间的映射关系。以标准字段名为“手机号码”为例,不同终端上与手机号码对应的原始字段名可能为“手机号”、“移动号码”、“telephone-number”等等,字段名映射关系表中存储了现有终端上所有可能出现的原始字段名。When the terminal converts the first complete communication data into a standard format, the terminal obtains a pre-stored field name mapping table. The mapping relationship between the standard field names in the standard format and the original field names in the address book data on each terminal is stored in the field name mapping table. Taking the standard field name "mobile phone number" as an example, the original field names corresponding to mobile phone numbers on different terminals may be "mobile phone number", "mobile number", "telephone-number", etc., and the field name mapping relationship table stores All possible occurrences of the original field names on existing terminals are removed.
终端从第一完整通讯数据中的各字段中提取出原始字段名,字段是指各数据项,字段包括字段名和字段内容,如“邮箱地址”为字段名,而“232@qq.com”为具体的字段内容,不同联系人的完整通讯数据所包含的字段可能存在差异,例如,有的联系人的通讯数据中具有邮箱地址字段,而有的联系人的通讯数据中不存在邮箱地址字段。终端提取出原始字段名后,从字段映射表中查找与原始字段名具有映射关系的标准字段名,将第一完整通讯数据的原始字段名替换为具有映射关系的标准字段名。终端将第一完整通讯数据中的所有原始字段名按照上述方式进行字段名替换。The terminal extracts the original field name from each field in the first complete communication data. The field refers to each data item, and the field includes the field name and field content. For example, "email address" is the field name, and "232@qq.com" is the field name. For specific field content, the fields contained in the complete communication data of different contacts may be different. For example, some contacts have an email address field in their communication data, while some contacts do not have an email address field in their communication data. After extracting the original field name, the terminal searches the field mapping table for a standard field name that has a mapping relationship with the original field name, and replaces the original field name of the first complete communication data with the standard field name that has a mapping relationship. The terminal replaces all original field names in the first complete communication data with field names in the above manner.
终端将第一完整通讯数据中的原始字段名替换完成后,将字段进行分类。具体地,将具有相同字段名的字段内容提取出来归为一组,并将每组字段内容与其对应的字段名进行组合生成字段数组。联系人的同一通讯数据项可能包括多个数据,例如,有的联系人可能或有多个手机号码,多个邮箱地址,终端将多个手机号码归为一个字段数组,将多个邮箱地址也归为一个字段数组等。After replacing the original field names in the first complete communication data, the terminal classifies the fields. Specifically, field contents with the same field name are extracted and grouped into one group, and each group of field contents is combined with its corresponding field name to generate a field array. The same communication data item of a contact may include multiple data. For example, some contacts may have multiple mobile phone numbers and multiple email addresses. The terminal classifies multiple mobile phone numbers into a field array, and multiple email addresses into an array of fields etc.
在一个实施例中,终端将字段名分类,将字段名属于同一字段名类别的字段划分为一组。终端查找标准字段名所属的字段类的字段类别名,并获取字段类别名所对应的所有标准字段名,将所有标准字段名对应的字段内容提取出来,根据字段类别名、字段类别名所对应的标准字段名及字段内容生成字段数组。例如,手机号码字段名和座机号码字段名均归属于电话字段类别名,将手机号码字段名和座机号码字段名对应的字段内容提取出来组成字段数组。In one embodiment, the terminal classifies field names, and divides fields whose field names belong to the same field name category into a group. The terminal searches for the field category name of the field class to which the standard field name belongs, and obtains all the standard field names corresponding to the field category name, extracts the field content corresponding to all the standard field names, and uses the field category name and the standard field name corresponding to the field category name name and field content to generate a field array. For example, the mobile phone number field name and the landline number field name belong to the phone field category name, and the field contents corresponding to the mobile phone number field name and the landline number field name are extracted to form a field array.
终端是生成字段数组后,获取预设的字段数组排列顺序,终端根据排列顺序将字段数组进行排列组合生成标准格式的第一通讯数据。例如,预设的字段数组排列顺序可以为联系人姓名字段数组、电话字段数组、邮件字段数组等。After generating the field array, the terminal acquires a preset sequence of the field array, and the terminal arranges and combines the field array according to the sequence to generate the first communication data in a standard format. For example, the preset arrangement order of the field arrays may be an array of contact name fields, an array of phone fields, an array of email fields, and so on.
下面以一个联系人的实际通讯数据进行举例说明,通讯录数据中包括的字段为:联系人姓名-张三、手机号码-13800138000、手机号码-13800138001、邮箱地址-home@mail.com及邮箱地址-work@mail.com。原始字段名“联系人姓名”、“手机号码”、“邮箱地址”所对应的标准字段名分别为“name”、“phone”和“email”,“phone”所对应的字段类别名为“phones”,“email”所对应的字段类别名为“emails”。最终根据上述通讯录数据生成的标准格式的第一通讯数据为:{“name”:张三”,“phones”:[{“phone”:“13800138000”},{“phone”:“13800138001”}],“emails”:[“email”:“home@mail.com”},{“email”:“work@mail.com”}]}。The following is an example of the actual communication data of a contact. The fields included in the address book data are: contact name - Zhang San, mobile phone number - 13800138000, mobile phone number - 13800138001, email address - home@mail.com and email address -work@mail.com. The standard field names corresponding to the original field names "contact name", "mobile phone number", and "email address" are "name", "phone" and "email" respectively, and the field category corresponding to "phone" is named "phones ", the field category corresponding to "email" is named "emails". Finally, the first communication data in a standard format generated based on the above address book data is: {"name": Zhang San", "phones": [{"phone": "13800138000"}, {"phone": "13800138001"} ], "emails": ["email": "home@mail.com"}, {"email": "work@mail.com"}]}.
在本实施例中,将第一完整通讯数据中的多个字段进行分类组合,使得数据结构更加紧凑,便于第三业务方进行数据读取。In this embodiment, multiple fields in the first complete communication data are classified and combined to make the data structure more compact and facilitate data reading by the third business party.
在一个实施例中,根据联系人通讯数据获取指令获取默认通讯数据,包括:获取默认通讯数据的权限状态;当权限状态为授权读取状态时,根据联系人通讯数据获取指令获取默认通讯数据。In one embodiment, acquiring the default communication data according to the contact communication data acquisition instruction includes: acquiring the permission status of the default communication data; when the permission status is the authorized reading status, acquiring the default communication data according to the contact communication data acquisition instruction.
终端在接收到联系人通讯数据获取指令之后,先获取当前通讯录数据包括默认通讯数据的权限状态,权限状态应用程序是否可读取本地通讯录的读取权限状态吗,权限状态可以是终端默认设定的,也可以是由用户自行选择进行设定。终端判断获取的权限状态是否为授权读取状态,当终端判断当前权限状态为授权读取状态时,则获取终端本地的默认通讯数据。After receiving the contact communication data acquisition instruction, the terminal first obtains the permission status of the current address book data including the default communication data. Can the permission status application program read the read permission status of the local address book? The permission status can be the default status of the terminal. It can also be set by users themselves. The terminal judges whether the acquired permission status is the authorized reading status, and when the terminal judges that the current permission status is the authorized reading status, then obtains the default local communication data of the terminal.
在一个实施例中,获取默认通讯数据的权限状态之后,还包括:当权限状态为非授权读取状态时,生成联系人通讯数据输入提示;接收输入的与联系人通讯数据输入提示对应的联系人通讯数据,对联系人通讯数据进行格式校验;当格式校验通过时,获取预设格式转换逻辑,根据预设格式转换逻辑将联系人通讯数据进行标准化处理得到第二通讯数据,将第二通讯数据发送给业务服务器。In one embodiment, after obtaining the permission status of the default communication data, it further includes: when the permission status is an unauthorized read status, generating a contact communication data input prompt; receiving the input contact corresponding to the contact communication data input prompt; Perform format verification on the contact communication data; when the format verification passes, obtain the preset format conversion logic, standardize the contact communication data according to the preset format conversion logic to obtain the second communication data, and convert the second communication data 2. The communication data is sent to the service server.
终端判断获取的权限状态为非授权读取状态时,应用程序无法读取终端本地的通讯录数据。终端生成联系人数据输入提示,联系人数据输入提示用于提示用户输入想要添加为补充联系人的通讯数据。联系人数据输入提示可以为展示在界面上的对话框,也可以为语音提示,也可以为其他形式的提示。用户接收到终端输入的联系人数据输入提示后,输入补充联系人的通讯数据,用户可以在界面的输入框中输入数据,也可以通过语音录音的方式输入数据。用户还可以通过扫描补充联系人的名片、二维码的方式输入通讯信息,终端获取扫描的名片或二维码图像后,根据图像识别方法从中识别出联系人的通讯数据。When the terminal judges that the acquired permission status is the unauthorized read status, the application program cannot read the local address book data of the terminal. The terminal generates a contact data input prompt, and the contact data input prompt is used to prompt the user to input communication data to be added as a supplementary contact. The contact data input prompt may be a dialog box displayed on the interface, a voice prompt, or other forms of prompts. After receiving the contact data input prompt from the terminal, the user inputs the communication data of supplementary contacts. The user can input the data in the input box of the interface, or input the data by voice recording. The user can also input communication information by scanning the business card or QR code of the supplementary contact. After the terminal obtains the image of the scanned business card or QR code, it can identify the communication data of the contact according to the image recognition method.
终端接收到用户输入的联系人通讯数据后,对联系人通讯数据的数据格式进行校验。数据格式包括手机号码的位数,字符格式,邮箱地址的字符格式、邮箱后缀等数据格式。终端也可以联网对联系人通讯数据进行校验,如校验手机号码是否为有效号码,是否为恶意号码等。当终端对联系人通讯数据的数据格式校验失败时,可以提示用户重新输入正确的联系人通讯数据,直至用户输入的联系人通讯数据的数据格式校验通过为止。After receiving the contact communication data input by the user, the terminal verifies the data format of the contact communication data. The data format includes the digits of the mobile phone number, character format, character format of the email address, email suffix and other data formats. The terminal can also be connected to the Internet to verify the communication data of the contact, such as verifying whether the mobile phone number is a valid number or whether it is a malicious number. When the verification of the data format of the contact communication data fails, the terminal may prompt the user to re-input the correct contact communication data until the data format verification of the contact communication data input by the user passes.
当终端对当终端对联系人通讯数据的数据格式校验通过时,终端获取预设格式转换逻辑,根据与宿舍格式转换逻辑将用户输入的联系人通讯数据进行格式转换,转换为标准格式的第二通讯数据。其中,具体的格式转换方法参照上述实施例中描述的方式,在此不再赘述。终端获取用户进行注册的金融产品的产品标识,根据产品标识查找金融产品所属的业务方的业务标识,将标准数据格式的第二通讯数据发送给业务标识对应的业务服务器。When the terminal passes the verification of the data format of the contact's communication data, the terminal obtains the preset format conversion logic, and converts the contact communication data input by the user into the standard format according to the dormitory format conversion logic. 2. Communication data. Wherein, for a specific format conversion method, refer to the manner described in the foregoing embodiments, and details are not repeated here. The terminal acquires the product identifier of the financial product registered by the user, searches for the service identifier of the business party to which the financial product belongs according to the product identifier, and sends the second communication data in a standard data format to the service server corresponding to the service identifier.
在一个实施例中,当终端判断获取的权限状态为非授权读取状态时,终端提示用户是否打开通讯录读取权限,用户收到提示后决定是否打开权限,当终端获取到用户的允许打开授权读取权限时,终端将权限状态置为授权读取状态,并获取默认通讯数据。当终端获取到用户的禁止打开授权读取权限时,则生成联系人通讯数据输入提示。In one embodiment, when the terminal judges that the acquired permission status is an unauthorized reading status, the terminal prompts the user whether to enable the address book reading permission, and the user decides whether to enable the permission after receiving the prompt, and when the terminal obtains the user's permission to open When the read permission is authorized, the terminal sets the permission status to the authorized read status and obtains the default communication data. When the terminal obtains the user's prohibition of opening authorization and reading permission, it generates a contact communication data input prompt.
终端通过设置通讯录的授权读取权限,可以对用户的隐私信息进行保护,并且在终端未授权读取通讯录时,可以由用户自行输入联系人通讯数据,使获取数据的方式多样化。By setting the authorization to read the address book, the terminal can protect the user's private information, and when the terminal is not authorized to read the address book, the user can enter the contact communication data by himself, so that the methods of obtaining data are diversified.
在一个实施例中,获取选择指令所选中的第一默认通讯数据之后,还包括:查找第一默认通讯数据对应的通讯记录;根据通讯记录计算第一默认通讯数据对应的第一联系人的第一联系系数;当根据第一联系系数判断第一联系人为非可信联系人时,生成联系人更换提示。In one embodiment, after obtaining the first default communication data selected by the selection instruction, it further includes: searching for a communication record corresponding to the first default communication data; calculating the first contact number of the first contact corresponding to the first default communication data according to the communication record A contact coefficient; when it is judged according to the first contact coefficient that the first contact is an untrusted contact, a contact replacement prompt is generated.
终端获取第一默认通讯数据之后,查找第一默认通讯数据对应的通讯记录,通讯记录包括用户与第一默认通讯数据对应联系人的通话次数,每次通话的通话时间和通话时长等数据。终端可以获取第一默认通讯数据中的联系人标识,并查找联系人标识对应的通讯记录。After the terminal obtains the first default communication data, it searches for the communication record corresponding to the first default communication data. The communication record includes the number of calls between the user and the contact corresponding to the first default communication data, the call time and call duration of each call, and other data. The terminal may obtain the contact identifier in the first default communication data, and search for a communication record corresponding to the contact identifier.
在一个实施例中,根据通讯记录计算第一默认通讯数据对应的第一联系人的第一联系系数具体包括:终端统计通讯记录中的通讯频次,平均通讯时长和最近一次通话的通话时间,查找通讯频次对应的频次系数Vf、平均通讯时长对应的时长系数Vt及最近一次通话的通话时间对应的更新系数Vu,并分别获取频次系数、时长系数及更新系数相应的权重,将三个维度的系数进行加权求和得到第一联系系数,具体地,可以根据公式(1)计算得到第一联系系数W。In one embodiment, calculating the first contact coefficient of the first contact corresponding to the first default communication data according to the communication records specifically includes: the terminal counts the communication frequency in the communication records, the average communication duration and the call time of the latest call, and searches The frequency coefficient V f corresponding to the communication frequency, the duration coefficient V t corresponding to the average communication duration, and the update coefficient V u corresponding to the call time of the latest call, and the weights corresponding to the frequency coefficient, duration coefficient and update coefficient are respectively obtained, and the three The coefficients of the dimensions are weighted and summed to obtain the first connection coefficient. Specifically, the first connection coefficient W can be obtained by calculating according to formula (1).
W=αVf+βVt+γVu (1)W=αV f +βV t +γV u (1)
其中,α∈(0,1)为频次系数对应的权重,β∈(0,1)为时长系数对应的权重,γ∈(0,1)为更新系数对应的权重,三个权重预先设定并存储在终端中。Among them, α∈(0,1) is the weight corresponding to the frequency coefficient, β∈(0,1) is the weight corresponding to the duration coefficient, γ∈(0,1) is the weight corresponding to the update coefficient, and the three weights are preset and stored in the terminal.
终端得到第一联系系数后获取联系系数阈值,将第一联系系数与联系系数阈值进行比较,当第一联系系数大于或等于联系系数阈值时,判定该联系人为可信联系人,当第一联系系数小于联系系数阈值时,判定该联系人为非可信联系人。当终端判定第一联系人为非可信联系人时,生成联系人更换提示,提示用户更换联系人,并可将默认通讯数据进行展示,由用户选择其他联系人。After obtaining the first contact coefficient, the terminal obtains the contact coefficient threshold, compares the first contact coefficient with the contact coefficient threshold, and when the first contact coefficient is greater than or equal to the contact coefficient threshold, it is determined that the contact is a trusted contact. When the first contact When the coefficient is less than the contact coefficient threshold, it is determined that the contact is an untrusted contact. When the terminal determines that the first contact is an untrusted contact, it generates a prompt to change the contact, prompting the user to change the contact, and can display the default communication data for the user to select another contact.
在其他实施例中,终端也可以采用其他方式判断第一联系人是否为可信联系人,如判断通话频次、平均通话时长是否小于预设值,最近一次通话的通话间隔是否大于预设值等方法来判断。In other embodiments, the terminal may also use other methods to determine whether the first contact is a trusted contact, such as determining whether the call frequency and average call duration are less than a preset value, whether the call interval of the latest call is greater than a preset value, etc. method to judge.
终端通过对用户选择的联系人的通讯记录进行分析,判定该联系人是否为可信联系人,从而能使得第三方获取更加真实有效的补充联系人信息。The terminal analyzes the communication records of the contact selected by the user to determine whether the contact is a trusted contact, so that the third party can obtain more authentic and effective supplementary contact information.
在一个实施例中,通讯录数据处理方法还包括:当根据第一联系系数判断第一联系人为非可信联系人时,获取在预设时间内存在通讯记录的第二联系人;根据第二联系人的通讯记录计算出第二联系人的第二联系系数;根据第二联系系数从第二联系人中筛选出推荐联系人;从通讯录中查找推荐联系人对应的默认通讯数据,根据推荐联系人对应的默认通讯数据生成联系人推荐提示;接收根据联系人推荐提示生成的推荐人选择指令,获取推荐人选择指令所选中的第二默认通讯数据;查找第二默认通讯数据对应的第二完整通讯数据,将第二完整通讯数据根据预设格式转换逻辑进行标准化处理得到第三通讯数据,将第三通讯数据发送给业务服务器。In one embodiment, the address book data processing method further includes: when judging that the first contact is an untrusted contact according to the first contact coefficient, acquiring a second contact who has a communication record within a preset time; The second contact coefficient of the second contact is calculated from the communication record of the contact; the recommended contact is screened out from the second contact according to the second contact coefficient; the default communication data corresponding to the recommended contact is searched from the address book, and according to the recommended The default communication data corresponding to the contact generates a contact recommendation prompt; receives the recommender selection instruction generated according to the contact recommendation prompt, and obtains the second default communication data selected by the recommender selection instruction; finds the second default communication data corresponding to the second For the complete communication data, the second complete communication data is standardized according to the preset format conversion logic to obtain the third communication data, and the third communication data is sent to the service server.
终端在根据第一联系系数判断出第一联系人为非可信联系人时,终端获取预设时间,预设时间可以为3天、7天、15天等。终端遍历通讯录数据中各联系人的通讯记录,并从中筛选出预设时间内存在通讯记录的第二联系人,第二联系人的数量可以包括多个。终端查找各第二联系人对应的通讯记录,并可以根据第一联系系数的计算方式计算出各第二联系人的第二联系系数,具体的计算方法请参照上述实施例,在此不再赘述。When the terminal determines that the first contact is an untrusted contact according to the first contact coefficient, the terminal obtains a preset time, which may be 3 days, 7 days, 15 days, etc. The terminal traverses the communication records of the contacts in the address book data, and screens out the second contacts that have communication records within a preset time, and the number of the second contacts may include multiple. The terminal searches for the communication records corresponding to each second contact, and can calculate the second contact coefficient of each second contact according to the calculation method of the first contact coefficient. For the specific calculation method, please refer to the above-mentioned embodiments, and will not be repeated here. .
终端得到各个第二联系人的第二联系系数之后,获取预设推荐联系人数量N,从第二联系人中筛选出第二联系系数排在前N位的联系人,将排在前N位的联系人提取为推荐联系人,终端获取推荐联系人的联系人标识,并查找出联系人标识对应的默认通讯数据,根据查找出的推荐联系人的默认通讯数据生成联系人推荐提示,联系人推荐提示中可以包含推荐联系人的默认通讯数据。联系人推荐提示可以以展示列表、语音播放等方式进行提示。After the terminal obtains the second contact coefficient of each second contact, it obtains the number N of preset recommended contacts, and selects the contacts whose second contact coefficient ranks the top N from the second contacts, and ranks the top N The contact is extracted as a recommended contact, the terminal obtains the contact ID of the recommended contact, and finds out the default communication data corresponding to the contact ID, and generates a contact recommendation prompt according to the found default communication data of the recommended contact, and the contact The recommendation prompt may include default communication data of the recommended contacts. The prompt for contact recommendation can be presented in the form of a display list, voice playback, and the like.
用户接收到联系人推荐提示,可以根据联系人推荐提示对其中的推荐人进行选择,选择后生成推荐人选择指令。终端接收推荐人选择指令,并从推荐人选择指令中获取用户所选择的推荐人信息的第二默认通讯数据,第二默认通讯数据为用户选择出的推荐联系人的默认通讯数据。终端从第二默认通讯数据中提取出推荐人信息,如联系人标识、联系人姓名等,查找与推荐人信息对应的推荐人的第二完整通讯数据。终端将查找到的第二完整通讯数据进行格式标准化处理,转换为标准数据格式的第三通讯数据。其中,具体的格式转换方法参照上述实施例中描述的方式,在此不再赘述。终端获取用户进行注册的金融产品的产品标识,根据产品标识查找金融产品所属的业务方的业务标识,将标准数据格式的第三通讯数据发送给业务标识对应的业务服务器。After receiving the contact recommendation prompt, the user can select recommenders according to the contact recommendation prompt, and generate a recommender selection instruction after selection. The terminal receives the recommender selection instruction, and obtains the second default communication data of the recommender information selected by the user from the recommender selection instruction, and the second default communication data is the default communication data of the recommended contacts selected by the user. The terminal extracts recommender information from the second default communication data, such as contact ID, contact name, etc., and searches for the second complete communication data of the recommender corresponding to the recommender information. The terminal performs format standardization processing on the found second complete communication data, and converts it into third communication data in a standard data format. Wherein, for a specific format conversion method, refer to the manner described in the foregoing embodiments, and details are not repeated here. The terminal obtains the product identifier of the financial product registered by the user, searches for the service identifier of the business party to which the financial product belongs according to the product identifier, and sends the third communication data in a standard data format to the service server corresponding to the service identifier.
终端在判断出第一联系人为非可信联系人时,可以自动计算通讯录中其他联系人的联系系数,并根据联系系数筛选出推荐联系人,向用户推荐常用联系人。When the terminal determines that the first contact is an untrusted contact, it can automatically calculate the contact coefficients of other contacts in the address book, and filter out recommended contacts according to the contact coefficients, and recommend frequent contacts to the user.
在一个实施例中,将第一通讯数据发送给业务服务器,包括:将第一通讯数据进行加密,将加密后的第一通讯数据发送给业务服务器。In one embodiment, sending the first communication data to the service server includes: encrypting the first communication data, and sending the encrypted first communication data to the service server.
终端在第一通讯数据发送给业务服务器之前,对第一通讯数据进行加密处理,具体的加密规则事先由应用程序的开发端与业务服务器进行约定,不同业务服务器的加密规则可以一致也可以不一致。当各业务服务器的加密规则一致时,终端获取预设加密规则,根据预设加密规则对第一通讯数据进行加密。当各业务服务器的约定的加密规则不一致时,终端获取根据金融产品标识查找其所属的业务方的业务标识,并查找与业务标识对应的加密规则,根据查找到的加密规则对第一通讯数据进行加密。加密规则可以采用现在通用的对称加密、非对称加密等加密方式。Before the first communication data is sent to the service server, the terminal encrypts the first communication data. The specific encryption rules are agreed upon by the application developer and the service server in advance, and the encryption rules of different service servers may or may not be consistent. When the encryption rules of the service servers are consistent, the terminal acquires the preset encryption rules, and encrypts the first communication data according to the preset encryption rules. When the agreed encryption rules of each business server are inconsistent, the terminal obtains the business identification of the business party to which it belongs according to the financial product identification, and searches for the encryption rule corresponding to the business identification, and performs the first communication data according to the found encryption rule. encryption. Encryption rules can adopt common encryption methods such as symmetric encryption and asymmetric encryption.
终端在对第一通讯数据进行加密后再发送给业务服务器,可以提高数据的安全性,防止他人窃取通讯信息。The terminal encrypts the first communication data before sending it to the service server, which can improve data security and prevent others from stealing communication information.
应该理解的是,虽然图2流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图2中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the various steps in the flow chart of FIG. 2 are displayed sequentially according to the arrows, these steps are not necessarily executed sequentially in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least some of the steps in FIG. 2 may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but may be executed at different times. The execution of these sub-steps or stages The order is not necessarily performed sequentially, but may be performed alternately or alternately with at least a part of other steps or sub-steps or stages of other steps.
在一个实施例中,如图3所示,提供了一种通讯录数据处理装置,包括:指令接收模块302、默认数据获取模块304、选中数据获取模块306、完整数据查找模块308和标准数据转换模块310,其中:In one embodiment, as shown in Figure 3, a kind of address book data processing device is provided, comprising: instruction receiving module 302, default data acquisition module 304, selected data acquisition module 306, complete data search module 308 and standard data conversion Module 310, in which:
指令接收模块302,用于接收联系人通讯数据获取指令。The instruction receiving module 302 is configured to receive an instruction for obtaining contact communication data.
默认数据获取模块304,用于根据联系人通讯数据获取指令获取默认通讯数据。The default data acquisition module 304 is configured to acquire default communication data according to the contact communication data acquisition instruction.
选中数据获取模块306,用于接收对默认通讯数据的选择指令,并获取选择指令所选中的第一默认通讯数据。The selected data obtaining module 306 is configured to receive a selection instruction for default communication data, and obtain the first default communication data selected by the selection instruction.
完整数据查找模块308,用于查找第一默认通讯数据对应的第一完整通讯数据。A complete data search module 308, configured to search for the first complete communication data corresponding to the first default communication data.
标准数据转换模块310,用于获取预设格式转换逻辑,根据预设格式转换逻辑将第一完整通讯数据进行标准化处理得到第一通讯数据,将第一通讯数据发送给业务服务器。The standard data conversion module 310 is used to obtain the preset format conversion logic, standardize the first complete communication data according to the preset format conversion logic to obtain the first communication data, and send the first communication data to the service server.
在一个实施例中,标准数据转换模块310可以包括:In one embodiment, the standard data conversion module 310 may include:
映射表获取模块,用于获取字段名映射表。The mapping table obtaining module is used to obtain the field name mapping table.
字段名替换模块,用于获取第一完整通讯数据中的原始字段名,从字段名映射表中查找与原始字段名对应的标准字段名,将原始字段名替换为标准字段名。The field name replacement module is used to obtain the original field name in the first complete communication data, search the standard field name corresponding to the original field name from the field name mapping table, and replace the original field name with the standard field name.
字段组合模块,用于从第一完整通讯数据中提取具有相同字段名的字段内容,根据提取出的字段内容和对应的字段名生成字段数组,将生成的各字段数组按照预设顺序进行排列生成第一通讯数据。The field combination module is used to extract the field content with the same field name from the first complete communication data, generate a field array according to the extracted field content and the corresponding field name, and arrange and generate each generated field array according to a preset order The first communication data.
在一个实施例中,默认数据获取模块304还可以用于获取默认通讯数据的权限状态;当权限状态为授权读取状态时,根据联系人通讯数据获取指令获取默认通讯数据。In one embodiment, the default data acquisition module 304 can also be used to acquire the permission status of the default communication data; when the permission status is the authorized reading status, the default communication data is acquired according to the contact communication data acquisition instruction.
在一个实施例中,通讯录数据处理装置还可以包括:In one embodiment, the address book data processing device may also include:
输入提示生成模块,用于当权限状态为非授权读取状态时,生成联系人通讯数据输入提示。The input prompt generating module is used to generate a contact communication data input prompt when the permission state is an unauthorized read state.
格式校验模块,用于接收输入的与联系人通讯数据输入提示对应的联系人通讯数据,对联系人通讯数据进行格式校验。The format verification module is used to receive the input contact communication data corresponding to the input prompt of the contact communication data, and perform format verification on the contact communication data.
第二数据转换模块,用于当格式校验通过时,获取预设格式转换逻辑,根据预设格式转换逻辑将联系人通讯数据进行标准化处理得到第二通讯数据,将第二通讯数据发送给业务服务器。The second data conversion module is used to obtain the preset format conversion logic when the format verification is passed, standardize the contact communication data according to the preset format conversion logic to obtain the second communication data, and send the second communication data to the business server.
在一个实施例中,通讯录数据处理装置还可以包括:In one embodiment, the address book data processing device may also include:
记录查找模块,用于查找第一默认通讯数据对应的通讯记录。A record search module, configured to search for a communication record corresponding to the first default communication data.
第一系数计算模块,用于根据通讯记录计算第一默认通讯数据对应的第一联系人的第一联系系数。The first coefficient calculation module is used to calculate the first contact coefficient of the first contact corresponding to the first default communication data according to the communication records.
更换提示生成模块,用于当根据第一联系系数判断第一联系人为非可信联系人时,生成联系人更换提示。A replacement reminder generation module, configured to generate a contact replacement reminder when it is judged according to the first contact coefficient that the first contact is an untrusted contact.
在一个实施例中,通讯录数据处理装置还可以包括:In one embodiment, the address book data processing device may also include:
第二联系人获取模块,用于当根据第一联系系数判断第一联系人为非可信联系人时,获取在预设时间内存在通讯记录的第二联系人。The second contact acquisition module is configured to acquire a second contact who has a communication record within a preset time when it is judged that the first contact is an untrusted contact according to the first contact coefficient.
第二系数计算模块,用于根据第二联系人的通讯记录计算出第二联系人的第二联系系数。The second coefficient calculation module is used to calculate the second contact coefficient of the second contact according to the communication record of the second contact.
推荐人筛选模块,用于根据第二联系系数从第二联系人中筛选出推荐联系人。The recommender screening module is configured to screen recommended contacts from the second contacts according to the second contact coefficient.
推荐提示生成模块,用于从通讯录中查找推荐联系人对应的默认通讯数据,根据推荐联系人对应的默认通讯数据生成联系人推荐提示。The recommendation reminder generation module is used to search the contact book for default communication data corresponding to the recommended contact, and generate a contact recommendation reminder according to the default communication data corresponding to the recommended contact.
第二数据获取模块,用于接收根据联系人推荐提示生成的推荐人选择指令,获取推荐人选择指令所选中的第二默认通讯数据。The second data acquisition module is configured to receive the recommender selection instruction generated according to the contact recommendation prompt, and acquire the second default communication data selected by the recommender selection instruction.
第三数据转换模块,用于查找第二默认通讯数据对应的第二完整通讯数据,将第二完整通讯数据根据预设格式转换逻辑进行标准化处理得到第三通讯数据,将第三通讯数据发送给业务服务器。The third data conversion module is used to find the second complete communication data corresponding to the second default communication data, standardize the second complete communication data according to the preset format conversion logic to obtain the third communication data, and send the third communication data to business server.
在一个实施例中,标准数据转换模块310还可以用于将第一通讯数据进行加密,将加密后的第一通讯数据发送给业务服务器。In one embodiment, the standard data conversion module 310 can also be used to encrypt the first communication data, and send the encrypted first communication data to the service server.
关于通讯录数据处理装置的具体限定可以参见上文中对于通讯录数据处理方法的限定,在此不再赘述。上述通讯录数据处理装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For specific limitations on the device for processing address book data, refer to the above-mentioned limitations on the method for processing address book data, which will not be repeated here. Each module in the above address book data processing device can be fully or partially realized by software, hardware and combinations thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, and can also be stored in the memory of the computer device in the form of software, so that the processor can invoke and execute the corresponding operations of the above-mentioned modules.
在一个实施例中,提供了一种计算机设备,该计算机设备可以是终端,其内部结构图可以如图4所示。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口、显示屏和输入装置。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机程序。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的网络接口用于与外部的终端通过网络连接通信。该计算机程序被处理器执行时以实现一种通讯录数据处理方法。该计算机设备的显示屏可以是液晶显示屏或者电子墨水显示屏,该计算机设备的输入装置可以是显示屏上覆盖的触摸层,也可以是计算机设备外壳上设置的按键、轨迹球或触控板,还可以是外接的键盘、触控板或鼠标等。In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure may be as shown in FIG. 4 . The computer device includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus. Wherein, the processor of the computer device is used to provide calculation and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a method for processing address book data is realized. The display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device may be a touch layer covered on the display screen, or a button, a trackball or a touch pad provided on the casing of the computer device , and can also be an external keyboard, touchpad, or mouse.
本领域技术人员可以理解,图4中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in Figure 4 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation to the computer equipment on which the solution of the application is applied. The specific computer equipment can be More or fewer components than shown in the figures may be included, or some components may be combined, or have a different arrangement of components.
在一个实施例中,提供了一种计算机设备,包括存储器和处理器,该存储器存储有计算机程序,该处理器执行计算机程序时实现以下步骤:接收联系人通讯数据获取指令;根据联系人通讯数据获取指令获取默认通讯数据;接收对默认通讯数据的选择指令,并获取选择指令所选中的第一默认通讯数据;查找第一默认通讯数据对应的第一完整通讯数据;获取预设格式转换逻辑,根据预设格式转换逻辑将第一完整通讯数据进行标准化处理得到第一通讯数据,将第一通讯数据发送给业务服务器。In one embodiment, a computer device is provided, including a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program: receiving a contact communication data acquisition instruction; according to the contact communication data Obtaining an instruction to obtain default communication data; receiving a selection instruction for the default communication data, and obtaining the first default communication data selected by the selection instruction; finding the first complete communication data corresponding to the first default communication data; obtaining the preset format conversion logic, Standardize the first complete communication data according to the preset format conversion logic to obtain the first communication data, and send the first communication data to the service server.
在一个实施例中,处理器执行计算机程序时实现根据预设格式转换逻辑将第一完整通讯数据进行标准化处理得到第一通讯数据时还用于:获取字段名映射表;获取第一完整通讯数据中的原始字段名,从字段名映射表中查找与原始字段名对应的标准字段名,将原始字段名替换为标准字段名;从第一完整通讯数据中提取具有相同字段名的字段内容,根据提取出的字段内容和对应的字段名生成字段数组,将生成的各字段数组按照预设顺序进行排列生成第一通讯数据。In one embodiment, when the processor executes the computer program to standardize the first complete communication data according to the preset format conversion logic to obtain the first communication data, it is also used to: obtain the field name mapping table; obtain the first complete communication data The original field name in the field name, look up the standard field name corresponding to the original field name from the field name mapping table, replace the original field name with the standard field name; extract the field content with the same field name from the first complete communication data, according to The extracted field contents and corresponding field names generate a field array, and the generated field arrays are arranged in a preset order to generate the first communication data.
在一个实施例中,处理器执行计算机程序时实现根据联系人通讯数据获取指令获取默认通讯数据时还用于:获取默认通讯数据的权限状态;当权限状态为授权读取状态时,根据联系人通讯数据获取指令获取默认通讯数据。In one embodiment, when the processor executes the computer program, when the default communication data is acquired according to the contact communication data acquisition instruction, it is also used to: acquire the permission status of the default communication data; when the permission status is the authorized reading status, according to the contact The communication data acquisition command acquires the default communication data.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:当权限状态为非授权读取状态时,生成联系人通讯数据输入提示;接收输入的与联系人通讯数据输入提示对应的联系人通讯数据,对联系人通讯数据进行格式校验;当格式校验通过时,获取预设格式转换逻辑,根据预设格式转换逻辑将联系人通讯数据进行标准化处理得到第二通讯数据,将第二通讯数据发送给业务服务器。In one embodiment, when the processor executes the computer program, the following steps are also implemented: when the authority state is the unauthorized reading state, generating a prompt for contact communication data input; receiving the inputted contact person corresponding to the prompt for contact communication data input Communication data, perform format verification on the contact communication data; when the format verification is passed, obtain the preset format conversion logic, standardize the contact communication data according to the preset format conversion logic to obtain the second communication data, and convert the second The communication data is sent to the business server.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:查找第一默认通讯数据对应的通讯记录;根据通讯记录计算第一默认通讯数据对应的第一联系人的第一联系系数;当根据第一联系系数判断第一联系人为非可信联系人时,生成联系人更换提示。In one embodiment, when the processor executes the computer program, the following steps are also implemented: searching for the communication records corresponding to the first default communication data; calculating the first contact coefficient of the first contact person corresponding to the first default communication data according to the communication records; When it is judged that the first contact is an untrusted contact according to the first contact coefficient, a contact replacement prompt is generated.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:当根据第一联系系数判断第一联系人为非可信联系人时,获取在预设时间内存在通讯记录的第二联系人;根据第二联系人的通讯记录计算出第二联系人的第二联系系数;根据第二联系系数从第二联系人中筛选出推荐联系人;从通讯录中查找推荐联系人对应的默认通讯数据,根据推荐联系人对应的默认通讯数据生成联系人推荐提示;接收根据联系人推荐提示生成的推荐人选择指令,获取推荐人选择指令所选中的第二默认通讯数据;查找第二默认通讯数据对应的第二完整通讯数据,将第二完整通讯数据根据预设格式转换逻辑进行标准化处理得到第三通讯数据,将第三通讯数据发送给业务服务器。In one embodiment, when the processor executes the computer program, the following steps are further implemented: when judging that the first contact is an untrusted contact according to the first contact coefficient, acquiring a second contact who has a communication record within a preset time; Calculate the second contact coefficient of the second contact according to the communication record of the second contact; filter the recommended contact from the second contact according to the second contact coefficient; find the default communication data corresponding to the recommended contact from the address book , generate a contact recommendation reminder according to the default communication data corresponding to the recommended contact; receive the recommender selection instruction generated according to the contact recommendation reminder, and obtain the second default communication data selected by the recommender selection instruction; find the corresponding second default communication data The second complete communication data, standardize the second complete communication data according to the preset format conversion logic to obtain the third communication data, and send the third communication data to the service server.
在一个实施例中,处理器执行计算机程序时实现将第一通讯数据发送给业务服务器时还用于:将第一通讯数据进行加密,将加密后的第一通讯数据发送给业务服务器。In one embodiment, when the processor executes the computer program to realize sending the first communication data to the service server, it is also used to: encrypt the first communication data, and send the encrypted first communication data to the service server.
在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现以下步骤:接收联系人通讯数据获取指令;根据联系人通讯数据获取指令获取默认通讯数据;接收对默认通讯数据的选择指令,并获取选择指令所选中的第一默认通讯数据;查找第一默认通讯数据对应的第一完整通讯数据;获取预设格式转换逻辑,根据预设格式转换逻辑将第一完整通讯数据进行标准化处理得到第一通讯数据,将第一通讯数据发送给业务服务器。In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented: receiving a contact communication data acquisition instruction; Default communication data; receive a selection instruction for the default communication data, and obtain the first default communication data selected by the selection instruction; find the first complete communication data corresponding to the first default communication data; obtain the preset format conversion logic, according to the preset The format conversion logic standardizes the first complete communication data to obtain the first communication data, and sends the first communication data to the service server.
在一个实施例中,计算机程序被处理器执行时实现根据预设格式转换逻辑将第一完整通讯数据进行标准化处理得到第一通讯数据时还用于:获取字段名映射表;获取第一完整通讯数据中的原始字段名,从字段名映射表中查找与原始字段名对应的标准字段名,将原始字段名替换为标准字段名;从第一完整通讯数据中提取具有相同字段名的字段内容,根据提取出的字段内容和对应的字段名生成字段数组,将生成的各字段数组按照预设顺序进行排列生成第一通讯数据。In one embodiment, when the computer program is executed by the processor to standardize the first complete communication data according to the preset format conversion logic to obtain the first communication data, it is also used to: obtain the field name mapping table; obtain the first complete communication data The original field name in the data, look up the standard field name corresponding to the original field name from the field name mapping table, replace the original field name with the standard field name; extract the field content with the same field name from the first complete communication data, A field array is generated according to the extracted field contents and corresponding field names, and the generated field arrays are arranged in a preset order to generate the first communication data.
在一个实施例中,计算机程序被处理器执行时实现根据联系人通讯数据获取指令获取默认通讯数据时还用于:获取默认通讯数据的权限状态;当权限状态为授权读取状态时,根据联系人通讯数据获取指令获取默认通讯数据。在一个实施例中,计算机程序被处理器执行时还实现以下步骤:In one embodiment, when the computer program is executed by the processor to obtain the default communication data according to the contact communication data acquisition instruction, it is also used to: acquire the permission status of the default communication data; when the permission status is the authorized reading status, according to the contact The human communication data acquisition instruction acquires the default communication data. In one embodiment, when the computer program is executed by the processor, the following steps are also implemented:
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:当权限状态为非授权读取状态时,生成联系人通讯数据输入提示;接收输入的与联系人通讯数据输入提示对应的联系人通讯数据,对联系人通讯数据进行格式校验;当格式校验通过时,获取预设格式转换逻辑,根据预设格式转换逻辑将联系人通讯数据进行标准化处理得到第二通讯数据,将第二通讯数据发送给业务服务器。In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: when the authority state is the unauthorized read state, generating a prompt for contact communication data input; receiving the inputted contact corresponding to the prompt for contact communication data input Perform format verification on the contact communication data; when the format verification passes, obtain the preset format conversion logic, standardize the contact communication data according to the preset format conversion logic to obtain the second communication data, and convert the second communication data 2. The communication data is sent to the service server.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:查找第一默认通讯数据对应的通讯记录;根据通讯记录计算第一默认通讯数据对应的第一联系人的第一联系系数;当根据第一联系系数判断第一联系人为非可信联系人时,生成联系人更换提示。In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: searching for the communication records corresponding to the first default communication data; calculating the first contact coefficient of the first contact corresponding to the first default communication data according to the communication records; When it is determined according to the first contact coefficient that the first contact is an untrusted contact, a contact replacement prompt is generated.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:当根据第一联系系数判断第一联系人为非可信联系人时,获取在预设时间内存在通讯记录的第二联系人;根据第二联系人的通讯记录计算出第二联系人的第二联系系数;根据第二联系系数从第二联系人中筛选出推荐联系人;从通讯录中查找推荐联系人对应的默认通讯数据,根据推荐联系人对应的默认通讯数据生成联系人推荐提示;接收根据联系人推荐提示生成的推荐人选择指令,获取推荐人选择指令所选中的第二默认通讯数据;查找第二默认通讯数据对应的第二完整通讯数据,将第二完整通讯数据根据预设格式转换逻辑进行标准化处理得到第三通讯数据,将第三通讯数据发送给业务服务器。In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: when the first contact is determined to be an untrusted contact according to the first contact coefficient, obtain a second contact who has a communication record within a preset time ;Calculate the second contact coefficient of the second contact according to the communication record of the second contact; filter out the recommended contact from the second contact according to the second contact coefficient; find the default communication corresponding to the recommended contact from the address book data, generate a contact recommendation prompt according to the default communication data corresponding to the recommended contact; receive a recommender selection instruction generated according to the contact recommendation prompt, and obtain the second default communication data selected by the recommender selection instruction; search for the second default communication data Corresponding to the second complete communication data, the second complete communication data is standardized according to the preset format conversion logic to obtain the third communication data, and the third communication data is sent to the service server.
在一个实施例中,计算机程序被处理器执行时实现以下步骤:将第一通讯数据发送给业务服务器时还用于:将第一通讯数据进行加密,将加密后的第一通讯数据发送给业务服务器。In one embodiment, when the computer program is executed by the processor, the following steps are implemented: when sending the first communication data to the service server, it is also used to: encrypt the first communication data, and send the encrypted first communication data to the service server server.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented through computer programs to instruct related hardware, and the computer programs can be stored in a non-volatile computer-readable memory In the medium, when the computer program is executed, it may include the processes of the embodiments of the above-mentioned methods. Wherein, any references to memory, storage, database or other media used in the various embodiments provided in the present application may include non-volatile and/or volatile memory. Nonvolatile memory can include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Chain Synchlink DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be combined arbitrarily. To make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be It is considered to be within the range described in this specification.
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementation modes of the present application, and the description thereof is relatively specific and detailed, but it should not be construed as limiting the scope of the patent for the invention. It should be noted that those skilled in the art can make several modifications and improvements without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the scope of protection of the patent application should be based on the appended claims.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810428407.2A CN108881383B (en) | 2018-05-07 | 2018-05-07 | Address book data processing method, device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810428407.2A CN108881383B (en) | 2018-05-07 | 2018-05-07 | Address book data processing method, device, computer equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108881383A true CN108881383A (en) | 2018-11-23 |
CN108881383B CN108881383B (en) | 2022-06-21 |
Family
ID=64327416
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810428407.2A Expired - Fee Related CN108881383B (en) | 2018-05-07 | 2018-05-07 | Address book data processing method, device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108881383B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109688271A (en) * | 2019-01-16 | 2019-04-26 | 深圳壹账通智能科技有限公司 | The method, apparatus and terminal device of contact information input |
CN111065094A (en) * | 2019-12-16 | 2020-04-24 | Oppo广东移动通信有限公司 | Address book transmission method and device, storage medium and electronic equipment |
CN111414526A (en) * | 2020-03-02 | 2020-07-14 | 浙江同洲项目管理有限公司 | Elevator installation supervision method and computer readable storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040052356A1 (en) * | 2002-09-18 | 2004-03-18 | Sbc Properties, L.P., Of Reno, Nv | Multi-modal address book |
CN101431537A (en) * | 2008-11-19 | 2009-05-13 | 深圳华为通信技术有限公司 | Method and apparatus for address information intercommunication between different network |
CN103634313A (en) * | 2013-11-27 | 2014-03-12 | 中国科学院深圳先进技术研究院 | Address list processing method and device, as well as mobile terminal |
CN104519186A (en) * | 2013-09-29 | 2015-04-15 | 深圳桑菲消费通信有限公司 | Method and device for converting contact list |
CN106506511A (en) * | 2016-11-17 | 2017-03-15 | 京东方科技集团股份有限公司 | A kind of address list information processing method, device |
CN106550084A (en) * | 2016-12-06 | 2017-03-29 | 北京奇虎科技有限公司 | Directory number format processing method, system and its equipment |
-
2018
- 2018-05-07 CN CN201810428407.2A patent/CN108881383B/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040052356A1 (en) * | 2002-09-18 | 2004-03-18 | Sbc Properties, L.P., Of Reno, Nv | Multi-modal address book |
CN101431537A (en) * | 2008-11-19 | 2009-05-13 | 深圳华为通信技术有限公司 | Method and apparatus for address information intercommunication between different network |
CN104519186A (en) * | 2013-09-29 | 2015-04-15 | 深圳桑菲消费通信有限公司 | Method and device for converting contact list |
CN103634313A (en) * | 2013-11-27 | 2014-03-12 | 中国科学院深圳先进技术研究院 | Address list processing method and device, as well as mobile terminal |
CN106506511A (en) * | 2016-11-17 | 2017-03-15 | 京东方科技集团股份有限公司 | A kind of address list information processing method, device |
CN106550084A (en) * | 2016-12-06 | 2017-03-29 | 北京奇虎科技有限公司 | Directory number format processing method, system and its equipment |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109688271A (en) * | 2019-01-16 | 2019-04-26 | 深圳壹账通智能科技有限公司 | The method, apparatus and terminal device of contact information input |
CN111065094A (en) * | 2019-12-16 | 2020-04-24 | Oppo广东移动通信有限公司 | Address book transmission method and device, storage medium and electronic equipment |
CN111065094B (en) * | 2019-12-16 | 2023-08-25 | Oppo广东移动通信有限公司 | Address book transmission method and device, storage medium and electronic equipment |
CN111414526A (en) * | 2020-03-02 | 2020-07-14 | 浙江同洲项目管理有限公司 | Elevator installation supervision method and computer readable storage medium |
CN111414526B (en) * | 2020-03-02 | 2023-04-21 | 浙江同洲项目管理有限公司 | Elevator additionally-installed supervision method and computer-readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108881383B (en) | 2022-06-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11522848B2 (en) | Systems and methods for providing digital identity records to verify identities of users | |
US11030287B2 (en) | User-behavior-based adaptive authentication | |
US20190318105A1 (en) | Forced data transformation policy | |
AU2011201164B2 (en) | Methods and Systems for Authenticating Users | |
US20240163279A1 (en) | Systems and methods for securing login access | |
US20170277774A1 (en) | Systems and methods for secure storage of user information in a user profile | |
US20170277773A1 (en) | Systems and methods for secure storage of user information in a user profile | |
CN104657674A (en) | Isolation protection system and isolation protection method of private data in mobile phone | |
EP3469512A1 (en) | Systems and methods for secure storage of user information in a user profile | |
US20190347441A1 (en) | Patient privacy de-identification in firewall switches forming VLAN segregation | |
CN108881383B (en) | Address book data processing method, device, computer equipment and storage medium | |
US12072970B2 (en) | Method, system, and a GUI client for generating password based on images captured by user | |
CN112866235B (en) | Data processing method, device and equipment | |
WO2018232443A1 (en) | Method and system for identity proofing | |
CN106453273B (en) | A kind of information insurance management system and method based on cloud | |
US11531739B1 (en) | Authenticating user identity based on data stored in different locations | |
KR101679183B1 (en) | Server and method for electronic signature | |
US12216782B2 (en) | Secure data access for electronic devices | |
TW202018626A (en) | System for verifying user identity when processing digital signature and method thereof | |
WO2018232021A2 (en) | Systems and methods for secure storage of user information in a user profile | |
CN113849794A (en) | An information processing method, device and equipment | |
Schaffer | CMVP Approved Authentication Mechanisms: CMVP Validation Authority Requirements for ISO/IEC 19790: 2012 Annex E and ISO/IEC 24579: 2017 | |
CN119583649A (en) | A service processing method, device, equipment and medium based on hybrid scheduling | |
CN114723426A (en) | Resource transfer method, apparatus, computer equipment and storage medium |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20220621 |