CN108881383B - Address book data processing method and device, computer equipment and storage medium - Google Patents

Address book data processing method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN108881383B
CN108881383B CN201810428407.2A CN201810428407A CN108881383B CN 108881383 B CN108881383 B CN 108881383B CN 201810428407 A CN201810428407 A CN 201810428407A CN 108881383 B CN108881383 B CN 108881383B
Authority
CN
China
Prior art keywords
communication data
contact
default
acquiring
field name
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810428407.2A
Other languages
Chinese (zh)
Other versions
CN108881383A (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.)
OneConnect Financial Technology Co Ltd Shanghai
Original Assignee
OneConnect Financial Technology Co Ltd Shanghai
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 OneConnect Financial Technology Co Ltd Shanghai filed Critical OneConnect Financial Technology Co Ltd Shanghai
Priority to CN201810428407.2A priority Critical patent/CN108881383B/en
Publication of CN108881383A publication Critical patent/CN108881383A/en
Application granted granted Critical
Publication of CN108881383B publication Critical patent/CN108881383B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network 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 Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application relates to an address book data processing method and device, computer equipment and a storage medium. The method comprises the following steps: receiving a contact person communication data acquisition instruction; acquiring default communication data according to the contact communication data acquisition instruction; receiving a selection instruction of default communication data, and acquiring first default communication data selected by the selection instruction; searching first complete communication data corresponding to the first default communication data; and acquiring a preset format conversion logic, carrying out standardization processing on the first complete communication data according to the preset format conversion logic to obtain first communication data, and sending the first communication data to the service server. By adopting the method, the size of the program package of the application program can be reduced.

Description

Address book data processing method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for processing address book data, a computer device, and a storage medium.
Background
In today's financial mall platforms, many third party financial products are accessed. The user usually needs identity authentication when buying a third-party financial product through an application program of the financial mall platform, and contact information needs to be added in the identity authentication process, so that many third-party financial products usually have the requirement of reading the address book data of the user. In order to meet the requirement of reading the address book, software packages developed by a plurality of third parties are generally required to be accessed into an application program of the existing financial mall platform, and the third parties acquire address book data through the software packages. However, when the number of third parties accessed by the platform increases, the package of the platform application program of the financial mall is too large, and the development workload of the third parties and the access workload of the platform party are also increased.
Disclosure of Invention
In view of the above, it is desirable to provide an address book data processing method, apparatus, computer device, and storage medium capable of reducing the size of a package of an application program.
A method for address book data, the method comprising:
receiving a contact person communication data acquisition instruction;
acquiring default communication data according to the contact communication data acquisition instruction;
receiving a selection instruction of the default communication data, and acquiring first default communication data selected by the selection instruction;
searching first complete communication data corresponding to the first default communication data;
acquiring a preset format conversion logic, carrying out standardization processing on the first complete communication data according to the preset format conversion logic to obtain first communication data, and sending the first communication data to a service server.
In one embodiment, the normalizing the first complete communication data according to the preset format conversion logic to obtain first communication data includes:
acquiring a field name mapping table;
acquiring an original field name in the first complete communication data, searching a standard field name corresponding to the original field name from the field name mapping table, and replacing the original field name with the standard field name;
and extracting field contents with the same field name from the first complete communication data, generating field arrays according to the extracted field contents and the corresponding field names, and arranging the generated field arrays according to a preset sequence to generate the first communication data.
In one embodiment, the acquiring default communication data according to the contact communication data acquisition instruction includes:
acquiring the authority state of default communication data;
and when the authority state is an authorized reading state, acquiring default communication data according to the contact person communication data acquisition instruction.
In one embodiment, the method further comprises the following steps: after the authority state of the default communication data is obtained, the method further comprises the following steps:
when the authority state is an unauthorized reading state, generating a contact person communication data input prompt;
receiving input contact person communication data corresponding to the contact person communication data input prompt, and performing format verification on the contact person communication data;
and when the format check is passed, acquiring a preset format conversion logic, carrying out standardization processing on the contact person communication data according to the preset format conversion logic to obtain second communication data, and sending the second communication data to a service server.
In one embodiment, after the obtaining the first default communication data selected by the selection instruction, the method further includes:
searching a communication record corresponding to the first default communication data;
calculating a first contact coefficient of a first contact corresponding to the first default communication data according to the communication record;
and when the first contact is judged to be an untrusted contact according to the first contact coefficient, generating a contact replacement prompt.
In one embodiment, the method further comprises the following steps:
when the first contact is judged to be an untrusted contact according to the first contact coefficient, acquiring a second contact with a communication record in a preset time;
calculating a second contact coefficient of the second contact according to the communication record of the second contact;
screening out recommended contacts from the second contacts according to the second contact coefficient;
searching the default communication data corresponding to the recommended contact from the address book, and generating 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;
and searching second complete communication data corresponding to the second default communication data, standardizing the second complete communication data according to a preset format conversion logic to obtain third communication data, and sending the third communication data to a service server.
In one embodiment, the method further comprises the following steps: the sending the first communication data to a service server includes:
and encrypting the first communication data, and sending the encrypted first communication data to a service server.
An address book data processing apparatus, the apparatus comprising:
the instruction receiving module is used for receiving a contact person communication data acquisition instruction;
the default data acquisition module is used for acquiring default communication data according to the contact person communication data acquisition instruction;
the selected data acquisition module is used for receiving a selection instruction of the default communication data and acquiring first default communication data selected by the selection instruction;
the complete data searching module is used for searching first complete communication data corresponding to the first default communication data;
and the standard data conversion module is used for acquiring a preset format conversion logic, standardizing the first complete communication data according to the preset format conversion logic to obtain first communication data, and sending the first communication data to a service server.
A computer device comprising a memory storing a computer program and a processor implementing the steps of the above method when executing the computer program.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method.
According to the address book data processing method, the device, the computer equipment and the storage medium, the communication data of the contact acquired from the local is converted into the communication data in the standard format, the data format is unified, a business party does not need to add a software package in an application program to read the address book data by itself, the development work of a third party business party is reduced, so that a plurality of third party development packages do not need to be inserted into the application program, and the size of the program package of the application program is reduced. Meanwhile, after the default communication data of the selected contact person is obtained, the complete communication data of the contact person is automatically obtained, and the complete communication data is sent to the service server, so that the service party can obtain more standby contact information of the contact person.
Drawings
FIG. 1 is a diagram illustrating an exemplary scenario for processing address book data;
FIG. 2 is a flowchart illustrating a method for processing address book data according to an embodiment;
FIG. 3 is a block diagram of an embodiment of a device for processing address book data;
FIG. 4 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The address book data processing method provided by the application can be applied to the application environment shown in fig. 1. Wherein the terminal communicates with the server via a network. The method comprises the steps that after a terminal receives a contact person communication data acquisition instruction, stored default communication data are acquired, after a user selection instruction of the default communication data is received, first default communication data corresponding to the selection instruction are searched, first complete communication data corresponding to the first default communication data are searched, the first complete communication data are converted into first communication data in a standard format, and the first communication data in the standard format are sent to a service server. The terminal can be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers and portable wearable devices, and the server can be implemented by an independent server or a server cluster formed by a plurality of servers.
In an embodiment, as shown in fig. 2, a method for processing address book data is provided, which is described by taking the application of the method to the terminal in fig. 1 as an example, and includes the following steps:
step 202, receiving a contact person communication data acquisition instruction.
Various application programs are installed on the terminal, and identity authentication is needed when a user uses certain functions in the application programs. For example, when the application is an application of a financial mall platform, the financial mall platform accesses financial products provided by a plurality of third business parties, such as loan installments, petty loans, fund products, financial management products, and the like. The user can operate on the application program of the financial commodity platform on the terminal, and can apply for purchasing financial products or applying for loan amount and the like. Before a user purchases a financial product or applies for a loan amount, when the user registers or authenticates the identity, communication information of a supplementary contact person is required to be added, when the communication information of the supplementary contact person is added, a contact person communication data acquisition instruction is sent, and a terminal receives the contact person communication data acquisition instruction. The contact person communication data acquisition instruction is used for acquiring the address book data stored locally in the terminal.
Specifically, in one embodiment, a user sets a supplementary contact adding option on a registration page of an application program, and generates a contact communication data acquisition instruction after the user selects the supplementary contact adding option through clicking, touching and the like. In other embodiments, the user may also issue the contact communication data acquisition instruction by issuing a voice password, a shortcut key operation, and the like, and is not limited to the instruction generation method for selecting the supplementary contact addition option in this embodiment.
And step 204, acquiring default communication data according to the contact person communication data acquisition instruction.
And after the terminal receives the contact communication data, acquiring the stored default communication data. The local communication data of the terminal includes communication data of all contacts added by the user, and specifically, the communication data may include a plurality of items of data such as contact identifiers, contact names, contact mobile phones, contact landline phones, contact mailboxes or other social contact account numbers. The terminal sets one or more items as default communication data, for example, only the contact name may be set as the default communication data, or the contact name and the contact mobile phone may be set as the default communication data.
Step 206, receiving a selection instruction of the default communication data, and acquiring the first default communication data selected by the selection instruction.
After the terminal finds the default communication data, the default communication data can be displayed on a page of an application program in a form of a list and the like, the list comprises a plurality of options, each option corresponds to the default communication data of one contact person for a user to browse and select, when the option in the list is selected, a selection instruction is generated, the terminal receives the selection instruction, and first default communication data selected by the user is obtained from the selection instruction.
The first default communication data is the default communication data which is selected by the user and is added to the supplementary contact. The selection instruction can include a contact person identifier of a contact person selected by the user, and the terminal reads the contact person identifier from the selection instruction and searches first default communication data corresponding to the contact person identifier from the default communication data.
The terminal may not display the searched default communication data, the user may input the contact name through the application program, for example, through an input box or through voice input, and after the terminal acquires the contact name input by the user, the first default communication data corresponding to the contact name is searched, and the searched first default communication data may be displayed and confirmed by the user, or may not be displayed.
Step 208, search for a first complete communication data corresponding to the first default communication data.
After the terminal acquires the first default communication data, first complete communication data corresponding to the first default communication data are searched from the address book data. The first complete communication data is the complete communication data which is selected by the user and is added as the 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 both the communication data item in the default communication data and other communication data items of the contact.
Step 210, acquiring a preset format conversion logic, performing standardization processing on the first complete communication data according to the preset format conversion logic to obtain first communication data, and sending the first communication data to the service server.
The application program may be installed on terminals of different brands and different models, and there may be a large difference between data formats of address lists on different terminals, and each service third party corresponding to the application program has a need to acquire communication data of a contact person, and a standard data format is defined with each service third party in advance, so that the data formats of the communication data need to be unified before the application program sends the acquired communication data to the service third party.
The terminal acquires a preset format conversion logic pre-stored locally, wherein the preset format conversion logic is a conversion rule for converting the local communication data of the terminal into the communication data in the standard format, and the preset format conversion logic can include a mapping relation between a local field and a standard field, a conversion rule of a data structure between the local communication data and the standard communication data, and the like. After the terminal acquires the preset format conversion logic, the first complete communication data is converted into first communication data in a standard data format according to the preset format conversion logic, the terminal acquires a product identifier of a financial product registered by a user, searches a service identifier of a service party to which the financial product belongs according to the product identifier, and sends the first communication data in the standard data format to a service server corresponding to the service identifier.
According to the address book data processing method, the terminal converts the communication data of the contact acquired from the local into the communication data in the standard format, the data format is unified, a business party does not need to add a software package in the application program to read the address book data by itself, and the development work of the business party is reduced, so that a plurality of third party development packages do not need to be inserted into the application program, and the size of the program package of the application program is reduced. Meanwhile, after the default communication data of the selected contact person is obtained, the complete communication data of the contact person is automatically obtained, and the complete communication data is sent to the service server, so that the service party can obtain more standby contact information of the contact person.
In one embodiment, the normalizing the first complete communication data according to the predetermined format conversion logic to obtain the first communication data includes: acquiring a field name mapping table; acquiring an original field name in the first complete communication data, searching a standard field name corresponding to the original field name from a field name mapping table, and replacing the original field name with the standard field name; extracting field contents with the same field name from the first complete communication data, generating field arrays according to the extracted field contents and the corresponding field names, and arranging the generated field arrays according to a preset sequence to generate the first communication data.
When the terminal converts the first complete communication data into a standard format, the terminal acquires a pre-stored field name mapping table. The field name mapping table stores 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. Taking the standard field name as "mobile phone number" as an example, the original field names corresponding to the mobile phone numbers on different terminals may be "mobile phone number", "mobile number", "telephone-number", and the like, and all the original field names that may appear on the existing terminal are stored in the field name mapping relationship table.
The terminal extracts an original field name from each field in the first complete communication data, the field refers to each data item, the field includes the field name and field content, for example, a mailbox address is the field name, and 232@ qq.com is specific field content, the fields included in the complete communication data of different contacts may have differences, for example, some contacts have mailbox address fields in the communication data, and some contacts do not have mailbox address fields in the communication data. And after the terminal extracts the original field name, searching a standard field name having a mapping relation with the original field name from the field mapping table, and replacing the original field name of the first complete communication data with the standard field name having the mapping relation. And the terminal replaces all the original field names in the first complete communication data according to the field names.
And after the terminal finishes replacing the original field names in the first complete communication data, classifying the fields. Specifically, field contents with the same field name are extracted and grouped into one group, and each group of field contents and the corresponding field name are combined to generate a field array. The same communication data item of the contact may include multiple data, for example, some contacts may or have multiple mobile phone numbers and multiple mailbox addresses, the terminal classifies the multiple mobile phone numbers into one field array, and the terminal also classifies the multiple mailbox addresses into one field array.
In one embodiment, the terminal classifies the field names, and divides the fields whose field names belong to the same field name class into a group. The terminal searches field category names of field categories to which the standard field names belong, acquires all the standard field names corresponding to the field category names, extracts field contents corresponding to all the standard field names, and generates a field array according to the field category names, the standard field names corresponding to the field category names and the field contents. For example, the mobile phone number field name and the fixed telephone number field name both belong to the telephone field category name, and the field contents corresponding to the mobile phone number field name and the fixed telephone number field name are extracted to form a field array.
After the field array is generated by the terminal, the preset field array arrangement sequence is obtained, and the field array is arranged and combined by the terminal according to the arrangement sequence to generate the first communication data in the standard format. For example, the preset array arrangement order of the fields can be a name field array of the contact, a telephone field array, a mail field array, and the like.
The following description is given by taking the actual communication data of a contact as an example, and the fields included in the address book data are: contact name-Zhang three, cell phone number-138 XXXXXXXX 0, cell phone number-138 XXXXXXXX 1, mailbox address-home @ mail.com and mailbox address-work @ mail.com. The standard field names corresponding to the original field names of contact names, mobile phone numbers and mailbox addresses are respectively ' name ', ' phone ' and ' email ', ' phone ' corresponding field type name and ' email ' corresponding to the phone ' and ' email '. And finally, generating first communication data in a standard format according to the address book data as follows: { "name": zhang three "," phones ": [ { "phone": "138 XXXXXXXX 0" }, { "phone": "138 XXXXXXXX 1" } ], "emails": [ "email": com "}, {" email ": com "}.
In this embodiment, a plurality of fields in the first complete communication data are classified and combined, so that the data structure is more compact, and a third service party can conveniently read data.
In one embodiment, the acquiring the default communication data according to the contact communication data acquiring instruction comprises: acquiring the authority state of default communication data; and when the authority state is the authorized reading state, acquiring default communication data according to the contact person communication data acquisition instruction.
After receiving a contact person communication data acquisition instruction, the terminal acquires the permission state of the current address book data including the default communication data, and whether the permission state application program can read the read permission state of the local address book, wherein the permission state can be set by default of the terminal or can be set by the user by self-selection. And the terminal judges whether the acquired authority state is an authorized reading state, and acquires local default communication data of the terminal when the terminal judges that the current authority state is the authorized reading state.
In one embodiment, after acquiring the authority status of the default communication data, the method further includes: when the authority state is an unauthorized reading state, generating a contact person communication data input prompt; receiving input contact person communication data corresponding to the contact person communication data input prompt, and performing format verification on the contact person communication data; and when the format check is passed, acquiring a preset format conversion logic, carrying out standardization processing on the contact communication data according to the preset format conversion logic to obtain second communication data, and sending the second communication data to the service server.
And when the terminal judges that the acquired authority state is an unauthorized reading state, the application program cannot read the local address book data of the terminal. And the terminal generates a contact data input prompt which is used for prompting the user to input the communication data which are added as the supplementary contact. The contact data input prompt may be a dialog box presented on the interface, a voice prompt, or other form of prompt. After receiving a contact data input prompt input by the terminal, the user inputs the communication data of the supplementary contact, and the user can input the data in an input frame of an interface or can input the data in a voice recording mode. The user can also input communication information by scanning the name card and the two-dimensional code of the supplementary contact person, and the terminal identifies the communication data of the contact person according to an image identification method after acquiring the scanned name card or two-dimensional code image.
And after receiving the contact communication data input by the user, the terminal verifies the data format of the contact communication data. The data format comprises the digit number of the mobile phone number, the character format of the mailbox address, the data format of the mailbox suffix and the like. The terminal can also be networked to check the communication data of the contact, such as checking whether the mobile phone number is a valid number, whether the mobile phone number is a malicious number, and the like. When the data format of the contact person communication data input by the user is verified successfully, the user can be prompted to input correct contact person communication data again until the data format of the contact person communication data input by the user is verified to be passed.
When the data format of the contact person communication data is verified by the terminal, the terminal acquires the preset format conversion logic, and performs format conversion on the contact person communication data input by the user according to the dormitory format conversion logic to convert the contact person communication data into second communication data in a standard format. The specific format conversion method refers to the manner described in the above embodiments, and is not described herein again. The terminal acquires a product identifier of a financial product registered by a user, searches a service identifier of a service party to which the financial product belongs according to the product identifier, and sends second communication data in a standard data format to a service server corresponding to the service identifier.
In one embodiment, when the terminal judges that the acquired permission state is an unauthorized reading state, the terminal prompts a user whether to open the address book reading permission, the user determines whether to open the permission after receiving the prompt, and when the terminal acquires the permission of the user to open the authorized reading permission, the terminal sets the permission state to an authorized reading state and acquires default communication data. And when the terminal acquires the permission of forbidding opening of authorized reading of the user, generating a contact person communication data input prompt.
The terminal can protect the privacy information of the user by setting the authorized reading permission of the address book, and when the terminal does not authorize the reading of the address book, the user can input the contact person communication data by himself, so that the data obtaining mode is diversified.
In one embodiment, after acquiring the first default communication data selected by the selection instruction, the method further includes: searching a communication record corresponding to the first default communication data; calculating a first contact coefficient of a first contact corresponding to the first default communication data according to the communication record; and when the first contact is judged to be the non-trusted contact according to the first contact coefficient, generating a contact replacement prompt.
After the terminal acquires the first default communication data, a communication record corresponding to the first default communication data is searched, wherein the communication record comprises data such as the number of times of communication between a user and a contact corresponding to the first default communication data, the communication time of each communication, the communication duration and the like. The terminal can obtain the contact person identification in the first default communication data, and search the communication record corresponding to the contact person identification.
In one embodiment, the calculating the first contact coefficient of the first contact corresponding to the first default communication data according to the communication record specifically includes: the terminal counts the communication frequency, average communication time and the last call communication time in the communication record, and searches the frequency coefficient V corresponding to the communication frequencyfTime length coefficient V corresponding to average communication time lengthtUpdating coefficient V corresponding to the last call timeuAnd respectively obtaining corresponding weights of the frequency coefficient, the duration coefficient and the update coefficient, and performing weighted summation on the coefficients of the three dimensions to obtain a first relation coefficient, specifically, calculating to obtain a first relation coefficient W according to a formula (1).
W=αVf+βVt+γVu (1)
Wherein, α ∈ (0, 1) is a weight corresponding to the frequency coefficient, β ∈ (0, 1) is a weight corresponding to the duration coefficient, γ ∈ (0, 1) is a weight corresponding to the update coefficient, and the three weights are preset and stored in the terminal.
The terminal obtains a contact coefficient threshold value after obtaining the first contact coefficient, compares the first contact coefficient with the contact coefficient threshold value, judges that the contact is a credible contact when the first contact coefficient is larger than or equal to the contact coefficient threshold value, and judges that the contact is an untrusted contact when the first contact coefficient is smaller than the contact coefficient threshold value. When the terminal judges that the first contact is an untrusted contact, a contact replacement prompt is generated to prompt a user to replace the contact, default communication data can be displayed, and the user selects other contacts.
In other embodiments, the terminal may also determine whether the first contact is a trusted contact in other manners, such as determining whether the call frequency and the average call duration are smaller than a preset value, and whether the call interval of the last call is larger than a preset value.
The terminal analyzes the communication record of the contact selected by the user and judges whether the contact is a trusted contact or not, so that a third party can acquire more real and effective supplementary contact information.
In one embodiment, the address book data processing method further includes: when the first contact is judged to be an untrusted contact according to the first contact coefficient, acquiring a second contact with a communication record in preset time; calculating a second contact coefficient of the second contact according to the communication record of the second contact; screening out recommended contacts from the second contacts according to the second contact coefficient; searching default communication data corresponding to the recommended contact from the address book, and generating 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; and searching second complete communication data corresponding to the second default communication data, standardizing the second complete communication data according to a preset format conversion logic to obtain third communication data, and sending the third communication data to the service server.
When the terminal judges that the first contact is an untrusted contact according to the first contact coefficient, the terminal obtains a preset time, wherein the preset time can be 3 days, 7 days, 15 days and the like. The terminal traverses the communication records of all the contact persons in the address book data, and screens out second contact persons with communication records in preset time, wherein the number of the second contact persons can include a plurality of the second contact persons. The terminal searches for the communication record corresponding to each second contact, and may calculate the second contact coefficient of each second contact according to the calculation method of the first contact coefficient.
After the terminal obtains the second contact coefficient of each second contact, the preset number N of recommended contacts is obtained, the contacts with the second contact coefficients arranged in the top N are screened out from the second contacts, the contacts arranged in the top N are extracted as the recommended contacts, the terminal obtains the contact identifications of the recommended contacts, the default communication data corresponding to the contact identifications are found out, a contact recommendation prompt is generated according to the found default communication data of the recommended contacts, and the contact recommendation prompt can contain the default communication data of the recommended contacts. The contact recommendation prompt can be prompted in a display list, a voice playing mode and the like.
And after receiving the contact person recommendation prompts, the user can select the recommenders according to the contact person recommendation prompts and generate a recommender selection instruction after selection. The terminal receives the recommender selection instruction, and acquires second default communication data of the recommender information selected by the user from the recommender selection instruction, wherein the second default communication data is the default communication data of the recommended contact selected by the user. The terminal extracts the information of the recommended person from the second default communication data, such as the contact person identification, the contact person name and the like, and searches second complete communication data of the recommended person corresponding to the information of the recommended person. And the terminal carries out format standardization processing on the searched second complete communication data and converts the second complete communication data into third communication data in a standard data format. The specific format conversion method refers to the manner described in the above embodiments, and is not described herein again. The terminal acquires the product identification of the financial product registered by the user, searches the service identification of the service party to which the financial product belongs according to the product identification, and sends the third communication data in the standard data format to the service server corresponding to the service identification.
When the terminal judges that the first contact is an untrusted contact, the contact coefficients of other contacts in the address list can be automatically calculated, recommended contacts are screened out according to the contact coefficients, and the frequently-used contacts are recommended to the user.
In one embodiment, the sending the first communication data to the service server includes: and encrypting the first communication data, and sending the encrypted first communication data to the service server.
Before the first communication data are sent to the service server, the terminal encrypts the first communication data, specific encryption rules are agreed by a development end of an application program and the service server in advance, and the encryption rules of different service servers can be consistent or inconsistent. And when the encryption rules of the service servers are consistent, the terminal acquires the preset encryption rule and encrypts the first communication data according to the preset encryption rule. When the agreed encryption rules of the business servers are not consistent, the terminal obtains the business identifier of the business party to which the terminal belongs according to the financial product identifier, searches the encryption rule corresponding to the business identifier, and encrypts the first communication data according to the searched encryption rule. The encryption rule can adopt the existing universal encryption modes such as symmetric encryption, asymmetric encryption and the like.
The terminal encrypts the first communication data and then sends the encrypted first communication data to the service server, so that the data security can be improved, and communication information can be prevented from being stolen by others.
It should be understood that, although the various steps in the flowchart of fig. 2 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in fig. 2 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 3, there is provided an address book data processing apparatus, including: an instruction receiving module 302, a default data obtaining module 304, a selected data obtaining module 306, a complete data searching module 308 and a standard data converting module 310, wherein:
the instruction receiving module 302 is configured to receive a contact person communication data obtaining instruction.
And a default data obtaining module 304, configured to obtain default communication data according to the contact communication data obtaining instruction.
The selected data obtaining module 306 is configured to receive a selection instruction for the default communication data, and obtain a first default communication data selected by the selection instruction.
The complete data searching module 308 is configured to search for first complete communication data corresponding to the first default communication data.
The standard data conversion module 310 is configured to obtain a preset format conversion logic, perform standardization processing on 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 embodiment, the standard data conversion module 310 may include:
and the mapping table acquisition module is used for acquiring the field name mapping table.
And the field name replacing module is used for acquiring the original field name in the first complete communication data, searching the standard field name corresponding to the original field name from the field name mapping table and replacing the original field name with the standard field name.
And the field combination module is used for extracting field contents with the same field names from the first complete communication data, generating field arrays according to the extracted field contents and the corresponding field names, and arranging the generated field arrays according to a preset sequence to generate the first communication data.
In one embodiment, the default data obtaining module 304 may be further configured to obtain an authority status of the default communication data; and when the authority state is an authorized reading state, acquiring default communication data according to the contact person communication data acquisition instruction.
In one embodiment, the address book data processing apparatus may further include:
and the input prompt generating module is used for generating a contact person communication data input prompt when the authority state is an unauthorized reading state.
And the format checking module is used for receiving the input contact person communication data corresponding to the contact person communication data input prompt and carrying out format checking on the contact person communication data.
And the second data conversion module is used for acquiring a preset format conversion logic when the format check is passed, carrying out standardized processing on the communication data of the contact person according to the preset format conversion logic to obtain second communication data, and sending the second communication data to the service server.
In one embodiment, the address book data processing apparatus may further include:
and the record searching module is used for searching the communication record corresponding to the first default communication data.
And the first coefficient calculation module is used for calculating a first contact coefficient of a first contact corresponding to the first default communication data according to the communication record.
And the replacement prompt generation module is used for generating a contact person replacement prompt when the first contact person is judged to be the non-trusted contact person according to the first contact coefficient.
In one embodiment, the address book data processing apparatus may further include:
and the second contact acquiring module is used for acquiring a second contact with a communication record in a preset time when the first contact is judged to be an untrusted contact according to the first contact coefficient.
And the second coefficient calculating module is used for calculating a second contact coefficient of the second contact according to the communication record of the second contact.
And the recommended person screening module is used for screening the recommended contact persons from the second contact persons according to the second contact coefficient.
And the recommendation prompt generation module is used for searching the default communication data corresponding to the recommended contact from the address book and generating a contact recommendation prompt according to the default communication data corresponding to the recommended contact.
And the second data acquisition module is used for receiving a recommender selection instruction generated according to the contact recommendation prompt and acquiring second default communication data selected by the recommender selection instruction.
And the third data conversion module is used for searching second complete communication data corresponding to the second default communication data, carrying out standardized processing on the second complete communication data according to a preset format conversion logic to obtain third communication data, and sending the third communication data to the service server.
In an embodiment, the standard data conversion module 310 may be further configured to encrypt the first communication data, and send the encrypted first communication data to the service server.
For specific limitations of the address book data processing apparatus, reference may be made to the above limitations of the address book data processing method, which are not described herein again. All or part of each module in the address book data processing device can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram 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 by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to realize a method for processing address book data. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 4 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, there is provided a computer device comprising a memory storing a computer program and a processor implementing the following steps when the processor executes the computer program: receiving a contact person communication data acquisition instruction; acquiring default communication data according to the contact communication data acquisition instruction; receiving a selection instruction of default communication data, and acquiring first default communication data selected by the selection instruction; searching first complete communication data corresponding to the first default communication data; and acquiring a preset format conversion logic, carrying out standardization processing on the first complete communication data according to the preset format conversion logic to obtain first communication data, and sending the first communication data to the service server.
In one embodiment, the processor, when executing the computer program, is further configured to normalize the first complete communication data according to the predetermined format conversion logic to obtain the first communication data: acquiring a field name mapping table; acquiring an original field name in the first complete communication data, searching a standard field name corresponding to the original field name from a field name mapping table, and replacing the original field name with the standard field name; and extracting field contents with the same field name from the first complete communication data, generating field arrays according to the extracted field contents and the corresponding field names, and arranging the generated field arrays according to a preset sequence to generate the first communication data.
In one embodiment, the processor, when executing the computer program, is further configured to, when obtaining the default communication data according to the contact communication data obtaining instruction: acquiring the authority state of default communication data; and when the authority state is the authorized reading state, acquiring default communication data according to the contact person communication data acquisition instruction.
In one embodiment, the processor, when executing the computer program, further performs the steps of: when the authority state is an unauthorized reading state, generating a contact person communication data input prompt; receiving input contact person communication data corresponding to the contact person communication data input prompt, and performing format verification on the contact person communication data; and when the format check is passed, acquiring a preset format conversion logic, carrying out standardization processing on the contact communication data according to the preset format conversion logic to obtain second communication data, and sending the second communication data to the service server.
In one embodiment, the processor, when executing the computer program, further performs the steps of: searching a communication record corresponding to the first default communication data; calculating a first contact coefficient of a first contact corresponding to the first default communication data according to the communication record; and when the first contact is judged to be the non-trusted contact according to the first contact coefficient, generating a contact replacement prompt.
In one embodiment, the processor, when executing the computer program, further performs the steps of: when the first contact is judged to be an untrusted contact according to the first contact coefficient, acquiring a second contact with a communication record in preset time; calculating a second contact coefficient of the second contact according to the communication record of the second contact; screening out recommended contacts from the second contacts according to the second contact coefficient; searching default communication data corresponding to the recommended contact from the address book, and generating 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; and searching second complete communication data corresponding to the second default communication data, standardizing the second complete communication data according to a preset format conversion logic to obtain third communication data, and sending the third communication data to the service server.
In one embodiment, the processor, when executing the computer program, is further configured to: and encrypting the first communication data, and sending the encrypted first communication data to the service server.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: receiving a contact person communication data acquisition instruction; acquiring default communication data according to the contact communication data acquisition instruction; receiving a selection instruction of default communication data, and acquiring first default communication data selected by the selection instruction; searching first complete communication data corresponding to the first default communication data; and acquiring a preset format conversion logic, carrying out standardization processing on the first complete communication data according to the preset format conversion logic to obtain first communication data, and sending the first communication data to the service server.
In one embodiment, the computer program when executed by the processor is further configured to normalize the first complete communication data according to the predefined format conversion logic to obtain the first communication data: acquiring a field name mapping table; acquiring an original field name in the first complete communication data, searching a standard field name corresponding to the original field name from a field name mapping table, and replacing the original field name with the standard field name; and extracting field contents with the same field name from the first complete communication data, generating field arrays according to the extracted field contents and the corresponding field names, and arranging the generated field arrays according to a preset sequence to generate the first communication data.
In one embodiment, the computer program when executed by the processor further causes the apparatus to, when obtaining the default communication data according to the contact communication data obtaining instruction: acquiring the authority state of default communication data; and when the authority state is an authorized reading state, acquiring default communication data according to the contact person communication data acquisition instruction. In one embodiment, the computer program when executed by the processor further performs the steps of:
in one embodiment, the computer program when executed by the processor further performs the steps of: when the authority state is an unauthorized reading state, generating a contact person communication data input prompt; receiving input contact person communication data corresponding to the contact person communication data input prompt, and performing format verification on the contact person communication data; and when the format check is passed, acquiring a preset format conversion logic, carrying out standardization processing on the contact communication data according to the preset format conversion logic to obtain second communication data, and sending the second communication data to the service server.
In one embodiment, the computer program when executed by the processor further performs the steps of: searching a communication record corresponding to the first default communication data; calculating a first contact coefficient of a first contact corresponding to the first default communication data according to the communication record; and when the first contact is judged to be the non-trusted contact according to the first contact coefficient, generating a contact replacement prompt.
In one embodiment, the computer program when executed by the processor further performs the steps of: when the first contact is judged to be an untrusted contact according to the first contact coefficient, acquiring a second contact with a communication record in preset time; calculating a second contact coefficient of the second contact according to the communication record of the second contact; screening out recommended contacts from the second contacts according to the second contact coefficient; searching default communication data corresponding to the recommended contact from the address book, and generating 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; and searching second complete communication data corresponding to the second default communication data, standardizing the second complete communication data according to a preset format conversion logic to obtain third communication data, and sending the third communication data to the service server.
In one embodiment, the computer program when executed by the processor implements the steps of: when the first communication data is sent to the service server, the method is further used for: and encrypting the first communication data, and sending the encrypted first communication data to the service server.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include non-volatile and/or volatile memory. Non-volatile 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 a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method for processing address book data, the method comprising:
receiving a contact person communication data acquisition instruction;
acquiring default communication data according to the contact person communication data acquisition instruction;
receiving a selection instruction of the default communication data, and acquiring first default communication data selected by the selection instruction;
searching first complete communication data corresponding to the first default communication data;
acquiring a preset format conversion logic, a field name mapping table and an original field name in the first complete communication data, searching a standard field name corresponding to the original field name from the field name mapping table, and replacing the original field name with the standard field name;
extracting field contents with the same field name from the first complete communication data, generating field arrays according to the extracted field contents and the corresponding field names, arranging the generated field arrays according to a preset sequence to generate first communication data, and sending the first communication data to a service server.
2. The method of claim 1, wherein the obtaining default communication data according to the contact communication data obtaining instruction comprises:
acquiring the authority state of default communication data;
and when the authority state is an authorized reading state, acquiring default communication data according to the contact person communication data acquisition instruction.
3. The method of claim 2, wherein after obtaining the permission status of the default communication data, further comprising:
when the authority state is an unauthorized reading state, generating a contact person communication data input prompt;
receiving input contact person communication data corresponding to the contact person communication data input prompt, and performing format verification on the contact person communication data;
and when the format check is passed, acquiring a preset format conversion logic, carrying out standardization processing on the contact person communication data according to the preset format conversion logic to obtain second communication data, and sending the second communication data to a service server.
4. The method of claim 3, wherein after obtaining the first default communication data selected by the selection instruction, further comprising:
searching a communication record corresponding to the first default communication data;
calculating a first contact coefficient of a first contact corresponding to the first default communication data according to the communication record;
and when the first contact is judged to be an untrusted contact according to the first contact coefficient, generating a contact replacement prompt.
5. The method of claim 4, further comprising:
when the first contact is judged to be an untrusted contact according to the first contact coefficient, acquiring a second contact with a communication record in a preset time;
calculating a second contact coefficient of the second contact according to the communication record of the second contact;
screening out recommended contacts from the second contacts according to the second contact coefficient;
searching the default communication data corresponding to the recommended contact from the address book, and generating 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;
and searching second complete communication data corresponding to the second default communication data, standardizing the second complete communication data according to a preset format conversion logic to obtain third communication data, and sending the third communication data to a service server.
6. The method of claim 1, wherein the sending the first communication data to a service server comprises:
and encrypting the first communication data, and sending the encrypted first communication data to a service server.
7. An address book data processing apparatus, comprising:
the instruction receiving module is used for receiving a contact person communication data acquisition instruction;
the default data acquisition module is used for acquiring default communication data according to the contact person communication data acquisition instruction;
the selected data acquisition module is used for receiving a selection instruction of the default communication data and acquiring first default communication data selected by the selection instruction;
the complete data searching module is used for searching first complete communication data corresponding to the first default communication data;
the standard data conversion module is used for acquiring a preset format conversion logic, a field name mapping table and an original field name in the first complete communication data, searching a standard field name corresponding to the original field name from the field name mapping table, and replacing the original field name with the standard field name; extracting field contents with the same field name from the first complete communication data, generating field arrays according to the extracted field contents and the corresponding field names, arranging the generated field arrays according to a preset sequence to generate first communication data, and sending the first communication data to a service server.
8. The apparatus of claim 7, wherein the default data obtaining module is further configured to obtain a permission status of default communication data; and when the authority state is an authorized reading state, acquiring default communication data according to the contact person communication data acquisition instruction.
9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 6 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
CN201810428407.2A 2018-05-07 2018-05-07 Address book data processing method and device, computer equipment and storage medium Active CN108881383B (en)

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 and 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 and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN108881383A CN108881383A (en) 2018-11-23
CN108881383B true CN108881383B (en) 2022-06-21

Family

ID=64327416

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810428407.2A Active CN108881383B (en) 2018-05-07 2018-05-07 Address book data processing method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108881383B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
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
CN111065094B (en) * 2019-12-16 2023-08-25 Oppo广东移动通信有限公司 Address book transmission method and device, storage medium and electronic equipment
CN111414526B (en) * 2020-03-02 2023-04-21 浙江同洲项目管理有限公司 Elevator additionally-installed supervision method and computer-readable storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6956942B2 (en) * 2002-09-18 2005-10-18 Sbc Properties, L.P. Multi-modal address book
CN101431537B (en) * 2008-11-19 2012-05-02 华为终端有限公司 Method and apparatus for address information intercommunication between different network
CN104519186B (en) * 2013-09-29 2018-10-19 深圳桑菲消费通信有限公司 Convert the method and device of address list
CN103634313B (en) * 2013-11-27 2017-05-10 中国科学院深圳先进技术研究院 Address list processing method and device, as well as mobile terminal
CN106506511B (en) * 2016-11-17 2019-08-23 京东方科技集团股份有限公司 A kind of address list information processing method, device
CN106550084B (en) * 2016-12-06 2019-06-04 北京安云世纪科技有限公司 Directory number format processing method, system and its equipment

Also Published As

Publication number Publication date
CN108881383A (en) 2018-11-23

Similar Documents

Publication Publication Date Title
US11323260B2 (en) Method and device for identity verification
US11556668B2 (en) System and method for dynamic generation of URL by smart card
US8868921B2 (en) Methods and systems for authenticating users over networks
US11038878B2 (en) Computer system security using a biometric authentication gateway for user service access with a divided and distributed private encryption key
US11861042B2 (en) Individual data unit and methods and systems for enhancing the security of user data
US20100269162A1 (en) Website authentication
CN108881383B (en) Address book data processing method and device, computer equipment and storage medium
US11824850B2 (en) Systems and methods for securing login access
US20190347441A1 (en) Patient privacy de-identification in firewall switches forming VLAN segregation
US20230205861A1 (en) Method and system for obtaining consent to perform an operation
CN116962021A (en) Method, device, equipment and medium for user real name authentication in financial cooperative institution
CN114448722B (en) Cross-browser login method and device, computer equipment and storage medium
US20220248233A1 (en) Subscriber Identification Module (SIM) Authentication Protections
CN106453273A (en) Cloud technology based information security management system and method
CN111259363A (en) Service access information processing method, system, device, equipment and storage medium
US20240163279A1 (en) Systems and methods for securing login access
CN111740980B (en) Method and device for logging in application, mobile terminal and storage medium
KR101559203B1 (en) Biometric information authentication system and method
KR20190118253A (en) Simple authentication method and system
US11985507B2 (en) Subscriber identification module (SIM) authentication protections
CN114567451B (en) Identity verification method, identity verification device, computer equipment and storage medium
US20190260740A1 (en) System, Method, and Apparatus for Data Access Security
CN117633889A (en) Sensitive information viewing method and system based on two-dimensional code

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