CN105744039A - Method and device for displaying contact information - Google Patents

Method and device for displaying contact information Download PDF

Info

Publication number
CN105744039A
CN105744039A CN201610193109.0A CN201610193109A CN105744039A CN 105744039 A CN105744039 A CN 105744039A CN 201610193109 A CN201610193109 A CN 201610193109A CN 105744039 A CN105744039 A CN 105744039A
Authority
CN
China
Prior art keywords
information
group
associated person
contact
contacts
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
CN201610193109.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.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201610193109.0A priority Critical patent/CN105744039A/en
Publication of CN105744039A publication Critical patent/CN105744039A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/26Devices for calling a subscriber
    • H04M1/27Devices whereby a plurality of signals may be stored simultaneously
    • H04M1/274Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
    • H04M1/2745Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips
    • H04M1/27453Directories allowing storage of additional subscriber data, e.g. metadata
    • H04M1/27457Management thereof, e.g. manual editing of data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/26Devices for calling a subscriber
    • H04M1/27Devices whereby a plurality of signals may be stored simultaneously
    • H04M1/274Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
    • H04M1/2745Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips
    • H04M1/27453Directories allowing storage of additional subscriber data, e.g. metadata

Landscapes

  • Engineering & Computer Science (AREA)
  • Library & Information Science (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the invention provides a method and a device for displaying contact information. The method comprises the following steps: reading target information of contact information in an address book; dividing the contact information into adaptive groups according to the target information; and when a certain group is triggered, displaying the contact information in the group. Through the embodiment of the invention, automatic and intelligent grouping of the contact information is realized; a user can perform operations such as preview, lookup and edition by entering corresponding groups and does not need to manually add groups and add contacts into a certain group each time, namely, repeated operations are not required; greater convenience is brought to a contact information grouping operation; grouping time is reduced; and the user can conveniently manage contacts on a mobile terminal of the user.

Description

The display packing of a kind of associated person information and device
Technical field
The present invention relates to mobile communication technology field, particularly relate to the display packing of a kind of associated person information and the display device of a kind of associated person information.
Background technology
In daily life, address list is one of application that in the communication terminals such as mobile phone, use frequency is the highest.
Generally speaking; address list can storing contact information; such as; name of contact person, phone, company, home address, e-mail address etc.; use for ease of user; generally also address list can be arranged some common functions in a mobile device, for instance, user can select directly to dial contact phone or transmission information etc. in address list.
The quantity of contact person in address list is also being skyrocketed through along with movable the increasing of user social contact, and user it is frequently necessary to contact person is carried out group.
At present, after newly-built associated person information, user needs manually to increase group, is joined by associated person information in certain group, and every associated person information is required for repeating this operating procedure, complex operation, expends the more time.
Summary of the invention
Problem that is in view of the above problems, loaded down with trivial details in order to solve above-mentioned groups operation, that expend the more time, the embodiment of the present invention proposes the display packing of a kind of associated person information and the display device of corresponding a kind of associated person information.
In order to solve the problems referred to above, the embodiment of the invention discloses the display packing of a kind of associated person information, including:
Read the target information of contact person in address list information;
According to described target information, described associated person information is divided in the group of adaptation;
When described group is triggered, show the associated person information in described group.
Preferably, described target information includes following at least one:
Company information, phone information, contact temporal information, edit session information;
The step of the target information of described reading contact person in address list information includes:
When the company information listening to contact person in address list information is edited, read described company information;
And/or,
When the phone information listening to contact person in address list information is edited, read described phone information;
And/or,
When listening to contact person in address list information updating contact temporal information or edit session information, read described contact temporal information or described edit session information;
And/or,
When arriving the time preset, read contact temporal information or the edit session information of All Contacts's information.
Preferably, the step in the described group that described associated person information is divided to adaptation according to described target information includes:
Inquire about the group that described company information is corresponding;
When inquiring, the identification of contacts of described associated person information is write in described group;
When not inquiring, create group for described company information;
The identification of contacts of described associated person information is write in the group generated.
Preferably, the step in the described group that described associated person information is divided to adaptation according to described target information includes:
Inquire about the information of home location of described phone information;
Inquire about the group that described information of home location is corresponding;
When inquiring, the identification of contacts of described associated person information is write in described group;
When not inquiring, create group for described information of home location;
The identification of contacts of described associated person information is write in the group generated.
Preferably, the step in the described group that described associated person information is divided to adaptation according to described target information includes:
Inquire about current temporal information;
Calculate described contact temporal information or described edit session information and the time difference between current temporal information;
Inquire about the time period of described time difference ownership;
Inquire about group corresponding to described time period;
When inquiring, the identification of contacts of described associated person information is write in described group.
Preferably, described when described group is triggered, show that the step of the associated person information in described group includes:
Show one or more group informations of one or more groups corresponding to described target information;
When certain group information is triggered, the identification of contacts of group belonging to the group information that inquiry is triggered;
Address list is searched the associated person information that described identification of contacts is corresponding;
Load described associated person information.
The embodiment of the invention also discloses the display device of a kind of associated person information, including:
Target information read module, for reading the target information of contact person in address list information;
Group divides module, for being divided in the group of adaptation by described associated person information according to described target information;
Associated person information display module, for when described group is triggered, showing the associated person information in described group.
Preferably, described target information includes following at least one:
Company information, phone information, contact temporal information, edit session information;
Described target information read module includes:
Company information reading submodule, for when the company information listening to contact person in address list information is edited, reading described company information;
And/or,
Phone information reading submodule, for when the phone information listening to contact person in address list information is edited, reading described phone information;
And/or,
Very first time information reading submodule, for when listening to contact person in address list information updating contact temporal information or edit session information, reading described contact temporal information or described edit session information;
And/or,
Second temporal information reading submodule, for when arriving the time preset, reading contact temporal information or the edit session information of All Contacts's information.
Preferably, described group division module includes:
First group's inquiry submodule, for inquiring about the group that described company information is corresponding;
First group's write submodule, for when inquiring, writing the identification of contacts of described associated person information in described group;
First group creating submodule, for when not inquiring, creating group for described company information;
Second group's write submodule, for writing the identification of contacts of described associated person information in the group generated.
Preferably, described group division module includes:
Information of home location inquiry submodule, for inquiring about the information of home location of described phone information;
Second group's inquiry submodule, for inquiring about the group that described information of home location is corresponding;
3rd group's write submodule, for when inquiring, writing the identification of contacts of described associated person information in described group;
Second group creating submodule, for when not inquiring, creating group for described information of home location;
4th group's write submodule, for writing the identification of contacts of described associated person information in the group generated.
Preferably, described group division module includes:
Temporal information inquiry submodule, for inquiring about current temporal information;
Time difference calculating sub module, is used for calculating described contact temporal information or described edit session information and the time difference between current temporal information;
Time period ownership inquiry submodule, for inquiring about the time period of described time difference ownership;
3rd group's inquiry submodule, for inquiring about group corresponding to described time period;
5th group's write submodule, for when inquiring, writing the identification of contacts of described associated person information in described group.
Preferably, described associated person information display module includes:
Group information display sub-module, for showing one or more group informations of one or more groups corresponding to described target information;
Identification of contacts inquiry submodule, for when certain group information is triggered, inquiring about the identification of contacts of group belonging to the group information being triggered;
Associated person information searches submodule, for searching the associated person information that described identification of contacts is corresponding in address list;
Associated person information loads submodule, is used for loading described associated person information.
The embodiment of the present invention includes advantages below:
The embodiment of the present invention is based on the communication of user, the operating habits such as the typing of associated person information, automatically read in address list, the key parameter (i.e. target information) of associated person information, divide in the group that associated person information is extremely adaptive adaptively by this key parameter, achieve the automatic of associated person information, intelligent packet, user enters the packet of correspondence can carry out preview, search, the operations such as editor, without manually increasing group every time, add a contact in certain group, namely without repetitive operation, substantially increase the simplicity of associated person information division operation, reduce the consuming time of packet, it is very easy to user and manages the contact person on oneself mobile terminal.
Accompanying drawing explanation
Fig. 1 is the flow chart of steps of the display packing embodiment of a kind of associated person information of the present invention;
Fig. 2 A-Fig. 2 D is the display exemplary plot of a kind of associated person information of the embodiment of the present invention;
Fig. 3 is the structured flowchart of the display device embodiment of a kind of associated person information of the present invention.
Detailed description of the invention
Understandable for enabling the above-mentioned purpose of the present invention, feature and advantage to become apparent from, below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
With reference to Fig. 1, it is shown that the flow chart of steps of the display packing embodiment of a kind of associated person information of the present invention, specifically may include steps of:
Step 101, reads the target information of contact person in address list information;
It should be noted that the embodiment of the present invention can be applied in various communication terminal, for instance, mobile phone, panel computer, Intelligent worn device (such as wrist-watch) etc..
In implementing, the operating system of these communication terminals includes Android (Android), IOS, WindowsPhone, Windows etc., it is commonly configured with address list, this address list can be the application that operating system is preset, can also being third-party application, this be any limitation as by the embodiment of the present invention.
In address list, it is typically stored with associated person information, for instance, name, company, phone, home address, school, e-mail address, birthday, remarks etc..
It should be noted that, associated person information in address list can be the associated person information of storage in communication terminal, can also be SIM (SubscriberIdentityModule, client identification module) card in storage associated person information, can also is that the associated person information in the storage of high in the clouds, this is not any limitation as by the embodiment of the present invention.
For making those skilled in the art be more fully understood that the embodiment of the present invention, in inventive embodiments, Android is illustrated as a kind of example of system.
The associated person information of the address list of android system generally there are in the data base (such as contacts2.db) of system, if the target information read in address book contact information, generally to access the data base of system.
The data base (such as contacts2.db) of the associated person information of memory communicating record in android system, generally includes following form:
1, contacts table
_ id: the ID of table, it is mainly used in other table and can find corresponding data by the ID in contacts table.
Display_name: contact name
Photo_id: the ID of head portrait, without arranging contact head image, this field is just empty
Times_contacted: the number of times of message registration
Last_time_contacted: last air time
Lookup: be the storage of a persistence because user may changed name, but do not change lookup
2, data table
Raw_contact_id: data relative in raw_contact table can be found by raw_contact_id.
These data are from data1 to data15, and in store associated person information, such as title, phone, Email, remarks etc..
3, phone_look_up table
Data_id: data relative in datat table can be found by data_id.
Raw_contact_id: data relative in raw_contact_ table can be found by raw_contact_id.
Normalized_number: each telephone number is reversed.
4, raw_contact table
Version: version number, is used for monitoring change
Deleted: deleted marker, 0 is acquiescence, and 1 represents that these row data are deleted
Display_name: contact name
Last_time_contacts: the time finally contacted
In an example of the embodiment of the present invention, target information includes following at least one:
Company information, phone information, contact temporal information, edit session information.
Wherein, contact temporal information is the time of last contact, including call, note etc.;
Edit session information is the time of last edit contact information, including increasing newly, revise, the edit operation such as deletion.
In this example, step 101 can include following sub-step:
Sub-step S11, when the company information listening to contact person in address list information is edited, reads described company information;
In this example, it is possible to the audiomonitor of company information registered in advance, if the company information in associated person information is edited, such as newly-increased, amendment, deletion etc., then triggering company information editor's event.
When audiomonitor listens to the said firm's information editing's event, then can read the company information in this associated person information in positions such as data tables.
And/or,
Sub-step S12, when the phone information listening to contact person in address list information is edited, reads described phone information;
In this example, it is possible to the audiomonitor of phone information registered in advance, if the phone information in associated person information is edited, such as newly-increased, amendment, deletion etc., then triggering phone information editor's event.
When audiomonitor listens to this phone information editor's event, then can read the phone information in this associated person information in positions such as data tables.
And/or,
Sub-step S13, when listening to contact person in address list information updating contact temporal information or edit session information, reads described contact temporal information or described edit session information.
In this example, can the audiomonitor of contact temporal information registered in advance or edit session information, if the contact temporal information in associated person information or edit session information updating, as dialed phone in this associated person information, editing this associated person information etc., then triggered time more new events.
When audiomonitor listens to this time more new events, then can read the contact temporal information in this associated person information or edit session information in positions such as raw_contact tables.
And/or,
Sub-step S14, when arriving the time preset, reads contact temporal information or the edit session information of All Contacts's information
In this example, if reaching the default time, as every day 0 time, it is also possible to read the contact temporal information in whole associated person information or edit session information, comprehensively to update.
Certainly, above-mentioned target information and reading manner thereof are intended only as example, when implementing the embodiment of the present invention, it is possible to arrange other target informations and reading manner thereof according to practical situation, such as school, this is not any limitation as by the embodiment of the present invention.It addition, except above-mentioned target information and reading manner thereof, those skilled in the art can also adopt other target information and reading manner thereof according to actual needs, and this is not also any limitation as by the embodiment of the present invention.
Step 102, is divided to described associated person information in the group of adaptation according to described target information;
In embodiments of the present invention, it is possible to according to the conventional operating habit of user, according to critical field (i.e. target information) conventional in associated person information, by associated person information intelligence group.
In an example of the embodiment of the present invention, step 102 can include following sub-step:
Sub-step S21, inquires about the group that described company information is corresponding;
In this example, it is possible to carry out group according to company information, facilitate user at the dimension management associated person information of work.
One company information can create a group, for instance, create group with company information for group name so that the group in communication terminal dynamically can change according to associated person information.
If creating group with company information for group name, then during current queries, it is possible to search the group of group name and the said firm's information matches.
Certainly, except coupling group name, it is also possible to adopt other modes to inquire about the group that company information is corresponding, as, if certain attribute is company information in group, then can searching the group of this attribute and the said firm's information matches, this is not any limitation as by the embodiment of the present invention.
Sub-step S22, when inquiring, writes the identification of contacts of described associated person information in described group;
If inquiring the group that the said firm's information is corresponding, then represent and formerly created corresponding group, directly the identification of contacts (i.e. the data of ID association people information, such as contact person ID) of the associated person information belonging to the said firm's information can be write in this group.
In communication terminal, the information of this group can store to a form, such as HashMap (hash table).
Sub-step S23, when not inquiring, creates group for described company information;
Sub-step S24, writes the identification of contacts of described associated person information in the group generated.
If not inquiring the group that the said firm's information is corresponding, represent and formerly do not create corresponding group, then currently can create new group based on company information, and the identification of contacts (such as contact person ID) of the associated person information belonging to the said firm's information is write in this group.
In another example of the embodiment of the present invention, step 102 can include following sub-step:
Sub-step S31, inquires about the information of home location of described phone information;
In implementing, it is possible at the local preset ownership place data base of communication terminal (i.e. the data base of recording mechanism code field and ownership place relation), by the information of home location of this ownership place data base querying phone information;Phone information can also be sent to high in the clouds, the high in the clouds information of home location by ownership place this phone information of data base querying, then information of home location is returned communication terminal.
Sub-step S32, inquires about the group that described information of home location is corresponding;
In this example, it is possible to carry out group according to information of home location, user's dimension management associated person information in region is facilitated.
One information of home location can create a group, for instance, create group with information of home location for group name so that the group in communication terminal dynamically can change according to information of home location.
If creating group with information of home location for group name, then during current queries, it is possible to search the group that group name is mated with this information of home location.
Certainly, except coupling group name, it is also possible to adopt other modes to inquire about the group that information of home location is corresponding, as, if certain attribute is information of home location in group, then can searching the group that this attribute mates with this information of home location, this is not any limitation as by the embodiment of the present invention.
Sub-step S33, when inquiring, writes the identification of contacts of described associated person information in described group;
If inquiring the group that this information of home location is corresponding, then it represents that formerly created corresponding group, it is possible to directly the identification of contacts (such as contact person ID) of the associated person information belonging to this phone information is write in this group.
In communication terminal, the information of this group can store to a form, such as HashMap.
Sub-step S34, when not inquiring, creates group for described information of home location;
Sub-step S35, writes the identification of contacts of described associated person information in the group generated.
If not inquiring the group that this information of home location is corresponding, represent and formerly do not create corresponding group, then currently can create new group based on information of home location, and the identification of contacts (such as contact person ID) of the associated person information belonging to this phone information is write in this group.
In another example of the embodiment of the present invention, step 102 can include following sub-step:
Sub-step S41, inquires about current temporal information;
In implementing, it is possible to by the temporal information of the mode inquiry systems such as java.util.Date class, it is also possible to server request temporal information, this is not any limitation as by the embodiment of the present invention.
Sub-step S42, calculates described contact temporal information or described edit session information and the time difference between current temporal information;
If there is contact temporal information, then can preferentially calculate the time difference between contact temporal information and current temporal information.
If being absent from contact temporal information, then can calculate the time difference between edit session information and current temporal information.
Sub-step S43, inquires about the time period of described time difference ownership;
Sub-step S44, inquires about group corresponding to described time period;
In this example, it is possible to create one or more groups according to the time period in advance, user's dimension in the time is facilitated to manage associated person information.
For example, it is possible to according to less than 1 month, in 1 month to 3 months, in 3 months to 6 months, more than 6 months (1 month being general 30 days) these four groups of four time periods establishments.
If creating group with the time period for group name, then during current queries, it is possible to search the group that group name is mated with this time period.
Certainly, except coupling group name, it is also possible to adopting other modes to inquire about the group that company information is corresponding, e.g., if certain attribute is the time period in group, then can search the group that this attribute mated with this time period, this is not any limitation as by the embodiment of the present invention.
Sub-step S45, when inquiring, writes the identification of contacts of described associated person information in described group.
If finding group corresponding to this time period, then can directly the identification of contacts (such as contact person ID) of the associated person information belonging to this contact temporal information or edit session information be write in this group.
If not finding group corresponding to this time period, then it represents that formerly do not create corresponding group, it is possible to time difference is comparatively remote, such as 1 year, it is possible to ignore this associated person information.
Certainly, the mode of above-mentioned division group is intended only as example, when implementing the embodiment of the present invention, it is possible to arrange other modes dividing group according to practical situation, and as divided based on school, this is not any limitation as by the embodiment of the present invention.It addition, except the mode of above-mentioned division group, those skilled in the art can also adopt other to divide the mode of group according to actual needs, and this is not also any limitation as by the embodiment of the present invention.
Step 103, when described group is triggered, shows the associated person information in described group.
In implementing, user can trigger group by modes such as touch click, slip gestures, to show the associated person information in this group.
In one embodiment of the invention, step 103 can include following sub-step:
Sub-step S51, shows one or more group informations of one or more groups corresponding to described target information;
In embodiments of the present invention, under the dimension of certain target information, it is possible to mark off one or more group.
Such as, as shown in Figure 2 A, under the dimension of company information, it is possible to the associated person information of the address list of certain user is marked off the groups such as company A, B company, C company, D company, E company.
Again such as, as shown in Figure 2 B, under the dimension of information of home location, it is possible to the associated person information of the address list of certain user is marked off the groups such as Beijing, Qingdao, Guangzhou, Shenzhen, Shanghai.
Again such as, as shown in Figure 2 C, contact temporal information, edit session information dimension under, it is possible to the associated person information of the address list of user is marked off less than 1 month, 1 month-3 months, 3 months-6 months, 6 months with first-class group.
Each group corresponding can show its group information, for instance, the quantity (company A as shown in Figure 2 A corresponding 22) of associated person information, group's head portrait etc. in group name (company A as shown in Figure 2 A), group.
Sub-step S52, when certain group information is triggered, the identification of contacts of group belonging to the group information that inquiry is triggered;
Sub-step S53, searches the associated person information that described identification of contacts is corresponding in address list;
Sub-step S54, loads described associated person information.
User can trigger group information by modes such as click group informations, then can search the identification of contacts (such as contact person ID) of this group, the associated person information that this identification of contacts (such as contact person ID) is corresponding is searched from address list, this associated person information exposition associated person information is loaded by modes such as ListView (list control).
Such as, if clicking company A in fig. 2, then as shown in Figure 2 D, show and be divided in associated person information in company A, such as head portrait, title (Zhang San as shown in Figure 2 D, Li Si etc.).
In android system, each subitem Item inside ListView can be a character string, it is also possible to be a control combing.
When realizing, one or more dimensions Dynamic Array is used to preserve the ListView data object to show, such as group information, associated person information.
Building adapter, simply, adapter is exactly Item array simultaneously, and Dynamic Array and Item array are relations one to one, and Dynamic Array has how many elements to be generated as how many Item.
Adapter is added to ListView, and shows.
The process that interface is displayed, for android system, it is actually from outermost ViewGroup, carries out traversal for each View and measure (measure), layout (layout), draw the process of (draw).
Wherein, measure (measure) and be mainly used to determine the size of control View, whole View tree calculates actual size, namely arranging the height (corresponding attribute: mMeasuredHeight) of reality and wide (corresponding attribute: mMeasureWidth), the actual wide high of the control of each View is determined by father's view and view own.
Concrete call chain is as follows:
ViewRoot root object ground attribute mView (its type is generally ViewGroup type) calls measure () method and goes to calculate the size of View tree, the onMeasure () method of readjustment View/ViewGroup object, the function that the method realizes is as follows:
1, arranging the final size of this View view, the realization of this function removes to arrange the height (corresponding attribute: mMeasuredHeight) of reality and wide (corresponding attribute: mMeasureWidth) by calling setMeasuredDimension () method;
If 2 these View are to liking a ViewGroup type, it is necessary to rewrite this onMeasure () method, the measure () process that its sub-view is traveled through.
The measure () process of 2.1 pairs of every sub-views, be by call the measureChildWithMargins () method in parent ViewGroup.java class go realize, it is the measure () method directly invoking View object owing to measureChildWithMargins () method is a simpler way of transition zone, therefore, internal the measure () method that simply have invoked View object simply of the method.
Layout (layout) mainly determines the position of control View, the whole size according to sub-view and layout parameter is put on suitable position by View tree.
Concrete call chain is as follows:
Host.layout () starts the layout of View tree, then adjusts back to the layout () method of View/ViewGroup apoplexy due to endogenous wind.Idiographic flow is as follows:
1, layout method can arrange this View view and is positioned at the coordinate axes of father's view, i.e. mLeft, mTop, mLeft, mBottom (calling setFrame () function to go to realize);
Next onLayout () method (if this View is ViewGroup object, it is necessary to realize the method, every sub-view is laid out) is adjusted back.
If 2 these View are ViewGroup types, it is necessary to traveling through every sub-view childView, the layout () method calling this sub-view removes to arrange its coordinate figure.
Draw the display of (draw) major decision control View.
Initiated to draw this View tree by performTraversals () method call the draw () method of ViewRoot object, it should be noted that when initiation is drawn every time, the view of each View tree can't be repainted, and repaint the view of those " needs redraw ", View class built-in variable contains a flag bit DRAWN, when this view needs to redraw, this flag bit will be added for this View.
Call flow is as follows:
MView.draw () starts to draw, and the function that draw () method realizes is as follows:
1, the background of this View is drawn;
2, some preparation operations are done for display gradual change frame;
3, onDraw () method drawing view itself (each View is required for heavy duty the method, and ViewGroup need not realize the method) is called;
4, call dispatchDraw () method and draw sub-view (if this View type is not ViewGroup, namely not comprising sub-view, it is not necessary to heavy duty the method);
It should be noted that ViewGroup class is for having rewritten the functional realiey of dispatchDraw (), application program generally need not rewrite the method, but can realize concrete function by heavy duty parent function.
Every sub-view can be traveled through inside 4.1dispatchDraw () method, call drawChild () duplicate removal and newly adjust back the draw () method (noting, the view of this local " needs redraw " just can call draw () method) of every sub-view.
It should be noted that ViewGroup class has rewritten the functional realiey of dispatchDraw (), application program generally need not rewrite the method, but can realize concrete function by heavy duty parent function.
5, scroll bar is drawn.
The embodiment of the present invention is based on the communication of user, the operating habits such as the typing of associated person information, automatically read in address list, the key parameter (i.e. target information) of associated person information, divide in the group that associated person information is extremely adaptive adaptively by this key parameter, achieve the automatic of associated person information, intelligent packet, user enters the packet of correspondence can carry out preview, search, the operations such as editor, without manually increasing group every time, add a contact in certain group, namely without repetitive operation, substantially increase the simplicity of associated person information division operation, reduce the consuming time of packet, it is very easy to user and manages the contact person on oneself mobile terminal.
It should be noted that, for embodiment of the method, in order to be briefly described, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the embodiment of the present invention is not by the restriction of described sequence of movement, because according to the embodiment of the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, embodiment described in this description belongs to preferred embodiment, necessary to the involved action not necessarily embodiment of the present invention.
With reference to Fig. 3, it is shown that the structured flowchart of the display device embodiment of a kind of associated person information of the present invention, specifically can include such as lower module:
Target information read module 301, for reading the target information of contact person in address list information;
Group divides module 302, for being divided in the group of adaptation by described associated person information according to described target information;
Associated person information display module 303, for when described group is triggered, showing the associated person information in described group.
In an example of the embodiment of the present invention, described target information includes following at least one:
Company information, phone information, contact temporal information, edit session information;
Described target information read module 301 can include following submodule:
Company information reading submodule, for when the company information listening to contact person in address list information is edited, reading described company information;
And/or,
Phone information reading submodule, for when the phone information listening to contact person in address list information is edited, reading described phone information;
And/or,
Very first time information reading submodule, for when listening to contact person in address list information updating contact temporal information or edit session information, reading described contact temporal information or described edit session information;
And/or,
Second temporal information reading submodule, for when arriving the time preset, reading contact temporal information or the edit session information of All Contacts's information.
In an example of the embodiment of the present invention, described group divides module 302 can include following submodule:
First group's inquiry submodule, for inquiring about the group that described company information is corresponding;
First group's write submodule, for when inquiring, writing the identification of contacts of described associated person information in described group;
First group creating submodule, for when not inquiring, creating group for described company information;
Second group's write submodule, for writing the identification of contacts of described associated person information in the group generated.
In another example of the embodiment of the present invention, described group divides module 302 can include following submodule:
Information of home location inquiry submodule, for inquiring about the information of home location of described phone information;
Second group's inquiry submodule, for inquiring about the group that described information of home location is corresponding;
3rd group's write submodule, for when inquiring, writing the identification of contacts of described associated person information in described group;
Second group creating submodule, for when not inquiring, creating group for described information of home location;
4th group's write submodule, for writing the identification of contacts of described associated person information in the group generated.
In another example of the embodiment of the present invention, described group divides module 302 can include following submodule:
Temporal information inquiry submodule, for inquiring about current temporal information;
Time difference calculating sub module, is used for calculating described contact temporal information or described edit session information and the time difference between current temporal information;
Time period ownership inquiry submodule, for inquiring about the time period of described time difference ownership;
3rd group's inquiry submodule, for inquiring about group corresponding to described time period;
5th group's write submodule, for when inquiring, writing the identification of contacts of described associated person information in described group.
In one embodiment of the invention, described associated person information display module 303 can include following submodule:
Group information display sub-module, for showing one or more group informations of one or more groups corresponding to described target information;
Identification of contacts inquiry submodule, for when certain group information is triggered, inquiring about the identification of contacts of group belonging to the group information being triggered;
Associated person information searches submodule, for searching the associated person information that described identification of contacts is corresponding in address list;
Associated person information loads submodule, is used for loading described associated person information.
For device embodiment, due to itself and embodiment of the method basic simlarity, so what describe is fairly simple, relevant part illustrates referring to the part of embodiment of the method.
Each embodiment in this specification all adopts the mode gone forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually referring to.
Those skilled in the art are it should be appreciated that the embodiment of the embodiment of the present invention can be provided as method, device or computer program.Therefore, the embodiment of the present invention can adopt the form of complete hardware embodiment, complete software implementation or the embodiment in conjunction with software and hardware aspect.And, the embodiment of the present invention 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 embodiment of the present invention is that flow chart and/or block diagram with reference to method according to embodiments of the present invention, terminal unit (system) and computer program describe.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 terminal equipment so that the instruction performed by the processor of computer or other programmable data processing terminal equipment 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 terminal equipment 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 on computer or other programmable data processing terminal equipment, make on computer or other programmable terminal equipment, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable terminal equipment 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 embodiment of the present invention, 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 range of embodiment of the invention.
Finally, it can further be stated that, in this article, the relational terms of such as first and second or the like is used merely to separate an entity or operation with another entity or operating space, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " includes ", " comprising " or its any other variant are intended to comprising of nonexcludability, so that include the process of a series of key element, method, article or terminal unit not only include those key elements, but also include other key elements being not expressly set out, or also include the key element intrinsic for this process, method, article or terminal unit.When there is no more restriction, statement " including ... " key element limited, it is not excluded that there is also other identical element in including the process of described key element, method, article or terminal unit.
Display device to the display packing of a kind of associated person information provided by the present invention and a kind of associated person information above, it is described in detail, principles of the invention and embodiment are set forth by specific case used herein, and the explanation of above example is only intended to help to understand method and the core concept thereof of the present invention;Simultaneously for one of ordinary skill in the art, according to the thought of the present invention, all will change in specific embodiments and applications, in sum, this specification content should not be construed as limitation of the present invention.

Claims (10)

1. the display packing of an associated person information, it is characterised in that including:
Read the target information of contact person in address list information;
According to described target information, described associated person information is divided in the group of adaptation;
When described group is triggered, show the associated person information in described group.
2. method according to claim 1, it is characterised in that described target information includes following at least one:
Company information, phone information, contact temporal information, edit session information;
The step of the target information of described reading contact person in address list information includes:
When the company information listening to contact person in address list information is edited, read described company information;
And/or,
When the phone information listening to contact person in address list information is edited, read described phone information;
And/or,
When listening to contact person in address list information updating contact temporal information or edit session information, read described contact temporal information or described edit session information;
And/or,
When arriving the time preset, read contact temporal information or the edit session information of All Contacts's information.
3. method according to claim 2, it is characterised in that the step in the described group that described associated person information is divided to adaptation according to described target information includes:
Inquire about the group that described company information is corresponding;
When inquiring, the identification of contacts of described associated person information is write in described group;
When not inquiring, create group for described company information;
The identification of contacts of described associated person information is write in the group generated.
4. method according to claim 2, it is characterised in that the step in the described group that described associated person information is divided to adaptation according to described target information includes:
Inquire about the information of home location of described phone information;
Inquire about the group that described information of home location is corresponding;
When inquiring, the identification of contacts of described associated person information is write in described group;
When not inquiring, create group for described information of home location;
The identification of contacts of described associated person information is write in the group generated.
5. method according to claim 2, it is characterised in that the step in the described group that described associated person information is divided to adaptation according to described target information includes:
Inquire about current temporal information;
Calculate described contact temporal information or described edit session information and the time difference between current temporal information;
Inquire about the time period of described time difference ownership;
Inquire about group corresponding to described time period;
When inquiring, the identification of contacts of described associated person information is write in described group.
6. the method according to claim 1 or 2 or 3 or 4 or 5, it is characterised in that described when described group is triggered, shows that the step of the associated person information in described group includes:
Show one or more group informations of one or more groups corresponding to described target information;
When certain group information is triggered, the identification of contacts of group belonging to the group information that inquiry is triggered;
Address list is searched the associated person information that described identification of contacts is corresponding;
Load described associated person information.
7. the display device of an associated person information, it is characterised in that including:
Target information read module, for reading the target information of contact person in address list information;
Group divides module, for being divided in the group of adaptation by described associated person information according to described target information;
Associated person information display module, for when described group is triggered, showing the associated person information in described group.
8. device according to claim 7, it is characterised in that described target information includes following at least one:
Company information, phone information, contact temporal information, edit session information;
Described target information read module includes:
Company information reading submodule, for when the company information listening to contact person in address list information is edited, reading described company information;
And/or,
Phone information reading submodule, for when the phone information listening to contact person in address list information is edited, reading described phone information;
And/or,
Very first time information reading submodule, for when listening to contact person in address list information updating contact temporal information or edit session information, reading described contact temporal information or described edit session information;
And/or,
Second temporal information reading submodule, for when arriving the time preset, reading contact temporal information or the edit session information of All Contacts's information.
9. device according to claim 8, it is characterised in that described group divides module and includes:
First group's inquiry submodule, for inquiring about the group that described company information is corresponding;
First group's write submodule, for when inquiring, writing the identification of contacts of described associated person information in described group;
First group creating submodule, for when not inquiring, creating group for described company information;
Second group's write submodule, for writing the identification of contacts of described associated person information in the group generated.
10. device according to claim 8, it is characterised in that described group divides module and includes:
Information of home location inquiry submodule, for inquiring about the information of home location of described phone information;
Second group's inquiry submodule, for inquiring about the group that described information of home location is corresponding;
3rd group's write submodule, for when inquiring, writing the identification of contacts of described associated person information in described group;
Second group creating submodule, for when not inquiring, creating group for described information of home location;
4th group's write submodule, for writing the identification of contacts of described associated person information in the group generated.
CN201610193109.0A 2016-03-30 2016-03-30 Method and device for displaying contact information Pending CN105744039A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610193109.0A CN105744039A (en) 2016-03-30 2016-03-30 Method and device for displaying contact information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610193109.0A CN105744039A (en) 2016-03-30 2016-03-30 Method and device for displaying contact information

Publications (1)

Publication Number Publication Date
CN105744039A true CN105744039A (en) 2016-07-06

Family

ID=56253302

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610193109.0A Pending CN105744039A (en) 2016-03-30 2016-03-30 Method and device for displaying contact information

Country Status (1)

Country Link
CN (1) CN105744039A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106302925A (en) * 2016-09-30 2017-01-04 北京珠穆朗玛移动通信有限公司 A kind of contact person's classified display method and mobile terminal thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101360139A (en) * 2008-09-08 2009-02-04 深圳华为通信技术有限公司 Method and apparatus for address book contact grouping
CN102104673A (en) * 2009-12-18 2011-06-22 深圳富泰宏精密工业有限公司 Address book management system and method
CN102857605A (en) * 2012-07-23 2013-01-02 北京小米科技有限责任公司 Grouping method and apparatus of contacts
CN102946462A (en) * 2012-11-01 2013-02-27 惠州Tcl移动通信有限公司 Contact information grouping method based on mobile phone and mobile phone
CN103024175A (en) * 2012-12-11 2013-04-03 中兴通讯股份有限公司 Address book based automatic sorting method and device and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101360139A (en) * 2008-09-08 2009-02-04 深圳华为通信技术有限公司 Method and apparatus for address book contact grouping
CN102104673A (en) * 2009-12-18 2011-06-22 深圳富泰宏精密工业有限公司 Address book management system and method
CN102857605A (en) * 2012-07-23 2013-01-02 北京小米科技有限责任公司 Grouping method and apparatus of contacts
CN102946462A (en) * 2012-11-01 2013-02-27 惠州Tcl移动通信有限公司 Contact information grouping method based on mobile phone and mobile phone
CN103024175A (en) * 2012-12-11 2013-04-03 中兴通讯股份有限公司 Address book based automatic sorting method and device and mobile terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106302925A (en) * 2016-09-30 2017-01-04 北京珠穆朗玛移动通信有限公司 A kind of contact person's classified display method and mobile terminal thereof

Similar Documents

Publication Publication Date Title
US20200322472A1 (en) Managing executable component groups from subset of user executable components
US7761871B2 (en) Data access architecture
US8898594B2 (en) System and method for organizing application indicators on an electronic device
CN109857724B (en) Method and equipment for supporting various databases based on block chain
US20130219319A1 (en) Apparatus and method for grouping application program folders in electronic device
US10033808B2 (en) Roaming of note-taking application features
US20080172628A1 (en) User Experience for Creating Semantic Relationships
US8694924B2 (en) Mobile terminal having function of managing file and folder
US8280922B2 (en) User-interest driven launching pad of mobile application and method of operating the same
AU2011294049B2 (en) Method and apparatus for contact information management in mobile terminal
US20110217954A1 (en) Method, system, and mobile device for managing messages and computer-readable medium using the method
WO2008081314A2 (en) Intelligent phone book
KR101921201B1 (en) Function co-operating Method And Portable Device supporting the same
CN104219356A (en) Method and device for displaying and searching contact man information and mobile terminal
US8340719B1 (en) Mobile phone message management
US20160239543A1 (en) Optimized query ordering for file path indexing in a content repository
US20030161450A1 (en) Providing information to facilitate telephone conversations
CN105744039A (en) Method and device for displaying contact information
US11563707B2 (en) Tracking electronic mail messages in a separate computing system
CN102332021B (en) Device and method for managing contact list of communication device
EP2451140A1 (en) System and method for controlling the display of events updates on a mobile device
KR101258443B1 (en) Method for collecting data in mobile device embedded Linux, and mobile device for collecting data using it
KR20080047719A (en) Auto odering system using mobile

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160706