CN104615693A - Data display method - Google Patents

Data display method Download PDF

Info

Publication number
CN104615693A
CN104615693A CN201510035110.6A CN201510035110A CN104615693A CN 104615693 A CN104615693 A CN 104615693A CN 201510035110 A CN201510035110 A CN 201510035110A CN 104615693 A CN104615693 A CN 104615693A
Authority
CN
China
Prior art keywords
character
entry data
length
contacts list
data
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
CN201510035110.6A
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.)
Shenzhen Jinli Communication Equipment Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment 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 Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201510035110.6A priority Critical patent/CN104615693A/en
Publication of CN104615693A publication Critical patent/CN104615693A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a data display method. The data display method comprises the steps of obtaining a contact list, wherein the contact list comprises at least two entry data; processing the entry data in the contact list so that the display lengths of the entry data in the contact list are the same; displaying the processed entry data in the contact list on a terminal interface. By the adoption of the data display method, two-end alignment processing is carried out on the entry data in the data list by determining the display lengths of the entry data, the display effect of the data list is orderly, and a user can conveniently look up the data.

Description

A kind of method for exhibiting data
Technical field
The present invention relates to user interface techniques field, particularly relate to a kind of method for exhibiting data.
Background technology
Along with development that is scientific and technical and computer network, people need to process very many data in routine work, study, amusement and life, usually the form of these data using data lists represents, as represented the contact person in cell phone address book, the chat buddies in chat tool, result data etc. by obtaining after search engine inquiry key word by the form of list.
At present, user manually input or search engine inquiry to data message through displaying process just the direct form by list display, data present comparatively random, are not easy to check.
Summary of the invention
The embodiment of the present invention provides a kind of method for exhibiting data, by determining the displaying length of entry data, carries out justify align process to the entry data in data list, and the effectiveness comparison that data list shows is neat, facilitates user to check.
The embodiment of the invention discloses a kind of method for exhibiting data, the method comprises:
Obtain contacts list, described contacts list comprises at least two entry data;
Process the entry data in described contacts list, the length that each entry data in described contacts list is shown is identical;
Entry data in described contacts list after process is shown in terminal interface.
The embodiment of the present invention, by determining the displaying length of entry data, carries out justify align process to the entry data in data list, and the effectiveness comparison that data list shows is neat, facilitates user to check.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the process flow diagram of the first embodiment of the method for exhibiting data that the embodiment of the present invention provides;
Fig. 2 is the process flow diagram of the second embodiment of the method for exhibiting data that the embodiment of the present invention provides;
Fig. 3 is the process flow diagram of the 3rd embodiment of the method for exhibiting data that the embodiment of the present invention provides;
Fig. 4 is the process flow diagram of the 4th embodiment of the method for exhibiting data that the embodiment of the present invention provides;
Fig. 5 is the process flow diagram of the 5th embodiment of the method for exhibiting data that the embodiment of the present invention provides;
Fig. 6 is the terminal interface schematic diagram of the initiation data display request of user's input that the embodiment of the present invention provides;
Fig. 7 is the first result schematic diagram in the data list that provides of the embodiment of the present invention before and after entry data processing;
Fig. 8 is the result schematic diagram of newly-increased entry data in the data list that provides of the embodiment of the present invention;
Fig. 9 is the second result schematic diagram in the data list that provides of the embodiment of the present invention before and after entry data processing;
Figure 10 is the 3rd result schematic diagram in the data list that provides of the embodiment of the present invention before and after entry data processing;
Figure 11 is the 4th result schematic diagram in the data list that provides of the embodiment of the present invention before and after entry data processing;
Figure 12 is the 5th result schematic diagram in the data list that provides of the embodiment of the present invention before and after entry data processing;
Figure 13 is the structural representation of the first embodiment of the terminal that the embodiment of the present invention provides;
Figure 14 is the structural representation of the second embodiment of the terminal that the embodiment of the present invention provides;
Figure 15 is the structural representation of the 3rd embodiment of the terminal that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Be understandable that, terminal is including but not limited to equipment such as PC, smart mobile phone (as Android phone, iOS mobile phone etc.), panel computer, palm PC, mobile internet device (MID, Mobile Internet Devices) or wearable intelligent equipment.
See Fig. 1, be the process flow diagram of the first embodiment of method for exhibiting data provided by the invention, the method comprises:
Step S102: obtain contacts list, described contacts list comprises at least two entry data;
Particularly, obtain before contacts list, first receive data list and show request, can be user be undertaken initiating by the button of triggering terminal or menu described request.As shown in Figure 6, terminal provides the button or menu that can be used for user to carry out operating, described button or menu may be used for allowing user initiate to show the request of described contacts list, and terminal can receive the described contacts list displaying request that user triggers described button or menu initiation; After user triggers described contacts list displaying request button or menu, terminal can receive contacts list and show request.Described contacts list can be address list list, contact data, chat tool good friend etc.Such as, after user triggers the address list list shown in mobile phone, mobile phone can receive the request showing address list list.
Show request according to described contacts list, terminal can obtain the contacts list needing to show, described contacts list comprises at least two entry data.Such as, request is shown in the address list list that mobile phone inputs according to user, can obtain the associated person information in the cell phone address book list needing to be demonstrated, more further, as shown in Figure 7, the associated person information of displaying can comprise " Li Si ", " Liu Dehua ", " Tzxu " etc.
Step S104: the entry data in described contacts list is processed, the length that each entry data in described contacts list is shown is identical;
Particularly, the entry data in contacts list processed, add in all entry data or reduce space character, the length that each entry data in data list is shown is identical; Or increase or reduce the character pitch of character in entry data, the length making each entry data in data list show is identical; Or the intercharacter of a part of entry data adds or reduces space character, the entry data character pitch of another part increases or reduces, the length that each entry data in data list is shown is identical, and the character adding the entry data of character pitch or space character is carried out justify align.Such as, contacts list in cell phone address book list has 6, that can be called benchmark according to the contact name with the longest character length in contacts list, to space character be increased in the character of other 5 contact name or reduce space character or increase character pitch or reduce character pitch, make the character length of the displaying of All Contacts's title equally long, and All Contacts's title realize two ends alignment with the character length shown for benchmark; Again such as, user also can set a character length value, the character length value arranged with user is for benchmark, realize increasing space character in the character of the contact name in cell phone address book list or reducing space character or increase character pitch or reduce character pitch, make the character length of the displaying of All Contacts's title equally long, and All Contacts's title realize two ends alignment with the character length shown for benchmark.
Step S106: the entry data in the described contacts list after process is shown in terminal interface;
Particularly, the entry data in the contacts list after step S104 process is carried out showing to terminal demonstration interface, can be used for user to consult, show that result can be as shown in Figure 7.
See Fig. 2, be the process flow diagram of the second embodiment of method for exhibiting data provided by the invention, the method comprises:
Step S202: obtain contacts list, described contacts list comprises at least two entry data;
Particularly, step S202 with reference to step S102 in above-mentioned Fig. 1 embodiment, can repeat no more here.
Step S204: determine that described contacts list shows the target length of each entry data, described target length is have the first length corresponding to the entry data of the longest character length or the second default length in described contacts list;
Particularly, according to the contacts list that step S202 obtains, multiple entry data can be obtained.When determining that contacts list shows the target length of each entry data, the first length that can be corresponding by the entry data in acquisition contacts list with the longest character length, second length that also can be arranged according to the demand of self by user.Such as, mobile phone can obtain the first length of entry data " Tzxu " correspondence with the longest character length according to the entry data in contacts list; Or user can arrange the second length value according to the demand of self.First length value or the second length value are defined as the target length that entry data is shown.
Step S206: increase character pitch or reduce character pitch or increase space character or reduce space character, to make the character length of entry data identical with target length between the character of entry data;
Particularly, according to the target length that step S204 determines, contact field in cell phone address book list carried out increase character pitch or reduce character pitch or increase space character or reduce space character, the length that each entry data in contacts list is shown is equal with described target length.Such as, contacts list in cell phone address book list has 6, that can be called benchmark according to the contact name with the longest character length in contacts list, to space character be increased in the character of other 5 contact name or increase character pitch, make the character length of the displaying of All Contacts's title equally long, and All Contacts's title realize two ends alignment with the character length shown for benchmark; Again such as, user also can set a character length value, the character length value arranged with user is for benchmark, the character realizing the contact name in cell phone address book list increases character pitch or reduces character pitch or increase space character or reduce space character, makes the character length of the displaying of All Contacts's title equally long.
Step S208: the entry data in the described contacts list after process is shown in terminal interface;
Particularly, the entry data in the contacts list after step S206 process is carried out showing to terminal demonstration interface, can be used for user to consult.Such as, the contacts list of cell phone display can be as shown in Figure 7.
See Fig. 3, be the process flow diagram of the 3rd embodiment of method for exhibiting data provided by the invention, the method comprises:
Step S302: obtain contacts list, described contacts list comprises at least two entry data;
Step S304: determine that described contacts list shows the target length of each entry data, described target length is have the first length corresponding to the entry data of the longest character length or the second default length in described contacts list;
Particularly, step S302 to S304 with reference to step S202 to S204 in above-mentioned Fig. 2 embodiment, can repeat no more here.
Step S306: judge whether the character length of the entry data in described contacts list equals described target length;
Particularly, according to the described target length that step S304 determines, judge whether the character length value of entry data equals target length; When judged result is no, the character length of described entry data is not equal to the described target length that step S304 determines, can perform step S308; When judged result is for being, the described target length that character length and the step S304 of described entry data determine is identical, and the character length of entry data is constant, can perform step S310.
Step S308: increase character pitch or reduce character pitch or increase space character or reduce space character, to make the character length of entry data equal with described target length between the character of entry data;
Particularly, when the judged result of step S306 is no, namely the character length value of described entry data is not equal to described target length, the described target length determined with step S304 is for foundation, between the character of entry data, increase character pitch or reduce character pitch or increase space character or reduce space character, making the character length of described entry data reach described target length.
Step S310: check whether all entry data in contacts list have judged complete;
Particularly, when the judged result of step S306 is for being, namely the character length value of described entry data equals described target length, can check whether all entry data in contacts list have judged complete, when checking that result is no, point to the entry data that next does not judge, return the step whether the data character number performing the described entry data that step S306 judges in described contacts list equals described target length, until all entry data in described contacts list all judge to be disposed; When checking result for being, entry data judges complete, can perform step S312.
Step S312: the entry data in the contacts list after process is shown in terminal interface;
Particularly, the entry data in the contacts list after step S310 process is carried out showing to terminal demonstration interface, can be used for user to consult.Such as, the contacts list of cell phone display can be as shown in Figure 7.
See Fig. 4, be the process flow diagram of the 4th embodiment of method for exhibiting data provided by the invention, the method comprises:
Step S402: obtain contacts list, described contacts list comprises at least two entry data;
Step S404: determine that described contacts list shows the target length of each entry data, described target length is have the first length corresponding to the entry data of the longest character length or the second default length in described contacts list;
Particularly, step S402 to S404 with reference to step S302 to S304 in above-mentioned Fig. 3 embodiment, can repeat no more here.
Step S406: judge whether the character length of the entry data in described contacts list equals described target length;
Particularly, according to the described target length that step S404 determines, judge whether the character length value of entry data equals target length; When judged result is no, the character length of described entry data is not equal to the described target length that step S404 determines, can perform step S408; When judged result is for being, the described target length that character length and the step S404 of described entry data determine is identical, and the character length of entry data is constant, can perform step S410.
Step S408: increase character pitch or reduce character pitch or increase space character or reduce space character, to make the character length of entry data equal with described target length between the character of entry data;
Particularly, when the judged result of step S406 is no, namely the character length value of described entry data is not equal to described target length, the described target length determined with step S404 is for foundation, between the character of entry data, increase character pitch or reduce character pitch or increase space character or reduce space character, making the character length of described entry data reach described target length.
Step S410: check whether all entry data in contacts list have judged complete;
Particularly, when the judged result of step S406 is for being, namely the character length value of described entry data equals described target length, can check whether all entry data in contacts list have judged complete, when checking that result is no, point to the entry data that next does not judge, return the step whether the data character number performing the described entry data that step S406 judges in described contacts list equals described target length, until all entry data in described contacts list all judge to be disposed; When checking result for being, entry data judges complete, can perform step S412.
Step S412: the entry data in the contacts list after process is shown in terminal interface;
Particularly, the entry data in the contacts list after step S410 process is carried out showing to terminal demonstration interface, can be used for user to consult.Such as, the contacts list of cell phone display can be as shown in Figure 7.
Step S414: obtain the entry data that described contacts list newly increases;
Particularly, obtain the entry data newly increased, such as, user have input again newly-increased contact person in existing cell phone address book list, newly-increased contact person can be one also can be multiple, such as, the newly-increased contact person of cell phone address book list can shown in Fig. 8, artificial " Jia Yibing " of contact that cell phone address book list is newly-increased, or the newly-increased contact of cell phone address book list artificial " from I of star ", or the contact person that cell phone address book list increases newly also can be " Jia Yibing ", " from I of star ", " Zhang San " etc. are multiple, or the contact person that cell phone address book list increases newly can be " Jia Yibing ", " Wang Fei ", " Zhang San " etc. are multiple.
Step S416: whether the character length of the entry data newly increased described in detection equals described target length;
Particularly, the character length of the entry data newly increased in detection of handset contacts list the described target length that step S404 determines can whether be equaled.Such as, as contact artificial " Jia Yibing " one that cell phone address book list is newly-increased, whether the character length detecting newly-increased contact artificial " Jia Yibing " equals the described target length that step S404 determines; Or during the contact newly-increased when cell phone address book list artificial " from I of star ", whether the character length detecting newly-increased contact artificial " from I of star " equals the described target length that step S404 determines; Or when the newly-increased contact artificial " Jia Yibing " of cell phone address book list, " from I of star ", " Zhang San " etc. are multiple, detect character length corresponding to " Jia Yibing ", " from I of star ", " Zhang San " and whether equal the described target length that step S404 determines; Or when the contact that cell phone address book list is newly-increased artificial " Jia Yibing ", " Wang Fei ", " Zhang San " etc. are multiple, detect character length corresponding to " Jia Yibing ", " Wang Fei ", " Zhang San " and whether equal the described target length that step S404 determines.
In specific implementation, when testing result is no, described in the character length of entry data that newly increases be not equal to the described target length that step S404 determines, can step S418 be performed; When the test results is yes, the described target length that character length and the step S404 of described newly-increased entry data determine is identical, and the character length of newly-increased entry data is constant, can perform step S420.
Step S418: increase character pitch or reduce character pitch or increase space character or reduce space character between the character of the described entry data newly increased is equal with described target length with the character length of the entry data newly increased described in making;
Particularly, when the testing result of step S416 is no, the character length value of namely newly-increased entry data is not equal to the described target length that step S404 determines, the described target length determined with step S404 is for foundation, between the character of the described entry data newly increased, increase character pitch or reduce character pitch or increase space character or reduce space character, equal with described target length with the character length of the entry data newly increased described in making; Such as, when the contact person newly-increased when cell phone address book list can be " from I of star ", can will increase character pitch between the character of " from I of star " or reduce character pitch or increase space character or reduce space character, the character length of " from I of star " be equal with described target length making.
Step S420: check whether newly-increased entry data has judged complete;
Particularly, when the testing result of step S416 is for being, the character length value of namely newly-increased entry data equals the described target length that step S404 determines, can check whether newly-increased entry data has judged complete, when checking that result is no, point to the newly-increased entry data that next does not judge, return the step whether character length performing the entry data newly increased described in step S416 detection equals described target length, until described newly-increased all entry data all judge to be disposed; When checking result for being, newly-increased entry data judges complete, can perform step S422.
Step S422: the entry data in the contacts list after process is shown in terminal interface;
Particularly, the entry data in the contacts list after step S420 process is carried out showing to terminal demonstration interface, can be used for user to consult.Such as, the contacts list of cell phone display can as shown in Fig. 9-Figure 12.
See Fig. 5, be the process flow diagram of the 4th embodiment of method for exhibiting data provided by the invention, the method comprises:
Step S502: obtain contacts list, described contacts list comprises at least two entry data;
Step S504: determine that described contacts list shows the target length of each entry data, described target length is have the first length corresponding to the entry data of the longest character length or the second default length in described contacts list;
Step S506: judge whether the character length of the entry data in described contacts list equals described target length;
Step S508: increase character pitch or reduce character pitch or increase space character or reduce space character, to make the character length of entry data equal with described target length between the character of entry data;
Step S510: check whether all entry data in contacts list have judged complete;
Step S512: the entry data in the contacts list after process is shown in terminal interface;
Particularly, step S502 to S512 with reference to step S402 to S412 in above-mentioned Fig. 4 embodiment, can repeat no more here.
Step S514: whether detection obtains and newly increase entry data;
Particularly, detect user and whether have input newly-increased entry data by terminal; When testing result is no, can current operation be terminated, can be different in practical application, be not restricted here; When the test results is yes, step S516 can be performed.
Step S516: obtain the entry data that described contacts list newly increases;
Particularly, when the testing result of step S514 is for being, obtain the entry data newly increased, such as, user have input again newly-increased contact person in existing cell phone address book list, and newly-increased contact person can be one also can be multiple.Such as, the newly-increased contact person of cell phone address book list can be as shown in Figure 8, artificial " Jia Yibing " of contact that cell phone address book list is newly-increased, or the newly-increased contact of cell phone address book list artificial " from I of star ", or the newly-increased contact person of cell phone address book list also can be that " Jia Yibing ", " from I of star ", " Zhang San " etc. are multiple, or the contact person that cell phone address book list increases newly can be that " Jia Yibing ", " Wang Fei ", " Zhang San " etc. are multiple.
Further, after obtaining the entry data that described contacts list newly increases, can return and perform step S504, namely redefine target length, the second length that the first length corresponding to the entry data with the longest character length in the contacts list after newly-increased contact person or user preset again can be obtained.Further, after redefining new target length, whether the character length that can continue the entry data of refereeing a contest in disconnected described contacts list equals described target length; Between the character of entry data, increase character pitch or reduce character pitch or increase space character or reduce space character, to make the character length of entry data equal with described target length; And the entry data in the contacts list after process is carried out showing to terminal demonstration interface, can be used for user to consult.Such as, the contacts list of cell phone display can as shown in Fig. 9-Figure 12.
See Figure 13, be the structural representation of the first embodiment of terminal provided by the invention, terminal 60 can comprise as shown in fig. 13 that: the first acquiring unit 602, first processing unit 604, first display unit 606, wherein:
First acquiring unit 602, for obtaining contacts list, described contacts list comprises at least two entry data;
First processing unit 604, process for the entry data in the described contacts list to described first acquiring unit 602 acquisition, the length that each entry data in described contacts list is shown is identical;
Further, described first processing unit 604 can comprise determining unit and adjustment unit, wherein:
Determining unit, for determining that described contacts list that described first acquiring unit 602 obtains shows that the target length of each entry data, described target length are have the first length corresponding to the entry data of the longest character length or the second default length in described contacts list;
Adjustment unit, for being adjusted to the described target length that described determining unit is determined by the character length of each entry data in described contacts list.
Again further, described adjustment unit may be used between the character of described entry data, increasing character pitch or reducing character pitch or increase space character or reduce space character, to make the character length of described entry data identical with the target length that described determining unit is determined;
Further, described adjustment unit can comprise the first judging unit and the first performance element, wherein:
First judging unit, for judging the described the target length whether character length of the entry data in described contacts list equals described determining unit and determine;
First performance element, for when the judged result of described first judging unit is no, increases or reduces character pitch, to make the character length of described entry data equal with described target length between the character of described entry data; When the judged result of described first judging unit is for being, described entry data character length is constant.
Further, described adjustment unit can also comprise the second judging unit and the second performance element, wherein:
Second judging unit, for judging the described the target length whether character length of the entry data in described contacts list equals described determining unit and determine;
Second performance element, for when the judged result of described second judging unit is no, increases or reduces space character, to make the character length of described entry data equal with described target length between the character of described entry data; When the judged result of described second judging unit is for being, described entry data character length is constant;
First display unit 606, is shown in terminal interface for the entry data in the described contacts list after being processed by described first processing unit 604.
See Figure 14, it is the structural representation of the second embodiment of terminal provided by the invention, terminal 60 as shown in figure 14 comprises: outside the first acquiring unit 602, first processing unit 604, first display unit 606, can also comprise: the 3rd processing unit 605, second acquisition unit 608, the 3rd acquiring unit 609, first detecting unit 610, second processing unit 612, second display unit 614, wherein:
3rd processing unit 605, for processing the entry data in described contacts list at described first processing unit 604, after the length making each entry data in described contacts list show is identical, by the character justify align of each entry data;
Further, first character in each entry data and last character can be carried out justify align according to the length of described displaying by described 3rd processing unit 605, and other characters except described first character and last character carry out decile and arrange uniformly between described first character and last character;
Second acquisition unit 608, for perform at described first display unit 606 described by process after described contacts list in entry data be shown in the step of terminal interface after, obtain the entry data that described contacts list newly increases;
3rd acquiring unit 609, for perform at described first display unit 606 described by process after described contacts list in entry data be shown in the step of terminal interface after, obtain the entry data that described contacts list newly increases, and trigger described determining unit and perform and describedly determine that described contacts list shows the target length of each entry data;
Whether the first detecting unit 610, equal described target length for the character length detecting the entry data newly increased described in the acquisition of described second acquisition unit 608;
Second processing unit 612, for when the testing result of described first detecting unit 610 is no, between the character of the described entry data newly increased, increase character pitch or reduce character pitch or increase space character or reduce space character, equal with described target length with the character length of the entry data newly increased described in making; When the testing result of described first detecting unit 610 is for being, the character length of described newly-increased entry data is constant;
Second display unit 614, shows for the entry data in the described contacts list after being processed by described second processing unit 612.
See Figure 15, it is the structural representation of the 3rd embodiment of terminal provided by the invention.Wherein, as shown in figure 15, this terminal 100 can comprise: at least one communication bus 1001, at least one processor 1003, storer 1005, input media 1007, output unit 1009.Wherein, communication bus 1002 is for realizing the connection communication between these assemblies.Wherein, storer 1005 can be high-speed RAM storer, also can be non-labile storer (non-volatile memory), such as at least one magnetic disk memory, storer 1005 can also be optionally that at least one is positioned at the storage system away from aforementioned processor 1003; Operating system, interface display program, Subscriber Interface Module SIM and data display program can be comprised as in a kind of storer 1005 of computer-readable storage medium.
In the described terminal 100 shown in Figure 15, processor 1003 may be used for calling the data display program stored in storer 1005, and performs following operation:
Can obtain contacts list by input media 1007, described contacts list comprises at least two entry data;
Process the entry data in described contacts list, the length that each entry data in described contacts list is shown is identical;
By output unit 1009, the entry data in the described contacts list after process can be shown in terminal interface.
Further, the described step that entry data in described contacts list processes can be comprised of described processor 1003 execution:
Determine that described contacts list shows the target length of each entry data, described target length is have the first length corresponding to the entry data of the longest character length or the second default length in described contacts list;
The character length of each entry data in described contacts list is adjusted to described target length.
Further, the described step character length of each entry data in described contacts list being adjusted to described target length that described processor 1003 performs can comprise:
Increase between the character of described entry data or reduce character pitch, to make the character length of described entry data identical with described target length; Or increase between the character of described entry data or reduce space character, to make the character length of described entry data identical with described target length;
Further, the described step character length of each entry data in described contacts list being adjusted to described target length that processor 1003 performs can comprise:
Judge whether the character length of the entry data in described contacts list equals described target length;
When judged result is no, increases between the character of described entry data or reduce character pitch, to make the character length of described entry data equal with described target length; When judged result is for being, described entry data character length is constant;
Or judge whether the character length of the entry data in described contacts list equals described target length;
When judged result is no, increases between the character of described entry data or reduce space character, to make the character length of described entry data equal with described target length; When judged result is for being, described entry data character length is constant;
Further, after the entry data in the described contacts list after process is shown in terminal interface by described output unit 1009, processor 1003 can also perform following operation:
The entry data that described contacts list newly increases can be obtained by input media 1007;
Whether the character length of the entry data newly increased described in detection equals described target length;
When testing result is no, between the character of the described entry data newly increased, increases character pitch or reduce character pitch or increase space character or reduce space character, equal with described target length with the character length of the entry data newly increased described in making; When the test results is yes, the character length of described newly-increased entry data is constant;
Can by output unit 1009 by process after described contacts list in entry data by being shown in terminal interface.
Or, further, by described output unit 1009 by process after described contacts list in entry data be shown in terminal interface after, processor 1003 can also perform following operation:
The entry data that described contacts list newly increases can be obtained by input media 1007;
Return to perform and describedly determine that described contacts list shows the step of the target length of each entry data;
Further, processor 1003 processes the entry data in described contacts list, after the length that each entry data in described contacts list is shown is identical, also comprises:
By the character justify align of each entry data;
Further, processor 1003 performs the character justify align of each entry data, comprising:
First character in each entry data and last character are carried out justify align by the length according to described displaying, and other characters except described first character and last character carry out decile and arrange uniformly between described first character and last character.
It should be noted that, the step that processor 1003 performs with reference to the embodiment in above-mentioned Fig. 1 to Fig. 5 embodiment of the method, can repeat no more here.
In sum, implement the embodiment of the present invention, by determining the target length of the displaying of entry data, justify align process is carried out to the entry data in data list, the effectiveness comparison that data list shows is neat, facilitates user to check, solve represent in prior art form solidification, single, lack regularity, the effectiveness comparison presented is mixed and disorderly, is not easy to the technical matters that user checks.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Above disclosedly be only a kind of preferred embodiment of the present invention, certainly the interest field of the present invention can not be limited with this, one of ordinary skill in the art will appreciate that all or part of flow process realizing above-described embodiment, and according to the equivalent variations that the claims in the present invention are done, still belong to the scope that invention is contained.

Claims (10)

1. a method for exhibiting data, is characterized in that, comprising:
Obtain contacts list, described contacts list comprises at least two entry data;
Process the entry data in described contacts list, the length that each entry data in described contacts list is shown is identical;
Entry data in described contacts list after process is shown in terminal interface.
2. the method for claim 1, is characterized in that, describedly processes the entry data in described contacts list, comprising:
Determine that described contacts list shows the target length of each entry data, described target length is have the first length corresponding to the entry data of the longest character length or the second default length in described contacts list;
The character length of each entry data in described contacts list is adjusted to described target length.
3. method as claimed in claim 2, is characterized in that, described the character length of each entry data in described contacts list is adjusted to described target length, comprising:
Increase between the character of described entry data or reduce character pitch, to make the character length of described entry data identical with described target length.
4. method as claimed in claim 2, is characterized in that, described the character length of each entry data in described contacts list is adjusted to described target length, comprising:
Increase between the character of described entry data or reduce space character, to make the character length of described entry data identical with described target length.
5. method as claimed in claim 3, is characterized in that, described the character length of each entry data in described contacts list is adjusted to described target length, comprising:
Judge whether the character length of the entry data in described contacts list equals described target length;
When judged result is no, increases between the character of described entry data or reduce character pitch, to make the character length of described entry data equal with described target length; When judged result is for being, described entry data character length is constant.
6. method as claimed in claim 4, is characterized in that, described the character length of each entry data in described contacts list is adjusted to described target length, comprising:
Judge whether the character length of the entry data in described contacts list equals described target length;
When judged result is no, increases between the character of described entry data or reduce space character, to make the character length of described entry data equal with described target length; When judged result is for being, described entry data character length is constant.
7. the method as described in claim 5 or 6, is characterized in that, described by process after described contacts list in entry data be shown in terminal interface after, also comprise:
Obtain the entry data that described contacts list newly increases;
Whether the character length of the entry data newly increased described in detection equals described target length;
When testing result is no, between the character of the described entry data newly increased, increases character pitch or reduce character pitch or increase space character or reduce space character, equal with described target length with the character length of the entry data newly increased described in making; When the test results is yes, the character length of described newly-increased entry data is constant;
Entry data in described contacts list after process is shown in terminal interface.
8. the method as described in claim 5 or 6, is characterized in that, described by process after described contacts list in entry data be shown in terminal interface after, also comprise:
Obtain the entry data that described contacts list newly increases;
Return to perform and describedly determine that described contacts list shows the step of the target length of each entry data.
9. the method as described in any one of claim 1-6, is characterized in that, describedly processes the entry data in described contacts list, after the length that each entry data in described contacts list is shown is identical, also comprises:
By the character justify align of each entry data.
10. method as claimed in claim 9, is characterized in that, described by the character justify align of each entry data, comprising:
First character in each entry data and last character are carried out justify align by the length according to described displaying, and other characters except described first character and last character carry out decile and arrange uniformly between described first character and last character.
CN201510035110.6A 2015-01-23 2015-01-23 Data display method Pending CN104615693A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510035110.6A CN104615693A (en) 2015-01-23 2015-01-23 Data display method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510035110.6A CN104615693A (en) 2015-01-23 2015-01-23 Data display method

Publications (1)

Publication Number Publication Date
CN104615693A true CN104615693A (en) 2015-05-13

Family

ID=53150135

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510035110.6A Pending CN104615693A (en) 2015-01-23 2015-01-23 Data display method

Country Status (1)

Country Link
CN (1) CN104615693A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1716252A (en) * 2004-06-30 2006-01-04 微软公司 Aligned behavior in templated lists
JP2007164748A (en) * 2005-12-16 2007-06-28 Suehiko Iwai Method of unifying a plurality of listings, and maintenance management and utilization method
CN101282533A (en) * 2008-05-22 2008-10-08 宇龙计算机通信科技(深圳)有限公司 Information display method and mobile terminal
CN101295290A (en) * 2008-06-11 2008-10-29 北大方正集团有限公司 Method for multi-row words layout in row

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1716252A (en) * 2004-06-30 2006-01-04 微软公司 Aligned behavior in templated lists
JP2007164748A (en) * 2005-12-16 2007-06-28 Suehiko Iwai Method of unifying a plurality of listings, and maintenance management and utilization method
CN101282533A (en) * 2008-05-22 2008-10-08 宇龙计算机通信科技(深圳)有限公司 Information display method and mobile terminal
CN101295290A (en) * 2008-06-11 2008-10-29 北大方正集团有限公司 Method for multi-row words layout in row

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
WUYONWAY: ""在Excel中用分散对齐的方法对齐姓名列"", 《豆丁网》 *

Similar Documents

Publication Publication Date Title
CN103313216B (en) Message prompt method, system and device for communication account
CN105824836B (en) Screenshot sharing method and device, and information receiving method and device
EP3562257B1 (en) Wireless fidelity (wi-fi) connection method and related product
CN104657058A (en) Screenshot method
CN105005429A (en) Method for showing picture through terminal and terminal
WO2018103402A1 (en) Wireless fidelity (wifi) scan method and related product
CN104679405A (en) Terminal
CN104123324A (en) Positioning and obtaining method and device for unread messages
CN105573484A (en) Projection method and terminal
CN106227483B (en) Display control method and mobile terminal
CN103995830A (en) Method and mobile terminal for fast switching application program based on input method
CN104394259A (en) Method and device for caller identification and mobile terminal
CN104572771B (en) Processing state display method and device
CN104298505A (en) Operation method for application program
CN104317473A (en) Interface display method and client
CN104144107A (en) Method, device and system for achieving account noting
CN105337845A (en) Voice commenting server and method
CN104657445A (en) Method for obtaining prompt information
US20130113708A1 (en) Method and apparatus enabling keystroke acceleration
US20190364497A1 (en) Method for Wireless Fidelity Connection and Related Products
CN105426438A (en) Information display method and terminal
CN106793016B (en) Wireless fidelity Wi-Fi connection method and mobile terminal
CN104615693A (en) Data display method
CN104767880A (en) Communication number management method
CN104281263A (en) Terminal

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

Application publication date: 20150513

RJ01 Rejection of invention patent application after publication