CN103995669B - A kind of address list navigation bar display methods and device - Google Patents

A kind of address list navigation bar display methods and device Download PDF

Info

Publication number
CN103995669B
CN103995669B CN201410220360.2A CN201410220360A CN103995669B CN 103995669 B CN103995669 B CN 103995669B CN 201410220360 A CN201410220360 A CN 201410220360A CN 103995669 B CN103995669 B CN 103995669B
Authority
CN
China
Prior art keywords
navigation bar
initial
letter
coordinate
touch screen
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410220360.2A
Other languages
Chinese (zh)
Other versions
CN103995669A (en
Inventor
卢伟超
赵智宝
秦龙龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TCL Corp
Original Assignee
TCL Corp
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 TCL Corp filed Critical TCL Corp
Priority to CN201410220360.2A priority Critical patent/CN103995669B/en
Publication of CN103995669A publication Critical patent/CN103995669A/en
Application granted granted Critical
Publication of CN103995669B publication Critical patent/CN103995669B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The present invention is suitable for the communications field, provides a kind of address list navigation bar display methods and device.The method includes:Monitor touch-screen event;After listening to touch-screen event, the coordinate of touch screen point is determined;According to the coordinate of the initial of the coordinate of the touch screen point, navigation bar and the coordinate of the end letter of navigation bar, the center of circle and the radius of the circle where the circular arc of the end letter of the initial and navigation bar by the navigation bar are determined;The navigation bar is shown on the arc section intersected with the initial of navigation bar and end letter with the radius and the circle of center of circle formation.The embodiment of the present invention can improve the accuracy for clicking contact person's surname letter in navigation bar.

Description

A kind of address list navigation bar display methods and device
Technical field
The invention belongs to the communications field more particularly to a kind of address list navigation bar display methods and devices.
Background technology
With the development of science and technology, the raising of living standards of the people, intelligent terminal have become in people's daily life Indispensable media of communication.When contacting others using intelligent terminal, for example, when contacting others using mobile phone, The address list using mobile phone is needed to search the contact person to be contacted.
Currently, the address list navigation bar of intelligent terminal arranges display methods, be typically contact person's surname for being stored into according to It after letter sequence, is stored in navigation bar, the letter of the navigation bar is vertically arranged again on the screen for being shown in intelligent terminal, such as Fig. 1 It is shown.In Fig. 1, contact person's surname letter of navigation bar is " ABCDEFGHIJKLMNOPQRSTUVWXYZ ", and the navigation bar is perpendicular In line row are shown on the screen of intelligent terminal.Due to navigation bar letter from screen to being vertically arranged under screen, and The screen size of intelligent terminal is limited, therefore the gap between two letters of the navigation bar shown using this method is smaller, User is difficult to navigate to correct position in two neighbouring letters, so as to cause accidentally when selecting contact person's surname letter Clicking rate is excessively high.
Invention content
An embodiment of the present invention provides a kind of address list navigation bar display methods, it is intended to solve the navigation that existing method is shown In item, the gap between two adjacent letters is thinner, so as to cause the problem that overdue rate is excessively high.
The embodiment of the present invention is achieved in that a kind of address list navigation bar display methods, and the method includes following steps Suddenly:
Monitor touch-screen event;
After listening to touch-screen event, the coordinate of touch screen point is determined;
According to the coordinate of the initial of the coordinate of the touch screen point, navigation bar and the coordinate of the end letter of navigation bar, determine The center of circle of circle where the circular arc of end letter by the initial and navigation bar of the navigation bar and radius;
On the arc section intersected with the initial of navigation bar and end letter with the radius and the circle of center of circle formation Show the navigation bar.
The another object of the embodiment of the present invention is to provide a kind of address list navigation bar display device, and described device includes:
Touch-screen event monitoring unit, for monitoring touch-screen event;
Touch screen point coordinates determination unit, the coordinate for after listening to touch-screen event, determining touch screen point;
The center of circle and radius determination unit, for according to the coordinate of the initial of the coordinate of the touch screen point, navigation bar and leading The coordinate of the end letter of boat item determines the circle where the circular arc of the last letter of the initial and navigation bar by the navigation bar The center of circle and radius;
Navigation bar display unit, for the initial and end letter of the circle and navigation bar of the radius and center of circle formation Intersect and shows the navigation bar on obtained arc section.
In embodiments of the present invention, due to showing navigation bar in the form of arc, and the length of camber line is more than the length of straight line It spends, therefore when showing identical content, what the distance between the two neighboring letter that arcuate motion is shown was shown than linear fashion The distance between two neighboring letter bigger selects convenient for user on navigation bar to provide the space of bigger to user's operation Letter, improve touch screen selection accuracy.
Description of the drawings
Fig. 1 is the schematic diagram that the address list navigation bar that the prior art provides is vertically arranged display;
Fig. 2 is a kind of flow chart for address list navigation bar display methods that first embodiment of the invention provides;
Fig. 3 is the schematic diagram that the arc that first embodiment of the invention provides shows address list navigation bar;
Fig. 4 be first embodiment of the invention provide the center of circle determined according to the first, last letter of touch screen point and navigation bar and The schematic diagram of radius;
Fig. 5 is the first, last letter determination for the subpoint and navigation bar according to touch screen point that first embodiment of the invention provides The center of circle and radius schematic diagram;
Fig. 6 is that the circle of determination that first embodiment of the invention provides intersects with the initial of navigation bar and end letter The schematic diagram of one arc section;
Fig. 7 is schematic diagram of the touch screen point of first embodiment of the invention offer under polar coordinate system;
Fig. 8 is that a kind of structural diagrams for address list navigation bar display device that second embodiment of the invention provides are intended to.
Specific implementation mode
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
In the embodiment of the present invention, after listening to event, determine the coordinate of touch screen point, further according to touch screen point coordinate, lead The coordinate of the coordinate of the initial of boat item and the end letter of navigation bar, determines the head of the coordinate comprising the touch screen point, navigation bar The radius of circle where the circular arc of the coordinate of the coordinate of letter and the end letter of navigation bar and the center of circle, finally with the radius And the letter of the navigation bar is shown on the center of circle circle and the navigation bar initial that are formed and the last alphabetical arc section intersected.
In order to illustrate technical solutions according to the invention, illustrated below by specific embodiment.
Embodiment one:
Fig. 2 shows a kind of flow charts for address list navigation bar display methods that first embodiment of the invention provides, at this In embodiment, the navigation bar of address list can show that details are as follows in the form of arc:
Step S21 monitors touch-screen event.
The touch-screen event of the step includes:User clicks the touch screen that screen sends out touch-screen event and user's sliding screen is sent out Event.Further, an audit area is preset, touch-screen event is monitored in the preset audit area.Preset monitoring area Domain could be provided as including navigation bar, and include the region of certain area coverage around navigation bar.
Wherein, the navigation bar of address list may be configured as A to Z totally 26 letter compositions, may be set to be by contact person's Surname initial forms, for example, when the initial of contact person does not all have X, does not have this letter of X in navigation bar.
As another embodiment of first embodiment of the invention, the monitoring touch-screen event the step of before, including under State step:
In the circular arc intersected with the initial of navigation bar and end letter with preset radius and the circle of center of circle formation The navigation bar is shown in section.
In this embodiment, the position that each letter in navigation bar is initialized by a thread, specifically, A1, foundation Preset radius and the center of circle form a circle;A2, the circle intersected with the initial of navigation bar and end letter in the circle of formation Each letter that navigation bar is shown in segmental arc, obtains the navigation bar that arc is shown, the navigation bar that arc is shown is as shown in Figure 3.
Step S22 determines the coordinate of touch screen point after listening to touch-screen event.
In the step, the coordinate of determining touch screen point is the coordinate under cartesian coordinate system.Wherein, cartesian coordinate system is The general designation of rectangular coordinate system and oblique coordinates.
Step S23, according to the coordinate of the initial of the coordinate of the touch screen point, navigation bar and the seat of the end letter of navigation bar Mark determines the center of circle and the radius of the circle where the circular arc of the end letter of the initial and navigation bar by the navigation bar.
In the step, the letter " A " of navigation bar in the initial such as Fig. 1 of navigation bar, the end letter of navigation bar in Fig. 1 as led The letter " Z " of boat item, certainly, in a practical situation, as long as all surnames in the initial of navigation bar not necessarily A address lists First letter after arranging in alphabetical order, as long as end letter also all surnames not necessarily in Z address lists The last letter after arranging in alphabetical order, is not construed as limiting herein.In this step, the initial of navigation bar Coordinate and the coordinate of end letter be also coordinate under cartesian coordinate system, be predetermined.
The first embodiment is in this step:It is equal to the center of circle and navigation bar according to the distance between the center of circle and touch screen point The distance between coordinate of initial (being radius) and the distance between the initial of the center of circle and navigation bar are arrived equal to the center of circle The distance between non-letter of navigation bar (being radius), establishes coordinate and radius that equation group can determine the center of circle.Assuming that The coordinate (X1, Y1) of the initial of navigation bar, the coordinate (X2, Y2) of the end letter of navigation bar, according to the head in the center of circle to navigation bar The distance of letter then infers that the center of circle is located at a distance from the end letter in the center of circle to navigation bar equal (length for being equal to radius of circle) On the perpendicular bisector of the alphabetical point-to-point transmission line segment of the initial of navigation bar and end, therefore the ordinate in the center of circle is (Y1+Y2)/2, false If central coordinate of circle is (x, (Y1+Y2)/2), the coordinate of touch screen point is (X3, Y3), is equal at a distance from the center of circle according to touch screen point and is led The distance in initial to the center of circle of item of navigating establishes the abscissa x that an equation determines the center of circle, alternatively, according to touch screen point and the center of circle Distance is equal to distance of the end letter of navigation bar to the center of circle and establishes the abscissa x that an equation determines the center of circle, then according to the center of circle The distance between touch screen point can determine round radius, determined through the central coordinate of circle of 3 points of circle according to the coordinate of three points and Radius is common knowledge, and details are not described herein.
Second of embodiment be:Before determining radius of circle, need to judge the lead-in whether touch screen point is located at navigation bar It, specifically can be by judging the lead-in of the ordinate and navigation bar of touch screen point on female perpendicular bisector with the alphabetical point-to-point transmission line segment in end Whether the ordinate at female midpoint alphabetical with end is equal to judge;
If the ordinate of touch screen point is equal with the last ordinate at midpoint of letter with the initial of navigation bar, referring to Fig. 4, i.e., It is described to be touched according to described when the touch screen point is located on the initial of navigation bar and the perpendicular bisector of the alphabetical point-to-point transmission line segment in end The coordinate for shielding the end letter of the coordinate of point, the coordinate of the initial of navigation bar and navigation bar, determines the head by the navigation bar The step of radius of circle where the circular arc of the end letter of letter and navigation bar, specifically includes:
B1, determined according to the coordinate of the end letter of the coordinate and navigation bar of the initial of the navigation bar initial with The middle point coordinates of last letter;Assuming that the coordinate of the initial of navigation bar be (x1, y1), navigation bar end letter coordinate be (x2, Y2), then the middle point coordinates of the end letter of the initial of navigation bar and navigation bar is ((x1+x2)/2, (y1+y2)/2).
B2, determined according to the middle point coordinates of the coordinate of the touch screen point and the initial and end letter the touch screen point and The distance between the midpoint of the initial of the navigation bar and end letter;In the step, the lead-in of touch screen point and the navigation bar Female the distance between midpoint with last letter is determined by distance between two points formula.
B3, the navigation bar is determined according to the coordinate of initial and the last alphabetical coordinate of navigation bar of the navigation bar The distance between initial and end letter;In the step, the distance between the initial of navigation bar and end letter pass through point-to-point transmission Range formula determines.
B4, according to the distance between midpoint of the initial of the touch screen point and the navigation bar and end letter and described The distance between the initial of navigation bar and end letter are determined by the touch screen point, the initial of navigation bar and navigation bar The radius of circle where the circular arc of last letter.Specifically, the head of the coordinate, navigation bar that pass through the touch screen point is determined according to the following formula The radius of circle where the circular arc of the end letter of letter and navigation bar:(r-w) ^2+ (h/2) ^2=r^2.Wherein, r is the half of circle Diameter;W is the distance between the midpoint of the initial and end letter of touch screen point and navigation bar;H is the initial of navigation bar and last word The distance between mother.It is assumed that touch screen point is A points, C points are the position where the initial of navigation spots, and B points are to lead Position where the end letter of destination, A points are on the perpendicular bisector of BC line segments, and AM=w, AO=r, CM=h/2, then to straight Angle triangle CMO obtains (r-w) ^2+ (h/2) ^2=r^2 according to Pythagorean theorem.Due to w and h it is known that circle therefore can be found out Radius r.
If the ordinate at the midpoint of the ordinate of touch screen point and the initial of navigation bar and end letter is unequal, referring to Fig. 5, When the i.e. described touch screen point is not located on the initial of navigation bar and the perpendicular bisector of the alphabetical point-to-point transmission line segment in end, the basis The coordinate of the end letter of the coordinate of the touch screen point, the coordinate of the initial of navigation bar and navigation bar, determines and passes through the navigation The step of radius of circle where the circular arc of the initial of item and the end letter of navigation bar, specifically includes:
C1, determined according to the coordinate of the end letter of the coordinate and navigation bar of the initial of the navigation bar initial with The middle point coordinates of last letter.
C2, by the initial of the touch screen spot projection to navigation bar with end letter midpoint and the center of circle line on, and really Surely the coordinate of the subpoint of the touch screen point obtained.Referring to Fig. 5, the subpoint of touch screen point is A.
C3, the middle point coordinates according to the coordinate and the initial and end letter of the subpoint of the touch screen point, determine institute State the distance between the midpoint of the subpoint of touch screen point and the initial and end letter of the navigation bar.
C4, the navigation bar is determined according to the coordinate of initial and the last alphabetical coordinate of navigation bar of the navigation bar The distance between initial and end letter.
C5, according to the subpoint of the touch screen point and the initial of the navigation bar and end letter midpoint between away from From and the navigation bar initial and the distance between end letter, determine subpoint, the navigation bar by the touch screen point Initial and navigation bar end letter circular arc where circle radius.In this step, the formula and step of radius are calculated B4's is identical, and details are not described herein again.Coordinate and navigation bar according further to the initial of the coordinate of the touch screen point, navigation bar The coordinate of last letter determines the center of circle step of the circle where the circular arc of the end letter of the initial and navigation bar by the navigation bar Suddenly include:According to the distance between the center of circle and touch screen point be equal to the center of circle and navigation bar initial (or end letter of navigation bar) it Between distance determine the coordinate in the center of circle, can also be according to the radius r obtained in above-described embodiment and the seat in the center of circle and touch screen point The coordinate that mark can find out the center of circle realizes the step of determining the center of circle,.
Second of embodiment of this step can be convenient for the calculating of angle in subsequent step S24, calculation amount few.
Certainly, it is not located in the touch screen point on the perpendicular bisector that the initial of navigation bar is connected with last alphabetical straight line When, between the coordinate for the initial that the center of circle and navigation bar can also be directly equal to according to the distance between the center of circle and touch screen point away from It is equal to the center of circle between the not letter of navigation bar from the distance between (being radius) and initial of the center of circle and navigation bar Distance (being radius), establishes equation group to determine the coordinate and radius in the center of circle, is not construed as limiting herein.
Step S24, in the circle intersected with navigation bar initial and end letter with the radius and the circle of center of circle formation The navigation bar is shown in segmental arc.
In step s 24, it may be determined that round radius and the center of circle, according to determining radius and the center of circle can determine one it is round Shape, which intersects to obtain an arc section with navigation bar initial and end letter, as shown in fig. 6, in the position of the arc section Information on the upper display navigation bar.
The wherein described circle intersected in the circle formed with the radius and the center of circle and navigation bar initial and end letter The step of navigation bar is shown in segmental arc specifically includes:
D1, the initial for determining navigation bar, the center of circle, navigation bar end letter formed angle the number of degrees;In the step, if The first embodiment is used in step 23, then directly passes through the alphabetical angle in the end of the initial of navigation bar, the center of circle, navigation bar Formula obtains angle;If in step 23 use second of embodiment, i.e., the initial of navigation bar, the center of circle, navigation bar last word Female angle formed θ as shown in Figure 4.Referring to Fig. 4,2 points of C, B is respectively initial and end letter on navigation bar, and A is tactile Shield point, M is the midpoint of BC, θ=∠ BOC=2 ∠ AOC, and ∠ AOC=arctan ((h/2)/(r-w))=arctan (h/2* (r-w))。
D2, according to alphabetical in the number of degrees of determining angle, radius, the sequence that is shown in navigation bar of letter and navigation bar Number determines that each letter is in the coordinate of screen in navigation bar;Specifically, determine that each letter is shielding in navigation bar according to the following formula The coordinate of curtain:
Wherein, θ is the initial of navigation bar, is formed with the end letter of the center of circle of the circle of radius formation, navigation bar The number of degrees of angle;N is number alphabetical in navigation bar;X, y are the values under cartesian coordinate system, and x is letter in screen Abscissa, y are ordinate of the letter in screen;ρ is the radius of circle, and wherein ρ is equal with r;I shows for letter in navigation bar suitable Sequence, i=0,1 ..., N.Coordinate under polar coordinate system is converted to the coordinate under cartesian coordinate system by above-mentioned formula.In polar coordinates Under system, any point on circular arc can use polar coordinate representation, referring to Fig. 7, in the figure 7, using the center of circle as origin, with navigation bar Initial and the midpoint of end letter establish polar coordinate system, the polar coordinates of A points to the line direction of A points for polar positive direction ForIf coordinate of the A points under cartesian coordinate system is (x, y), then
D3, each letter shows corresponding letter on the coordinate of screen in determining navigation bar.
In the first embodiment of the invention, after listening to event, the coordinate of touch screen point is determined, further according to the seat of touch screen point The coordinate of the coordinate of the initial of mark, navigation bar and the end letter of navigation bar, determines coordinate, the navigation bar for including the touch screen point Initial coordinate and navigation bar end letter coordinate circular arc where circle radius and the center of circle, finally with described The navigation bar is shown on the arc section that the circle that radius and the center of circle are formed intersects with the initial of navigation bar and end letter Letter.Due to showing navigation bar in the form of arc, and the length of camber line is more than the length of straight line, therefore is showing in identical Rong Shi, the distance between two neighboring letter that arcuate motion is shown than linear fashion show it is two neighboring letter between away from From bigger, to provide the space of bigger to user's operation, the letter on navigation bar is selected convenient for user, improves touch screen selection Accuracy.Also, the navigation bar that first embodiment of the invention is shown is relevant with the position of current touch screen point, when touch screen point When the difference of position, the shape of the navigation bar of presentation is also different, and the navigation bar for changing presentation is more advantageous to user and is selected on navigation bar In correctly contact person surname letter, improve click navigation bar in contact person's surname letter accuracy rate.
Embodiment two:
Fig. 8 shows a kind of structure chart for address list navigation bar display device that second embodiment of the invention provides, in order to Convenient for explanation, illustrate only and the relevant part of the embodiment of the present invention.
The address list navigation bar display device includes:Touch-screen event monitoring unit 81, touch screen point coordinates determination unit 82, circle The heart and radius determination unit 83, navigation bar display unit 84.Wherein:
Touch-screen event monitoring unit 81, for monitoring touch-screen event.
The touch-screen event includes:User clicks the touch-screen event that screen sends out touch-screen event and user's sliding screen is sent out. Further, an audit area is preset, touch-screen event is monitored in the preset audit area.Preset audit area can be with It is set as including navigation bar, and includes the region of certain area coverage around navigation bar.
Touch screen point coordinates determination unit 82, the coordinate for after listening to touch-screen event, determining touch screen point.
The center of circle and radius determination unit 83, for obtaining and according to the initial of the coordinate of the touch screen point, navigation bar The coordinate of the end letter of coordinate and navigation bar determines the circular arc institute of the end letter of the initial and navigation bar by the navigation bar Circle the center of circle and radius.
Specifically, the first embodiment of the center of circle and radius determination unit 83:For according to the center of circle and touch screen point it Between distance be equal to the distance between coordinate of initial of the center of circle and navigation bar (being radius) and the center of circle and navigation bar The distance between initial is equal to the center of circle to the distance between the non-letter of navigation bar (being radius), and establishing equation group can be true The coordinate and radius of centering determine that central coordinate of circle and radius by 3 points of circle are known normal according to the coordinate of three points Know, details are not described herein.
Second of embodiment of the center of circle and radius determination unit 83:When the touch screen point be located at the initial of navigation bar with When on the perpendicular bisector of last letter point-to-point transmission line segment, the center of circle and radius determination unit 83 include:
Point coordinates determining module in first is used for the end letter of the coordinate and navigation bar according to the initial of the navigation bar Coordinate determine the initial with end letter middle point coordinates.
Touch screen point, apart from determining module, is used for according to the coordinate of the touch screen point and the initial and end letter with midpoint Middle point coordinates determine the touch screen point and the navigation bar initial and end letter the distance between midpoint.
First first and last letter distances determining module is used for the end of the coordinate and navigation bar according to the initial of the navigation bar The coordinate of letter determines the distance between initial and end letter of the navigation bar.
First radius computing module, for the midpoint according to the initial of the touch screen point and the navigation bar and end letter The distance between and the navigation bar initial and the distance between end letter, determine by the touch screen point navigation bar The radius of circle where the circular arc of the end letter of initial and navigation bar.
Specifically, the coordinate and navigation bar of the initial of the coordinate comprising the touch screen point, navigation bar are determined according to the following formula End letter coordinate circular arc where circle radius:(r-w) ^2+ (h/2) ^2=r^2.Wherein, r is the radius of circle;W is The distance between the midpoint of the initial of touch screen point and navigation bar and end letter;H is between the initial of navigation bar and end letter Distance.
If the touch screen point is not located on the initial of navigation bar and the perpendicular bisector of the alphabetical point-to-point transmission line segment in end, The center of circle and radius determination unit 83 include:
Point coordinates determining module in second is used for the end letter of the coordinate and navigation bar according to the initial of the navigation bar Coordinate determine the initial with end letter middle point coordinates;
Touch screen spot projection module is used for the midpoint with end letter and circle by the initial of the touch screen spot projection to navigation bar On the line of the heart, and determine the coordinate of the subpoint of the obtained touch screen point;
The subpoint of touch screen point, apart from determining module, is used for coordinate and the institute of the subpoint according to the touch screen point with midpoint The middle point coordinates for stating initial and end letter determines the subpoint of the touch screen point and the initial of the navigation bar and end letter The distance between midpoint;
Second first and last letter distances determining module is used for the end of the coordinate and navigation bar according to the initial of the navigation bar The coordinate of letter determines the distance between initial and end letter of the navigation bar;
Second radius computing module, for according to the subpoint of the touch screen point and the initial of the navigation bar and last word The distance between the initial and end letter of the distance between female midpoint and the navigation bar, determine and pass through the touch screen The radius of circle where the circular arc of the end letter of the subpoint of point, the initial of navigation bar and navigation bar.
Judge whether touch screen point is located at the initial and the alphabetical point-to-point transmission line segment in end of navigation bar in above-mentioned second embodiment Function on perpendicular bisector can concentrate in the center of circle and radius determining module 83, can also be realized by the module separately set, together Shi Yuanxin and radius determining module 83 further include:Central coordinate of circle computing module, for according to the distance between the center of circle and touch screen point It, can also basis equal to the coordinate that the distance between the initial (or end letter of navigation bar) in the center of circle and navigation bar determines the center of circle The distance between the center of circle and touch screen point are obtained equal to radius computing module (the first radius computing module or the second radius computing module) To radius determine the coordinate in the center of circle.
Navigation bar display unit 84, for initial and the end of the radius and the circle and navigation bar of center of circle formation The navigation bar is shown on the arc section that letter intersection obtains.
The navigation bar display unit 84 specifically includes:Angle number of degrees determining module, each alphabetic coordinates determining module, letter Display module.Wherein:
Angle number of degrees determining module, for determine the initial of navigation bar, the center of circle, navigation bar the angle that is formed of end letter The number of degrees.
Each alphabetic coordinates determining module, it is suitable for being shown in navigation bar according to the number of degrees of determining angle, radius, letter Alphabetical number in sequence and navigation bar determines that each letter is in the coordinate of screen in navigation bar.Specifically, each alphabetic coordinates are true Cover half block includes angle average value determining module and cartesian coordinate determining module.The angle average value determining module is used for basisDetermine the initial of navigation bar, the center of circle of the circle formed with the radius, navigation bar end letter formed Angle average value.Wherein, θ is the initial of navigation bar, with the center of circle of the circle of radius formation, the end letter of navigation bar The number of degrees of the angle of formation;N is number alphabetical in navigation bar.The cartesian coordinate determining module is used for basis Determine each word on navigation bar Female corresponding cartesian coordinate.Wherein, x, y are the values under cartesian coordinate system, and x is abscissa of the letter in screen, and y is Ordinate of the letter in screen.ρ is the radius of circle, and wherein ρ is equal with r.The sequence that i shows for letter in navigation bar, i=0, 1 ..., N.
Alphabetical display module, in determining navigation bar each letter corresponding word is shown on the coordinate of screen It is female.
As another embodiment of second embodiment of the invention, described device includes:
Display unit is initialized, for intersecting with navigation bar initial and last letter in the circle formed with preset radius To arc section on show the navigation bar.After user opens address list, navigation bar is directly shown in a manner of arc.
In second embodiment of the invention, due to showing navigation bar in the form of arc, and the length of camber line is more than straight line Length, therefore when showing identical content, the distance between two neighboring letter that arcuate motion is shown is more aobvious than linear fashion The distance between the two neighboring letter shown bigger selects navigation to provide the space of bigger to user's operation convenient for user Letter on item improves the accuracy of touch screen selection.Also, the navigation bar that first embodiment of the invention is shown is and current touch screen The position of point is relevant, and when the position difference of touch screen point, the shape of the navigation bar of presentation is also different, changes the navigation bar of presentation It is more advantageous to the surname letter that user chooses correct contact person on navigation bar, improves the accuracy rate of selection.
It will appreciated by the skilled person that implement the method for the above embodiments be can be with Relevant hardware is instructed to complete by program, the program can be stored in a computer read/write memory medium In, the storage medium, such as ROM/RAM, disk, CD.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention All any modification, equivalent and improvement etc., should all be included in the protection scope of the present invention made by within refreshing and principle.

Claims (10)

1. a kind of address list navigation bar display methods, which is characterized in that the method includes following step:
On the arc section intersected with the initial of navigation bar and end letter with preset radius and the circle of center of circle formation Show navigation bar;
Monitor touch-screen event;
After listening to touch-screen event, the coordinate of touch screen point is determined;
According to the coordinate of the initial of the coordinate of the touch screen point, navigation bar and the coordinate of the end letter of navigation bar, determines and pass through The center of circle of circle where the circular arc of the end letter of the coordinate of the touch screen point, the initial of navigation bar and navigation bar and radius;
It is described by the coordinate of the touch screen point, the initial of navigation bar and navigation bar end letter circular arc where circle with The navigation bar is shown on the arc section that initial and end letter intersection by the navigation bar obtain.
2. the method as described in claim 1, which is characterized in that be located at the initial and end letter of navigation bar in the touch screen point When on the perpendicular bisector of point-to-point transmission line segment, the coordinate according to the touch screen point, navigation bar initial coordinate and lead The coordinate of the end letter of boat item determines the circle where the circular arc of the last letter of the initial and navigation bar by the navigation bar The step of radius, specifically includes:
The initial and end letter are determined according to the coordinate of the coordinate of the initial of the navigation bar and the end letter of navigation bar Middle point coordinates;
The touch screen point is determined according to the middle point coordinates of the coordinate of the touch screen point and the initial and end letter and described is led The distance between the midpoint of the initial of boat item and end letter;
The initial of the navigation bar is determined according to the coordinate of the coordinate of the initial of the navigation bar and the end letter of navigation bar The distance between end letter;
According to the distance between the initial of the touch screen point and the navigation bar and the midpoint of end letter and the navigation bar Initial and the distance between end letter, determine the end letter by the touch screen point, the initial of navigation bar and navigation bar Circular arc where circle radius.
3. the method as described in claim 1, which is characterized in that be not located at initial and the end of navigation bar in the touch screen point When on the perpendicular bisector of alphabetical point-to-point transmission line segment, the coordinate according to the touch screen point, navigation bar initial coordinate And the coordinate of the last letter of navigation bar, it determines by where the alphabetical circular arc of the initial of the navigation bar and the end of navigation bar The step of round radius, specifically includes:
The initial and end letter are determined according to the coordinate of the coordinate of the initial of the navigation bar and the end letter of navigation bar Middle point coordinates;
By the initial of the touch screen spot projection to navigation bar on the midpoint of end letter and the line in the center of circle, and determines and obtain The coordinate of the subpoint of the touch screen point;
According to the middle point coordinates of the coordinate of the subpoint of the touch screen point and the initial and end letter, the touch screen point is determined Subpoint and the navigation bar initial and end letter the distance between midpoint;
The initial of the navigation bar is determined according to the coordinate of the coordinate of the initial of the navigation bar and the end letter of navigation bar The distance between end letter;
According to the distance between the midpoint of the initial of the subpoint of the touch screen point and the navigation bar and end letter, Yi Jisuo The distance between initial and the end letter of navigation bar are stated, determines the initial of the subpoint, navigation bar that pass through the touch screen point And the radius of the circle where the circular arc of the end letter of navigation bar.
4. method as claimed in claim 2, which is characterized in that the initial according to the touch screen point and the navigation bar The distance between the initial and end letter of the distance between midpoint of last letter and the navigation bar, determine described in passing through The step of radius of circle where the circular arc of the end letter of touch screen point, the initial of navigation bar and navigation bar, specifically includes:
It is determined according to the following formula by the circle where the circular arc of the end letter of the touch screen point, the initial of navigation bar and navigation bar Radius:
(r-w) ^2+ (h/2) ^2=r^2
Wherein, r is the radius of circle;W is the distance between the midpoint of the initial and end letter of touch screen point and navigation bar;H is to lead The distance between the initial of boat item and end letter.
5. the method as described in claim 1, which is characterized in that described in coordinate, the navigation bar by the touch screen point Initial and navigation bar end letter circular arc where circle with by the navigation bar initial and end letter intersect To arc section on show the navigation bar the step of specifically include:
Determine the initial of navigation bar, the center of circle, navigation bar the number of degrees of angle that are formed of end letter;
Alphabetical number in the sequence and navigation bar that are shown in navigation bar according to the number of degrees of determining angle, radius, letter, really Determine each alphabetical coordinate in screen in navigation bar;
Each letter shows corresponding letter on the coordinate of screen in determining navigation bar.
6. method as claimed in claim 5, which is characterized in that described to be led according to the number of degrees of determining angle, radius, letter Alphabetical number, determines that each letter has in the step of coordinate of screen in navigation bar in sequence and navigation bar that boat item is shown Body includes:
According toDetermine the initial of navigation bar, the center of circle of the circle formed with the radius, navigation bar last word The average value for the angle that mother is formed;Wherein, θ is the initial of navigation bar, with the center of circle of the circle of radius formation, navigation bar The number of degrees for the angle that last letter is formed;N is number alphabetical in navigation bar;
According toDetermine navigation bar The above corresponding cartesian coordinate of each letter;Wherein, x, y are the values under cartesian coordinate system, and x is cross of the letter in screen Coordinate, y are ordinate of the letter in screen;ρ is the radius of circle;I is the sequence that letter is shown in navigation bar, i=0,1 ..., N- 1。
7. a kind of address list navigation bar display device, which is characterized in that described device includes:
Display unit is initialized, for the initial and end letter of the circle and navigation bar of preset radius and center of circle formation Intersect and shows navigation bar on obtained arc section;
Touch-screen event monitoring unit, for monitoring touch-screen event;
Touch screen point coordinates determination unit, the coordinate for after listening to touch-screen event, determining touch screen point;
The center of circle and radius determination unit are used for the coordinate and navigation bar of the initial of the coordinate according to the touch screen point, navigation bar End letter coordinate, determine the circular arc of the end letter by the coordinate of the touch screen point, the initial of navigation bar and navigation bar The center of circle of the circle at place and radius;
Navigation bar display unit, at coordinate, the initial of navigation bar and the end of navigation bar by the touch screen point Described in circle where the circular arc of letter is shown on the alphabetical arc section intersected of initial and end by the navigation bar Navigation bar.
8. device as claimed in claim 7, which is characterized in that be located at the initial and end letter of navigation bar in the touch screen point When on the perpendicular bisector of point-to-point transmission line segment, the center of circle and radius determination unit include:
Point coordinates determining module in first is used for the seat of the end letter of the coordinate and navigation bar according to the initial of the navigation bar Mark determines the middle point coordinates of the initial and end letter;
Touch screen point, apart from determining module, is used for according in the coordinate of the touch screen point and the initial and end letter with midpoint Point coordinates determines the distance between the midpoint of the initial and end letter of the touch screen point and the navigation bar;
First first and last letter distances determining module is used for the end letter of the coordinate and navigation bar according to the initial of the navigation bar Coordinate determine the distance between initial and end letter of the navigation bar;
First radius computing module, between the initial and the midpoint of end letter according to the touch screen point and the navigation bar Distance and the navigation bar initial and the distance between end letter, determine the head by the touch screen point, navigation bar The radius of circle where the circular arc of the end letter of letter and navigation bar.
9. device as claimed in claim 7, which is characterized in that be not located at initial and the end of navigation bar in the touch screen point When on the perpendicular bisector of alphabetical point-to-point transmission line segment, the center of circle and radius determination unit include:
Point coordinates determining module in second is used for the seat of the end letter of the coordinate and navigation bar according to the initial of the navigation bar Mark determines the middle point coordinates of the initial and end letter;
Touch screen spot projection module is used for the initial of the touch screen spot projection to navigation bar and last alphabetical midpoint and the center of circle On line, and determine the coordinate of the subpoint of the obtained touch screen point;
The subpoint of touch screen point, apart from determining module, is used for the coordinate of the subpoint according to the touch screen point and the head with midpoint The middle point coordinates of letter and end letter determines in the subpoint of the touch screen point and the initial of the navigation bar and end letter The distance between point;
Second first and last letter distances determining module is used for the end letter of the coordinate and navigation bar according to the initial of the navigation bar Coordinate determine the distance between initial and end letter of the navigation bar;
Second radius computing module, for according to the subpoint of the touch screen point and the initial of the navigation bar and end letter The distance between the initial and end letter of the distance between midpoint and the navigation bar are determined by the touch screen point The radius of circle where the circular arc of the end letter of subpoint, the initial of navigation bar and navigation bar.
10. device as claimed in claim 7, which is characterized in that the navigation bar display unit includes:
Angle number of degrees determining module, for determine the initial of navigation bar, the center of circle, navigation bar the degree of angle that is formed of end letter Number;
Each alphabetic coordinates determining module, sequence for being shown in navigation bar according to the number of degrees of determining angle, radius, letter with And alphabetical number in navigation bar, determine that each letter is in the coordinate of screen in navigation bar;
Alphabetical display module, in determining navigation bar each letter corresponding letter is shown on the coordinate of screen.
CN201410220360.2A 2014-05-22 2014-05-22 A kind of address list navigation bar display methods and device Active CN103995669B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410220360.2A CN103995669B (en) 2014-05-22 2014-05-22 A kind of address list navigation bar display methods and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410220360.2A CN103995669B (en) 2014-05-22 2014-05-22 A kind of address list navigation bar display methods and device

Publications (2)

Publication Number Publication Date
CN103995669A CN103995669A (en) 2014-08-20
CN103995669B true CN103995669B (en) 2018-10-09

Family

ID=51309850

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410220360.2A Active CN103995669B (en) 2014-05-22 2014-05-22 A kind of address list navigation bar display methods and device

Country Status (1)

Country Link
CN (1) CN103995669B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461362A (en) * 2014-12-08 2015-03-25 乐视致新电子科技(天津)有限公司 Index information display control method and device and touch display equipment
JP2017173959A (en) * 2016-03-22 2017-09-28 富士ゼロックス株式会社 Information processing device
CN106020701B (en) * 2016-05-26 2019-12-27 北京金山安全软件有限公司 Letter index bar display method and device and electronic equipment
CN106878546B (en) * 2016-12-30 2019-12-17 华为机器有限公司 graph display method and terminal
CN107249066A (en) * 2017-05-25 2017-10-13 努比亚技术有限公司 Navigation bar display methods, mobile terminal and computer-readable recording medium
CN107678665A (en) * 2017-09-13 2018-02-09 青岛真时科技有限公司 A kind of method, apparatus and intelligent watch for searching contact person

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102790826A (en) * 2011-05-20 2012-11-21 腾讯科技(深圳)有限公司 Initial list positioning method and mobile terminal
CN102830890A (en) * 2011-06-13 2012-12-19 阿里巴巴集团控股有限公司 Method and device for displaying icons
CN102891931A (en) * 2012-10-11 2013-01-23 惠州Tcl移动通信有限公司 Contact person search processing method based on mobile phone and mobile phone
CN103699321A (en) * 2013-11-30 2014-04-02 张剑文 Method for sliding to select letter and making letter fluctuate along with finger on intelligent mobile phone

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102281352B (en) * 2011-07-29 2014-02-26 华为技术有限公司 Contact list displaying method and terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102790826A (en) * 2011-05-20 2012-11-21 腾讯科技(深圳)有限公司 Initial list positioning method and mobile terminal
CN102830890A (en) * 2011-06-13 2012-12-19 阿里巴巴集团控股有限公司 Method and device for displaying icons
CN102891931A (en) * 2012-10-11 2013-01-23 惠州Tcl移动通信有限公司 Contact person search processing method based on mobile phone and mobile phone
CN103699321A (en) * 2013-11-30 2014-04-02 张剑文 Method for sliding to select letter and making letter fluctuate along with finger on intelligent mobile phone

Also Published As

Publication number Publication date
CN103995669A (en) 2014-08-20

Similar Documents

Publication Publication Date Title
CN103995669B (en) A kind of address list navigation bar display methods and device
US20210004141A1 (en) Desktop generation and operation methods for mobile terminal and corresponding devices thereof
CN103207750B (en) The method of icon convergent-divergent and device
US10831342B2 (en) Method used by mobile terminal to return to home screen, mobile terminal and storage medium
CN103616970B (en) Touch-control response method and device
CN103106004A (en) Reminding method and reminding device of to-be-processed events based on application programs of mobile terminals
WO2019085921A1 (en) Method, storage medium and mobile terminal for operating mobile terminal with one hand
CN102419679B (en) Display processing method and portable mobile terminal
CN106302095A (en) A kind of message display control method, device and terminal
CN103984449B (en) A kind of touch screen touch area localization method
JP2015055861A (en) Map information display device, map information display method and map information display program
CN103761048A (en) Terminal screen shot method and terminal
US20150339052A1 (en) Method and apparatus for displaying shortcut on mobile terminal and storage medium
CN103257792A (en) Icon operation method, icon operation device and mobile terminal
CN102778997B (en) A kind of window display method and device
CN105302458A (en) Message display method and apparatus
JP2017515241A (en) Element deletion method and apparatus based on touch panel
US20150207923A1 (en) Method, terminal and computer storage medium for triggering a communication with a contact
CN106648314A (en) Method and device for splitting screen
CN107632769A (en) Map methods of exhibiting, device, electronic equipment, storage medium
CN104978135B (en) A kind of icon display method, device and mobile terminal
CN103713822B (en) A kind of information processing method and the first electronic equipment
US20170242498A1 (en) Passive Chopsticks Stylus System for Capacitive Touch Screens
US10101903B2 (en) Information search
EP3149558A1 (en) User account switching interface

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant