CN105808573A - Method and apparatus for re-ordering contact person database - Google Patents

Method and apparatus for re-ordering contact person database Download PDF

Info

Publication number
CN105808573A
CN105808573A CN201410848003.0A CN201410848003A CN105808573A CN 105808573 A CN105808573 A CN 105808573A CN 201410848003 A CN201410848003 A CN 201410848003A CN 105808573 A CN105808573 A CN 105808573A
Authority
CN
China
Prior art keywords
contact
preference
user
extension flag
database
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.)
Pending
Application number
CN201410848003.0A
Other languages
Chinese (zh)
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.)
Lemobile Information Technology (Beijing) Co Ltd
LeTV Mobile Intelligent Information Technology Beijing Co Ltd
Original Assignee
LeTV Mobile Intelligent Information Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by LeTV Mobile Intelligent Information Technology Beijing Co Ltd filed Critical LeTV Mobile Intelligent Information Technology Beijing Co Ltd
Priority to CN201410848003.0A priority Critical patent/CN105808573A/en
Publication of CN105808573A publication Critical patent/CN105808573A/en
Pending legal-status Critical Current

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The invention provides a method and an apparatus for re-ordering a contact person database. The method comprises the steps of obtaining preference contact information of a user; querying the contact person database, setting an extended flag bit of contact person data corresponding to the preference contact information of the user as a first flag, and setting extended flag bits of other contact person data beyond the contact person data corresponding to the preference contact information of the user as second flags; and refreshing a display interface of the contact person database, re-ordering the contact person data in the contact person database, and putting the contact person data with the extended flag bit as the first flag at the top. According to the method and apparatus, the preference contact information of the user is located at the top end of the contact person database, so that when the user wants to obtain the preference contact information of the user, the user can quickly obtain the preference contact information of the user in the contact person database.

Description

A kind of method to contact database rearrangement and device thereof
Technical field
The application relates to contact database inquiring technology field, particularly relates to a kind of method to contact database rearrangement and device thereof.
Background technology
Obtain the contact method of contact person for the ease of user, the termination such as mobile phone generally arranges contact database, address list in such as mobile phone or message registration.Number of contacts in existing contact database is generally more than hundred, when user goes for a certain preference contact method, generally requires and is inquired about by the mode searched for.But, user remains a need for input search condition, and contact database is just provided that the contact data meeting search condition.Therefore, when user goes for its preference contact method, it is impossible to quickly obtain the preference contact method of user in contact database.
Therefore, when user goes for its preference contact method, how quickly obtaining the preference contact method of user in contact database becomes technical problem urgently to be resolved hurrily.
Summary of the invention
In view of this, the application provides a kind of method to contact database rearrangement and device thereof, it makes the preference contact method of user be positioned at the top of contact database, thus when user goes for its preference contact method, can quickly obtain the preference contact method of user in contact database.
The application provides a kind of method to contact database rearrangement, and described method includes:
Obtain the preference contact method of user;
Inquiring contactor data base, the extension flag position of the contact data corresponding with the preference contact method of described user is set to the first mark, the extension flag position of other contact data beyond the contact data corresponding with the preference contact method of described user is set to the second mark;
Refresh the display interface of described contact database, make the contact data in described contact database resequence, by the contact data top set that described extension flag position is the first mark.
In the application one specific embodiment, the display interface of described refreshing contact database, make the contact data in described contact database resequence, the contact data top set that described extension flag position is the first mark is also included:
The contact data that described extension flag position is the first mark is ranked up according to the first preset rules;
The contact data that described extension flag position is the second mark is ranked up according to the second preset rules.
In the application one specific embodiment, the described preference contact method obtaining user also includes:
Obtain the preference level of described preference contact method;
Described first preset rules is the preference level of described preference contact method.
In the application one specific embodiment, if described contact database is address book data storehouse, described second preset rules is the surname phonetic of contact person;
If described contact database is relationship record data base, described second preset rules is contact time or the contact frequency of described contact method.
In the application one specific embodiment, described extension flag position is the field increased in every contact data of described contact database in advance.
The application also provides for a kind of device to contact database rearrangement, and described method includes:
Preference obtains module, for obtaining the preference contact method of user;
Mark adds module, for inquiring contactor data base, the extension flag position of the contact data corresponding with the preference contact method of described user is set to the first mark, the extension flag position of other contact data beyond the contact data corresponding with the preference contact method of described user is set to the second mark;
Interface refresh module, for refreshing the display interface of described contact database, makes the contact data in described contact database resequence, by the contact data top set that described extension flag position is the first mark.
In the application one specific embodiment, described interface refresh module is additionally operable to,
The contact data that described extension flag position is the first mark is ranked up according to the first preset rules;
The contact data that described extension flag position is the second mark is ranked up according to the second preset rules.
In the application one specific embodiment, described preference obtains module and is additionally operable to
Obtain the preference level of described preference contact method;
Described first preset rules is the preference level of described preference contact method.
In the application one specific embodiment, if described contact database is address book data storehouse, described second preset rules is the surname phonetic of contact person;
If described contact database is relationship record data base, described second preset rules is contact time or the contact frequency of described contact method.
In the application one specific embodiment, described extension flag position is the field increased in every contact data of described contact database in advance.
From above technical scheme, the application termination obtains the preference contact method of user, and the extension flag position of contact data corresponding with the preference contact method of described user in contact database is set to the first mark, the extension flag position of other contact data beyond the contact data corresponding with the preference contact method of described user is set to the second mark.Termination refreshes the display interface of contact database, the data in described contact database is resequenced, by the data top set that described extension flag position is the first mark.The application makes the preference contact method of user be positioned at the top of contact database.Therefore, when user goes for its preference contact method, the preference contact method of user in contact database be can quickly obtain, ease for use and the convenience of contact database added.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present application or technical scheme of the prior art, the accompanying drawing used required in embodiment or description of the prior art will be briefly described below, apparently, the accompanying drawing that the following describes is only some embodiments recorded in the application, for those of ordinary skill in the art, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the structure chart of the termination that the application applies;
Fig. 2 is the flow chart that the application updates the method for contact database;
Fig. 3 is the display interface schematic diagram that the application selects preference contact method in cell phone address book;
Fig. 4 is the display interface schematic diagram that the application selects preference contact method in mobile phone call history;
Fig. 5 is the application display interface schematic diagram after cell phone address book refreshes;
Fig. 6 is the application display interface schematic diagram after mobile phone call history refreshes;
Fig. 7 is the structure chart that the application updates the device of contact database;
Fig. 8 is the schematic diagram of the application cell phone address book one display interface;
Fig. 9 is the schematic diagram of the application another display interface of cell phone address book;
Figure 10 is the schematic diagram of the application mobile phone call history one display interface;
Figure 11 is the schematic diagram of the application another display interface of mobile phone call history.
Detailed description of the invention
The application termination obtains the preference contact method of user, and the extension flag position of contact data corresponding with the preference contact method of described user in contact database is set to the first mark, the extension flag position of other contact data beyond the contact data corresponding with the preference contact method of described user is set to the second mark.Termination refreshes the display interface of contact database, the data in described contact database is resequenced, by the data top set that described extension flag position is the first mark.The application makes the preference contact method of user, is positioned at the top of contact database.Therefore, when user goes for its preference contact method, the preference contact method of user in contact database be can quickly obtain, ease for use and the convenience of contact database added.
Certainly, any technology scheme implementing the application must be not necessarily required to reach all the above advantage simultaneously.
In order to make those skilled in the art be more fully understood that the technical scheme in the application, below in conjunction with the accompanying drawing in the embodiment of the present application, technical scheme in the embodiment of the present application is clearly and completely described, obviously, described embodiment is only some embodiments of the present application, rather than whole embodiments.Based on the embodiment in the application, the every other embodiment that those of ordinary skill in the art obtain, all should belong to the scope of the application protection.
Further illustrate the application below in conjunction with illustrations to implement.
The application provides a kind of method updating contact database, is applied to the termination such as mobile phone.Referring to Fig. 1, described termination 1 includes on hardware: input module 11, output module 12, main control module 13, memory module 14.Wherein, described input module 11, for receiving the input instruction of user;Described output module 12, is used for carrying out output display;Described main control module 13, for the input instruction according to described input module 11, calls the program being stored in described memory module 14, carries out data process, and control described output module 12 output display;Described memory module 14, is used for the program that stores and intermediate data.
Referring to Fig. 2, described method includes:
S1, obtain user preference contact method.
Specifically, the input module 11 of described termination 1 receives the input instruction of user, and at least one contact method in the contact database of user is set as the preference contact method of user.
Described contact database is address list or relationship record, and described relationship record is message registration or other logs, such as mail contact record etc..
Such as, described termination is mobile phone, and described contact database is cell phone address book, and user arranges the preference contact method that at least one contact method is user in the address list of mobile phone by input module 11.
Again such as, described termination is mobile phone, and described contact database is mobile phone call history, and user arranges the preference contact method that at least one contact method is user in the message registration of mobile phone by input module 11.
Referring to Fig. 3, user selects the preference contact method that contact method is user of Zhang San in the address list 31 of mobile phone 3 by input module 11.
Referring to Fig. 4, user also can pass through input module 11 select the preference contact method that in the message registration 41 of mobile phone 4, telephone number " 12367891234 " is user.
S2, inquiring contactor data base, the extension flag position of the contact data corresponding with the preference contact method of described user is set to the first mark, and the extension flag position of other contact data beyond the contact data corresponding with the preference contact method of described user is set to the second mark.
Specifically, in advance the list structure of herein described contact database is adjusted, in every contact data of described contact database, increases by a field in advance as extension flag position.
Such as, described contact database is cell phone address book, and table one is the list structure schematic diagram of existing address list, and it includes name of contact person and telephone number, and the list structure of certain described address list also can include other fields.Referring to table two, it is the list structure schematic diagram of the address list after the application adjustment, which increases the field as extension flag position.
Table one
Name Telephone number
Li Si 12347896574
King two 12367896547
Zhang San 12345678987
Table two
Name Telephone number Extension flag position
Li Si 12347896574
King two 12367896547
Zhang San 12345678987
The extension flag position of the contact data corresponding to the preference contact method of described user is set to the first mark by the application, and the extension flag position of other contact data beyond the contact data corresponding to the preference contact method of user in address list is set to the second mark.
If the contact method that preference contact method is Zhang San of described user, then the list structure schematic diagram of address list is as shown in Table 3.Specifically, the extension flag position of the contact data corresponding to the contact method of Zhang San being set to " true ", in address list, the extension flag position of other contact data beyond the contact method of Zhang San is set to " false ".
Table three
Name Telephone number Extension flag position
Li Si 12347896574 false
King two 12367896547 true
Zhang San 12345678987 false
Again such as, described contact database is mobile phone call history, and table four is the list structure schematic diagram of existing mobile phone call history, and it includes contact method and air time, and the list structure of certain described address list also can include other fields.Referring to table five, it is the list structure schematic diagram of the mobile phone call history after the application adjustment, which increases the field as extension flag position.
Table four
Contact method Air time
Li Si 9:00
12367891234 Yesterday
King two Yesterday
Table five
Contact method Air time Extension flag position
Li Si 9:00
12367891234 Yesterday
King two Yesterday
The extension flag position of the contact data corresponding to the preference contact method of described user is set to the first mark by the application, and the extension flag position of other contact data beyond the contact data corresponding to the preference contact method of user in mobile phone call history is set to the second mark.
If the preference contact method of described user is " 12367891234 ", then the list structure of mobile phone call history is as shown in Table 6.Specifically, the extension flag position of the contact data corresponding to " 12367891234 " being set to " true ", the extension flag position of other contact data beyond contact data corresponding to " 12367891234 " is set to " false ".
Table six
Contact method Air time Extension flag position
Li Si 9:00 false
12367891234 Yesterday true
King two Yesterday false
S3, refresh the display interface of described contact database, make the contact data in described contact database resequence, by the contact data top set that described extension flag position is the first mark.
After the application arranges the extension flag position of described contact database, the contact data in described contact database is made to resequence according to described extension flag position.Described ordering rule is extension flag position described in top set is the contact data of the first mark.Thus making in the display interface of the contact database after refreshing, described extension flag position is that the data of the first mark are by top set.
Display interface after the display interface refreshing of the cell phone address book in Fig. 3 is as shown in Figure 5.
Display interface after the display interface refreshing of the mobile phone call history in Fig. 4 is as shown in Figure 6.
The application makes the preference contact method of user, is positioned at the top of contact database.Therefore, when user goes for its preference contact method, the preference contact method of user in contact database be can quickly obtain, ease for use and the convenience of contact database added.
In another of the application implements, described method step S3 also includes:
The contact data that described extension flag position is the first mark is ranked up according to the first preset rules.
The contact data that described extension flag position is the second mark is ranked up according to the second preset rules.
The data that the application makes extension flag position be the first mark, namely the preference contact method of user, is positioned at the top of contact database.The data that described extension flag position is the first mark are ranked up by the present embodiment further according to the first preset rules, the data that described extension flag position is the second mark are ranked up according to the second preset rules according to the second preset rules.
Specifically, described step S1 also includes:
Obtain the preference level of described preference contact method.
The input module 11 of described termination 1 receives the input instruction of user, and described input instruction includes the preference level of described preference contact method.This preference level is more high, it was shown that user is more high to the preference of this contact method, is normally set up " one-level " contact method for user's preference the most.
Described first preset rules is the preference level of described preference contact method.
The preference level of the described preference contact method that the contact data that described extension flag position is the first mark includes according to user input instruction is ranked up by described termination 1.Therefore, the contact method of top set is ranked up by the present embodiment further according to preference level.When user goes for its preference contact method the most, can quickly obtain the contact method of user's preference the most in contact database, add ease for use and the convenience of contact database.
Specifically, if described contact database is address book data storehouse, described second preset rules is the surname phonetic of contact person.
If described contact database is address book data storehouse, the contact data that described extension flag position is the second mark is ranked up according to the surname phonetic of contact person.Therefore, if described contact database is address book data storehouse, the present embodiment is by other contact methods beyond the contact method of top set, and the surname phonetic further according to contact person is ranked up.When user goes for other contact methods beyond preference contact method, still can make a look up according to the surname phonetic of contact person, further increase ease for use and the convenience of contact database.
If described contact database is relationship record data base, described second preset rules is contact time or the contact frequency of described contact method.
If described contact database is relationship record data base, the contact data that described extension flag position is the second mark is ranked up according to contact time or the contact frequency of described contact method.Therefore, if described contact database is relationship record data base, the present embodiment is by other contact methods beyond the contact method of top set, and contact time or contact frequency further according to described contact method are ranked up.When user goes for other contact methods beyond preference contact method, still can make a look up according to the contact time of contact method or contact frequency, further increase ease for use and the convenience of contact database.
Corresponding said method, the application also provides for a kind of device updating address list, is applied to the terminal units such as mobile phone.The hardware configuration of described terminal unit 1 is not as it is shown in figure 1, repeat them here.
Referring to Fig. 7, the device of herein described renewal address list logically includes:
Preference obtains module 71, for obtaining the preference contact method of user.
Mark adds module 72, for inquiring contactor data base, the extension flag position of the contact data corresponding with the preference contact method of described user is set to the first mark, the extension flag position of other contact data beyond the contact data corresponding with the preference contact method of described user is set to the second mark.
Interface refresh module 73, for refreshing the display interface of described contact database, makes the contact data in described contact database resequence, by the contact data top set that described extension flag position is the first mark.
Specifically, the input module 11 of described termination 1 receives the input instruction of user, and at least one contact method in the contact database of user is set as the preference contact method of user.
Described contact database is address list or relationship record, and described relationship record is message registration or other logs, such as mail contact record etc..
Such as, described termination is mobile phone, and described contact database is cell phone address book, and user arranges the preference contact method that at least one contact method is user in the address list of mobile phone by input module 11.
Again such as, described termination is mobile phone, and described contact database is mobile phone call history, and user arranges the preference contact method that at least one contact method is user in the message registration of mobile phone by input module 11.
Referring to Fig. 3, user selects the preference contact method that contact method is user of Zhang San in the address list 31 of mobile phone 3 by input module 11.
Referring to Fig. 4, user also can pass through input module 11 select the preference contact method that in the message registration 41 of mobile phone 4, telephone number " 12367891234 " is user.
Specifically, in advance the list structure of herein described contact database is adjusted, in every contact data of described contact database, increases by a field in advance as extension flag position.
Such as, described contact database is cell phone address book, and table one is the list structure schematic diagram of existing address list, and it includes name of contact person and telephone number, and the list structure of certain described address list also can include other fields.Referring to table two, it is the list structure schematic diagram of the address list after the application adjustment, which increases the field as extension flag position.
Table one
Name Telephone number
Li Si 12347896574
King two 12367896547
Zhang San 12345678987
Table two
Name Telephone number Extension flag position
Li Si 12347896574
King two 12367896547
Zhang San 12345678987
The extension flag position of the contact data corresponding to the preference contact method of described user is set to the first mark by the application, and the extension flag position of other contact data beyond the contact data corresponding to the preference contact method of user in address list is set to the second mark.
If the contact method that preference contact method is Zhang San of described user, then the list structure schematic diagram of address list is as shown in Table 3.Specifically, the extension flag position of the contact data corresponding to the contact method of Zhang San being set to " true ", in address list, the extension flag position of other contact data beyond the contact method of Zhang San is set to " false ".
Table three
Name Telephone number Extension flag position
Li Si 12347896574 false
King two 12367896547 true
Zhang San 12345678987 false
Again such as, described contact database is mobile phone call history, and table four is the list structure schematic diagram of existing mobile phone call history, and it includes contact method and air time, and the list structure of certain described address list also can include other fields.Referring to table five, it is the list structure schematic diagram of the mobile phone call history after the application adjustment, which increases the field as extension flag position.
Table four
Contact method Air time
Li Si 9:00
12367891234 Yesterday
King two Yesterday
Table five
Contact method Air time Extension flag position
Li Si 9:00
12367891234 Yesterday
King two Yesterday
The extension flag position of the contact data corresponding to the preference contact method of described user is set to the first mark by the application, and the extension flag position of other contact data beyond the contact data corresponding to the preference contact method of user in mobile phone call history is set to the second mark.
If the preference contact method of described user is " 12367891234 ", then the list structure of mobile phone call history is as shown in Table 6.Specifically, the extension flag position of the contact data corresponding to " 12367891234 " being set to " true ", the extension flag position of other contact data beyond contact data corresponding to " 12367891234 " is set to " false ".
Table six
Contact method Air time Extension flag position
Li Si 9:00 false
12367891234 Yesterday true
King two Yesterday false
After the application arranges the extension flag position of described contact database, the contact data in described contact database is made to resequence according to described extension flag position.Described ordering rule is extension flag position described in top set is the contact data of the first mark.Thus making in the display interface of the contact database after refreshing, described extension flag position is that the data of the first mark are by top set.
Display interface after the display interface refreshing of the cell phone address book in Fig. 3 is as shown in Figure 5.
Display interface after the display interface refreshing of the mobile phone call history in Fig. 4 is as shown in Figure 6.
The application makes the preference contact method of user, is positioned at the top of contact database.Therefore, when user goes for its preference contact method, the preference contact method of user in contact database be can quickly obtain, ease for use and the convenience of contact database added.
In another of the application implements, described interface refresh module 73 is additionally operable to,
The contact data that described extension flag position is the first mark is ranked up according to the first preset rules.
The contact data that described extension flag position is the second mark is ranked up according to the second preset rules.
The data that the application makes extension flag position be the first mark, namely the preference contact method of user, is positioned at the top of contact database.The data that described extension flag position is the first mark are ranked up by the present embodiment further according to the first preset rules, the data that described extension flag position is the second mark are ranked up according to the second preset rules according to the second preset rules.
Specifically, described preference obtains module 71 and is additionally operable to,
Obtain the preference level of described preference contact method.
The input module 11 of described termination 1 receives the input instruction of user, and described input instruction includes the preference level of described preference contact method.This preference level is more high, it was shown that user is more high to the preference of this contact method, is normally set up " one-level " contact method for user's preference the most.
Described first preset rules is the preference level of described preference contact method.
The preference level of the described preference contact method that the contact data that described extension flag position is the first mark includes according to user input instruction is ranked up by described termination 1.Therefore, the contact method of top set is ranked up by the present embodiment further according to preference level.When user goes for its preference contact method the most, can quickly obtain the contact method of user's preference the most in contact database, add ease for use and the convenience of contact database.
Specifically, if described contact database is address book data storehouse, described second preset rules is the surname phonetic of contact person.
If described contact database is address book data storehouse, the contact data that described extension flag position is the second mark is ranked up according to the surname phonetic of contact person.Therefore, if described contact database is address book data storehouse, the present embodiment is by other contact methods beyond the contact method of top set, and the surname phonetic further according to contact person is ranked up.When user goes for other contact methods beyond preference contact method, still can make a look up according to the surname phonetic of contact person, further increase ease for use and the convenience of contact database.
If described contact database is relationship record data base, described second preset rules is contact time or the contact frequency of described contact method.
If described contact database is relationship record data base, the contact data that described extension flag position is the second mark is ranked up according to contact time or the contact frequency of described contact method.Therefore, if described contact database is relationship record data base, the present embodiment is by other contact methods beyond the contact method of top set, and contact time or contact frequency further according to described contact method are ranked up.When user goes for other contact methods beyond preference contact method, still can make a look up according to the contact time of contact method or contact frequency, further increase ease for use and the convenience of contact database.
Further illustrate the application below by an application scenarios to realize.
Referring to Fig. 8, the address list interface 81 of mobile phone 8 shows its address list, and the address list schematic diagram of mobile phone is as shown in Table 7.
Table seven
Name Telephone number
Radix Pruni Salicinae 18645678987
Wang Hao 18667896547
Zhang Min 18647896574
Zhao Chen 18667891234
First the list structure of herein described address list is adjusted, every contact data of described address list increases the field as extension flag position, as shown in Table 8.
Table eight
Name Telephone number Extension flag position
Radix Pruni Salicinae 18645678987
Wang Hao 18667896547
Zhang Min 18647896574
Zhao Chen 18667891234
User, by inputting instruction, selects " Zhao Chen " as preference contact method in the address list of mobile phone.
The extension flag position of the contact data corresponding to contact method arranging described " Zhao Chen " is " 1 ", and the extension flag position arranging other contact data is " 0 ", as shown in Table 9.
Table nine
Name Telephone number Extension flag position
Radix Pruni Salicinae 18645678987 0
Wang Hao 18667896547 0
Zhang Min 18647896574 0
Zhao Chen 18667891234 1
Mobile phone refreshes the display interface of address list, and contact method top set in the address list of described mobile phone of order described " Zhao Chen ", other contact methods are ranked up according to the initial of surname.Its display interface is as shown in Figure 9.
Further illustrate the application below by Another Application scene to realize.
Referring to Figure 10, the message registration interface 101 of mobile phone 10 shows its message registration, and the message registration schematic diagram of mobile phone is as shown in Table 9.
Table nine
Contact method Air time
Zhang Min 09:11
Radix Pruni Salicinae 16:42
Wang Hao Yesterday
Zhao Chen Yesterday
First the list structure of herein described message registration is adjusted, every contact data of described message registration increases the field as extension flag position, as shown in Table 10.
Table ten
Contact method Air time Extension flag position
Zhang Min 09:11
Radix Pruni Salicinae 16:42
Wang Hao Yesterday
Zhao Chen Yesterday
User, by inputting instruction, selects " Radix Pruni Salicinae " as preference contact method in the message registration of mobile phone.
The extension flag position of the contact data corresponding to contact method arranging described " Radix Pruni Salicinae " is " 1 ", and the extension flag position arranging other contact data is " 0 ", as shown in table 11.
Table 11
Name Telephone number Extension flag position
Zhang Min 09:11 0
Radix Pruni Salicinae 16:42 1
Wang Hao Yesterday 0
Zhao Chen Yesterday 0
Mobile phone refreshes the display interface of address list, and contact method top set in the message registration of described mobile phone of order described " Radix Pruni Salicinae ", other contact methods are ranked up according to voice frequency.Its display interface is as shown in figure 11.
It will be understood by those skilled in the art that embodiments herein can be provided as method, device (equipment) or computer program.Therefore, the application can adopt the form of complete hardware embodiment, complete software implementation or the embodiment in conjunction with software and hardware aspect.And, the application can adopt the form at one or more upper computer programs implemented of computer-usable storage medium (including but not limited to disk memory, CD-ROM, optical memory etc.) wherein including computer usable program code.
The application describes with reference to flow chart and/or the block diagram according to the method for the embodiment of the present application, device (equipment) and computer program.It should be understood that can by the combination of the flow process in each flow process in computer program instructions flowchart and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can be provided to produce a machine to the processor of general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device so that the instruction performed by the processor of computer or other programmable data processing device is produced for realizing the device of function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and can guide in the computer-readable memory that computer or other programmable data processing device work in a specific way, the instruction making to be stored in this computer-readable memory produces to include the manufacture of command device, and this command device realizes the function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices provides for realizing the step of function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
Although having been described for the preferred embodiment of the application, but those skilled in the art are once know basic creative concept, then these embodiments can be made other change and amendment.So, claims are intended to be construed to include preferred embodiment and fall into all changes and the amendment of the application scope.Obviously, the application can be carried out various change and modification without deviating from spirit and scope by those skilled in the art.So, if these amendments of the application and modification belong within the scope of the application claim and equivalent technologies thereof, then the application is also intended to comprise these change and modification.

Claims (10)

1. the method to contact database rearrangement, it is characterised in that described method includes:
Obtain the preference contact method of user;
Inquiring contactor data base, the extension flag position of the contact data corresponding with the preference contact method of described user is set to the first mark, the extension flag position of other contact data beyond the contact data corresponding with the preference contact method of described user is set to the second mark;
Refresh the display interface of described contact database, make the contact data in described contact database resequence, by the contact data top set that described extension flag position is the first mark.
2. method according to claim 1, it is characterised in that the display interface of described refreshing contact database, makes the contact data in described contact database resequence, and the contact data top set that described extension flag position is the first mark is also included:
The contact data that described extension flag position is the first mark is ranked up according to the first preset rules;
The contact data that described extension flag position is the second mark is ranked up according to the second preset rules.
3. method according to claim 2, it is characterised in that the preference contact method of described acquisition user also includes:
Obtain the preference level of described preference contact method;
Described first preset rules is the preference level of described preference contact method.
4. method according to claim 2, it is characterised in that if described contact database is address book data storehouse, described second preset rules is the surname phonetic of contact person;
If described contact database is relationship record data base, described second preset rules is contact time or the contact frequency of described contact method.
5. method according to claim 1, it is characterised in that described extension flag position is the field increased in every contact data of described contact database in advance.
6. the device to contact database rearrangement, it is characterised in that described method includes:
Preference obtains module, for obtaining the preference contact method of user;
Mark adds module, for inquiring contactor data base, the extension flag position of the contact data corresponding with the preference contact method of described user is set to the first mark, the extension flag position of other contact data beyond the contact data corresponding with the preference contact method of described user is set to the second mark;
Interface refresh module, for refreshing the display interface of described contact database, makes the contact data in described contact database resequence, by the contact data top set that described extension flag position is the first mark.
7. device according to claim 6, it is characterised in that described interface refresh module is additionally operable to,
The contact data that described extension flag position is the first mark is ranked up according to the first preset rules;
The contact data that described extension flag position is the second mark is ranked up according to the second preset rules.
8. device according to claim 7, it is characterised in that described preference obtains module and is additionally operable to
Obtain the preference level of described preference contact method;
Described first preset rules is the preference level of described preference contact method.
9. device according to claim 7, it is characterised in that if described contact database is address book data storehouse, described second preset rules is the surname phonetic of contact person;
If described contact database is relationship record data base, described second preset rules is contact time or the contact frequency of described contact method.
10. device according to claim 1, it is characterised in that described extension flag position is the field increased in every contact data of described contact database in advance.
CN201410848003.0A 2014-12-29 2014-12-29 Method and apparatus for re-ordering contact person database Pending CN105808573A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410848003.0A CN105808573A (en) 2014-12-29 2014-12-29 Method and apparatus for re-ordering contact person database

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410848003.0A CN105808573A (en) 2014-12-29 2014-12-29 Method and apparatus for re-ordering contact person database

Publications (1)

Publication Number Publication Date
CN105808573A true CN105808573A (en) 2016-07-27

Family

ID=56420380

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410848003.0A Pending CN105808573A (en) 2014-12-29 2014-12-29 Method and apparatus for re-ordering contact person database

Country Status (1)

Country Link
CN (1) CN105808573A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106302998A (en) * 2016-08-01 2017-01-04 乐视控股(北京)有限公司 The method and apparatus that a kind of address list shows
CN106648334A (en) * 2016-12-19 2017-05-10 上海异势信息科技有限公司 Account transfer method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100069045A1 (en) * 2006-05-23 2010-03-18 Nokia Corporation Mobile communication terminal with enhanced phonebook management
CN102158590A (en) * 2011-01-20 2011-08-17 宇龙计算机通信科技(深圳)有限公司 Data sorting method and device and terminal
CN102891911A (en) * 2012-09-17 2013-01-23 百度在线网络技术(北京)有限公司 Contact sorting method and apparatus for terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100069045A1 (en) * 2006-05-23 2010-03-18 Nokia Corporation Mobile communication terminal with enhanced phonebook management
CN102158590A (en) * 2011-01-20 2011-08-17 宇龙计算机通信科技(深圳)有限公司 Data sorting method and device and terminal
CN102891911A (en) * 2012-09-17 2013-01-23 百度在线网络技术(北京)有限公司 Contact sorting method and apparatus for terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106302998A (en) * 2016-08-01 2017-01-04 乐视控股(北京)有限公司 The method and apparatus that a kind of address list shows
CN106648334A (en) * 2016-12-19 2017-05-10 上海异势信息科技有限公司 Account transfer method and device

Similar Documents

Publication Publication Date Title
EP3565370B1 (en) Wireless fidelity (wi-fi) connection method and related product
WO2015058599A1 (en) Method and apparatus for searching for and locating application program
CN102710864A (en) Method for playing incoming call ringtone
CN104158935A (en) Information processing method and electronic device
CN105302635A (en) Switching method and electronic equipment
CN104408192A (en) Compression processing method and device of character string type column
US20080107253A1 (en) Methods and systems for speed dial
CN105959487A (en) Establishing method and device for to-be-handled task in calendar application
CN105808573A (en) Method and apparatus for re-ordering contact person database
CN104539801B (en) Method and terminal for presenting contact information
CN104348944A (en) Caller identification method and caller identification terminal
CN104270496A (en) Method and device for displaying information of calling party
CN105867910A (en) Dynamic wallpaper presenting method and apparatus for mobile terminal
EP2757469B1 (en) Method and apparatus for executing application program in electronic device
US11323873B2 (en) Method for wireless fidelity connection and related products
US20120254132A1 (en) Enhanced Contact Information
EP2535802A1 (en) Computer-implemented method of arranging text items in a predefined order
CN106911634A (en) A kind of login method and equipment
CN104954231A (en) Method and device for transmitting and displaying recommended information
CN104424336A (en) Information processing method and electronic device
US20100009668A1 (en) System and method for customizing functions of a mobile phone
CN103607497B (en) Contact person's associated apparatus and method
CN102662995A (en) Method for quickly positioning data updating of mobile phone applications
CN106776631B (en) Information processing method and device
US8064933B2 (en) Dialing system and method for a communication device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160727

WD01 Invention patent application deemed withdrawn after publication